add setting parma multidimensions clear craft
This commit is contained in:
parent
044fe31e46
commit
87ab6d9cf2
31
init.lua
31
init.lua
@ -1,4 +1,5 @@
|
|||||||
space_travel = {}
|
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 = 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.yarth_orbit = tonumber(minetest.settings:get('space_travel_yarth_orbit') or 4500)
|
||||||
space_travel.luna = tonumber(minetest.settings:get('space_travel_luna') or 5500)
|
space_travel.luna = tonumber(minetest.settings:get('space_travel_luna') or 5500)
|
||||||
@ -85,3 +86,33 @@ Minthe | 20
|
|||||||
* make titanium tools
|
* make titanium tools
|
||||||
* make artificial gravity generator (maybe)
|
* 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
|
||||||
|
|
||||||
|
@ -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
|
yarth (Yarth) int 4000
|
||||||
|
Loading…
Reference in New Issue
Block a user