1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2025-07-17 15:30:20 +02:00

23 Commits

Author SHA1 Message Date
5b903a6e78 Merge remote-tracking branch 'upstream/master' 2021-10-04 21:49:01 +02:00
4fc833bb00 fix default setting value for mesecons-only door operation 2021-09-30 10:50:12 +02:00
5788062fac update contributors 2021-09-30 10:50:12 +02:00
1c8024401f add setting for teleporter pad 2021-09-30 10:50:12 +02:00
1273b627c2 add crafting recipe for teleporter pad 2021-09-30 10:50:12 +02:00
eb231d7ca7 Merge remote-tracking branch 'upstream/master' 2021-08-31 19:59:22 +02:00
3d7e7a82a5 add missing comma in mod.conf 2021-08-28 18:21:11 +02:00
e40f9747b0 Opt-depend on all mods (#58)
* move "dye" to optional depends and disable recipes if default or dye are not available
* replace default.LIGHT_MAX with minetest.LIGHT_MAX
* add sound-switch and use default if available
* enable crate and builder only if default mod is available
* move default mod to opt-depends and use screwdriver only if available

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2021-08-27 09:22:15 +02:00
2fd4de11c0 Merge remote-tracking branch 'upstream/master' 2021-08-16 18:18:21 +02:00
b88b7349a5 Merge remote-tracking branch 'upstream/master' 2021-06-20 17:30:14 +02:00
c30ae4b3bd Merge remote-tracking branch 'upstream/master' 2021-05-09 21:44:34 +02:00
6cf45fcd43 Merge remote-tracking branch 'upstream/master' 2021-03-25 21:58:42 +01:00
1ded358e04 Merge branch 'github' 2021-03-20 13:38:15 +01:00
ecfaa4714a Fix things to avoid warnings about use_texture_alpha
And optimize textures with optipng
2021-03-20 13:33:39 +01:00
c341cb8a20 Merge remote-tracking branch 'upstream/master' 2021-01-29 17:43:56 +01:00
d66e04f9b1 Merge remote-tracking branch 'upstream/master' 2020-12-24 21:10:26 +01:00
d3d6a7bf79 Merge remote-tracking branch 'upstream/master' 2020-12-18 12:21:17 +01:00
e34fdde795 Merge remote-tracking branch 'upstream/master' 2020-12-15 23:41:17 +01:00
1993068ed1 Merge remote-tracking branch 'upstream/master' 2020-11-12 22:04:59 +01:00
436f51ab0d Merge remote-tracking branch 'upstream/master' 2020-11-10 19:59:40 +01:00
749d59a530 Merge remote-tracking branch 'upstream/master' 2020-09-13 12:28:42 +02:00
bd58dbc48b Merge remote-tracking branch 'upstream/master' 2020-07-23 11:42:19 +02:00
4eaba4f6e1 Adds loading message in the Action Log 2020-07-21 11:52:47 +02:00
5 changed files with 22 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -31,3 +31,4 @@ dofile(MP.."/digicode.lua")
dofile(MP.."/models.lua")
dofile(MP.."/octagon_panes.lua")
dofile(MP.."/crafts.lua")
minetest.log("action", "[scifi_nodes] loaded.")

View File

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

View File

@ -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
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