Use settings to determine spawn chance, frequency, level, & light requirements

This commit is contained in:
Jordan Irwin
2021-05-08 12:23:00 -07:00
parent 7ca26b4105
commit 7edfb6cb9b
5 changed files with 122 additions and 18 deletions
+29
View File
@@ -14,6 +14,35 @@ An explosive nuisance for [Minetest](http://minetest.net/).
- Original by Rui: WTFPL
- tnt_function code: [MIT](tnt_function.lua)
---
### Usage:
Settings:
- ***sneeker.spawn_chance***
- Sets possibility for spawn.
- type: int
- default: 10000
- ***sneeker.spawn_interval***
- Sets frequency of spawn chance.
- type: int
- default: 240 (4 minutes)
- ***sneeker.spawn_minlight***
- Sets the minimum light that a node must have for spawn to occur.
- type: int
- default: 0
- ***sneeker.spawn_maxlight***
- Sets the maximum light that a node can have for spawn to occur.
- type: int
- default: 9
- ***sneeker.spawn_minheight***
- Sets the maximum light that a node can have for spawn to occur.
- type: int
- default: -31000
- ***sneeker.spawn_maxheight***
- Sets the lowest position at which sneeker can spawn.
- type: int
- default 31000
---
### Links: