summaryrefslogtreecommitdiff
path: root/plantpack.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-07-04 12:22:39 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2015-07-04 12:22:39 +0100
commit023d0303c1c01508039c1de0b79c5b86e21cefb1 (patch)
tree74f54ea2dba1181cf58a9c4e1876cd1acaca3ad6 /plantpack.lua
parent2bc7406c9a2112eba39e91c304dab74699093c4d (diff)
Code tidy and fixed fruit not dropping
Diffstat (limited to 'plantpack.lua')
-rw-r--r--plantpack.lua99
1 files changed, 83 insertions, 16 deletions
diff --git a/plantpack.lua b/plantpack.lua
index cdfe99f..4ef0da5 100644
--- a/plantpack.lua
+++ b/plantpack.lua
@@ -10,7 +10,10 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.005,
biomes = {"desert", "desertstone"},
- decoration = {"bakedclay:cactus_echinocereus", "bakedclay:cactus_matucana", "bakedclay:cactus_baseball", "bakedclay:cactus_golden"},
+ decoration = {
+ "bakedclay:cactus_echinocereus", "bakedclay:cactus_matucana",
+ "bakedclay:cactus_baseball", "bakedclay:cactus_golden"
+ },
})
-- Desert Plants
@@ -20,7 +23,10 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.004,
biomes = {"desert", "desertstone"},
- decoration = {"bakedclay:desert_kangaroo", "bakedclay:desert_brittle", "bakedclay:desert_ocotillo", "bakedclay:desert_whitesage"},
+ decoration = {
+ "bakedclay:desert_kangaroo", "bakedclay:desert_brittle",
+ "bakedclay:desert_ocotillo", "bakedclay:desert_whitesage"
+ },
})
--= Prairie Biome
@@ -32,35 +38,57 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.005,
biomes = {"prairie", "grassy", "grassytwo"},
- decoration = {"bakedclay:grass_prairie", "bakedclay:grass_cord", "bakedclay:grass_wheatgrass", "bakedclay:desert_whitesage"},
+ decoration = {
+ "bakedclay:grass_prairie", "bakedclay:grass_cord",
+ "bakedclay:grass_wheatgrass", "bakedclay:desert_whitesage"
+ },
})
-- Flowers
minetest.register_decoration({
deco_type = "simple",
- place_on = {"ethereal:prairie_grass", "ethereal:green_dirt", "ethereal:grove_dirt", "ethereal:bamboo_dirt"},
+ place_on = {
+ "ethereal:prairie_grass", "ethereal:green_dirt",
+ "ethereal:grove_dirt", "ethereal:bamboo_dirt"
+ },
sidelen = 16,
fill_ratio = 0.005,
biomes = {"prairie", "grassy", "grassytwo", "bamboo"},
- decoration = {"bakedclay:flower_jacobsladder", "bakedclay:flower_thistle", "bakedclay:flower_wildcarrot"},
+ decoration = {
+ "bakedclay:flower_jacobsladder", "bakedclay:flower_thistle",
+ "bakedclay:flower_wildcarrot"
+ },
})
minetest.register_decoration({
deco_type = "simple",
- place_on = {"ethereal:prairie_grass", "ethereal:green_dirt", "ethereal:grove_dirt"},
+ place_on = {
+ "ethereal:prairie_grass", "ethereal:green_dirt",
+ "ethereal:grove_dirt"
+ },
sidelen = 16,
fill_ratio = 0.005,
biomes = {"prairie", "grassy", "grassytwo", "grove"},
- decoration = {"bakedclay:flower_delphinium", "bakedclay:flower_celosia", "bakedclay:flower_daisy", "bakedclay:flower_bluerose"},
+ decoration = {
+ "bakedclay:flower_delphinium", "bakedclay:flower_celosia",
+ "bakedclay:flower_daisy", "bakedclay:flower_bluerose"
+ },
})
-- Shrubs
minetest.register_decoration({
deco_type = "simple",
- place_on = {"ethereal:prairie_grass", "ethereal:green_dirt", "ethereal:grove_dirt", "ethereal:jungle_grass", "ethereal:gray_dirt"},
+ place_on = {
+ "ethereal:prairie_grass", "ethereal:green_dirt",
+ "ethereal:grove_dirt", "ethereal:jungle_grass",
+ "ethereal:gray_dirt"
+ },
sidelen = 16,
fill_ratio = 0.005,
- biomes = {"prairie", "grassy", "grassytwo", "grove", "junglee", "grayness", "jumble"},
+ biomes = {
+ "prairie", "grassy", "grassytwo", "grove", "junglee",
+ "grayness", "jumble"
+ },
decoration = {"bakedclay:shrub_kerria", "bakedclay:shrub_spicebush"},
})
@@ -72,18 +100,29 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.007,
biomes = {"junglee", "jumble"},
- decoration = {"bakedclay:rainforest_guzmania", "bakedclay:rainforest_devil", "bakedclay:rainforest_lazarus", "bakedclay:rainforest_lollipop", "bakedclay:mushroom_woolly"},
+ decoration = {
+ "bakedclay:rainforest_guzmania", "bakedclay:rainforest_devil",
+ "bakedclay:rainforest_lazarus", "bakedclay:rainforest_lollipop",
+ "bakedclay:mushroom_woolly"
+ },
})
--= Cold Biomes
minetest.register_decoration({
deco_type = "simple",
- place_on = {"default:dirt_with_snow", "ethereal:cold_dirt", "ethereal:gray_dirt"},
+ place_on = {
+ "default:dirt_with_snow", "ethereal:cold_dirt",
+ "ethereal:gray_dirt"
+ },
sidelen = 16,
fill_ratio = 0.005,
biomes = {"snowy", "alpine", "grayness"},
- decoration = {"bakedclay:mountain_edelweiss", "bakedclay:mountain_armeria", "bakedclay:mountain_bellflower", "bakedclay:mountain_willowherb", "bakedclay:mountain_bistort"},
+ decoration = {
+ "bakedclay:mountain_edelweiss", "bakedclay:mountain_armeria",
+ "bakedclay:mountain_bellflower", "bakedclay:mountain_willowherb",
+ "bakedclay:mountain_bistort"
+ },
})
@@ -95,7 +134,10 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.005,
biomes = {"mushroom"},
- decoration = {"bakedclay:mushroom_powderpuff", "bakedclay:mushroom_chanterelle", "bakedclay:mushroom_parasol"},
+ decoration = {
+ "bakedclay:mushroom_powderpuff", "bakedclay:mushroom_chanterelle",
+ "bakedclay:mushroom_parasol"
+ },
})
--= Lakeside
@@ -106,7 +148,10 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.015,
biomes = {"sandclay", "lake", "grassy", "grassytwo", "jumble"},
- decoration = {"bakedclay:wetlands_cattails", "bakedclay:wetlands_pickerel", "bakedclay:wetlands_mannagrass", "bakedclay:wetlands_turtle"},
+ decoration = {
+ "bakedclay:wetlands_cattails", "bakedclay:wetlands_pickerel",
+ "bakedclay:wetlands_mannagrass", "bakedclay:wetlands_turtle"
+ },
spawn_by = "default:water_source",
num_spawn_by = 1,
})
@@ -115,9 +160,31 @@ minetest.register_decoration({
minetest.register_decoration({
deco_type = "simple",
- place_on = {"ethereal:mushroom_dirt", "ethereal:green_dirt", "ethereal:gray_dirt", "ethereal:cold_dirt", "ethereal:dirt_with_snow", "ethereal:jungle_dirt", "ethereal:prairie_dirt", "ethereal:grove_dirt", "ethereal:dry_dirt", "ethereal:fiery_dirt", "default:sand", "default:desert_sand", "bakedclay:red", "ethereal:bamboo_dirt"},
+ place_on = {
+ "ethereal:mushroom_dirt", "ethereal:green_dirt",
+ "ethereal:gray_dirt", "ethereal:cold_dirt",
+ "ethereal:dirt_with_snow", "ethereal:jungle_dirt",
+ "ethereal:prairie_dirt", "ethereal:grove_dirt",
+ "ethereal:dry_dirt", "ethereal:fiery_dirt", "default:sand",
+ "default:desert_sand", "bakedclay:red", "ethereal:bamboo_dirt"
+ },
sidelen = 16,
fill_ratio = 0.004,
- biomes = {"mushroom", "prairie", "grayness", "plains", "desert", "lake", "junglee", "grassy", "grassytwo", "jumble", "snowy", "alpine", "fiery", "mesa", "bamboo"},
+ biomes = {
+ "mushroom", "prairie", "grayness", "plains", "desert", "lake",
+ "junglee", "grassy", "grassytwo", "jumble", "snowy", "alpine",
+ "fiery", "mesa", "bamboo"
+ },
decoration = {"bakedclay:spooky_thornbush", "bakedclay:spooky_baneberry"},
})
+
+-- Extra recipe for hearty stew
+
+minetest.register_craft({
+ output = "ethereal:hearty_stew",
+ recipe = {
+ {"ethereal:wild_onion_plant","ethereal:mushroom_plant", "farming:beans"},
+ {"","ethereal:mushroom_plant", ""},
+ {"","ethereal:bowl", ""},
+ }
+}) \ No newline at end of file