forked from Mirrorlandia_minetest/mod-sneeker
Minor edit to log message
This commit is contained in:
parent
a2ce6cfea8
commit
2ddc96de06
@ -9,7 +9,7 @@ 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_interval = minetest.setting_get('sneeker.spawn_interval') or time_min * 40 -- Default interval is 40 minutes
|
||||||
|
|
||||||
sneeker.log('Spawn chance: ' .. tostring(spawn_chance) .. ' (1/' .. tostring(spawn_chance) .. ')')
|
sneeker.log('Spawn chance: ' .. tostring(spawn_chance) .. ' (1/' .. tostring(spawn_chance) .. ')')
|
||||||
sneeker.log('Spawn interval: ' .. tostring(spawn_interval) .. ' (' .. tostring(spawn_interval/60) .. ' minutes)')
|
sneeker.log('Spawn interval: ' .. tostring(spawn_interval) .. ' (' .. tostring(spawn_interval/60) .. ' minute(s))')
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {'default:dirt_with_grass', 'default:stone'},
|
nodenames = {'default:dirt_with_grass', 'default:stone'},
|
||||||
|
Loading…
Reference in New Issue
Block a user