Use hades_xpanes panes if available.

This commit is contained in:
random-geek 2021-08-19 11:58:13 -07:00
parent 02578ce56f
commit b055570244
2 changed files with 9 additions and 2 deletions

@ -11,8 +11,9 @@ tropical wood planks (Hades Revisited).
Glass = regular, non-stained glass block. Glass = regular, non-stained glass block.
Glass Pane = regular, non-stained glass pane. For Hades Revisited, use regular Glass Pane = regular, non-stained glass pane. For Hades Revisited, if
glass. `hades_extensionmods`/`hades_xpanes` is not available, use regular glass
instead.
Steel = steel ingot (Minetest Game, Hades Revisited) or iron ingot Steel = steel ingot (Minetest Game, Hades Revisited) or iron ingot
(MineClone 2). (MineClone 2).
@ -193,6 +194,8 @@ Minetest Game, Hades Revisited: Craft from one steel and one tin ingot.
MineClone 2: Craft from one iron ingot and one redstone. MineClone 2: Craft from one iron ingot and one redstone.
If `basic_materials` is installed, its Brass Ingot will be used instead.
### Brass Chain ### Brass Chain
``` ```

@ -125,6 +125,10 @@ elseif morelights.game == "hades_revisited" then
a.glass = "hades_core:glass" a.glass = "hades_core:glass"
-- HR doesn't have glass panes. :( -- HR doesn't have glass panes. :(
a.glass_pane = "hades_core:glass" a.glass_pane = "hades_core:glass"
if minetest.get_modpath("hades_xpanes") then
a.glass_pane = "hades_xpanes:pane_flat"
end
a.steel = "hades_core:steel_ingot" a.steel = "hades_core:steel_ingot"
a.copper = "hades_core:copper_ingot" a.copper = "hades_core:copper_ingot"
a.tin = "hades_core:tin_ingot" a.tin = "hades_core:tin_ingot"