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";
|
public LocId CritMessage = "deathrattle-implant-critical-message";
|
||||||
|
|
||||||
// The message that the implant will send when dead
|
// The message that the implant will send when dead
|
||||||
[DataField("deathMessage")]
|
[DataField]
|
||||||
public LocId DeathMessage = "deathrattle-implant-dead-message";
|
public LocId DeathMessage = "deathrattle-implant-dead-message";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,14 @@
|
|||||||
- type: MindShield
|
- type: MindShield
|
||||||
- type: AntagImmune
|
- type: AntagImmune
|
||||||
|
|
||||||
|
- type: randomHumanoidSettings
|
||||||
|
id: EventHumanoidCentcomm
|
||||||
|
parent: EventHumanoidMindShielded
|
||||||
|
components:
|
||||||
|
- type: AutoImplant
|
||||||
|
implants:
|
||||||
|
- DeathRattleImplantCentcomm
|
||||||
|
|
||||||
## Death Squad
|
## Death Squad
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
@@ -33,7 +41,7 @@
|
|||||||
|
|
||||||
- type: randomHumanoidSettings
|
- type: randomHumanoidSettings
|
||||||
id: DeathSquad
|
id: DeathSquad
|
||||||
parent: EventHumanoidMindShielded
|
parent: EventHumanoidCentcomm
|
||||||
randomizeName: false
|
randomizeName: false
|
||||||
components:
|
components:
|
||||||
- type: GhostRole
|
- type: GhostRole
|
||||||
@@ -72,7 +80,7 @@
|
|||||||
|
|
||||||
- type: randomHumanoidSettings
|
- type: randomHumanoidSettings
|
||||||
id: ERTLeader
|
id: ERTLeader
|
||||||
parent: EventHumanoidMindShielded
|
parent: EventHumanoidCentcomm
|
||||||
randomizeName: false
|
randomizeName: false
|
||||||
components:
|
components:
|
||||||
- type: GhostRole
|
- type: GhostRole
|
||||||
@@ -500,7 +508,7 @@
|
|||||||
|
|
||||||
- type: randomHumanoidSettings
|
- type: randomHumanoidSettings
|
||||||
id: CBURNAgent
|
id: CBURNAgent
|
||||||
parent: EventHumanoidMindShielded
|
parent: EventHumanoidCentcomm
|
||||||
components:
|
components:
|
||||||
- type: Loadout
|
- type: Loadout
|
||||||
prototypes: [CBURNGear]
|
prototypes: [CBURNGear]
|
||||||
@@ -530,7 +538,7 @@
|
|||||||
|
|
||||||
- type: randomHumanoidSettings
|
- type: randomHumanoidSettings
|
||||||
id: CentcomOfficial
|
id: CentcomOfficial
|
||||||
parent: EventHumanoidMindShielded
|
parent: EventHumanoidCentcomm
|
||||||
components:
|
components:
|
||||||
- type: GhostRole
|
- type: GhostRole
|
||||||
name: ghost-role-information-centcom-official-name
|
name: ghost-role-information-centcom-official-name
|
||||||
|
|||||||
@@ -308,3 +308,11 @@
|
|||||||
components:
|
components:
|
||||||
- type: Implanter
|
- type: Implanter
|
||||||
implant: RadioImplantCentcomm
|
implant: RadioImplantCentcomm
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: DeathRattleImplanterCentcomm
|
||||||
|
suffix: centcomm death rattle
|
||||||
|
parent: BaseImplantOnlyImplanter
|
||||||
|
components:
|
||||||
|
- type: Implanter
|
||||||
|
implant: DeathRattleImplantCentcomm
|
||||||
|
|||||||
@@ -365,3 +365,13 @@
|
|||||||
- type: RadioImplant
|
- type: RadioImplant
|
||||||
radioChannels:
|
radioChannels:
|
||||||
- CentCom
|
- 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
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: CBURNGear
|
id: CBURNGear
|
||||||
|
|||||||
@@ -12,6 +12,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: DeathSquadGear
|
id: DeathSquadGear
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTLeaderGear
|
id: ERTLeaderGear
|
||||||
@@ -107,6 +110,8 @@
|
|||||||
- !type:AddComponentSpecial
|
- !type:AddComponentSpecial
|
||||||
components:
|
components:
|
||||||
- type: BibleUser #Lets them heal with bibles
|
- type: BibleUser #Lets them heal with bibles
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTChaplainGear
|
id: ERTChaplainGear
|
||||||
@@ -185,6 +190,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTEngineerGear
|
id: ERTEngineerGear
|
||||||
@@ -257,6 +265,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTSecurityGear
|
id: ERTSecurityGear
|
||||||
@@ -347,6 +358,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTMedicalGear
|
id: ERTMedicalGear
|
||||||
@@ -411,6 +425,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: ERTJanitorGear
|
id: ERTJanitorGear
|
||||||
|
|||||||
@@ -12,6 +12,9 @@
|
|||||||
- AllAccess
|
- AllAccess
|
||||||
access:
|
access:
|
||||||
- CentralCommand
|
- CentralCommand
|
||||||
|
special:
|
||||||
|
- !type:AddImplantSpecial
|
||||||
|
implants: [ MindShieldImplant, DeathRattleImplantCentcomm ]
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
id: CentcomGear
|
id: CentcomGear
|
||||||
|
|||||||
Reference in New Issue
Block a user