mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 08:00: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
|
||||
description = Minetest mod that adds scifi themed blocks, doors, materials, plants and other assets.
|
||||
depends = default
|
||||
optional_depends = """
|
||||
default,
|
||||
xpanes,
|
||||
mesecons,
|
||||
moreblocks,
|
||||
|
@ -1080,7 +1080,7 @@ minetest.register_node("scifi_nodes:itemholder", {
|
||||
}
|
||||
},
|
||||
groups = {cracky=1},
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow,
|
||||
after_place_node = function(pos, placer, itemstack)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("owner",placer:get_player_name())
|
||||
|
Loading…
Reference in New Issue
Block a user