Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
Sirena IPC changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peptide90 committed Feb 15, 2024
1 parent ebc1870 commit 59b6e76
Show file tree
Hide file tree
Showing 13 changed files with 102 additions and 61 deletions.
9 changes: 9 additions & 0 deletions Resources/Audio/Voice/IPC/attributions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- files: ["beep_500.ogg", "beep_2000.ogg"]
license: "CC0-1.0"
copyright: "Synthesized in Audacity by BasedUser."
source: "https://github.com/ekrixi-14/ekrixi"

- files: ["whirr1.ogg", "whirr2.ogg", "whirr3.ogg"]
license: "CC0-1.0"
copyright: "Taken from source, spectrally modified and clipped"
source: "https://freesound.org/people/sad3d/sounds/500168/"
Binary file added Resources/Audio/Voice/IPC/beep_2000.ogg
Binary file not shown.
Binary file added Resources/Audio/Voice/IPC/beep_500.ogg
Binary file not shown.
Binary file added Resources/Audio/Voice/IPC/whirr1.ogg
Binary file not shown.
Binary file added Resources/Audio/Voice/IPC/whirr2.ogg
Binary file not shown.
Binary file added Resources/Audio/Voice/IPC/whirr3.ogg
Binary file not shown.
Binary file added Resources/Audio/Voice/IPC/wilhelm.ogg
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,4 @@
speciesRestriction: [IPC]
sprites:
- sprite: Mobs/Customization/ipc.rsi
state: antennae

#endregion
state: antennae
72 changes: 64 additions & 8 deletions Resources/Prototypes/Entities/Mobs/Species/ipc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,60 @@
- type: entity
save: false
name: Urist McIPC
parent: BaseMobSpeciesOrganic
parent: # we technically require multiple parents due to reimplementing BaseMobSpeciesOrganic but without the organics
- MobBloodstream
- MobRespirator
- MobAtmosStandard
- MobFlammable
- BaseMobSpecies
id: BaseMobIPC
abstract: true
components:
# beginregion Organic
- type: Flashable
- type: PassiveDamage # Slight passive regen. Assuming one damage type, comes out to about 4 damage a minute.
allowedStates:
- Alive
damageCap: 20
damage:
types:
Heat: -0.07
groups:
Brute: -0.07
- type: StatusEffects
allowed:
- Stun
- KnockedDown
- SlowedDown
- Stutter
- SeeingRainbows
- Electrocution
- ForcedSleep
- TemporaryBlindness
- Drunk
- SlurredSpeech
- RatvarianLanguage
- PressureImmunity
- Muted
- Pacified
- StaminaModifier
- type: NightVision
- type: ThermalRegulator
metabolismHeat: 0
radiatedHeat: 100
implicitHeatRegulation: 500
sweatHeatRegulation: 2000
shiveringHeatRegulation: 2000
normalBodyTemperature: 313.15
thermalRegulationTemperatureThreshold: 25
- type: FireVisuals
alternateState: Standing
- type: DamageVisuals
damageOverlayGroups:
Brute:
sprite: Mobs/Effects/brute_damage.rsi
color: "#a76b1c"
# endregion Organic
# The important nessessities
- type: MovementSpeedModifier
- type: Body
Expand All @@ -16,7 +66,7 @@
damageContainer: Biological
damageModifierSet: Metallic
- type: Icon
sprite: Mobs/Species/IPCs/parts.rsi
sprite: Mobs/Species/IPC/parts.rsi
state: full
# Damage and speed
- type: Bloodstream
Expand All @@ -41,17 +91,22 @@
damage:
types:
Heat: 0.25 # no air to cool
Asphyxiation: -1 # TODO FIX DEATHGASPS
damageRecovery:
types:
Heat: -0.25
Asphyxiation: -1
- type: Repairable
fuelcost: 5 # cause most of the fuel is used how long its turned on for
doAfterDelay: 7
damage:
types:
Blunt: -75
Cold: -15 # you're warming them up...
Blunt: -25 # you can't heal group damage. it doesn't work. wh y.
Slash: -25
Piercing: -25
Cold: -60 # you're warming them up...
Heat: 30 # another 2 minutes of downtime due to slight overheating
Asphyxiation: -200 # TODO FIX DEATHGASPS
- type: Barotrauma
damage:
types:
Expand All @@ -65,14 +120,15 @@
speechSounds: IPC
- type: Vocal
sounds:
Male: MaleIPC
Female: FemaleIPC
Male: UnisexIPC
Female: UnisexIPC
Unsexed: UnisexIPC
# wilhelm:
# path: /Audio/_FTL/Voice/IPC/
wilhelm:
path: /Audio/Voice/IPC/wilhelm.ogg
wilhelmProbability: 0.001
- type: Inventory
templateId: ipc
- type: ZombieImmune

- type: entity
name: Urist McIPC
Expand Down
16 changes: 16 additions & 0 deletions Resources/Prototypes/SoundCollections/ipc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: soundCollection
id: IPCWhirrs
files:
- /Audio/Voice/IPC/whirr1.ogg
- /Audio/Voice/IPC/whirr2.ogg
- /Audio/Voice/IPC/whirr3.ogg

- type: soundCollection
id: IPCBeeps
files:
- /Audio/Voice/IPC/beep_2000.ogg

- type: soundCollection
id: IPCBoops
files:
- /Audio/Voice/IPC/beep_500.ogg
2 changes: 0 additions & 2 deletions Resources/Prototypes/Species/ipc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
lastNames: names_ai
sexes:
- Unsexed
- Male
- Female

- type: speciesBaseSprites
id: MobIPCSprites
Expand Down
50 changes: 2 additions & 48 deletions Resources/Prototypes/Voice/speech_emote_sounds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,54 +293,8 @@
variation: 0.125
Beep:
collection: IPCBeeps
Whirr:
collection: IPCWhirrs
Honk:
collection: BikeHorn
params:
variation: 0.125

- type: emoteSounds
id: MaleIPC
sounds:
Scream:
path: /Audio/Effects/beep1.ogg
params:
variation: 0.125
Laugh:
path: /Audio/Effects/sparks1.ogg
params:
variation: 0.125
Ping:
path: /Audio/Effects/beep1.ogg
params:
variation: 0.125
Beep:
path: /Audio/_FTL/Voice/IPC/beep_500.ogg
Whirr:
collection: IPCWhirrs
Honk:
collection: BikeHorn
params:
variation: 0.125

- type: emoteSounds
id: FemaleIPC
sounds:
Scream:
path: /Audio/Effects/beep1.ogg
params:
variation: 0.125
Laugh:
path: /Audio/Effects/sparks1.ogg
params:
variation: 0.125
Ping:
path: /Audio/Effects/beep1.ogg
params:
variation: 0.125
Beep:
path: /Audio/_FTL/Voice/IPC/beep_2000.ogg
Boop:
collection: IPCBoops
Whirr:
collection: IPCWhirrs
Honk:
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Voice/speech_emotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,16 @@
- beeps
- beeps.
- beeps!

- type: emote
id: Boop
category: Vocal
chatMessages: [boops]
chatTriggers:
- boop
- boops
- boops.
- boops!

- type: emote
id: Ping
Expand Down

0 comments on commit 59b6e76

Please sign in to comment.