summaryrefslogtreecommitdiff
path: root/mesecons_lamp
diff options
context:
space:
mode:
authorVanessaE <vanessaezekowitz@gmail.com>2013-04-28 04:18:37 -0700
committerVanessaE <vanessaezekowitz@gmail.com>2013-04-28 04:18:37 -0700
commit6f83f4cf1ed616d0c74cfc3cd63a170f822b1046 (patch)
treeb5d70f8f3706fd5f0e1f17e7269bd1c7169d4e90 /mesecons_lamp
parentac9a05df0b09e3e27b94f362037b725f67683706 (diff)
parent255e363b04dbaa0e19f290d96512278a433570f9 (diff)
downloadmesecons-6f83f4cf1ed616d0c74cfc3cd63a170f822b1046.tar
mesecons-6f83f4cf1ed616d0c74cfc3cd63a170f822b1046.tar.gz
mesecons-6f83f4cf1ed616d0c74cfc3cd63a170f822b1046.tar.bz2
mesecons-6f83f4cf1ed616d0c74cfc3cd63a170f822b1046.tar.xz
mesecons-6f83f4cf1ed616d0c74cfc3cd63a170f822b1046.zip
Merge pull request #100 from RealBadAngel/master
Update crafting recipes - pretty much all of Mesecons recipes still used an old, now deprecated syntax substantially of the form 'node "default:xxxx" 2' (with two pairs of quotes). All such recipes have been changed to use the current method, i.e. "default:xxxx 2" (with one pair of quotes encompassing the whole itemstack).
Diffstat (limited to 'mesecons_lamp')
-rw-r--r--mesecons_lamp/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua
index 8b5a4ab..938fa32 100644
--- a/mesecons_lamp/init.lua
+++ b/mesecons_lamp/init.lua
@@ -21,7 +21,7 @@ minetest.register_node("mesecons_lamp:lamp_on", {
node_box = mesecon_lamp_box,
selection_box = mesecon_lamp_box,
groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon_effector_on = 1},
- drop='"mesecons_lamp:lamp_off" 1',
+ drop="mesecons_lamp:lamp_off 1",
sounds = default.node_sound_glass_defaults(),
mesecons = {effector = {
action_off = function (pos, node)
@@ -52,10 +52,10 @@ minetest.register_node("mesecons_lamp:lamp_off", {
})
minetest.register_craft({
- output = '"mesecons_lamp:lamp_off" 1',
+ output = "mesecons_lamp:lamp_off 1",
recipe = {
- {'', '"default:glass"', ''},
- {'"group:mesecon_conductor_craftable"', '"default:steel_ingot"', '"group:mesecon_conductor_craftable"'},
- {'', '"default:glass"', ''},
+ {"", "default:glass", ""},
+ {"group:mesecon_conductor_craftable", "default:steel_ingot", "group:mesecon_conductor_craftable"},
+ {"", "default:glass", ""},
}
})