23 Commits

Author SHA1 Message Date
Alexander Weber
b265a9707a Cleanup treenodes_sorted in one place
pass poshash to functions instead of recalculation
2022-01-06 14:22:46 +01:00
flux
c5d4534014 fix reversed messages; disable process when player turns chopping off or leaves server 2019-09-03 22:04:33 +00:00
flux
5f43976b7a make all settings configurable; add command to toggle woodcutting 2019-09-03 22:04:33 +00:00
coil
82c54bac7b
Add setting to set wear limit
When tool wear is higher than the limit, nodes are removed one at a
time so that it is still possible to switch to a different tool.
2019-08-16 19:04:32 -04:00
Alexander Weber
a9d4160ae8 do not remove leaves on processing area border 2018-06-01 00:01:29 +02:00
Alexander Weber
05b3e0a157 take node from treenodes_sorted only if not skipped
skip means try again
fix previous commit
2018-02-01 23:28:29 +01:00
Alexander Weber
bffb5b5c99 use hand digging times if wrong tool used. Wait if node not diggable by tool and hand 2018-02-01 23:15:48 +01:00
Alexander Weber
4fbbce5fde added dig_leaves bool setting 2017-07-24 13:31:21 +02:00
Alexander Weber
ee47ad7c6f new method process:get_hud_message() 2017-07-07 22:49:49 +02:00
Alexander Weber
a8ee03d8e4 bugfix: proper process the case a node is not allowed to be processed 2017-07-07 19:20:36 +02:00
Alexander Weber
c47cc454d1 hooks changed 2017-07-07 19:03:47 +02:00
Alexander Weber
f7f3ccfba2 add setting for max player distance 2017-07-07 18:25:05 +02:00
Alexander Weber
82847c2ae1 moved leaves handling to new method. Add pipeline size to HUD output 2017-07-07 18:13:03 +02:00
Alexander Weber
ccd4cc801b change get_delay_time interface 2017-07-07 01:54:29 +02:00
Alexander Weber
c8749d04ae show next coordinates in HUD 2017-07-07 01:47:17 +02:00
Alexander Weber
9d687d1119 add some hooks 2017-07-07 01:28:53 +02:00
Alexander Weber
df5c5c4a35 rework to objects style 2017-07-07 01:00:52 +02:00
Alexander Weber
b6af164c3b restrict max distance to player = 100 2017-07-06 19:04:51 +02:00
Alexander Weber
2f72989d02 change to on_dieplayer 2017-07-06 14:02:17 +02:00
Alexander Weber
07d5a02b8a added stop woodcutting on respawn 2017-07-06 13:59:58 +02:00
Alexander Weber
2dfc56ee6e HUD message added 2017-07-06 13:44:37 +02:00
Alexander Weber
b72cf236df ignore bush leaves, work with real_trees, some adjustments 2017-07-06 00:52:48 +02:00
Alexander Weber
b8c71a4c90 Initial version 2017-07-05 22:55:01 +02:00