-
Notifications
You must be signed in to change notification settings - Fork 0
World
The world folder for gridpunx contains the core components that form the background of the game. Additionally, this is meant to contain story-related code that is ignored by git (in the story
subfolder)
The story subfolder is where story-related code is placed. This subfolder and its contents are excluded from source control via the .gitignore file.
Prototypes are used by the @spawn
command to generate objects based off of a template. Currently, the gridpunx code does not implement any default prototypes.
The time_events.py file is meant to contain events based on in-game time. These scripts need to be manually added to a new server via in-game python commands. The command you run is:
@py from world import time_events; time_events.start_[event-name]
NOTE: Only run this command once to start an event. After the command is run, the event will have its own global script that shows up when running the @scripts
command.