Description
Event objects are declared within other objects and are executed when the player interacts with the object in various ways.
An event such as Enter_Room
is triggered when the player performs a specific actions. Enter_Room
is triggered when the player enters a room where the object is present.
Event objects require an instance assigned. This instance can be a string, in which case it is an option the player can perform. These options are shown to the player when the object is clicked on the interface by default.
The instance of an event can also be a list. In this case the first entry should be either an event or a string, followed by two boolean values. The first boolean determines whether the event object is enabled from game start, and the second boolean determines if the event object should override existing event objects with the same instance, in the same object.
Event objects are enabled at game start and do not override existing events by default.
Some events can only be used within specific objects.