forked from mtcontrib/scifi_nodes
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
5b903a6e78
@ -55,3 +55,4 @@ CC0
|
||||
* OgelGames https://github.com/OgelGames
|
||||
* leftshift https://github.com/leftshift
|
||||
* fluxionary https://github.com/fluxionary
|
||||
* Niles Corder https://github.com/ncorder
|
||||
|
14
crafts.lua
14
crafts.lua
@ -10,8 +10,22 @@ if minetest.get_modpath("basic_materials") then
|
||||
{"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
|
||||
|
||||
|
||||
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
|
||||
-- if either of them is missing (because we are not in the default game)
|
||||
|
@ -1,2 +1,5 @@
|
||||
# Doors can only be opened by mesecon signal
|
||||
scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool true
|
||||
# Doors can only be opened by mesecon signal
|
||||
scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool false
|
||||
|
||||
# Teleporter recipe flag
|
||||
scifi_nodes.teleporter_enable_crafting (enables the teleporter recipe) bool false
|
||||
|
Loading…
Reference in New Issue
Block a user