Skip to content

Commit

Permalink
Better compatibility with Hades Revisited. (#11)
Browse files Browse the repository at this point in the history
* add hades revisted crafts and update sound api for sounds (#10)

* add hades revisted crafts and update sound api for sounds

* fix #9

* fix #9 part 2

* Add hades_bucket to crafts. Fix some bugs.

* Fix dependencies and recipes. Disable silicon if hades_materials is aviable.

* Remove unused dependence.

* Clear original recipe for palstic base from hades_materials. Prevent dual plastic cook recipe.

* Use register_alias_force.

* Fix spaces vs tabs.

Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com>
  • Loading branch information
sfence and wsor4035 committed Mar 2, 2022
1 parent 0837b7d commit aa60caa
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 222 deletions.
9 changes: 8 additions & 1 deletion craftitems.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,11 @@ minetest.register_craftitem("basic_materials:gear_steel", {
minetest.register_craftitem("basic_materials:padlock", {
description = S("Padlock"),
inventory_image = "basic_materials_padlock.png"
})
})

if minetest.get_modpath("hades_materials") then
minetest.register_alias_force("basic_materials:plastic_sheet", "hades_materials:plastic_sheeting")
minetest.register_alias_force("basic_materials:paraffin", "hades_materials:plastic_base")
minetest.register_alias_force("hades_extramaterials:silicon", "hades_materials:silicon")
end

Loading

0 comments on commit aa60caa

Please sign in to comment.