From 703f8283468c509fb60e7331776dc971c75283b1 Mon Sep 17 00:00:00 2001 From: Merrokitsune Date: Sun, 17 Nov 2024 13:58:44 +0700 Subject: [PATCH] Give monkeys and kobolds a brain. --- .../Prototypes/Body/Organs/Animal/animal.yml | 32 +++++++++++++++++++ .../Prototypes/Body/Prototypes/primate.yml | 1 + .../Prototypes/Entities/Mobs/NPCs/animals.yml | 2 ++ 3 files changed, 35 insertions(+) diff --git a/Resources/Prototypes/Body/Organs/Animal/animal.yml b/Resources/Prototypes/Body/Organs/Animal/animal.yml index 2f50821df35..c144bb8844f 100644 --- a/Resources/Prototypes/Body/Organs/Animal/animal.yml +++ b/Resources/Prototypes/Body/Organs/Animal/animal.yml @@ -30,6 +30,38 @@ components: - type: Gibbable +- type: entity + id: OrganAnimalBrain + parent: BaseAnimalOrgan + name: brain + noSpawn: true + components: + - type: Sprite + state: brain + - type: Organ + slotId: brain + - type: Input + context: "ghost" + - type: Brain + - type: InputMover + - type: Examiner + - type: BlockMovement + - type: BadFood + - type: Tag + tags: + - Meat + - type: SolutionContainerManager + solutions: + organ: + reagents: + - ReagentId: Nutriment + Quantity: 10 + food: + maxVol: 5 + reagents: + - ReagentId: GreyMatter + Quantity: 5 + - type: entity id: OrganAnimalLungs parent: BaseAnimalOrgan diff --git a/Resources/Prototypes/Body/Prototypes/primate.yml b/Resources/Prototypes/Body/Prototypes/primate.yml index 2af9273be4c..9c6a8013a94 100644 --- a/Resources/Prototypes/Body/Prototypes/primate.yml +++ b/Resources/Prototypes/Body/Prototypes/primate.yml @@ -9,6 +9,7 @@ - hands - legs organs: + brain: OrganAnimalBrain lungs: OrganAnimalLungs stomach: OrganAnimalStomach liver: OrganAnimalLiver diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index cbecfbf6a6f..f40e1be7990 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -1298,6 +1298,8 @@ types: Blunt: 3 Piercing: 3 + - type: MindContainer + showExamineInfo: true - type: Butcherable butcheringType: Spike spawned: