when given to pool/vendor, the broadcast limits are refreshed to max
constLICENCEPOOL_REFILLS_TOPICALITY:int
when given to pool/vendor, the topicality is refreshed to max
constNONE:int
constREMOVE_ON_REACHING_BROADCASTLIMIT:int
give back to vendor WITHOUT SELLING it
constSELL_ON_REACHING_BROADCASTLIMIT:int
give back to vendor AND SELL it
constTRADEABLE:int
TVTProgrammeProductType"product" in the DB
constcount:int
constEVENT:int
6
constFEATURE:int
4
functionGetAsString:String( typeKey:int = 0 )
functionGetAtIndex:int( index:int )
constINFOMERCIAL:int
5
constMISC:int
7
constMOVIE:int
1
constSERIES:int
2
constSHOW:int
3
constUNDEFINED:int
0
TVTPlayerFinanceEntryType
constCHEAT:int
27
constcount:int
index 0 - 27
constCREDIT_REPAY:int
1
constCREDIT_TAKE:int
2
constEARN_ADPROFIT:int
15
constEARN_BALANCEINTEREST:int
26
constEARN_CALLERREVENUE:int
13
constEARN_INFOMERCIALREVENUE:int
14
constEARN_SPONSORSHIPREVENUE:int
16
functionGetAsString:string( key:int )
returns a textual version of the id
functionGetAtIndex:int( index:int )
functionGetGroup:int( typeKey:int )
returns the group an finance type belongs to
functionGetGroupAsString:string( key:int )
returns a textual version of the group id
functionGetGroupAtIndex:int( index:int )
constGRANTED_BENEFITS:int
8
constgroupCount:int
constGROUP_DEFAULT:int
constGROUP_NEWS:int
groups
constGROUP_PRODUCTION:int
constGROUP_PROGRAMME:int
constGROUP_STATION:int
constPAYBACK_AUCTIONBID:int
11
constPAY_AUCTIONBID:int
12
constPAY_CREDITINTEREST:int
24
constPAY_DRAWINGCREDITINTEREST:int
25
constPAY_MISC:int
7
constPAY_NEWS:int
22
constPAY_NEWSAGENCIES:int
23
constPAY_PENALTY:int
17
constPAY_PRODUCTIONSTUFF:int
21
constPAY_PROGRAMMELICENCE:int
10
constPAY_RENT:int
20
constPAY_SCRIPT:int
18
constPAY_STATION:int
3
constPAY_STATIONFEES:int
5
constSELL_MISC:int
6
constSELL_PROGRAMMELICENCE:int
9
constSELL_SCRIPT:int
19
constSELL_STATION:int
4
constUNDEFINED:int
0
TVTProgrammeGenre
constAction:int
constAdventure:int
Movie-Genre 1+
constAnimation:int
constComedy:int
constCrime:int
constDocumentary:int
constDrama:int
constErotic:int
constEvent:int
generic eventsEvent-Genre 200+
constEvent_Music:int
AC/DC-conzert
constEvent_Politics:int
Votings, Speeches, Debates
constEvent_Showbiz:int
Oscars, Golden Globes, red-carpet-events
constEvent_Sport:int
Soccer-WM, Olympic Games
constFamily:int
constFantasy:int
constFeature:int
Reportage-Genre 300+
constFeature_YellowPress:int
constgenreMaximum:Int
functionGetAsString:string( key:int )
returns a textual version of the id
functionGetAtIndex:int( index:int )
functionGetByString:int( keyString:string = "" )
constHistory:int
constHorror:int
constMonumental:int
constMystery:int
constRomance:int
constSciFi:int
constShow:int
Shows in generalShow-Genre 100+
constShow_Music:int
Music shows ("Best of the 50s")
constShow_Politics:int
Polit-Talks
constShow_Talk:int
Generic talks ("smalltalk")
constThriller:int
constUndefined:int
constWestern:int
TVTProgrammeDataFlag
constANIMATION:Int
Bonus bei Kindern / Jugendlichen. Malus bei Rentnern / Managern.
constBMOVIE:Int
Nochmal deutlich verringerter Preis. Verringert die Nachteile des Filmalters. Bonus bei Jugendlichen. Malus bei allen anderen Zielgruppen. Bonus in der Nacht!
constcount:int
constCULT:Int
Verringert die Nachteile des Filmalters. Bonus bei Rentnern. Höhere Serientreue bei Serien.
constCULTURE:Int
Bonus bei Betty und bei Managern
constCUSTOMPRODUCTION:Int
Scripted-Shows/Series/Reportages ... Trash-TV!
functionGetAsString:String( key:int = 0 )
functionGetAtIndex:int( index:int = 0 )
constINVISIBLE:Int
these programmes are hidden from the planner selection
constLIVE:Int
Genereller Quotenbonus!
constLIVEONTAPE:Int
a previously "live" programme is now only a "recorded live programme"
constPAID:Int
Call-In-Shows
constSCRIPTED:Int
Scripted-Shows/Series/Reportages ... Trash-TV!
constSERIES:Int
Ist ne Serie! Vielleicht besser als den ProgrammeType... so kann auch ne Reportage ne Serie sein. -> SERIES bedeutet hier, dass es etwas zusammengehoeriges ist also klassische Serien, oder so "Dokusoaps"
constTRASH:Int
Bonus bei Arbeitslosen und Hausfrauen. Malus bei Arbeitnehmern und Managern. Trash läuft morgens und mittags gut => Bonus!
constXRATED:Int
Kleiner Bonus für Jugendliche, Arbeitnehmer, Arbeitslose, (Männer). Kleiner Malus für Kinder, Hausfrauen, Rentner, (Frauen).
TVTProgrammeState
constcount:int
functionGetAsString:string( key:int )
returns a textual version of the id
functionGetAtIndex:int( index:int )
functionGetByString:int( keyString:string = "" )
constIN_CINEMA:int
constIN_PRODUCTION:int
constNONE:int
constRELEASED:int
TVTProductionConceptFlag
constBALANCE_PAID:Int
rest of total payment paid?
constCALLIN_COMPETITION:Int
bonus like CallIn-Show. review
constcount:int
constDEPOSIT_PAID:Int
deposit payment paid?
functionGetAsString:String( key:int = 0 )
functionGetAtIndex:int( index:int = 0 )
constLIVE:Int
live = more risk, more expensive, more speed
constPRODUCED:Int
finished shooting of this production?
TVTNewsFlag
constcount:int
functionGetAsString:String( key:int = 0 )
functionGetAtIndex:int( index:int = 0 )
constSEND_IMMEDIATELY:Int
constSEND_TO_ALL:Int
send the news event to all players, regardless of their abonnement level
constUNIQUE_EVENT:Int
can the event happen again - or only once? eg. dynamically created weather news should set this flag
constUNSKIPPABLE:Int
can the "happening" get skipped ("happens later") eg. if no player listens to the genre news like "terrorist will attack" happen in all cases => unskippable
TVTTargetGroup
constALL:int
0
constbaseGroupCount:int
without women/men
constCHILDREN:int
1
constcount:int
amount of target groups
constEMPLOYEES:int
4
functionGetAsString:String( key:int = 0 )
functionGetAtIndex:int( index:int = 0 )
functionGetByString:int( keyString:string = "" )
functionGetIndexes:int[]( key:int = 0 )
returns an array of all hit indexes
constHOUSEWIVES:int
3
constMANAGER:int
6
constMEN:int
9
constPENSIONERS:int
7
constTEENAGERS:int
2
constUNEMPLOYED:int
5
constWOMEN:int
8
TVTPressureGroup
constANTISMOKER:int
2
constARMSLOBBY:int
3
constCAPITALISTS:int
5
constCOMMUNISTS:int
6
constcount:int
functionGetAsString:String( key:int = 0 )
functionGetAtIndex:int( index:int = 0 )
constNONE:int
0
constPACIFISTS:int
4
constSMOKERLOBBY:int
1
TVTPersonGenderdon't feel attacked by this naming! "UNDEFINED" includes transgenders, maybe transsexuals, unknown lifeforms ... just everything which is not called by a male or female pronoun
if disabled, player is allowed to place a live programme also at later times (eg. 2 hours later)
varsentXRatedPenalty:int
penalty to pay if a player sends an xrated movie at the wrong time
varstartAdAmount:Int
how many contracts a player gets on a new game
varstartMovieAmount:Int
how many movies does a player get on a new game
varstartProgrammeAmount:int
varstartSeriesAmount:Int
how many series does a player get on a new game
varstationConstructionTime:int
time a station needs to get constructed value in hours set to default on start (game.game.bmx prepareNewGame())
varstationConstructionTimeDefault:int
TRoomBase
TRoomDoorBase
TBuildingTime
TGameObject
methodGetGUID:String( )
methodGetID:Int( )
TOwnedGameObject
methodGetOwner:Int( )
methodSetOwner:Int( owner:Int=0 )
TNamedGameObject
TRoomBoardSignsigns used in elevator-plan /room-plan
methodGetFloor:int( )
methodGetOriginalFloor:int( )
methodGetOriginalSlot:int( )
methodGetOwner:int( )
methodGetRoomId:int( )
methodGetSlot:int( )
methodIsAtOriginalPosition:int( )
TPlayerBase
varFigure:TFigureBase
actual figure the player uses
methodGetCredit:Int( day:Int=-1 )
returns the currently taken credit
methodGetCreditAvailable:Int( )
returns value boss will give as credit
methodGetFinance:TPlayerFinance( day:Int=-1 )
returns the financial of the given day if the day is in the future, a new finance object is created
methodGetMoney:Int( day:Int=-1 )
attention: when used through LUA without param, the param gets "0" instead of "-1"
methodGetNewsAbonnement:Int( genre:Int )
return CURRENT newsAbonnement
methodGetNewsAbonnementDaysMax:Int( genre:Int )
return which is the highest level for the given genre today (which was active for longer than X game minutes) if the last time a abonnement level was set was before today use the current level value
TPlayerFinanceholds data of WHAT has been bought, which amount of money was used and so on .'contains methods for refreshing stats when paying or selling something
methodCanAfford:Int( price:Long=0 )
returns whether the finances allow the given transaction
methodGetCredit:Long( )
methodGetCreditMaxToday:Long( )
methodGetCreditMaxYesterday:Long( )
methodGetCurrentProfit:Double( )
methodGetMoney:Long( )
TLuaFunctionsBase
constRESULT_FAILED:int
constRESULT_INUSE:int
constRESULT_NOKEY:int
constRESULT_NOTALLOWED:int
constRESULT_NOTFOUND:int
constRESULT_OK:int
constRESULT_SKIPPED:int
constRESULT_WRONGROOM:int
TGameBaseGame - holds time, audience, money and other variables (typelike structure makes it easier to save the actual state)
TRoomcontainer for data describing the room without data attached which is used for visual representation (tooltip, signs...) -> they are now in TRoomDoor usage examples: - RoomAgency - Multiple "Doors" to the same room
methodGetDescription:string( lineNumber:int=1 )
override to add playername/channelname replacement
TRoomDoor
TBroadcastMaterialDefaultImpl
TPublicImage
TProgrammeRoledescribes a character in a programme/series (the "role")
varcountryCode:string
varfictional:int
is this a custom role not used in a real world movie
amounts bigger than the credit taken will repay everything amounts bigger than the owned money will fail
methodbo_doTakeCredit:int( amount:int )
amounts bigger than the available credit just take all possible
methodbo_getBossMoodlevel:int( )
returns the mood of the boss - rounded to 10% steps (makes it a bit harder for the AI) TODO: remove step rounding if players get a exact value displayed somehow
methodbo_getCreditAvailable:int( )
returns how much credit the boss will give (maximum minus taken credit)
methodbo_getCreditMaximum:int( )
returns maximum credit limit (regardless of already taken credit)
Set content of a programme slot ===== materialSource might be "null" to clear a time slot or of types: "TProgrammeLicence" or "TAdContract" returns: (TVT.)RESULT_OK, RESULT_WRONGROOM, RESULT_NOTFOUND
Set content of a programme slot ===== materialSource might be "null" to clear a time slot or of types: "TProgrammeLicence" or "TAdContract" returns: (TVT.)RESULT_OK, RESULT_WRONGROOM, RESULT_NOTFOUND
methodPrintOut:Int( text:String )
methodPrintOutDebug:int( text:string )
only printed if TLogger.setPrintMode(LOG_AI | LOG_DEBUG) is set
switch signs on the given positions. a potential sign on slotA/floorA will get moved to slotB/floorB and vice versa. It is NOT needed to have to valid signs on there
TAuctionProgrammeBlocksProgrammeblocks used in Auction-Screen they do not need to have gui/non-gui objects as no special handling is done (just clicking)
methodGetLicence:TProgrammeLicence( )
methodGetNextBid:Int( )
TGameConfiggeneric variables shared across the whole game
methodGetObservedObject:object( )
methodIsObserved:int( obj:object )
varobservedObject:object
varobserverMode:int
which figure/entity to follow with the camera?
methodSetObservedObject:int( obj:object )
TPlayerclass holding name, channelname, infos about the figure, programmeplan, programmecollection and so on - from a player
methodGetCredit:Int( day:Int=-1 )
overridden
methodGetCreditAvailable:Int( )
overridden
methodGetCreditInterest:int( )
Damit man GetFinance nicht in Lua verf�gbar machen muss