diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-21 19:54:08 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-21 19:54:08 -0500 |
commit | ae74798ed7c26cbac71dc8f428b78ef87e19b225 (patch) | |
tree | 7ccb5190553104319b9b45556108402c1c06b767 /farming_plus/weed.lua | |
parent | ce4189f6f001cb4a02d23254a0904e12641c2499 (diff) | |
download | dreambuilder_modpack-ae74798ed7c26cbac71dc8f428b78ef87e19b225.tar dreambuilder_modpack-ae74798ed7c26cbac71dc8f428b78ef87e19b225.tar.gz dreambuilder_modpack-ae74798ed7c26cbac71dc8f428b78ef87e19b225.tar.bz2 dreambuilder_modpack-ae74798ed7c26cbac71dc8f428b78ef87e19b225.tar.xz dreambuilder_modpack-ae74798ed7c26cbac71dc8f428b78ef87e19b225.zip |
removed old farming_plus mod
Diffstat (limited to 'farming_plus/weed.lua')
-rw-r--r-- | farming_plus/weed.lua | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/farming_plus/weed.lua b/farming_plus/weed.lua deleted file mode 100644 index b117870..0000000 --- a/farming_plus/weed.lua +++ /dev/null @@ -1,44 +0,0 @@ --- main `S` code in init.lua -local S -S = farming.S - -minetest.register_node(":farming:weed", { - description = S("Weed"), - paramtype = "light", - sunlight_propagates = true, - walkable = false, - drawtype = "plantlike", - tiles = {"farming_weed.png"}, - inventory_image = "farming_weed.png", - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.5+4/16, 0.5} - }, - }, - groups = {snappy=3, flammable=2,plant=1}, - sounds = default.node_sound_leaves_defaults() -}) - -minetest.register_abm({ - nodenames = {"farming:soil_wet", "farming:soil"}, - interval = 50, - chance = 10, - action = function(pos, node) - if minetest.find_node_near(pos, 4, {"farming:scarecrow", "farming:scarecrow_light"}) ~= nil then - return - end - pos.y = pos.y+1 - if minetest.get_node(pos).name == "air" then - node.name = "farming:weed" - minetest.set_node(pos, node) - end - end -}) - --- ========= FUEL ========= -minetest.register_craft({ - type = "fuel", - recipe = "farming:weed", - burntime = 1 -}) |