Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontier Mobs Fixup #2258

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Resources/Prototypes/Entities/Mobs/NPCs/carp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,8 @@

- type: entity
id: MobCarpSalvage
parent: MobCarp
parent: [NFMobRestrictions, MobCarp] # Frontier: add NFMobRestrictions, remove components
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions # Frontier

- type: entity
name: space carp
Expand Down Expand Up @@ -244,7 +242,5 @@

- type: entity
id: MobSharkSalvage
parent: MobShark
parent: [NFMobRestrictions, MobShark] # Frontier: add NFMobRestrictions
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions
3 changes: 1 addition & 2 deletions Resources/Prototypes/Entities/Mobs/NPCs/flesh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
Blunt: 10

- type: entity
parent: [ SimpleSpaceMobBase, MobCombat ]
parent: [ NFMobRestrictions, SimpleSpaceMobBase, MobCombat ] # Frontier: add NFMobRestrictions
id: BaseMobFleshSalvage #This one is immune to space!
name: aberrant flesh
suffix: "Salvage Ruleset"
Expand Down Expand Up @@ -261,7 +261,6 @@
Slash: 6
- type: ReplacementAccent
accent: genericAggressive
- type: NFSalvageMobRestrictions # Frontier

- type: entity
parent: BaseMobFleshSalvage
Expand Down
12 changes: 3 additions & 9 deletions Resources/Prototypes/Entities/Mobs/NPCs/space.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,8 @@

- type: entity
id: MobBearSpaceSalvage
parent: MobBearSpace
parent: [NFMobRestrictions, MobBearSpace] # Frontier: add NFMobRestrictions, remove components
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions # Frontier

- type: entity
name: space kangaroo
Expand Down Expand Up @@ -268,10 +266,8 @@

- type: entity
id: MobSpiderSpaceSalvage
parent: MobSpiderSpace
parent: [NFMobRestrictions, MobSpiderSpace] # Frontier: add NFMobRestrictions, remove components
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions

- type: entity
name: space cobra
Expand Down Expand Up @@ -365,10 +361,8 @@

- type: entity
id: MobCobraSpaceSalvage
parent: MobCobraSpace
parent: [NFMobRestrictions, MobCobraSpace] # Frontier: add NFMobRestrictions, remove components
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions # Frontier: SalvageMobRestrictions<NFSalvageMobRestrictions

- type: entity
parent: SimpleSpaceMobBase
Expand Down
4 changes: 1 addition & 3 deletions Resources/Prototypes/Entities/Mobs/NPCs/spacetick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@

- type: entity
id: MobTickSalvage
parent: MobTick
parent: [NFMobRestrictions, MobTick] # Frontier: add NFMobRestrictions, remove components
suffix: "Salvage Ruleset"
components:
- type: NFSalvageMobRestrictions # Frontier

6 changes: 2 additions & 4 deletions Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- type: entity
name: burrower
id: MobXeno
parent: SimpleSpaceMobBase
parent: [NFMobRestrictions, SimpleSpaceMobBase] # Frontier: add NFMobRestrictions
description: They mostly come at night. Mostly.
components:
- type: Insulated
Expand Down Expand Up @@ -120,7 +120,6 @@
molsPerSecondPerUnitMass: 0.0005
- type: Speech
speechVerb: LargeMob
- type: NFSalvageMobRestrictions # Frontier
- type: ReplacementAccent # Frontier
accent: genericAggressive # Frontier

Expand Down Expand Up @@ -364,7 +363,7 @@

- type: entity
name: space adder
parent: SimpleSpaceMobBase
parent: [NFMobRestrictions, SimpleSpaceMobBase] # Frontier: add NFMobRestrictions
id: MobPurpleSnake
description: A menacing purple snake from Kepler-283c.
components:
Expand Down Expand Up @@ -430,7 +429,6 @@
tags:
- DoorBumpOpener
- FootstepSound
- type: NFSalvageMobRestrictions # Frontier
- type: ReplacementAccent # Frontier
accent: genericAggressive # Frontier

Expand Down
3 changes: 1 addition & 2 deletions Resources/Prototypes/Entities/Mobs/Player/dragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
projectileSpeed: 5

- type: entity
parent: BaseMobDragon
parent: [NFMobRestrictions, BaseMobDragon] # Frontier: add NFMobRestrictions
id: MobDragonDungeon
suffix: Dungeon
components:
Expand Down Expand Up @@ -218,7 +218,6 @@
- type: ActionGun #Frontier
action: ActionDragonsBreath #Frontier
gunProto: DragonsBreathGun #Frontier
- type: NFSalvageMobRestrictions # Frontier

- type: entity
id: ActionSpawnRift
Expand Down
1 change: 0 additions & 1 deletion Resources/Prototypes/_NF/Entities/Mobs/NPCs/corpses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
factions:
- SimpleHostile
- type: Carriable # Carrying system from nyanotrasen.
#- type: NFSalvageMobRestrictions
- type: Butcherable
butcheringType: Spike
spawned:
Expand Down
6 changes: 2 additions & 4 deletions Resources/Prototypes/_NF/Entities/Mobs/NPCs/elemental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,12 @@
- type: entity
abstract: true
id: MobOreCrabNF
parent: MobOreCrab
parent: [MobOreCrab, NFMobRestrictions]
components:
- type: NpcFactionMember
factions:
- SimpleHostile # Because AI stupid ass hell right now
- type: MovementIgnoreGravity # Or they just can't do something
- type: NFSalvageMobRestrictions

- type: entity
parent: MobOreCrabNF
Expand Down Expand Up @@ -366,7 +365,7 @@
abstract: true
id: MobOreGolem
name: ore golem
parent: [ MobElementalBase, MobCombat ]
parent: [ MobElementalBase, MobCombat, NFMobRestrictions ]
components:
- type: Sprite
sprite: /Textures/_NF/Mobs/Elemental/golems.rsi
Expand All @@ -390,7 +389,6 @@
- type: Damageable
damageContainer: StructuralInorganic
- type: MovementIgnoreGravity # Or they just can't do something
- type: NFSalvageMobRestrictions
- type: Appearance # Next three components make the mob fall over when dead
- type: StandingState
- type: RotationVisuals
Expand Down
68 changes: 64 additions & 4 deletions Resources/Prototypes/_NF/Entities/Mobs/NPCs/mob_hostile_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,68 @@
reflects:
- Energy

- type: entity
abstract: true
id: NFMobRestrictions
components:
- type: NFSalvageMobRestrictions

- type: entity
abstract: true
id: NFMobTimedDespawn30
components:
- type: TimedDespawn
lifetime: 30

- type: entity
abstract: true
id: NFMobTimedDespawn60
components:
- type: TimedDespawn
lifetime: 60

- type: entity
abstract: true
id: NFMobTimedDespawn80
components:
- type: TimedDespawn
lifetime: 80

- type: entity
abstract: true
id: NFMobTimedDespawn120
components:
- type: TimedDespawn
lifetime: 120

- type: entity
abstract: true
id: NFMobTimedDespawn180
components:
- type: TimedDespawn
lifetime: 180

- type: entity
abstract: true
id: NFMobTimedDespawn1200
components:
- type: TimedDespawn
lifetime: 1200

- type: entity
abstract: true
id: NFMobTimedDespawn1800
components:
- type: TimedDespawn
lifetime: 1800

- type: entity
abstract: true
id: NFMobTimedDespawn3000
components:
- type: TimedDespawn
lifetime: 3000

- type: entity
save: false
id: MobEnhancedMovement
Expand Down Expand Up @@ -116,6 +178,7 @@
parent:
- MobEnhancedMovement
- MobPassiveRegenWeak
- NFMobRestrictions
components:
- type: Hands
- type: Puller
Expand All @@ -130,7 +193,6 @@
- FootstepSound
- DoorBumpOpener
- CannotSuicide
- type: NFSalvageMobRestrictions
- type: FTLKnockdownImmune

# Inventories
Expand Down Expand Up @@ -267,7 +329,6 @@
minimumWait: 120 # 1 * 2
maximumWait: 240 # 2 * 60
nextAdvertisementTime: 0
- type: NFSalvageMobRestrictions
- type: FTLKnockdownImmune
- type: Respirator
updateInterval: 99999 # Shouldn't run often, if ever.
Expand Down Expand Up @@ -346,11 +407,10 @@
- type: MobPrice
price: 1500
deathPenalty: 0.5
- type: NFSalvageMobRestrictions
- type: Tag
tags:
- CanPilot
- FootstepSound
- DoorBumpOpener
- CannotSuicide
- type: FTLKnockdownImmune
- type: FTLKnockdownImmune
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
- type: entity
abstract: true
id: MobBloodCultistTimedDespawn
components:
- type: TimedDespawn
lifetime: 3000 # 50 mins (max blue space event duration involving these mobs - 40 mins)

- type: entity
name: blood cultist
abstract: true
parent:
- MobHumanoidHostileBase
- MobHumanoidInvetory
#- MobBloodCultistTimedDespawn
- NFMobRestrictions
id: MobBloodCultistBase
components:
- type: NpcFactionMember
Expand Down Expand Up @@ -203,7 +196,7 @@
- MobNonHumanHostileBase
- MobPassiveRegen
- MobHumanoidHostileAISimpleMelee
#- MobBloodCultistTimedDespawn
- NFMobRestrictions
id: MobBloodCultLeech
description: This cultist, once human, is now a twisted and corrupted abomination, its body warped and distorted by the dark energies of Nar'Sie's influence.
components:
Expand Down Expand Up @@ -254,7 +247,7 @@
- MobNonHumanHostileBase
- MobHumanoidHostileAIComplex
- MobLaserReflect # Added to prevent laser abuse from players
#- MobBloodCultistTimedDespawn
- NFMobRestrictions
id: MobBloodCultistAscended
components:
- type: NpcFactionMember
Expand Down Expand Up @@ -352,6 +345,7 @@
- FlyingMobBase
- MobPassiveRegen
- MobHumanoidHostileAISimpleMelee
- NFMobTimedDespawn120
id: MobBloodCultDrainedOne
description: A tortured soul, stripped of free will and left as a mere shadow of a human, enslaved and bound to obey its captors.
components:
Expand Down Expand Up @@ -414,8 +408,6 @@
chemicalMaxVolume: 100
- type: Speech
speechVerb: Ghost
- type: TimedDespawn
lifetime: 110
- type: Ammo
muzzleFlash: null

Expand Down Expand Up @@ -463,7 +455,10 @@
# Drained One (summonable by players), melee
- type: entity
categories: [ HideSpawnMenu ]
parent: MobBloodCultDrainedOne
parent:
- BaseC3MobCreatureNoValue
- MobBloodCultDrainedOne
- NFMobTimedDespawn180
id: MobBloodCultDrainedOneNanoTrasen
components:
- type: NPCImprintingOnSpawnBehaviour
Expand All @@ -483,8 +478,6 @@
- type: NpcFactionMember
factions:
- NanoTrasen
- type: TimedDespawn
lifetime: 180

# Turrets
# blood pylon, ranged, magic bolt deals 5 slash and 2 bloodloss
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
parent:
- MobNonHumanHostileBase
- MobHumanoidHostileAISimpleMelee
- NFMobRestrictions
id: BaseMobFleshExpeditions
name: aberrant flesh
description: A shambling mass of flesh, animated through anomalous energy.
Expand Down Expand Up @@ -434,7 +435,7 @@
# FUNNY LITTLE GUY
# embedable projectile that bites you until you either kill it or detach it or die (or it despawns)
- type: entity
parent: BaseMobFleshExpeditions
parent: [ BaseMobFleshExpeditions, NFMobTimedDespawn60 ]
id: MobMawExpeditions
name: aberrant flesh maw
description: Immobile, flesh-boring creatures that are launched at victims. Latches on until killed or shaken off. Don't put your fingers in it.
Expand Down Expand Up @@ -479,8 +480,6 @@
damage:
types:
Slash: 4
- type: TimedDespawn
lifetime: 60

# Newborns (spawned from assimilation sack)
- type: entity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BASE
- type: entity
parent: MobNonHumanHostileBase
parent: [ MobNonHumanHostileBase, NFMobRestrictions ]
id: BaseMobArgocyteExpeditions
name: argocyte
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- type: entity
parent:
- MobNonHumanHostileBase
- NFMobRestrictions
id: BaseMobCarpExpeditions
name: carp
description: A variant of the common space carp, evolved to "swim" through gravity. Equally dangerous.
Expand Down
Loading
Loading