mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
Made the house on one end of the tunnel on forest ONLY enterable by the tunnel (that will be fun for PVP...) Gave players on forest one torch in initial stuff Decreased initial ammo from 100 to 99
39 lines
969 B
Lua
39 lines
969 B
Lua
local map_data = {
|
|
name = "forest",
|
|
size_x = 155,
|
|
size_y = 53,
|
|
size_z = 147,
|
|
|
|
barrier_level = 49, -- <- Y level of the barrier
|
|
|
|
spawn_x = nil,
|
|
spawn_y = nil,
|
|
spawn_z = nil,
|
|
|
|
start_time = 30,
|
|
|
|
scripts = { -- "temporary" hack to ensure there's nothing on top of the map
|
|
on_start = "for x=0, 154 do\nfor y=0, 16 do\nfor z=0, 146 do\ncore.set_node({x=x,y=53+y,z=z}, {name=\"air\"})\nend\nend\nend",
|
|
on_barrier_remove = "",
|
|
on_end = ""
|
|
},
|
|
|
|
classes = {
|
|
class_1 = {
|
|
name = "Long-range",
|
|
initial_items = {"ctf_ranged:m200_loaded", "default:sword_stone", "ctf_ranged:ammo 99", "default:torch 1"}
|
|
},
|
|
|
|
class_2 = {
|
|
name = "Mid-ranged",
|
|
initial_items = {"ctf_ranged:ak47_loaded", "ctf_ranged:glock17_loaded", "ctf_ranged:ammo 99", "default:torch 1"}
|
|
},
|
|
|
|
class_3 = {
|
|
name = "Short-range",
|
|
initial_items = {"ctf_ranged:benelli_loaded", "ctf_ranged:glock17_loaded", "ctf_ranged:ammo 99", "default:torch 1"}
|
|
}
|
|
}
|
|
}
|
|
|
|
return map_data
|