Corpses of roles (#15477)

This commit is contained in:
Kit0vras
2023-05-18 19:33:46 +03:00
committed by GitHub
parent ac167bf5cd
commit fe95908710
3 changed files with 192 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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