1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-23 15:40:18 +02:00

add hopper support (#18)

This commit is contained in:
nixnoxus
2022-02-04 00:40:38 +01:00
committed by GitHub
parent a8fceb249d
commit d68e90f017
4 changed files with 31 additions and 3 deletions

View File

@ -148,7 +148,8 @@ function homedecor.register_furnace(name, furnacedef)
can_dig = furnace_can_dig,
allow_metadata_inventory_put = furnace_allow_put,
allow_metadata_inventory_move = furnace_allow_move,
inventory = { lockable = true }
inventory = { lockable = true },
is_furnace = true
}
local def_active = {
@ -162,7 +163,8 @@ function homedecor.register_furnace(name, furnacedef)
can_dig = furnace_can_dig,
allow_metadata_inventory_put = furnace_allow_put,
allow_metadata_inventory_move = furnace_allow_move,
inventory = { lockable = true }
inventory = { lockable = true },
is_furnace = true
}
if furnacedef.extra_nodedef_fields then