-
Notifications
You must be signed in to change notification settings - Fork 12
Terminal State
Yeah baby, (documentation still wip)
Type terminal
in the Main Menu
If you wanna make a mod, you’ll need to make (or edit) a .txt
file in the data
named terminalCharactersList.txt
and then type there all of your characters.
So the file directory would be like this:
mods/mod-name/data/terminalCharactersList.txt
, if it isn’t, you’re f*cked.
Then, use one of these for your character’s action:
Still in process, but you still can use them.
In your txt file, add a new line like this:
characterName
--action
--argument1,argument2,etc
(characterName--action--arguments
)
- characterName: the name of the character or item you want to add
- action: what action does the engine have to do when selected
- arguments: a list of argument splited by «,» defined by the actions under this text.
Description: The description of the action.
Action name: The action declaration (String).
Arguments: Optional arguments for the engine to specify.
Description: Plays a song at a specified difficulty.
Action name: song
Arguments: difficulty
(MUST BE A NUMBER, STILL WIP)
Description: Opens an specified URL.
Action name: openurl
Arguments: link
(String)
Description: Opens the specified URL and after a specific amount of seconds crash the game.
Action name: openurl and explode
Arguments:
- URL (String): The URL to open.
- Seconds (Float): Amount of seconds to wait before closing the game.