AntumDeluge
|
a56b9c2ce9
|
User alternate message if spawn chance is less than 1%
|
2017-06-07 20:33:46 -07:00 |
|
AntumDeluge
|
59253fb4c1
|
Fix 'spawn_cap'
|
2017-06-07 16:44:07 -07:00 |
|
AntumDeluge
|
0ff4681d5e
|
Fix setting 'sneeker.debug' to 'false' by default
|
2017-06-06 20:50:12 -07:00 |
|
AntumDeluge
|
8d144e47db
|
Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
|
2017-06-06 20:48:23 -07:00 |
|
AntumDeluge
|
9e1b11a52c
|
Fix converting setting types to integer
|
2017-06-04 11:59:15 -07:00 |
|
AntumDeluge
|
e948a58c3d
|
Set default maximum spawn to 10
|
2017-06-01 15:26:45 -07:00 |
|
AntumDeluge
|
046e7d5e8c
|
Lower spawn rate & chance
|
2017-06-01 11:58:41 -07:00 |
|
AntumDeluge
|
468d2a7a2a
|
Make 'spawn_cap' local to 'spawn.lua'
|
2017-05-31 12:01:44 -07:00 |
|
AntumDeluge
|
73b221c13f
|
Make 'spawn_maxlight' local to 'spawn.lua'
|
2017-05-31 11:57:20 -07:00 |
|
AntumDeluge
|
555110bb82
|
Set 'spawn_maxlight' to 5 for lower spawn rate
|
2017-05-31 11:53:06 -07:00 |
|
AntumDeluge
|
258d366b26
|
Call 'setting_getbool' for 'sneeker.debug' option
|
2017-05-29 15:02:46 -07:00 |
|
AntumDeluge
|
b69cc98d39
|
Change 'spawn_maxlight' default value to '7'
|
2017-05-29 02:58:34 -07:00 |
|
AntumDeluge
|
2b0871207f
|
Change 'spawn_interval' default to 2 minutes (120)
|
2017-05-29 02:57:56 -07:00 |
|
AntumDeluge
|
6605ac1545
|
Change 'spawn_chance' default to '2' (1/2 or 50%)
|
2017-05-29 02:57:06 -07:00 |
|
AntumDeluge
|
822d73920d
|
Add more debugging output
|
2017-05-29 02:55:13 -07:00 |
|
AntumDeluge
|
b7f0f34a41
|
Fix finding number of active entities in world
|
2017-05-29 02:54:14 -07:00 |
|
AntumDeluge
|
84f51c893b
|
Don't set local 'spawnit'
|
2017-05-29 02:53:20 -07:00 |
|
AntumDeluge
|
85e849767f
|
Add method 'sneeker.get_pos_string':
Returns x, y, z coordinates in a string.
|
2017-05-29 02:49:02 -07:00 |
|
AntumDeluge
|
8485715aba
|
Add debugging output in case of denied spawn
|
2017-05-29 01:44:06 -07:00 |
|
AntumDeluge
|
ea60b5fe9b
|
Fix global name:
- 'sneeker' not 'sneaker'
|
2017-05-29 01:29:08 -07:00 |
|
AntumDeluge
|
2ddc96de06
|
Minor edit to log message
|
2017-05-29 01:25:51 -07:00 |
|
AntumDeluge
|
a2ce6cfea8
|
Changes to 'sneeker.log' method:
Only log message if minetest setting 'log_mods' is 'true'.
|
2017-05-29 01:25:28 -07:00 |
|
AntumDeluge
|
b165e45d92
|
Change debug message in 'sneeker.log_debug'
|
2017-05-29 01:16:02 -07:00 |
|
AntumDeluge
|
677622d307
|
Add debug message to display in log when turned on
|
2017-05-29 01:08:02 -07:00 |
|
AntumDeluge
|
0ad9f2bd2a
|
Put node light in local variable & add debugging output
|
2017-05-29 01:01:14 -07:00 |
|
AntumDeluge
|
05019c9d7d
|
Use setting 'sneeker.spawn_maxlight' to determine node light for spawn
|
2017-05-29 01:00:39 -07:00 |
|
AntumDeluge
|
1dc5b92314
|
Add method 'sneaker.spawn' to spawn entity
|
2017-05-29 00:58:55 -07:00 |
|
AntumDeluge
|
d336800b35
|
Do not spawn if spawn cap is reached
|
2017-05-29 00:14:26 -07:00 |
|
AntumDeluge
|
398971d08c
|
Put mob & spawnegg names in 'sneeker' attributes
|
2017-05-29 00:06:18 -07:00 |
|
AntumDeluge
|
d777d4f000
|
Set spawn cap at 25
|
2017-05-28 23:59:59 -07:00 |
|
AntumDeluge
|
9d7c566fdb
|
Change settings naming convention from 'sneeker_*' to 'sneeker.*'
|
2017-05-28 18:32:29 -07:00 |
|
AntumDeluge
|
b5c7aeb15d
|
Re-label to 'sneeker'
|
2017-05-27 19:54:26 -07:00 |
|
AntumDeluge
|
f50c7f37ca
|
Move settings variables & functions:
- Settings to 'settings.lua'
- Functions to 'functions.lua'
|
2017-05-27 19:30:56 -07:00 |
|
AntumDeluge
|
604eb77dc7
|
Add debugging setting & log method
|
2017-05-27 19:20:00 -07:00 |
|
AntumDeluge
|
3f835fa65d
|
Add logging messages
|
2017-05-27 19:15:23 -07:00 |
|
AntumDeluge
|
fa0b50491f
|
settingtypes.txt: Add 'sneaker_spawn_cap'
|
2017-05-27 19:14:35 -07:00 |
|
AntumDeluge
|
46a23df877
|
Change spawn rate:
- Use settings file to set 'chance' & 'interval'
- Set spawn chance to 1/18000 (18000)
- Set spawn interval to 40 minutes (2400)
|
2017-05-27 19:13:47 -07:00 |
|
AntumDeluge
|
85ca164e14
|
Add variable 'sneaker.spawn_cap':
Will set maximun number of sneakers that can be spawned in world at one
time.
|
2017-05-27 19:09:14 -07:00 |
|
AntumDeluge
|
930d52cb3d
|
Remove unnecessary variable 'time_sec'
|
2017-05-27 19:07:41 -07:00 |
|
AntumDeluge
|
2712d7119c
|
Add 'sneaker.log' method
|
2017-05-27 19:07:14 -07:00 |
|
AntumDeluge
|
f6eca4002a
|
Use 'setting_get*' methods instead of 'settings:get*':
Compatibility with 0.4.15 server.
|
2017-05-27 18:04:30 -07:00 |
|
AntumDeluge
|
b8a2e98ea0
|
Set license for new code as CC0
|
2017-05-27 17:36:45 -07:00 |
|
AntumDeluge
|
102c9d9266
|
Rename 'LICENSE.md' to 'LICENSE-wtfpl.txt'
|
2017-05-27 17:30:14 -07:00 |
|
AntumDeluge
|
56033e8988
|
Set variables 'sneaker.modname' & 'sneaker.modpath'
|
2017-05-27 17:26:42 -07:00 |
|
AntumDeluge
|
e8a37511ea
|
Replace double-quoted strings with single-quoted
|
2017-05-27 17:26:10 -07:00 |
|
AntumDeluge
|
83c26a3a41
|
Relabel to 'sneaker'
|
2017-05-27 17:23:59 -07:00 |
|
AntumDeluge
|
14f9c3c6b3
|
Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
|
2017-05-15 15:23:18 -07:00 |
|
AntumDeluge
|
299b12b5a4
|
Run spawn function every 20 minutes
|
2017-05-15 15:23:18 -07:00 |
|
AntumDeluge
|
07d7745455
|
Use 'spawneggs' & 'tnt' to craft 'creeper:spawnegg'
|
2017-05-15 15:23:18 -07:00 |
|
AntumDeluge
|
3cc1158417
|
Ignore Eclipse project files & directories
|
2017-05-15 15:23:18 -07:00 |
|