added 13x lucky blocks

This commit is contained in:
TenPlus1 2016-11-12 11:03:04 +00:00
parent c05d499620
commit faab371aa5
4 changed files with 24 additions and 1 deletions

View File

@ -45,6 +45,9 @@ Changelog:
0.1 - Fixed growing bug
0.0 - Initial release
Lucky Blocks: 10 (plus 3 for default farming items)
License of media (textures):
----------------------------
Created by PilzAdam (License: WTFPL):

View File

@ -1,3 +1,4 @@
default
wool
intllib?
lucky_block?

View File

@ -1,5 +1,5 @@
--[[
Minetest Farming Redo Mod 1.23 (14th October 2016)
Minetest Farming Redo Mod 1.23 (12th November 2016)
by TenPlus1
NEW growing routine by prestidigitator
auto-refill by crabman77
@ -710,3 +710,4 @@ dofile(farming.path.."/barley.lua")
dofile(farming.path.."/donut.lua")
dofile(farming.path.."/mapgen.lua")
dofile(farming.path.."/compatibility.lua") -- Farming Plus compatibility
dofile(farming.path.."/lucky_block.lua")

18
lucky_block.lua Normal file
View File

@ -0,0 +1,18 @@
-- add lucky blocks
if minetest.get_modpath("lucky_block") then
lucky_block:add_blocks({
{"dro", {"farming:corn"}, 5},
{"dro", {"farming:coffee_cup_hot"}, 1},
{"dro", {"farming:bread"}, 5},
{"nod", "farming:jackolantern", 0},
{"tro", "farming:jackolantern_on"},
{"nod", "default:river_water_source", 1},
{"dro", {"farming:trellis", "farming:grapes"}, 5},
{"dro", {"farming:bottle_ethanol"}, 1},
{"nod", "farming:melon", 0},
{"dro", {"farming:donut", "farming:donut_chocolate", "farming:donut_apple"}, 5},
})
end