Lots of updates

- Map-specific pre-match times
- Remove /load and change /start syntax to /start <map>
- Scripts for each map that are run at start time, barrier removal time, and end time
- New map forest-3
- A few minor bugfixes
This commit is contained in:
a-bad-dev 2025-12-23 22:49:31 -04:00
commit 2be8eea781
10 changed files with 87 additions and 27 deletions

View file

@ -40,7 +40,15 @@ local map_data = {
spawn_x = nil,
spawn_y = nil,
spawn_z = nil
spawn_z = nil,
start_time = (Amount of time in seconds before the barrier is removed)
scripts = {
on_start = "(Lua script to be run after /start is run, leave blank unless you know what you are doing!)",
on_barrier_remove = "(Lua script to be run after the barrier is removed, leave blank unless you know what you are doing!)",
on_end = "(Lua script to be run after the match has ended, leave blank unless you know what you are doing!)"
}
}
return map_data