diff --git a/init.lua b/init.lua index aaecc17..ade734b 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,5 @@ space_travel = {} +space_travel.recipe_multidimensions = minetest.settings:get_bool('space_travel_recipe_multidimensions') or true space_travel.yarth = tonumber(minetest.settings:get('space_travel_yarth') or 4000) space_travel.yarth_orbit = tonumber(minetest.settings:get('space_travel_yarth_orbit') or 4500) space_travel.luna = tonumber(minetest.settings:get('space_travel_luna') or 5500) @@ -85,3 +86,33 @@ Minthe | 20 * make titanium tools * make artificial gravity generator (maybe) ]] +if space_travel.recipe_multidimensions then + minetest.clear_craft({ + output = "multidimensions:teleporter_cold" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_desert" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_earthlike1" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_earthlike2" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_flatland" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_floatandlike" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_hot" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_sandstone" + }) + minetest.clear_craft({ + output = "multidimensions:teleporter_water" + }) +end + diff --git a/settingtypes.txt b/settingtypes.txt index 1308de4..1bb402a 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,4 +1,7 @@ -[ Altitude of the planets and orbits ] + +space_travel_recipe_multidimensions (Recipe multidimensions) bool true + +[ Altitude of the planets and orbits Y] # Ярт yarth (Yarth) int 4000