Centcomm death rattle implant (#36113)
* behold! * minor name change 👍 * Remove fields 👍 * Changes it to parent off DeathRattleImplant * Adds implants round start and fixes hypothetical bug * Update Resources/Prototypes/Entities/Mobs/Player/humanoid.yml As per slarticodefast's suggestion Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,6 @@ public sealed partial class RattleComponent : Component
|
||||
public LocId CritMessage = "deathrattle-implant-critical-message";
|
||||
|
||||
// The message that the implant will send when dead
|
||||
[DataField("deathMessage")]
|
||||
[DataField]
|
||||
public LocId DeathMessage = "deathrattle-implant-dead-message";
|
||||
}
|
||||
|
||||
@@ -14,6 +14,14 @@
|
||||
- type: MindShield
|
||||
- type: AntagImmune
|
||||
|
||||
- type: randomHumanoidSettings
|
||||
id: EventHumanoidCentcomm
|
||||
parent: EventHumanoidMindShielded
|
||||
components:
|
||||
- type: AutoImplant
|
||||
implants:
|
||||
- DeathRattleImplantCentcomm
|
||||
|
||||
## Death Squad
|
||||
|
||||
- type: entity
|
||||
@@ -33,7 +41,7 @@
|
||||
|
||||
- type: randomHumanoidSettings
|
||||
id: DeathSquad
|
||||
parent: EventHumanoidMindShielded
|
||||
parent: EventHumanoidCentcomm
|
||||
randomizeName: false
|
||||
components:
|
||||
- type: GhostRole
|
||||
@@ -72,7 +80,7 @@
|
||||
|
||||
- type: randomHumanoidSettings
|
||||
id: ERTLeader
|
||||
parent: EventHumanoidMindShielded
|
||||
parent: EventHumanoidCentcomm
|
||||
randomizeName: false
|
||||
components:
|
||||
- type: GhostRole
|
||||
@@ -500,7 +508,7 @@
|
||||
|
||||
- type: randomHumanoidSettings
|
||||
id: CBURNAgent
|
||||
parent: EventHumanoidMindShielded
|
||||
parent: EventHumanoidCentcomm
|
||||
components:
|
||||
- type: Loadout
|
||||
prototypes: [CBURNGear]
|
||||
@@ -530,7 +538,7 @@
|
||||
|
||||
- type: randomHumanoidSettings
|
||||
id: CentcomOfficial
|
||||
parent: EventHumanoidMindShielded
|
||||
parent: EventHumanoidCentcomm
|
||||
components:
|
||||
- type: GhostRole
|
||||
name: ghost-role-information-centcom-official-name
|
||||
|
||||
@@ -308,3 +308,11 @@
|
||||
components:
|
||||
- type: Implanter
|
||||
implant: RadioImplantCentcomm
|
||||
|
||||
- type: entity
|
||||
id: DeathRattleImplanterCentcomm
|
||||
suffix: centcomm death rattle
|
||||
parent: BaseImplantOnlyImplanter
|
||||
components:
|
||||
- type: Implanter
|
||||
implant: DeathRattleImplantCentcomm
|
||||
|
||||
@@ -365,3 +365,13 @@
|
||||
- type: RadioImplant
|
||||
radioChannels:
|
||||
- CentCom
|
||||
|
||||
- type: entity
|
||||
parent: DeathRattleImplant
|
||||
id: DeathRattleImplantCentcomm
|
||||
name: centcomm death rattle implant
|
||||
description: This implant will inform the Centcomm radio channel should the user fall into critical condition or die.
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Rattle
|
||||
radioChannel: CentCom
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: CBURNGear
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: DeathSquadGear
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTLeaderGear
|
||||
@@ -107,6 +110,8 @@
|
||||
- !type:AddComponentSpecial
|
||||
components:
|
||||
- type: BibleUser #Lets them heal with bibles
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTChaplainGear
|
||||
@@ -185,6 +190,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTEngineerGear
|
||||
@@ -257,6 +265,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTSecurityGear
|
||||
@@ -347,6 +358,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTMedicalGear
|
||||
@@ -411,6 +425,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: ERTJanitorGear
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
- AllAccess
|
||||
access:
|
||||
- CentralCommand
|
||||
special:
|
||||
- !type:AddImplantSpecial
|
||||
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||
|
||||
- type: startingGear
|
||||
id: CentcomGear
|
||||
|
||||
Reference in New Issue
Block a user