Research:Scripting: Difference between revisions
Jump to navigation
Jump to search
(New section on script global variables.) |
(→List of exposed globals: Implementation status) |
||
Line 20: | Line 20: | ||
|12.0 | |12.0 | ||
|rowspan="6"|Time system | |rowspan="6"|Time system | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|Year | |Year | ||
|427.0 | |427.0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|Month | |Month | ||
|7.0 | |7.0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|Day | |Day | ||
|17.0 | |17.0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|DaysPassed | |DaysPassed | ||
|1.0 | |1.0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|TimeScale | |TimeScale | ||
|30.0 | |30.0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|CharGenState | |CharGenState | ||
|0 | |0 | ||
|Character creation | |Character creation | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|MonthsToRespawn | |MonthsToRespawn | ||
|1.0 | |1.0 | ||
|Container respawning | |Container respawning | ||
| | |<font color="red">not started, how does this relate to iMonthsToRespawn?</font> | ||
|- | |- | ||
|PCKnownWerewolf | |PCKnownWerewolf | ||
|0 | |0 | ||
|Werewolf transformation | |Werewolf transformation | ||
| | |<font color="red">not started, needs research</font> | ||
|- | |- | ||
|WerewolfClawMult | |WerewolfClawMult | ||
|1.0 | |1.0 | ||
|Werewolf melee damage | |Werewolf melee damage | ||
| | |<font color="red">not started, needs research</font> | ||
|- | |- | ||
|CrimeGoldDiscount | |CrimeGoldDiscount | ||
|0 | |0 | ||
|rowspan="5"|[[Research:Dialogue_and_Messages#Dialogue_global_variables|Dialogue global variables]] | |rowspan="5"|[[Research:Dialogue_and_Messages#Dialogue_global_variables|Dialogue global variables]] | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|CrimeGoldTurnIn | |CrimeGoldTurnIn | ||
|0 | |0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|PCHasCrimeGold | |PCHasCrimeGold | ||
|0 | |0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|PCHasGoldDiscount | |PCHasGoldDiscount | ||
|0 | |0 | ||
| | |<font color="green">implemented</font> | ||
|- | |- | ||
|PCHasTurnIn | |PCHasTurnIn | ||
|0 | |0 | ||
| | |<font color="green">implemented</font> | ||
|} | |} |
Revision as of 21:48, 19 July 2014
Script commands
See Scripting (status).
Script global variables
Engine data exposed to scripts through script global variables, rather than accessor functions.
List of exposed globals
ID | Default value | Used in | Implementation status |
---|---|---|---|
GameHour | 12.0 | Time system | implemented |
Year | 427.0 | implemented | |
Month | 7.0 | implemented | |
Day | 17.0 | implemented | |
DaysPassed | 1.0 | implemented | |
TimeScale | 30.0 | implemented | |
CharGenState | 0 | Character creation | implemented |
MonthsToRespawn | 1.0 | Container respawning | not started, how does this relate to iMonthsToRespawn? |
PCKnownWerewolf | 0 | Werewolf transformation | not started, needs research |
WerewolfClawMult | 1.0 | Werewolf melee damage | not started, needs research |
CrimeGoldDiscount | 0 | Dialogue global variables | implemented |
CrimeGoldTurnIn | 0 | implemented | |
PCHasCrimeGold | 0 | implemented | |
PCHasGoldDiscount | 0 | implemented | |
PCHasTurnIn | 0 | implemented |