Commit graph

3 commits

Author SHA1 Message Date
HybridDog
4e8db84635 Cleanup farming code and small additional changes
Some additional changes:
Hoes only work if the node is pointed to from above.
Hoe description, inventory_image and max_uses must be specified (when registering).
Nodes with the field group must have all soil values in the node definition.
Field nodes do not loose their param2 value (e.g. rotation) when they dry, get wet or get hoed.
The node above the hoed one is not checked for protection because that node is not changed; similarly, the node under a seed is not tested for protection.
Document the fertility
test for nil player in the hoe on_use function
properly test for the creative mod
ensure that the on_place function returns an itemstack
change missing soil fields message
2020-09-24 13:56:28 +02:00
An0n3m0us
8d9aa07752
Sort loot registration into respective mods (#2602) 2020-02-23 14:41:13 +01:00
sfan5
9b226c7045 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00