From d0061c0c66133267ed38aec41a97541c047a5c1a Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 16 Dec 2017 17:09:34 +0100 Subject: Add nests (as decorations for now). --- src/game/worldgen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/worldgen.cpp') diff --git a/src/game/worldgen.cpp b/src/game/worldgen.cpp index 74a07c7..01b05ca 100644 --- a/src/game/worldgen.cpp +++ b/src/game/worldgen.cpp @@ -12,7 +12,9 @@ void add_decoration(world_t *world, state_t *game, v2f_t x, float noise) if (noise < 0.3) return; - if (noise > 0.45) + if (noise > 0.5) + type = DECO_NEST; + else if (noise > 0.40) type = DECO_EYETHING; else if (noise > 0.35) type = DECO_STONE; -- cgit