From a247fedf40806594d100c7aa9609779314845426 Mon Sep 17 00:00:00 2001 From: KA101 Date: Mon, 12 Aug 2024 18:49:22 -0400 Subject: [PATCH 1/2] Give Doppelgangers brains Adds the _WITH_BRAIN to Doppelgangers' SPIRIT type. --- data_free/game_config/creatures.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_free/game_config/creatures.txt b/data_free/game_config/creatures.txt index b4606fe92..26aa3b8f1 100644 --- a/data_free/game_config/creatures.txt +++ b/data_free/game_config/creatures.txt @@ -669,7 +669,7 @@ End } body = { type = NonHumanoid LARGE - material = SPIRIT + material = SPIRIT_WITH_BRAIN } permanentEffects = { CONSUMPTION_SKILL 1 From 93cddc6ec0732c1e5a0d5d14b0865b6b55ed1707 Mon Sep 17 00:00:00 2001 From: KA101 Date: Mon, 12 Aug 2024 19:00:41 -0400 Subject: [PATCH 2/2] Give Legendary Spirit creatures brains Add _WITH_BRAIN to the Legendary Creature generator's SPIRIT creatures. --- creature_factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creature_factory.cpp b/creature_factory.cpp index e9b47ba76..f8bc1a7de 100644 --- a/creature_factory.cpp +++ b/creature_factory.cpp @@ -715,7 +715,7 @@ static vector getResistanceAndVulnerability(RandomGen& random) { } PCreature CreatureFactory::getSpecial(CreatureId id, TribeId tribe, SpecialParams p, const ControllerFactory& factory) { - Body body = Body(p.humanoid, p.living ? BodyMaterialId("FLESH") : BodyMaterialId("SPIRIT"), + Body body = Body(p.humanoid, p.living ? BodyMaterialId("FLESH") : BodyMaterialId("SPIRIT_WITH_BRAIN"), p.large ? Body::Size::LARGE : Body::Size::MEDIUM); if (p.wings) body.addWithoutUpdatingPermanentEffects(BodyPart::WING, 2);