Use settings to determine spawn chance, frequency, level, & light requirements
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user