Skip to content
Michael J. Freidel edited this page Oct 6, 2020 · 1 revision

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’ folder

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.py

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.

time_events.py

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.

The gridpunx wiki


Primary sections:


Development Documents:

Clone this wiki locally