diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-02-04 13:07:36 -0500 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-02-04 13:08:24 -0500 |
commit | f54166af45bf270cd671b3cda3cf693a3865da77 (patch) | |
tree | be9864916ac0abbdd93537ef8fbcd1a8b3a72862 | |
parent | 9aaa4af37e5f2a9c3a85cfe30049429ccdfea9e4 (diff) | |
download | mesecons-f54166af45bf270cd671b3cda3cf693a3865da77.tar mesecons-f54166af45bf270cd671b3cda3cf693a3865da77.tar.gz mesecons-f54166af45bf270cd671b3cda3cf693a3865da77.tar.bz2 mesecons-f54166af45bf270cd671b3cda3cf693a3865da77.tar.xz mesecons-f54166af45bf270cd671b3cda3cf693a3865da77.zip |
Update wireless and IC nodes for itemdef.
-rw-r--r-- | jeija/init.lua | 6 | ||||
-rw-r--r-- | jeija/wireless.lua | 20 |
2 files changed, 13 insertions, 13 deletions
diff --git a/jeija/init.lua b/jeija/init.lua index f39e3eb..34c20c6 100644 --- a/jeija/init.lua +++ b/jeija/init.lua @@ -655,9 +655,9 @@ minetest.register_craftitem("jeija:ic", { minetest.register_craft({ output = 'craft "jeija:ic" 2', recipe = { - {'craft "jeija:silicon"', 'craft "jeija:silicon"', 'node "jeija:mesecon_off"'}, - {'craft "jeija:silicon"', 'craft "jeija:silicon"', 'node "jeija:mesecon_off"'}, - {'node "jeija:mesecon_off"', 'node "jeija:mesecon_off"', ''}, + {'jeija:silicon', 'jeija:silicon', 'jeija:mesecon_off'}, + {'jeija:silicon', 'jeija:silicon', 'jeija:mesecon_off'}, + {'jeija:mesecon_off', 'jeija:mesecon_off', ''}, } }) diff --git a/jeija/wireless.lua b/jeija/wireless.lua index dcd6c92..36af390 100644 --- a/jeija/wireless.lua +++ b/jeija/wireless.lua @@ -154,7 +154,7 @@ minetest.register_node("jeija:wireless_receiver_on", { tile_images = {"jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png"}, inventory_image = minetest.inventorycube("jeija_wireless_receiver_on.png"), material = minetest.digprop_constanttime(0.8), - dug_item = 'node "jeija:wireless_receiver_off" 1', + drop = 'jeija:wireless_receiver_off', description="Wireless Receiver", }) @@ -215,7 +215,7 @@ minetest.register_node("jeija:wireless_inverter_off", { tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png"}, inventory_image = minetest.inventorycube("jeija_wireless_inverter_off.png"), material = minetest.digprop_constanttime(0.8), - dug_item = 'node "jeija:wireless_inverter_on" 1', + drop = 'jeija:wireless_inverter_on', description="Wireless Inverter", }) @@ -227,11 +227,11 @@ minetest.register_node("jeija:wireless_inverter_on", { }) minetest.register_craft({ - output = 'node "jeija:wireless_inverter_off" 2', + output = '"jeija:wireless_inverter_off" 2', recipe = { - {'', 'craft "default:steel_ingot"', ''}, - {'craft "jeija:ic"', 'node "jeija:mesecon_off"', 'craft "jeija:ic"'}, - {'', 'node "jeija:mesecon_off"', ''}, + {'', 'default:steel_ingot', ''}, + {'jeija:ic', 'jeija:mesecon_off', 'jeija:ic'}, + {'', 'jeija:mesecon_off', ''}, } }) @@ -289,11 +289,11 @@ minetest.register_node("jeija:wireless_transmitter_off", { }) minetest.register_craft({ - output = 'node "jeija:wireless_transmitter_off" 2', + output = '"jeija:wireless_transmitter_off" 2', recipe = { - {'craft "default:steel_ingot"', 'node "jeija:mesecon_off"', 'craft "default:steel_ingot"'}, - {'', 'node "jeija:mesecon_off"', ''}, - {'', 'craft "jeija:ic"', ''}, + {'default:steel_ingot', 'jeija:mesecon_off', 'default:steel_ingot'}, + {'', 'jeija:mesecon_off', ''}, + {'', 'jeija:ic', ''}, } }) |