mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
Large update (#11)
* Add a lot of new stuff
* Add even more new stuff
* Fix /start...
* Revert "Fix /start..."
This reverts commit 00b55b666a.
* Fix syntax error.. (how did this get here)
* Fix countdown persisting after aborting
* Add xpanes for the snow map
* Change the 'your' in the loading tips
why english why -_-
Co-authored-by: CrazyladMT <247920740+CrazyladMT@users.noreply.github.com>
* Another loading tips change...
Co-authored-by: CrazyladMT <247920740+CrazyladMT@users.noreply.github.com>
* Fix '/stop' crashing...
* Fix another crash with /stop...
* Update mods/game/functions/init.lua
Co-authored-by: CrazyladMT <247920740+CrazyladMT@users.noreply.github.com>
* Remove snow map for now
* Remove a loading tip...
* Rename /list_maps to /maps
* Update map making README
* Hopefully fix whitespaces...
---------
Co-authored-by: CrazyladMT <247920740+CrazyladMT@users.noreply.github.com>
This commit is contained in:
parent
fc1407feff
commit
46ce669100
48 changed files with 677 additions and 188 deletions
|
|
@ -34,23 +34,17 @@ Step 8: Open the `map.lua` file in a text editor and put the following content i
|
|||
```lua
|
||||
local map_data = {
|
||||
name = "(Your map name here)",
|
||||
size_x = (Size in the X direction of your map),
|
||||
size_y = (Size in the Y direction of your map),
|
||||
size_z = (Size in the Z direction of your map),
|
||||
size = vector.new(Your map size)
|
||||
|
||||
barrier_level = (Distance from the bottom of the map to the barrier),
|
||||
|
||||
spawn_x = nil,
|
||||
spawn_y = nil,
|
||||
spawn_z = nil,
|
||||
spawn = vector.new(Your spawn coordinates relative to map position, can be set to 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!)"
|
||||
},
|
||||
on_start = function(),
|
||||
on_end = function(),
|
||||
on_barrier_remove = function(),
|
||||
|
||||
classes = {
|
||||
class_1 = {
|
||||
|
|
@ -69,8 +63,6 @@ local map_data = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return map_data
|
||||
```
|
||||
|
||||
Step 9: Open Minetest/Luanti and create a new world with Simple Shooter Game.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue