Difference between revisions of "SetDudeAge"

Jump to navigation Jump to search
141 bytes added ,  01:02, 12 June 2021
no edit summary
m
Line 3: Line 3:


Examples exist in TriggerInstances.lua for every normally playable level plus Level_Bryan, but they are only actually used in Level_Graveyard (for changing from red robe to white robe) and in Level_Bryan (unused mechanics from beta).
Examples exist in TriggerInstances.lua for every normally playable level plus Level_Bryan, but they are only actually used in Level_Graveyard (for changing from red robe to white robe) and in Level_Bryan (unused mechanics from beta).
===Variables:===
===Variables:===
;age
;age
:''number''
:''number''
:Sets avatar's robe to a specific tier:  
:Sets avatar's robe to a specific tier:
::0, 1, 2, 3 are red robe tiers 1, 2, 3, 4;
::0, 1, 2, 3 are red robe tiers 1, 2, 3, 4;
::5, 6, 7 are white robe tiers 2, 3, 4.  
::4, 5, 6 are white robe tiers 2, 3, 4.
::Any number higher than 6 will set it as white robe tier 4, and also the actual robe tier variable in memory will only be set to 6.
;useRemote
;useRemote
:''boolean''
:''boolean''
Line 17: Line 16:
;useMaxAge
;useMaxAge
:''boolean''
:''boolean''
:If "true", ignores the 'age' setting and sets robe color to red, with the tier it "should" be based on how many runs you have completed in your save file.
:If "true", ignores the '''age''' setting and sets robe color to red, with the tier it "should" be based on how many runs you have completed in your save file.
;whiteCostumeAge
;whiteCostumeAge
:''boolean''
:''boolean''
:If "true", ignores the 'age' and 'useMaxAge' settings and sets robe color to white, with the tier it "should" be based on how many runs you have completed in your save file.
:If "true", ignores the '''age''' and '''useMaxAge''' settings and sets robe color to white, with the tier it "should" be based on how many runs you have completed in your save file.
:(Only tested on save with all symbols collected - may behave differently if you have not collected all symbols and/or are on your first run.)
:(Only tested on save with all symbols collected - may behave differently if you have not collected all symbols and/or are on your first run.)

Navigation menu