1
0
réplica de https://codeberg.org/tenplus1/farming.git sincronizado 2025-10-21 11:15:44 +02:00

Simplified cocoa farming

Este cometimento está contido em:
tenplus1
2015-04-09 09:56:10 +01:00
ascendente 851234eb2c
cometimento 450c2be4c3
2 ficheiros modificados com 2 adições e 6 eliminações

Ver ficheiro

@@ -1,8 +1,4 @@
-- Override default jungletree, add tree=2 for cocoa placement
minetest.override_item("default:jungletree", {groups = {tree=2,choppy=2,oddly_breakable_by_hand=1,flammable=2}})
-- Place Cocoa
function place_cocoa(itemstack, placer, pointed_thing, plantname)
@@ -21,7 +17,7 @@ function place_cocoa(itemstack, placer, pointed_thing, plantname)
end
-- check if pointing at jungletree
if minetest.get_item_group(under.name, "tree") ~= 2 then
if under.name ~= "default:jungletree" then
return
end

Ver ficheiro

@@ -1,5 +1,5 @@
--[[
Minetest Farming Redo Mod 1.12 (1st March 2015)
Minetest Farming Redo Mod 1.12 (9th April 2015)
by TenPlus1
]]