support legacy anvil api

This commit is contained in:
flux 2022-10-09 14:41:54 -07:00
parent 846308ef5a
commit 763f2bd5bf
No known key found for this signature in database
GPG Key ID: 9333B27816848A15
1 changed files with 5 additions and 0 deletions

View File

@ -3,3 +3,8 @@ cottages.handmill_product = {
cottages.straw.register_quern_craft({input = k, output = v})
end
}
cottages.forbid_repair = {
__newindex = function(t, k, v)
cottages.anvil.make_unrepairable(k)
end
}