Difference between revisions of "Riven variables"
(→jplaybeetle) |
(adding variables that are in saved games) |
||
Line 382: | Line 382: | ||
====twaffle==== | ====twaffle==== | ||
*t_Data var 30 | *t_Data var 30 | ||
+ | |||
+ | |||
+ | ==Saved Game Variables== | ||
+ | ====all_book==== | ||
+ | ====auservolume==== | ||
+ | The volume set in the options. | ||
+ | ====azip==== | ||
+ | The state of zip mode. (0=off, 1=on) | ||
+ | ====currentcardid==== | ||
+ | Current card ID. | ||
+ | ====currentstackid==== | ||
+ | Current stack ID. | ||
+ | ====doingsetupscreens==== | ||
+ | ====newpos==== | ||
+ | ====playerhasbook==== | ||
+ | ====rivenambients==== | ||
+ | ====returncardid==== | ||
+ | Card ID used to return to after viewing a book on aspit. | ||
+ | ====returnstackid==== | ||
+ | Stack ID used to return to after viewing a book on aspit. | ||
+ | ====stackvarsinitialized==== | ||
+ | ====tblue==== | ||
+ | ====tgreen==== | ||
+ | ====themarble==== | ||
+ | ====torange==== | ||
+ | ====transitionsenabled==== | ||
+ | (0=transitions disabled, 1=transitions enabled) | ||
+ | ====transitionmode==== | ||
+ | Speed of the transitions. | ||
+ | ====tred==== | ||
+ | ====tviolet==== | ||
+ | ====tyellow==== | ||
+ | ====waterenabled==== | ||
+ | (0=water effects disabled, 1=water effects enabled) |
Revision as of 18:19, 14 July 2008
Riven | |||
Mohawk | Overview | ||
BLST | CARD | FLST | HSPT |
MLST | NAME | PLST | RMAP |
SFXE | SLST | tBMP | tMOV |
tWAV | VARS | VERS | ZIPS |
Scripts | Variables | ||
External commands |
This page is an attempt to discern the function of every variable in the game.
Contents
- 1 a_Data
- 2 b_Data
- 2.1 bbacklock
- 2.2 bbait
- 2.3 bbigbridge
- 2.4 bbirds
- 2.5 bblrarm
- 2.6 bblrdoor
- 2.7 bblrgrt
- 2.8 bblrsw
- 2.9 bblrvalve
- 2.10 bblrwtr
- 2.11 bbook
- 2.12 bbrlever
- 2.13 bcavedoor
- 2.14 bcpipegr
- 2.15 bcratergg
- 2.16 bdome
- 2.17 bdrwr
- 2.18 bfans
- 2.19 bfmdoor
- 2.20 bidvlv
- 2.21 blab
- 2.22 blabbook
- 2.23 blabeye
- 2.24 blabfrontdr
- 2.25 blabbackdr
- 2.26 bfrontlock
- 2.27 bheat
- 2.28 bmagcar
- 2.29 bpipdr
- 2.30 bprs
- 2.31 bstove
- 2.32 btrap
- 2.33 bvalve
- 2.34 bvise
- 2.35 bytram
- 2.36 bytramtime
- 2.37 bytrap
- 2.38 bytrapped
- 3 g_Data
- 4 j_Data
- 4.1 jwmagcar
- 4.2 jbeetle
- 4.3 jbeetlepool
- 4.4 jbook
- 4.5 jbridge1
- 4.6 jbridge2
- 4.7 jbridge3
- 4.8 jbridge4
- 4.9 jbridge5
- 4.10 jccb
- 4.11 jdome
- 4.12 jdrain
- 4.13 jgallows
- 4.14 jgate
- 4.15 jgirl
- 4.16 jladder
- 4.17 jleftpos
- 4.18 jpeek
- 4.19 jplaybeetle
- 4.20 jprebel
- 4.21 jprisondr
- 4.22 jprisonsecdr
- 4.23 jrbook
- 4.24 jrightpos
- 4.25 jsouthpathdr
- 4.26 jschooldr
- 4.27 jsub
- 4.28 jsubdir
- 4.29 jsubhatch
- 4.30 jsubsw
- 4.31 jsunners
- 4.32 jsunnertime
- 4.33 jthronedr
- 4.34 jtunneldr
- 4.35 jtunnellamps
- 4.36 jvillagepeople
- 4.37 jwarning
- 4.38 jwharkpos
- 4.39 jwharkram
- 4.40 jwmouth
- 4.41 jwmagcar
- 4.42 jymagcar
- 5 o_Data
- 6 p_Data
- 7 r_Data
- 8 t_Data
- 8.1 tbars
- 8.2 tbeetle
- 8.3 tbook
- 8.4 tbookvalve
- 8.5 tcage
- 8.6 tcovercombo
- 8.7 tdl
- 8.8 tdome
- 8.9 tdomeelev
- 8.10 tdomeelevbtn
- 8.11 tgatebrhandle
- 8.12 tgatebridge
- 8.13 tgatestate
- 8.14 tgridoor
- 8.15 tgrodoor
- 8.16 tgrmdoor
- 8.17 tguard
- 8.18 timagedoor
- 8.19 tmagcar
- 8.20 tsecdoor
- 8.21 tsubbridge
- 8.22 ttelecover
- 8.23 ttelehandle
- 8.24 ttelepin
- 8.25 ttelescope
- 8.26 ttelevalve
- 8.27 ttemple
- 8.28 ttempledoor
- 8.29 ttunneldoor
- 8.30 tviewer
- 8.31 twabrvalve
- 8.32 twaffle
- 9 Saved Game Variables
- 9.1 all_book
- 9.2 auservolume
- 9.3 azip
- 9.4 currentcardid
- 9.5 currentstackid
- 9.6 doingsetupscreens
- 9.7 newpos
- 9.8 playerhasbook
- 9.9 rivenambients
- 9.10 returncardid
- 9.11 returnstackid
- 9.12 stackvarsinitialized
- 9.13 tblue
- 9.14 tgreen
- 9.15 themarble
- 9.16 torange
- 9.17 transitionsenabled
- 9.18 transitionmode
- 9.19 tred
- 9.20 tviolet
- 9.21 tyellow
- 9.22 waterenabled
a_Data
acathstate
- p_Data var 15
adoit
- b_Data var 0, g_Data var 1, j_Data var 5, o_Data var 5, p_Data var 0, r_Data var 1, t_Data var 0
agehn
- o_Data var 2, r_Data var 0, t_Data var 7
aova
- b_Data var 25, g_Data var 28, j_Data var 12, o_Data var 6, t_Data var 14
apower
- b_Data var 45, g_Data var 16, j_Data var 32, t_Data var 31
State of the power provided by the fire-marbles in the huge golden dome. 0=no power, 1=power on. Makes the domes work when set to 1.
araw
- b_Data var 24, g_Data var 2, j_Data var 29, r_Data var 4, t_Data var 13, t_Data var 13
atemp
- j_Data var 26
atrap
- a_Data var 0
atrapbook
- a_Data var 1, o_Data var 3, p_Data var 14, r_Data var 3
domecheck
- b_Data var 46, g_Data var 17, j_Data var 35, p_Data var 22, t_Data var 37
Used in dome scope mechanisms. Apparently, *_domecheck() externals set this to let scripts know if the scope button was hit at the right time (0=no, 1=yes).
b_Data
bbacklock
- b_Data var 21
bbait
- b_Data var 39
bbigbridge
- b_Data var 6, t_Data var 41
bbirds
- b_Data var 36
bblrarm
- b_Data var 2
bblrdoor
- b_Data var 3
bblrgrt
- b_Data var 4
bblrsw
- b_Data var 34
bblrvalve
- b_Data var 32
bblrwtr
- b_Data var 5
Presence of water in the boiler. 0 = empty, 1 = filled.
bbook
- b_Data var 44, o_Data var 13
bbrlever
- b_Data var 9, t_Data var 40
bcavedoor
- b_Data var 16
bcpipegr
- b_Data var 26
bcratergg
- b_Data var 1
bdome
- b_Data var 43
bdrwr
- b_Data var 23
bfans
- b_Data var 15
bfmdoor
- b_Data var 42
bidvlv
- b_Data var 30
blab
- b_Data var 11
blabbook
- b_Data var 28
blabeye
- b_Data var 27
blabfrontdr
- b_Data var 17
blabbackdr
- b_Data var 20
bfrontlock
- b_Data var 18
bheat
- b_Data var 33
bmagcar
- b_Data var 12, g_Data var 7, j_Data var 44
bpipdr
- b_Data var 47, j_Data var 43
bprs
- b_Data var 37
bstove
- b_Data var 29
btrap
- b_Data var 35
bvalve
- b_Data var 31
Position of the steam valve located at the center of the lake (card 415). 0: steam to the ytram mechanism; 1: steam to the boiler controls; 2: steam to the chipper.
bvise
- b_Data var 19
bytram
- b_Data var 22
bytramtime
- b_Data var 40
bytrap
- b_Data var 38
bytrapped
- b_Data var 41
g_Data
gbook
- g_Data var 15, o_Data var 12
gcathtime
- g_Data var 26
gcathstate
- g_Data var 27
gdome
- g_Data var 10
gemagcar
- g_Data var 19, j_Data var 39
gimagecurr
- g_Data var 13
gimagemax
- g_Data var 14
glkbtns
- g_Data var 8
glkbridge
- g_Data var 9
glview
- g_Data var 25
glviewpos
- j_Data var 33
gnmagrot
- b_Data var 13, g_Data var 4
gnmagcar
- b_Data var 14, g_Data var 3
gpinup
- g_Data var 11
gpinpos
- g_Data var 12
grview
- g_Data var 21
grviewpos
- g_Data var 22
gscribe
- g_Data var 18
gsubelev
- g_Data var 0
gsubdr
- g_Data var 5
gwhark
- g_Data var 6
gwharktime
- g_Data var 24
j_Data
jwmagcar
- g_Data var 20
jbeetle
- j_Data var 1
jbeetlepool
- j_Data var 23
jbook
- j_Data var 31, o_Data var 11
jbridge1
- j_Data var 13
jbridge2
- j_Data var 14
jbridge3
- j_Data var 15
jbridge4
- j_Data var 17
jbridge5
- j_Data var 16
jccb
- j_Data var 0
Controls when to play some background bird animations.
jdome
- j_Data var 3
jdrain
- j_Data var 27
jgallows
- j_Data var 9
State of the gallows floor: 0=closed, 1=open.
jgate
- j_Data var 2
jgirl
- j_Data var 37
jladder
- j_Data var 30
jleftpos
- j_Data var 47
jpeek
- j_Data var 34
jplaybeetle
- j_Data var 4
Seems managed by a set of equivalent external commands to control when to play the random beetle movies in the jungle (it is set to 1 in that case).
jprebel
- j_Data var 18
jprisondr
- j_Data var 11
jprisonsecdr
- j_Data var 19
jrbook
- j_Data var 22
jrightpos
- j_Data var 48
jsouthpathdr
- j_Data var 6
jschooldr
- j_Data var 42
jsub
- j_Data var 10
jsubdir
- j_Data var 24
jsubhatch
- j_Data var 25
jsubsw
- j_Data var 41
jsunners
- j_Data var 45, t_Data var 11
jsunnertime
- j_Data var 46
jthronedr
- j_Data var 7
jtunneldr
- j_Data var 21
jtunnellamps
- j_Data var 20
jvillagepeople
- j_Data var 40
jwarning
- j_Data var 8
jwharkpos
- j_Data var 49
jwharkram
- j_Data var 28
jwmouth
- j_Data var 36
State of the whark mouth in the jungle. 0=closed, 1=open.
jwmagcar
- j_Data var 38
Presence (1) or absence (0) of the maglev leading to gspit.
jymagcar
- j_Data var 50, t_Data var 10
o_Data
oambient
- o_Data var 1, p_Data var 4
obutton
- o_Data var 4
ocage
- o_Data var 0, p_Data var 3
odeskbook
- o_Data var 7
omusicplayer
- o_Data var 8
ostanddrawer
- o_Data var 16
ostove
- o_Data var 15
p_Data
elevbtn1
- p_Data var 19
elevbtn2
- p_Data var 20
elevbtn3
- p_Data var 21
pbook
- o_Data var 10, p_Data var 23
pcage
- o_Data var 9, p_Data var 2, t_Data var 12
pcathtime
- p_Data var 16
pcathcheck
- p_Data var 17
pdome
- p_Data var 1
pelevcombo
- p_Data var 18
ptemp
- g_Data var 23
r_Data
rrebel
- r_Data var 2
Tracks the evolution of events in the rebel age.
rrebelview
- r_Data var 5
rvillagetime
- r_Data var 6
t_Data
tbars
- t_Data var 2
tbeetle
- t_Data var 28
tbook
- o_Data var 14, t_Data var 38
tbookvalve
- t_Data var 33
tcage
- t_Data var 24
State of the prison at the beginning of the game. 0 = prison closed, 1 = open.
tcovercombo
- t_Data var 23
tdl
- t_Data var 16
tdome
- t_Data var 29
tdomeelev
- p_Data var 8, t_Data var 34
tdomeelevbtn
- t_Data var 42
tgatebrhandle
- t_Data var 36
tgatebridge
- t_Data var 17
tgatestate
- p_Data var 5, t_Data var 15
tgridoor
- p_Data var 12, t_Data var 26
tgrodoor
- p_Data var 11, t_Data var 27
tgrmdoor
- p_Data var 7, t_Data var 25
tguard
- t_Data var 9
timagedoor
- t_Data var 1
tmagcar
- j_Data var 51, p_Data var 6, t_Data var 3
Presence of the maglev on temple island. 0 = absent, 1 = present.
tsecdoor
- p_Data var 9, t_Data var 6
State of the door from the temple tunnel to the temple. 0 = closed, 1 = open.
tsubbridge
- p_Data var 13, t_Data var 32
ttelecover
- t_Data var 19
State of the star fissure window cover under the telescope. 0 = closed, 1 = open.
ttelehandle
- t_Data var 21
Position of the lever controlling telescope direction. 0 = up, 1 = down.
ttelepin
- t_Data var 22
State of the telescope safety lever. 0 = locked, 1 = unlocked.
ttelescope
- t_Data var 18
Position of the telescope. Seems to range from 1 to 5.
ttelevalve
- t_Data var 20
State of the valve feeding steam to the telescope. 0 = off, 1 = on.
ttemple
- t_Data var 8
ttempledoor
- p_Data var 10, t_Data var 4
State of the huge door from the temple to the maglev. 0 = closed, 1 = open.
ttunneldoor
- t_Data var 39
tviewer
- t_Data var 5
twabrvalve
- t_Data var 35
twaffle
- t_Data var 30
Saved Game Variables
all_book
auservolume
The volume set in the options.
azip
The state of zip mode. (0=off, 1=on)
currentcardid
Current card ID.
currentstackid
Current stack ID.
doingsetupscreens
newpos
playerhasbook
rivenambients
returncardid
Card ID used to return to after viewing a book on aspit.
returnstackid
Stack ID used to return to after viewing a book on aspit.
stackvarsinitialized
tblue
tgreen
themarble
torange
transitionsenabled
(0=transitions disabled, 1=transitions enabled)
transitionmode
Speed of the transitions.
tred
tviolet
tyellow
waterenabled
(0=water effects disabled, 1=water effects enabled)