1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 12:56:01 +02:00

Fix screwdriver variables

This commit is contained in:
kilbith
2015-05-15 10:45:21 +02:00
parent f1db5635f5
commit f1dca4e990
8 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,5 @@
screwdriver = screwdriver or {}
minetest.register_node("plasmascreen:stand", {
description = "Plasma Screen TV Stand",
tiles = {"plasmascreen_back.png"},
@ -142,6 +144,7 @@ minetest.register_node("plasmascreen:tv_off", {
light_source = 10,
selection_box = tv_cbox,
collision_box = tv_cbox,
on_rotate = screwdriver.disallow,
groups = {snappy=1, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
after_place_node = function(pos, placer, itemstack)
if not checkwall(pos) then