From: Kit0vras <123590995+Kit0vras@users.noreply.github.com> Date: Thu, 18 May 2023 16:33:46 +0000 (+0300) Subject: Corpses of roles (#15477) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=fe959087109ec48ed72b9f73cb9eaa1b5b84aab1;p=space-station-14.git Corpses of roles (#15477) --- diff --git a/Resources/Prototypes/Entities/Mobs/Corpses/corpses.yml b/Resources/Prototypes/Entities/Mobs/Corpses/corpses.yml new file mode 100644 index 0000000000..cf8b5cf53a --- /dev/null +++ b/Resources/Prototypes/Entities/Mobs/Corpses/corpses.yml @@ -0,0 +1,90 @@ +- type: entity + parent: SalvageHumanCorpse + id: MobRandomServiceCorpse + name: unidentified corpse + description: I think he's dead. + suffix: Dead, Service + components: + - type: Loadout + prototypes: + - HoPGear + - ClownGear + - MimeGear + - JanitorGear + - ServiceWorkerGear + - MusicianGear + - BotanistGear + - ChefGear + - ChaplainGear + - PassengerGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomEngineerCorpse + suffix: Dead, Engineer + components: + - type: Loadout + prototypes: + - TechnicalAssistantGear + - AtmosphericTechnicianGear + - StationEngineerGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomCargoCorpse + suffix: Dead, Cargo + components: + - type: Loadout + prototypes: + - CargoTechGear + - SalvageSpecialistGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomMedicCorpse + suffix: Dead, Medic + components: + - type: Loadout + prototypes: + - MedicalInternGear + - PsychologistGear + - ChemistGear + - DoctorGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomScienceCorpse + suffix: Dead, Science + components: + - type: Loadout + prototypes: + - ResearchAssistantGear + - ScientistGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomSecurityCorpse + suffix: Dead, Security + components: + - type: Loadout + prototypes: + - SecurityCadetGear + - SecurityOfficerGear + - DetectiveGear + - WardenGear + +- type: entity + parent: SalvageHumanCorpse + id: MobRandomCommandCorpse + suffix: Dead, Command + components: + - type: Loadout + prototypes: + - HoPGear + - CentcomGear + - CaptainGear + - HoSGear + - ResearchDirectorGear + - CMOGear + - ChiefEngineerGear + - QuartermasterGear diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/human.yml b/Resources/Prototypes/Entities/Mobs/NPCs/human.yml index 6082cd2d8d..7263b45dd8 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/human.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/human.yml @@ -31,13 +31,20 @@ suffix: Dead save: false # mobs are currently not saveable. id: SalvageHumanCorpse - name: unidentified human - description: We barely knew ye. + name: unidentified corpse + description: I think he's dead. components: + - type: RandomHumanoidAppearance + randomizeName: false - type: Damageable damage: types: - Blunt: 200 + Bloodloss: 49 + Asphyxiation: 76 + Slash: 56 + Blunt: 19 + - type: Inventory + templateId: corpse - type: entity parent: MobHuman diff --git a/Resources/Prototypes/InventoryTemplates/corpse_inventory_template.yml b/Resources/Prototypes/InventoryTemplates/corpse_inventory_template.yml new file mode 100644 index 0000000000..e980a14bbb --- /dev/null +++ b/Resources/Prototypes/InventoryTemplates/corpse_inventory_template.yml @@ -0,0 +1,92 @@ +- type: inventoryTemplate + id: corpse + slots: + - name: shoes + slotTexture: shoes + slotFlags: FEET + stripTime: 3 + uiWindowPos: 1,3 + strippingWindowPos: 1,3 + displayName: Shoes + - name: jumpsuit + slotTexture: uniform + slotFlags: INNERCLOTHING + stripTime: 6 + uiWindowPos: 0,2 + strippingWindowPos: 0,2 + displayName: Jumpsuit + - name: outerClothing + slotTexture: suit + slotFlags: OUTERCLOTHING + slotGroup: MainHotbar + stripTime: 6 + uiWindowPos: 1,2 + strippingWindowPos: 1,2 + displayName: Suit + - name: gloves + slotTexture: gloves + slotFlags: GLOVES + uiWindowPos: 2,2 + strippingWindowPos: 2,2 + displayName: Gloves + - name: neck + slotTexture: neck + slotFlags: NECK + uiWindowPos: 0,1 + strippingWindowPos: 0,1 + displayName: Neck + - name: mask + slotTexture: mask + slotFlags: MASK + uiWindowPos: 1,1 + strippingWindowPos: 1,1 + displayName: Mask + - name: eyes + slotTexture: glasses + slotFlags: EYES + stripTime: 3 + uiWindowPos: 0,0 + strippingWindowPos: 0,0 + displayName: Eyes + - name: head + slotTexture: head + slotFlags: HEAD + uiWindowPos: 1,0 + strippingWindowPos: 1,0 + displayName: Head + - name: pocket1 + slotTexture: pocket + slotFlags: POCKET + slotGroup: MainHotbar + stripTime: 3 + uiWindowPos: 0,3 + strippingWindowPos: 0,4 + dependsOn: jumpsuit + displayName: Pocket 1 + stripHidden: true + - name: pocket2 + slotTexture: pocket + slotFlags: POCKET + slotGroup: MainHotbar + stripTime: 3 + uiWindowPos: 2,3 + strippingWindowPos: 1,4 + dependsOn: jumpsuit + displayName: Pocket 2 + stripHidden: true + - name: suitstorage + slotTexture: suit_storage + slotFlags: SUITSTORAGE + stripTime: 3 + uiWindowPos: 2,0 + strippingWindowPos: 2,5 + dependsOn: outerClothing + displayName: Suit Storage + - name: belt + slotTexture: belt + slotFlags: BELT + slotGroup: SecondHotbar + stripTime: 6 + uiWindowPos: 3,1 + strippingWindowPos: 1,5 + displayName: Belt