updated readme

This commit is contained in:
2026-03-12 12:28:07 -07:00
parent 0e6725c2f6
commit d18e4cea55

View File

@@ -54,10 +54,29 @@ dev commands to help you create this world.
|`Place (obj) (x) (y)`| This will place a object _like a objective_ at x and y. |
|`trap (trap) (x) (y) (...)`| This will place a trap with custome varibles. |
|`trigger (trigger Type) (id) (x) (y)`| places a trigger with the size of x and y. |
|`zone (zone Type) (id) (x) (y)`| places a zone with the size of x and y. |
|`npc (name) (npc type)`| This will create a npc. This will popup with some questions in the prompt for you to answer. |
These commands will be put in a map file. The map file will have all of the commands that were ran.
When loading the map it will run the map file and create the map. This will save space on disk.
And it is easy to modify and build the map from.
> !note
> You may be able to generate maps on the fly using thies commands.
The Config file My look like this.
format `cursur x cursure y command\n`.
```map
1 1 Line wall1 0 50
1 1 Line wall1 50 0
50 50 Line wall1 -50 0
50 50 Line wall1 0 -50
50 25 Place door
50 24 Place door
50 26 Place door
50 50 Zone dark -50 -50 # The dark was placed ferst so it take pressedence
100 100 Zone light -100 100
```
---