ScriptName ChoiceChest
short SHOrunonce
short SHOchoice
Begin OnActivate
If ( SHOrunonce == 0 )
MessageBox "Which god do you worship?", "Mercury", "Jupiter", "Venus", "Mars"
Set SHOrunonce to 1
Elseif ( SHOrunonce == 2 )
Activate
Endif
Set SHOrunonce to 2
End
Begin GameMode
If ( SHOrunonce == 1 )
Set SHOchoice to GetButtonPressed
If ( SHOchoice == -1 )
Return
Elseif (SHOchoice == 0 )
player.additem MercuryStaff
player.additem MercuryCape
Elseif (SHOchoice == 1 )
player.additem JupiterStaff
player.additem JupiterCape
Elseif (SHOchoice == 2 )
player.additem VenusStaff
player.additem VenusCape
Elseif (SHOchoice == 3 )
player.additem MarsStaff
player.additem MarsCape
Else
Return
Endif
Endif
End