Modding data files: Difference between revisions

From SpaceSlog Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 17:52, 26 April 2025

The current way you can mod SpaceSlog is via the JSON data files. Almost every object can be modified in this way.
In the future we will open up new ways for you to create mods, but we will talk about that in another section.



What is a JSON file?[edit | edit source]

JSON stands for JavaScript Object Notation. It's a lightweight and widely-used data format that's easy for humans to read and write, while also being straightforward for machines to parse and generate.
The data in JSON is organized into key-value pairs and supports structures like arrays, strings, integers (whole numbers) and boolean values. Because we use Godot and it uses it's own parser, we can use extra values like "Vector2()".