[sneeker] Update to Git commit 9d7c566:
https://github.com/AntumDeluge/mtmod-sneeker/tree/9d7c566
This commit is contained in:
parent
03acae2a5b
commit
3a852651c9
@ -59,7 +59,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
* mobiles/aggressive/
|
||||
* [mobs_goblins][] ([CC-BY-SA / CC-BY / CC0][lic.mobs_goblins]) -- version: [a346f85 Git][ver.mobs_goblins] *2015-09-12* ([patched][patch.mobs_goblins])
|
||||
* [mobs_monster][] ([MIT][lic.mobs_monster]) -- version: [f6d0e01 Git][ver.mobs_monster] *2017-04-27*
|
||||
* [sneeker][] ([WTFPL][lic.wtfpl] / [CC0][lic.cc0]) -- version: [b5c7aeb Git][ver.sneeker] *2017-05-27*
|
||||
* [sneeker][] ([WTFPL][lic.wtfpl] / [CC0][lic.cc0]) -- version: [9d7c566 Git][ver.sneeker] *2017-05-28*
|
||||
* [spidermob][] ([LGPL][lic.lgpl2.1] / [CC BY-SA][lic.ccbysa3.0] / [MIT][lic.mit] / [WTFPL][lic.spidermob] / [Unlicense][lic.unlicense]) -- version [c72d2ff Git][ver.spidermob] *2016-08-14* ([patched][patch.spidermob])
|
||||
* mobiles/engine/
|
||||
* mobiles/general/
|
||||
@ -463,7 +463,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[ver.rainbow_ore]: https://github.com/FsxShader2012/rainbow_ore/tree/6e77693
|
||||
[ver.signs_lib]: https://github.com/minetest-mods/signs_lib/tree/2c36937
|
||||
[ver.simple_protection]: https://github.com/SmallJoker/simple_protection/tree/23c024f
|
||||
[ver.sneeker]: https://github.com/AntumDeluge/mtmod-sneeker/tree/b5c7aeb
|
||||
[ver.sneeker]: https://github.com/AntumDeluge/mtmod-sneeker/tree/9d7c566
|
||||
[ver.snowdrift]: https://github.com/paramat/snowdrift/tree/fcb0537
|
||||
[ver.spawneggs]: https://github.com/thefamilygrog66/spawneggs/tree/4650370
|
||||
[ver.spectator_mode]: https://github.com/minetest-mods/spectator_mode/tree/7d68bec
|
||||
|
@ -1765,23 +1765,23 @@ only_peaceful_mobs = false
|
||||
# Logs debug output.
|
||||
# type: bool
|
||||
# default: false
|
||||
sneeker_debug = true
|
||||
sneeker.debug = true
|
||||
|
||||
# Sets maximum number of spawns that can exist in world.
|
||||
# type: int
|
||||
# default: 50
|
||||
#sneeker_spawn_cap = 50
|
||||
#sneeker.spawn_cap = 50
|
||||
|
||||
# Sets possibility for sneeker mob spawn.
|
||||
# type: int
|
||||
# default: 18000
|
||||
#sneeker_spawn_chance = 18000
|
||||
#sneeker.spawn_chance = 18000
|
||||
|
||||
# Sets frequency of sneeker mob spawn chance. Default 1200 is
|
||||
# equivalent to 40 minutes (60 * 40).
|
||||
# type: int
|
||||
# default: 2400
|
||||
#sneeker_spawn_interval = 2400
|
||||
#sneeker.spawn_interval = 2400
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- Settings for sneeker mod
|
||||
|
||||
|
||||
sneeker.debug = minetest.setting_get('sneeker_debug') or false
|
||||
sneeker.spawn_cap = minetest.setting_get('sneeker_spawn_cap') or 50
|
||||
sneeker.debug = minetest.setting_get('sneeker.debug') or false
|
||||
sneeker.spawn_cap = minetest.setting_get('sneeker.spawn_cap') or 50
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Logs debug output.
|
||||
sneeker_debug (Log debug output) bool false
|
||||
sneeker.debug (Log debug output) bool false
|
||||
|
||||
# Sets maximum number of spawns that can exist in world.
|
||||
sneeker_spawn_cap (Maximum spawns) int 50
|
||||
sneeker.spawn_cap (Maximum spawns) int 50
|
||||
|
||||
# Sets possibility for spawn.
|
||||
sneeker_spawn_chance (Spawn chance) int 18000
|
||||
sneeker.spawn_chance (Spawn chance) int 18000
|
||||
|
||||
# Sets frequency of spawn chance.
|
||||
# Default 1200 is equivalent to 20 minutes (60 * 40).
|
||||
sneeker_spawn_interval (Spawn interval) int 2400
|
||||
sneeker.spawn_interval (Spawn interval) int 2400
|
||||
|
@ -5,8 +5,8 @@ local time_min = 60
|
||||
local time_hr = time_min * 60
|
||||
local time_day = time_hr * 24
|
||||
|
||||
local spawn_chance = minetest.setting_get('sneeker_spawn_chance') or 18000
|
||||
local spawn_interval = minetest.setting_get('sneeker_spawn_interval') or time_min * 40 -- Default interval is 40 minutes
|
||||
local spawn_chance = minetest.setting_get('sneeker.spawn_chance') or 18000
|
||||
local spawn_interval = minetest.setting_get('sneeker.spawn_interval') or time_min * 40 -- Default interval is 40 minutes
|
||||
|
||||
if minetest.setting_getbool('log_mods') then
|
||||
sneeker.log('Spawn chance: ' .. tostring(spawn_chance) .. ' (1/' .. tostring(spawn_chance) .. ')')
|
||||
|
Loading…
x
Reference in New Issue
Block a user