1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2025-06-30 07:01:05 +02:00

5 Commits

7 changed files with 5 additions and 34 deletions

View File

@ -20,7 +20,6 @@ read_globals = {
"screwdriver", "screwdriver",
"minetest", "minetest",
"mesecon", "mesecon",
"unifieddyes", "unifieddyes"
"pkarcs"
} }

View File

@ -55,4 +55,3 @@ CC0
* OgelGames https://github.com/OgelGames * OgelGames https://github.com/OgelGames
* leftshift https://github.com/leftshift * leftshift https://github.com/leftshift
* fluxionary https://github.com/fluxionary * fluxionary https://github.com/fluxionary
* Niles Corder https://github.com/ncorder

View File

@ -10,22 +10,8 @@ if minetest.get_modpath("basic_materials") then
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"} {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}
} }
}) })
if minetest.settings:get_bool("scifi_nodes.teleporter_enable_crafting", false) then
-- enable the teleporter pad crafting recipe only if the setting is enabled
minetest.register_craft({
output = "scifi_nodes:pad",
recipe = {
{"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"},
{"default:mese_crystal", "quartz:block", "default:mese_crystal"},
{"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"}
}
})
end
end end
if not minetest.get_modpath("default") or not minetest.get_modpath("dye") then if not minetest.get_modpath("default") or not minetest.get_modpath("dye") then
-- the default and dye mod are required for most of the recipes -- the default and dye mod are required for most of the recipes
-- if either of them is missing (because we are not in the default game) -- if either of them is missing (because we are not in the default game)

View File

@ -31,8 +31,3 @@ dofile(MP.."/digicode.lua")
dofile(MP.."/models.lua") dofile(MP.."/models.lua")
dofile(MP.."/octagon_panes.lua") dofile(MP.."/octagon_panes.lua")
dofile(MP.."/crafts.lua") dofile(MP.."/crafts.lua")
if minetest.get_modpath("pkarcs") then
-- register some nodes in the pkarcs mod
dofile(MP.."/pkarcs.lua")
end

View File

@ -10,7 +10,6 @@ mesecons_button,
mesecons_torch, mesecons_torch,
mesecons_receiver, mesecons_receiver,
basic_materials, basic_materials,
dye, dye
unifieddyes, unifieddyes
pkarcs
""" """

View File

@ -1,4 +0,0 @@
pkarcs.register_node("scifi_nodes:whitetile")
pkarcs.register_node("scifi_nodes:whiteoct")
pkarcs.register_node("scifi_nodes:white")
pkarcs.register_node("scifi_nodes:lighttop")

View File

@ -1,5 +1,2 @@
# Doors can only be opened by mesecon signal # Doors can only be opened by mesecon signal
scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool false scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool true
# Teleporter recipe flag
scifi_nodes.teleporter_enable_crafting (enables the teleporter recipe) bool false