mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 16:10:18 +01:00
move default mod to opt-depends and use screwdriver only if available
This commit is contained in:
parent
544997535e
commit
b9a8209b0d
2
mod.conf
2
mod.conf
@ -1,7 +1,7 @@
|
|||||||
name = scifi_nodes
|
name = scifi_nodes
|
||||||
description = Minetest mod that adds scifi themed blocks, doors, materials, plants and other assets.
|
description = Minetest mod that adds scifi themed blocks, doors, materials, plants and other assets.
|
||||||
depends = default
|
|
||||||
optional_depends = """
|
optional_depends = """
|
||||||
|
default,
|
||||||
xpanes,
|
xpanes,
|
||||||
mesecons,
|
mesecons,
|
||||||
moreblocks,
|
moreblocks,
|
||||||
|
@ -1080,7 +1080,7 @@ minetest.register_node("scifi_nodes:itemholder", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {cracky=1},
|
groups = {cracky=1},
|
||||||
on_rotate = screwdriver.disallow,
|
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow,
|
||||||
after_place_node = function(pos, placer, itemstack)
|
after_place_node = function(pos, placer, itemstack)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("owner",placer:get_player_name())
|
meta:set_string("owner",placer:get_player_name())
|
||||||
|
Loading…
Reference in New Issue
Block a user