trash_can-cd2025/settingtypes.txt
Montandalar 72dc10d6b1
Fix and improve throwing trash into the can (#16)
* The settingtypes default value was mismatched with the actual code.
  settingtypes have been changed to agree with the code because this
  keeps the old behaviour.
* builtin item's on_step has more arguments than self and dtime now, so
  the varargs syntax is used to pass additional arguments on now
  Without this, the mod will crash when trash_can_throw_in is on.
* I have tweaked the calculation for where the trash can will pick
  objects up, since it was too easy to land items on the rim instead of
  them going in.
* The calculation for where the trash can will pick objects up has been
  tweaked upwards, since it was too easy to land items on the rim instead
  of them going in.
* vector.round is now used to ensure the logging co-ordinates are
  accurate instead of floor, since this is the same basic algorithm
  minetest\.get_node uses.
2023-03-25 10:08:13 +01:00

3 lines
159 B
Plaintext

# Requires some additional processing to check all items in the world each server step
trash_can_throw_in (Allow throwing trash into the trash can) bool false