From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- plantlife_modpack/dryplants/meadowvariation.lua | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 plantlife_modpack/dryplants/meadowvariation.lua (limited to 'plantlife_modpack/dryplants/meadowvariation.lua') diff --git a/plantlife_modpack/dryplants/meadowvariation.lua b/plantlife_modpack/dryplants/meadowvariation.lua new file mode 100644 index 0000000..8477657 --- /dev/null +++ b/plantlife_modpack/dryplants/meadowvariation.lua @@ -0,0 +1,26 @@ +----------------------------------------------------------------------------------------------- +-- Grasses - Meadow Variation 0.0.1 +----------------------------------------------------------------------------------------------- +-- by Mossmanikin + +-- License (everything): WTFPL +-- Contains code from: biome_lib +-- Looked at code from: default +----------------------------------------------------------------------------------------------- + +abstract_dryplants.grow_grass_variation = function(pos) + local right_here = {x=pos.x, y=pos.y, z=pos.z} + minetest.set_node(right_here, {name="dryplants:grass_short"}) +end + +biome_lib:register_generate_plant({ + surface = { + "default:dirt_with_grass", + }, + max_count = 4800, + rarity = 25, + min_elevation = 1, -- above sea level + plantlife_limit = -0.9, + }, + abstract_dryplants.grow_grass_variation +) -- cgit v1.2.3