Skip to content

Commit

Permalink
Cherry-Pick "Shrimp Mob for Metempsychosis (#862)" (#882)
Browse files Browse the repository at this point in the history
# Description
Cherry-picks DeltaV-Station/Delta-v#862 on
behalf of the author.

This was not tested; need someone to check if it actually works before
merging.

# Changelog
:cl:
- add: A shrimp morphotype was added to the failure pool of the
metempsychotic machine.

---------

Signed-off-by: leo <[email protected]>
Signed-off-by: Mnemotechnican <[email protected]>
Co-authored-by: leo <[email protected]>
Co-authored-by: DEATHB4DEFEAT <[email protected]>
Co-authored-by: Null <[email protected]>
Co-authored-by: VMSolidus <[email protected]>
  • Loading branch information
5 people authored Sep 8, 2024
1 parent 8f0d160 commit 08be023
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
63 changes: 63 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/fun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
- type: entity
name: space shrimp
parent: [ SimpleMobBase, FlyingMobBase, MobCombat ]
id: MobSpaceShrimp
description: Shrimply cursed...
components:
- type: MeleeWeapon
soundHit:
path: /Audio/Effects/pop.ogg
- type: MovementSpeedModifier
baseWalkSpeed : 6
baseSprintSpeed : 6
- type: Sprite
sprite: DeltaV/Mobs/Animals/shrimp.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: shrimp
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 100
mask:
- FlyingMobMask
layer:
- FlyingMobLayer
- type: Physics
- type: DamageStateVisuals
states:
Alive:
Base: shrimp
Dead:
Base: dead
- type: Butcherable
spawned:
- id: FoodMeatCrab
amount: 3
- type: Bloodstream
bloodMaxVolume: 100
bloodReagent: BbqSauce # Australia reference
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-possum
interactFailureString: petting-failure-possum
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/raccoon_chatter.ogg
- type: Speech
speechSounds: Slime
- type: Puller
needsHands: false
- type: MindContainer
showExamineInfo: true
- type: NpcFactionMember
factions:
- Passive
- type: Body
prototype: Animal
- type: HTN
rootTask:
task: SimpleHostileCompound
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
MobXenoQueen: 0.01
MobCrab: 0.01
MobPenguin: 1
MobSpaceShrimp: 1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions Resources/Textures/DeltaV/Mobs/Animals/shrimp.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Sprite by Leonardo-DaBepis",
"states": [
{
"name": "shrimp",
"directions": 4,
"delays": [
[ 0.3, 0.4, 0.5, 0.3 ],
[ 0.3, 0.4, 0.5, 0.3 ],
[ 0.3, 0.4, 0.5, 0.3 ],
[ 0.3, 0.4, 0.5, 0.3 ]
]
},
{
"name": "dead"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 08be023

Please sign in to comment.