Go to file
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
locale Fill in some missing translations with Google Translate 2020-11-02 19:22:32 -07:00
sounds
textures
.gitattributes
.gitignore
LICENSE
README.md expose make_unrepairable 2020-02-16 22:02:48 -07:00
depends.txt Add technic to optional depends (#24) 2020-11-21 21:07:26 +01:00
description.txt
i18n.py update i18n script 2020-11-01 23:26:05 -07:00
init.lua Fix make unrepairable (#25) 2020-11-30 20:21:07 +01:00
mod.conf Add technic to optional depends (#24) 2020-11-21 21:07:26 +01:00
screenshot.png
settingtypes.txt add setting to allow hammer repair to be disabled 2019-04-14 21:21:31 -06:00

README.md

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.