# RSSE VM Information
Theme Park World uses a stack-based VM in order to give rides and sideshows their functionality. This VM reads from the RSSE (opens new window) format, and includes over 100 instructions.
# Common Variable Set
The following variables are part of a "common variable set" that must be contained within every ride (these do not apply to features).
VAR_LETMEON
(0) - First ID of visitor in ride queueVAR_LETMEOFF
(1) - First ID of visitor wishing to leaveVAR_CAPACITY
(2) - How many visitors can use the ride at onceVAR_DURATION
(3) - The time for the ride to run forVAR_BREAKSTAT
(4) - Whether the ride is broken (1) or not (0)VAR_ONRIDE
(5) - The number of visitors on the rideVAR_RIDECLOSED
(6) - Is the ride closed? (0/1)VAR_BROKEN
(7) - Is the ride broken? (0/1)VAR_WORN
(8) - How worn is the ride?VAR_RUNNING
(9) - Is the ride running? (0/1)VAR_PAD
(10) - UnusedVAR_PARAM
(11) - Sideshows: Determine whether the current visitor will win (1) or lose (0)
# Flags
- Sign flag
- 1 for negative value
- 0 for positive value
- Zero flag
- 1 for zero
- 0 for not zero
# Instructions
See here.