Remove all beacons, except "off", from creative inventory
This commit is contained in:
parent
cf01db74b1
commit
2b5eb0fccf
4
init.lua
4
init.lua
@ -195,7 +195,7 @@ minetest.register_node('telemosaic:beacon', {
|
|||||||
'telemosaic_beacon_side.png',
|
'telemosaic_beacon_side.png',
|
||||||
},
|
},
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
groups = { cracky = 2 },
|
groups = { cracky = 2, not_in_creative_inventory = 1 },
|
||||||
drop = 'telemosaic:beacon_off',
|
drop = 'telemosaic:beacon_off',
|
||||||
on_rightclick = beacon_rightclick,
|
on_rightclick = beacon_rightclick,
|
||||||
})
|
})
|
||||||
@ -210,7 +210,7 @@ minetest.register_node('telemosaic:beacon_err', {
|
|||||||
'telemosaic_beacon_side.png',
|
'telemosaic_beacon_side.png',
|
||||||
},
|
},
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
groups = { cracky = 2 },
|
groups = { cracky = 2, not_in_creative_inventory = 1 },
|
||||||
drop = 'telemosaic:beacon_off',
|
drop = 'telemosaic:beacon_off',
|
||||||
on_rightclick = beacon_rightclick,
|
on_rightclick = beacon_rightclick,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user