Increase min & max spawn height

master
Jordan Irwin 2021-06-01 20:29:22 -07:00
parent 09da80dfac
commit bdde7bfac3
3 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,2 @@
TODO:
- fix max spawn height

View File

@ -30,12 +30,12 @@ shark.max_light = tonumber(core.settings:get("shark.max_light")) or core.LIGHT_M
--- Minimum height at which shark can spawn.
--
-- @setting shark.min_height
shark.min_height = tonumber(core.settings:get("shark.min_height")) or -30
shark.min_height = tonumber(core.settings:get("shark.min_height")) or -500
--- Maximum height at which shark can spawn.
--
-- @setting shark.max_height
shark.max_height = tonumber(core.settings:get("shark.max_height")) or 100
shark.max_height = tonumber(core.settings:get("shark.max_height")) or 500
--- Times that shark can spawn.
--

View File

@ -17,10 +17,10 @@ shark.min_light (Shark min spawn light) int 4 0 14
shark.max_light (Shark max spawn light) int 14 0 14
# Minimum height at which shark can spawn.
shark.min_height (Shark min spawn height) int -30
shark.min_height (Shark min spawn height) int -500
# Maximum height at which shark can spawn.
shark.max_height (Shark max spawn height) int 100
shark.max_height (Shark max spawn height) int 500
# Times that shark can spawn.
#