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 |
|
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 |
|