Commit Graph

16 Commits

Author SHA1 Message Date
AntumDeluge
58b239b4ae Minor edit to log message 2021-05-06 19:57:26 -07:00
AntumDeluge
c905656ec8 Changes to 'sneeker.log' method:
Only log message if minetest setting 'log_mods' is 'true'.
2021-05-06 19:56:00 -07:00
AntumDeluge
a73dc9aa39 Put node light in local variable & add debugging output 2021-05-06 19:46:51 -07:00
AntumDeluge
a5025cdfb8 Use setting 'sneeker.spawn_maxlight' to determine node light for spawn 2021-05-06 19:44:49 -07:00
AntumDeluge
439646417a Add method 'sneaker.spawn' to spawn entity 2021-05-06 19:42:16 -07:00
AntumDeluge
1f04669a68 Do not spawn if spawn cap is reached 2021-05-06 19:42:16 -07:00
AntumDeluge
05670a46c7 Put mob & spawnegg names in 'sneeker' attributes 2021-05-06 19:41:57 -07:00
AntumDeluge
43bfded8b2 Change settings naming convention from 'sneeker_*' to 'sneeker.*' 2021-05-06 19:33:34 -07:00
AntumDeluge
517c7afd06 Re-label to 'sneeker' 2021-05-06 19:31:05 -07:00
AntumDeluge
58d9d44c35 Add logging messages 2021-05-06 19:13:35 -07:00
AntumDeluge
0b7e8b89c6 Change spawn rate:
- Use settings file to set 'chance' & 'interval'
- Set spawn chance to 1/18000 (18000)
- Set spawn interval to 40 minutes (2400)
2021-05-06 19:08:27 -07:00
AntumDeluge
a52acac435 Remove unnecessary variable 'time_sec' 2021-05-06 19:00:40 -07:00
AntumDeluge
f838db1cef Set license for new code as CC0 2021-05-06 18:57:53 -07:00
AntumDeluge
58ac8ed83c Relabel to 'sneaker' 2021-05-06 18:35:19 -07:00
AntumDeluge
de7cd62f17 Run spawn function every 20 minutes 2021-05-06 18:23:40 -07:00
AntumDeluge
1da3049808 Add Rui's creeper mod code:
Forked from Git commit 036666e. Original repo & forum thread appear to
have been deleted.
2017-05-15 15:21:03 -07:00