Commit Graph

23 Commits

Author SHA1 Message Date
AntumDeluge
40f0c24552 Move settings variables & functions:
- Settings to 'settings.lua'
- Functions to 'functions.lua'
2021-05-06 19:24:36 -07:00
AntumDeluge
e2badd6a6f Add debugging setting & log method 2021-05-06 19:18:37 -07:00
AntumDeluge
58d9d44c35 Add logging messages 2021-05-06 19:13:35 -07:00
AntumDeluge
3d06833867 settingtypes.txt: Add 'sneaker_spawn_cap' 2021-05-06 19:08:46 -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
beaff3d886 Add variable 'sneaker.spawn_cap':
Will set maximun number of sneakers that can be spawned in world at one
time.
2021-05-06 19:03:24 -07:00
AntumDeluge
a52acac435 Remove unnecessary variable 'time_sec' 2021-05-06 19:00:40 -07:00
AntumDeluge
c0a53e2340 Add 'sneaker.log' method 2021-05-06 19:00:17 -07:00
AntumDeluge
f838db1cef Set license for new code as CC0 2021-05-06 18:57:53 -07:00
AntumDeluge
c789f39247 Rename 'LICENSE.md' to 'LICENSE-wtfpl.txt' 2021-05-06 18:55:30 -07:00
AntumDeluge
d9602eef55 Set variables 'sneaker.modname' & 'sneaker.modpath' 2021-05-06 18:54:39 -07:00
AntumDeluge
58ac8ed83c Relabel to 'sneaker' 2021-05-06 18:35:19 -07:00
AntumDeluge
b1c3a5a590 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2021-05-06 18:26:41 -07:00
AntumDeluge
de7cd62f17 Run spawn function every 20 minutes 2021-05-06 18:23:40 -07:00
AntumDeluge
9d4581ec5b Use 'spawneggs' & 'tnt' to craft 'creeper:spawnegg' 2021-05-06 18:21:48 -07:00
Jordan Irwin
84f6c2f3c9 Hack: check that coordinates are numbers before setting new velocity 5.x 2021-05-06 18:01:33 -07:00
Jordan Irwin
6c46f8bf7e Check that tnt is enabled 2021-05-06 18:00:40 -07:00
Jordan Irwin
45b0bf5f08 Update for Minetest 5.x API 2021-05-06 17:58:47 -07:00
Jordan Irwin
6efa22caf4 Fix line endings 2021-05-06 17:32:24 -07:00
Jordan Irwin
b88e4357f9 Add tnt as dependency 2021-05-06 17:14:03 -07:00
Jordan Irwin
cc9cb71090 Whitespace cleanup 2021-05-06 17:13:44 -07:00
Jordan Irwin
a89eb699c9 Move description & dependencies into mod.conf 2021-05-06 17:10:14 -07:00
AntumDeluge
1da3049808 Add Rui's creeper mod code:
Forked from Git commit 036666e. Original repo & forum thread appear to
have been deleted.
Rui
2017-05-15 15:21:03 -07:00