From db632b67bfef37f27c33973b4e45037f72e0690f Mon Sep 17 00:00:00 2001 From: Paramat Date: Sun, 9 Feb 2020 01:34:17 +0000 Subject: [PATCH] Fix missing papyrus in savanna, add a dry dirt version Papyrus was missing from the dry dirt 'savanna_shore' biome due to only being placed on dirt. A mistake made when changing savanna dirt to dry dirt. Rename existing papyrus schematic to 'papyrus_on_dirt' and only place in the 'rainforest_swamp' biome. Add a new papyrus schematic 'papyrus_on_dry_dirt', placed in the 'savanna' biome. --- mods/default/mapgen.lua | 30 ++++++++++++++++-- .../{papyrus.mts => papyrus_on_dirt.mts} | Bin .../schematics/papyrus_on_dry_dirt.mts | Bin 0 -> 77 bytes schematic_tables.txt | 19 ++++++++++- 4 files changed, 45 insertions(+), 4 deletions(-) rename mods/default/schematics/{papyrus.mts => papyrus_on_dirt.mts} (100%) create mode 100644 mods/default/schematics/papyrus_on_dry_dirt.mts diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index afca9f8e..8c161d1e 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -2143,8 +2143,10 @@ function default.register_decorations() -- Papyrus + -- Dirt version for rainforest swamp + minetest.register_decoration({ - name = "default:papyrus", + name = "default:papyrus_on_dirt", deco_type = "schematic", place_on = {"default:dirt"}, sidelen = 16, @@ -2156,10 +2158,32 @@ function default.register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"savanna_shore", "rainforest_swamp"}, + biomes = {"rainforest_swamp"}, y_max = 0, y_min = 0, - schematic = minetest.get_modpath("default") .. "/schematics/papyrus.mts", + schematic = minetest.get_modpath("default") .. "/schematics/papyrus_on_dirt.mts", + }) + + -- Dry dirt version for savanna shore + + minetest.register_decoration({ + name = "default:papyrus_on_dry_dirt", + deco_type = "schematic", + place_on = {"default:dry_dirt"}, + sidelen = 16, + noise_params = { + offset = -0.3, + scale = 0.7, + spread = {x = 200, y = 200, z = 200}, + seed = 354, + octaves = 3, + persist = 0.7 + }, + biomes = {"savanna_shore"}, + y_max = 0, + y_min = 0, + schematic = minetest.get_modpath("default") .. + "/schematics/papyrus_on_dry_dirt.mts", }) -- Bush diff --git a/mods/default/schematics/papyrus.mts b/mods/default/schematics/papyrus_on_dirt.mts similarity index 100% rename from mods/default/schematics/papyrus.mts rename to mods/default/schematics/papyrus_on_dirt.mts diff --git a/mods/default/schematics/papyrus_on_dry_dirt.mts b/mods/default/schematics/papyrus_on_dry_dirt.mts new file mode 100644 index 0000000000000000000000000000000000000000..36265802444a73000daad6a51a4e17e619b12768 GIT binary patch literal 77 zcmeYb3HD`RVPIrnXJD+ax3{mauV-Ll5J*W)ODxSPu}Uebj8DldDq-M