Possums and Raccoons and Ferrets, Oh My! (#6808)

* * Fixed Reagent Tanks so they now dispense an amount according to the transfer amount of the bucket you use.

* Revert "* Fixed Reagent Tanks so they now dispense an amount according to the transfer amount of the bucket you use."

This reverts commit 3b565c0509e0a802b5aec63fc62007205ec330f1.

* Adds possums along with their sound effects and petting popup messages.

* Adds Morty my beloved

* Fixed a small error in InteractionPopupSystem that was causing an error: "[ERRO] root: Server tried to play audio file  which does not exist."

* Added raccoons

* Adds Morticia the raccoon. Morticia my beloved! (Original character do not steal :P)

* Adds ferrets and their SFX

* Well excuuu-uuuuse ME, Princess!

* "It can't be THAT easy..." --Spider-man Noir

* It's that easy.
This commit is contained in:
Willhelm53
2022-02-23 12:40:31 -06:00
committed by GitHub
parent 12ba246d21
commit b4b2f02264
17 changed files with 274 additions and 5 deletions

View File

@@ -45,6 +45,32 @@
- MobCorgi
- MobCorgiOld
- type: entity
name: Possum Morty Spawner
id: SpawnMobPossumMorty
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobPossumMorty
- type: entity
name: Raccoon Morticia Spawner
id: SpawnMobRaccoonMorticia
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobRaccoonMorticia
## Player-controlled
- type: entity

View File

@@ -937,3 +937,119 @@
successChance: 0.5
interactSuccessString: petting-success-tarantula
interactFailureString: petting-failure-generic
- type: entity
name: possum
parent: SimpleMobBase
id: MobPossum
description: '"O Possum! My Possum!" -- Walt Whitman, 1865'
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Animals/possum.rsi
scale: 0.7, 0.7 # Possums are pretty huge on Goonstation, let's scale them down a little.
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: possum
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.35
mass: 10
mask:
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
layer:
- Opaque
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: possum
crit: possum_dead # TODO: Make it so possums can "play dead." Probably need AI changes
dead: possum_dead
- type: Butcherable
spawned: FoodMeat
pieces: 3
- type: InteractionPopup
successChance: 0.2 # Low when undomesticated.
interactSuccessString: petting-success-possum # Possums don't really make much noise when they're happy. They make clicking noises as a mating call, but that is NOT the same thing!
interactFailureString: petting-failure-possum
interactFailureSound:
path: /Audio/Animals/cat_hiss.ogg # This sound effect is intended for generic hissing. For easy reference it's named after the animal it came from IRL.
- type: Grammar
attributes:
gender: epicene
- type: entity
name: Morty
parent: MobPossum
id: MobPossumMorty
description: The station's resident Didelphis virginiana. A sensitive but resilient kind of guy.
components:
- type: InteractionPopup
successChance: 1.0 # Hey, c'mon, this is Morty we're talking about here.
- type: Grammar
attributes:
proper: true
gender: male
- type: entity
name: raccoon
parent: SimpleMobBase
id: MobRaccoon
description: Trash panda!
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Animals/raccoon.rsi
scale: 0.7, 0.7
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: raccoon
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.35
mass: 10
mask:
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
layer:
- Opaque
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: raccoon
crit: raccoon_dead
dead: raccoon_dead
- type: Butcherable
spawned: FoodMeat
pieces: 3
- type: InteractionPopup
successChance: 0.2 # Low when undomesticated.
interactSuccessString: petting-success-soft-floofy
interactFailureString: petting-failure-generic
- type: Grammar
attributes:
gender: epicene
- type: entity
name: Morticia
parent: MobRaccoon
id: MobRaccoonMorticia
description: A powerful creature of the night. Her eyeshadow is always on point.
components:
- type: InteractionPopup
successChance: 0.7
- type: Grammar
attributes:
proper: true
gender: female

View File

@@ -339,3 +339,50 @@
- type: Grammar
attributes:
gender: epicene
- type: entity
name: ferret
parent: SimpleMobBase
id: MobFerret
description: Just a silly little guy!
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Pets/ferret.rsi
scale: 0.7, 0.7
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: ferret
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.35
mass: 10
mask:
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
layer:
- Opaque
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: ferret
crit: ferret_dead
dead: ferret_dead
- type: Butcherable
spawned: FoodMeat
pieces: 3
- type: InteractionPopup
successChance: 0.8
interactDelay: 1.5 # Avoids overlapping SFX due to spam - these SFX are a little longer than the typical 1 second.
interactSuccessString: petting-success-soft-floofy
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/ferret_happy.ogg
- type: Grammar
attributes:
gender: epicene