2021-05-08 20:18:50 +02:00
|
|
|
## Sneeker mod for Minetest
|
2017-05-13 12:35:54 +02:00
|
|
|
|
2021-05-08 19:57:26 +02:00
|
|
|
---
|
|
|
|
### Description:
|
2017-05-13 12:35:54 +02:00
|
|
|
|
2021-05-08 19:57:26 +02:00
|
|
|
An explosive nuisance for [Minetest](http://minetest.net/).
|
|
|
|
|
|
|
|
![screenshot](screenshot.png)
|
|
|
|
|
|
|
|
---
|
|
|
|
### Licensing:
|
|
|
|
|
2021-05-08 20:48:40 +02:00
|
|
|
- Code: [MIT](LICENSE.txt)
|
|
|
|
- Original by Rui: WTFPL
|
|
|
|
- tnt_function code: [MIT](tnt_function.lua)
|
2021-05-08 19:57:26 +02:00
|
|
|
|
2021-05-08 21:23:00 +02:00
|
|
|
---
|
|
|
|
### Usage:
|
|
|
|
|
|
|
|
Settings:
|
2021-05-09 03:26:39 +02:00
|
|
|
- ***sneeker.lifetime***
|
|
|
|
- How long (in seconds) sneeker remains in world after spawn.
|
|
|
|
- type: int
|
|
|
|
- default: 900 (15 minutes)
|
|
|
|
- ***sneeker.boom_gain***
|
|
|
|
- Loudness of explosion.
|
|
|
|
- type: float
|
|
|
|
- default: 1.5
|
|
|
|
- ***sneeker.spawn_require_player_nearby***
|
|
|
|
- Determines whether or not a player must be close for spawn to occur.
|
|
|
|
- type: bool
|
|
|
|
- default: true
|
|
|
|
- ***sneeker.spawn_player_radius***
|
|
|
|
- Distance a player must be within for spawn to occur.
|
|
|
|
- type: int
|
|
|
|
- default: 100
|
|
|
|
- ***sneeker.despawn_player_far***
|
|
|
|
- If enabled, mobs not near any players will despawn.
|
|
|
|
- type: bool
|
|
|
|
- default: true
|
|
|
|
- ***sneeker.despawn_player_radius***
|
|
|
|
- Distance determining if a player is near enough to prevent despawn.
|
|
|
|
- type: int
|
|
|
|
- default: 500
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_chance***
|
|
|
|
- Sets possibility for spawn.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
|
|
|
- default: 10000
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_interval***
|
|
|
|
- Sets frequency of spawn chance.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
|
|
|
- default: 240 (4 minutes)
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_minlight***
|
|
|
|
- Sets the minimum light that a node must have for spawn to occur.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
|
|
|
- default: 0
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_maxlight***
|
|
|
|
- Sets the maximum light that a node can have for spawn to occur.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
2021-05-09 03:26:39 +02:00
|
|
|
- default: 4
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_minheight***
|
|
|
|
- Sets the maximum light that a node can have for spawn to occur.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
|
|
|
- default: -31000
|
2021-05-08 21:23:00 +02:00
|
|
|
- ***sneeker.spawn_maxheight***
|
|
|
|
- Sets the lowest position at which sneeker can spawn.
|
2021-05-08 23:57:58 +02:00
|
|
|
- type: int
|
|
|
|
- default 31000
|
|
|
|
- ***sneeker.spawn_mapblock_limit***
|
|
|
|
- Limits the number of entities that can spawn per mapblock (16x16x16).
|
|
|
|
- type: int
|
|
|
|
- default: 1
|
2021-05-08 21:23:00 +02:00
|
|
|
|
2021-05-08 19:57:26 +02:00
|
|
|
---
|
|
|
|
### Links:
|
|
|
|
|
|
|
|
- [Forum thread](https://forum.minetest.net/viewtopic.php?t=26685)
|
|
|
|
- [Git repo](https://github.com/AntumMT/mod-sneeker)
|
|
|
|
- [Original forum thread](https://forum.minetest.net/viewtopic.php?t=11891)
|