P3D-Legacy/P3D/Content/Data/Scripts/vermilion/gymtrash/10.dat

30 lines
1.2 KiB
Plaintext

version=2
:if:<register.value(1can)>=10
@npc.remove(12)
@npc.remove(13)
@register.unregister(1can,int)
@text.show(Found a switch!*Pressed it.)
:end
:endif
:if:<register.value(can)>=10
@npc.remove(10)
@npc.remove(11)
@register.register(foundcan0)
@register.unregister(can,int)
:select:<system.random(0,1)>
:when:0
@register.register(1can,int,5)
:when:1
@register.register(1can,int,11)
:endwhen
@text.show(Found a switch!*Pressed it.)
:end
:endif
@text.show(Nope!~Nothing here but trash.)
:if:<register.registered(foundcan0)>=True
@script.start(vermilion\gymtrash\reset)
:endif
:end