hlqkj fd860bd0e9
Fix make unrepairable (#25)
Due to a table reference in builtin, modifying the table directly affected other items as well. The function will now copy the values into a new table to replace the table reference.
2020-11-30 20:21:07 +01:00
2017-03-09 20:27:01 -07:00
2017-03-09 20:27:01 -07:00
2017-02-27 23:34:35 -07:00
2017-02-27 23:34:35 -07:00
2017-02-27 23:34:35 -07:00
2020-11-01 23:26:05 -07:00
2020-11-30 20:21:07 +01:00
2017-02-27 23:34:35 -07:00
2020-11-21 21:07:26 +01:00
2020-02-16 22:02:48 -07:00
2017-02-28 19:53:22 -07:00

Anvil mod by Sokomine, originally a part of the Cottages mod but extracted to stand alone.

This anvil (and its associated hammer) allows a player to repair worn tools. Place the worn tool in the anvil's inventory and strike it with the hammer to improve its condition.

By default, a hammer can be repaired on the anvil just like any other tool, allowing for infinite recycling of worn tools. Set "anvil_hammer_is_repairable false" to prevent this.

Any tool belonging to the group "not_repaired_by_anvil" can't be repaired at an anvil.

The API function anvil.make_unrepairable(item_name) can be used as a convenience function to add this group to an already-registered tool.

Description
No description provided
Readme GPL-3.0 180 KiB
Languages
Lua 100%