diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-04-28 04:18:37 -0700 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-04-28 04:18:37 -0700 |
commit | 6f83f4cf1ed616d0c74cfc3cd63a170f822b1046 (patch) | |
tree | b5d70f8f3706fd5f0e1f17e7269bd1c7169d4e90 /mesecons_switch/init.lua | |
parent | ac9a05df0b09e3e27b94f362037b725f67683706 (diff) | |
parent | 255e363b04dbaa0e19f290d96512278a433570f9 (diff) |
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_switch/init.lua')
-rw-r--r-- | mesecons_switch/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 0ec5a27..ec04f0a 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { tiles = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_on.png"}, paramtype2="facedir", groups = {dig_immediate=2,not_in_creative_inventory=1}, - drop='"mesecons_switch:mesecon_switch_off" 1', + drop="mesecons_switch:mesecon_switch_off 1", sounds = default.node_sound_stone_defaults(), mesecons = {receptor = { state = mesecon.state.on @@ -33,9 +33,9 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { }) minetest.register_craft({ - output = '"mesecons_switch:mesecon_switch_off" 2', + output = "mesecons_switch:mesecon_switch_off 2", recipe = { - {'"default:steel_ingot"', '"default:cobble"', '"default:steel_ingot"'}, - {'"group:mesecon_conductor_craftable"','', '"group:mesecon_conductor_craftable"'}, + {"default:steel_ingot", "default:cobble", "default:steel_ingot"}, + {"group:mesecon_conductor_craftable","", "group:mesecon_conductor_craftable"}, } }) |