diff --git a/canapa_red.lua b/canapa_red.lua index a316f14..7929e0a 100644 --- a/canapa_red.lua +++ b/canapa_red.lua @@ -88,29 +88,7 @@ minetest.register_abm({ }) --___________________________________________________________ if minetest.get_modpath("default") then ---[[minetest.register_biome({ - name = "canapa_swampr", - --node_dust = "", - node_top ={"default:desert_sand", - "default:sand", - "default:silver_sand"}, - depth_top = 1, - node_filler = "default:desert_sand", - depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", - node_riverbed = "default:sand", - depth_riverbed = 2, - y_min = 1, - y_max =31000, - --heat_point = 0, - -- humidity_point = 1, - }) - ]] - + minetest.register_decoration({ deco_type = "simple", diff --git a/init.lua b/init.lua index 73ebfba..368962d 100644 --- a/init.lua +++ b/init.lua @@ -23,12 +23,21 @@ dofile(path.."/tools.lua") dofile(path.."/canapa.lua") dofile(path.."/node_ingot.lua") dofile(path.."/craftitem.lua") -dofile(path.."/armor.lua") +--dofile(path.."/armor.lua") dofile(path.."/joint.lua") dofile(path.."/canapa_red.lua") dofile(path.."/craftred.lua") dofile(path.."/rope.lua") dofile(path.."/wool.lua") -dofile(path.."/bag.lua") +--dofile(path.."/bag.lua") dofile(path.."/canapa_ice.lua") dofile(path.."/craftice.lua") + + + +if minetest.get_modpath("3d_armor") then +dofile(path.."/armor.lua") +end +if minetest.get_modpath("unified_inventory") then +dofile(path.."/bag.lua") +end diff --git a/mod.conf b/mod.conf index 5fd0a19..f232e95 100644 --- a/mod.conf +++ b/mod.conf @@ -1,3 +1,3 @@ name = cannabis -depends = default, fire -optional_default = 3d_armor, maptools +depends = default +optional_default = 3d_armor,fire,ropes,unified_inventory,wool