Pet slime for RND (#15980)

This commit is contained in:
Nim
2023-05-13 17:51:02 +03:00
committed by GitHub
parent fdb45cc595
commit ce208a18cd
11 changed files with 215 additions and 4 deletions

View File

@@ -34,3 +34,4 @@ station-event-random-sentience-flavor-mechanical = mechanical
station-event-random-sentience-flavor-organic = organic station-event-random-sentience-flavor-organic = organic
station-event-random-sentience-flavor-corgi = corgi station-event-random-sentience-flavor-corgi = corgi
station-event-random-sentience-flavor-primate = primate station-event-random-sentience-flavor-primate = primate
station-event-random-sentience-flavor-slime = slime

View File

@@ -173,6 +173,18 @@
Cellular: 0.0 Cellular: 0.0
Caustic: 0.0 Caustic: 0.0
- type: damageModifierSet
id: SlimePet # Very survivable slimes
coefficients:
Blunt: 0.5
Slash: 0.8
Piercing: 0.8
Cold: 1.0
Poison: 0.2
Cellular: 0.0
Radiation: 0.2
Caustic: 0.0
# Represents what a riot shield should block passively # Represents what a riot shield should block passively
# Each shield will probably have their own passive and active modifier sets # Each shield will probably have their own passive and active modifier sets
# Honestly it should not be too high # Honestly it should not be too high

View File

@@ -436,6 +436,19 @@
prototypes: prototypes:
- MobAdultSlimesYellowAngry - MobAdultSlimesYellowAngry
- type: entity
name: Smile Spawner
id: SpawnMobSmile
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobSlimesPet
- type: entity - type: entity
name: Pun Pun Spawner name: Pun Pun Spawner
id: SpawnMobMonkeyPunpun id: SpawnMobMonkeyPunpun

View File

@@ -582,6 +582,81 @@
- type: Loadout - type: Loadout
prototypes: [ BoxingKangarooGear ] prototypes: [ BoxingKangarooGear ]
- type: entity
name: Smile
id: MobSlimesPet
parent: MobAdultSlimes
description: This masterpiece has gone through thousands of experiments. But it is the sweetest creature in the world. Smile Slime!
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Aliens/slimes.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: rainbow_baby_slime
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: aslime-_3
shader: unshaded
- type: MobThresholds
thresholds:
0: Alive
200: Dead
- type: FootstepModifier
footstepSoundCollection:
path: /Audio/Effects/Footsteps/slime1.ogg
params:
volume: -6
- type: Tag
tags:
- FootstepSound
- DoorBumpOpener
- CannotSuicide
- type: DamageStateVisuals
states:
Alive:
Base: rainbow_baby_slime
BaseUnshaded: aslime-_3
Dead:
Base: rainbow_baby_slime_dead
- type: Butcherable
butcheringType: Knife
spawned:
- id: FoodMeatSlime
amount: 1
- id: MaterialSmileExtract
amount: 1
- type: Damageable
damageContainer: Biological
damageModifierSet: SlimePet
- type: Bloodstream
bloodMaxVolume: 150
bloodReagent: Slime
bloodlossDamage:
types:
Bloodloss:
1
bloodlossHealDamage:
types:
Bloodloss:
-0.8
- type: Temperature
heatDamageThreshold: 800
coldDamageThreshold: 0
- type: MeleeWeapon
hidden: true
soundHit:
path: /Audio/Weapons/punch3.ogg
angle: 0
animation: WeaponArcPunch
damage:
types:
Blunt: 1
Caustic: 1
- type: SentienceTarget
flavorKind: station-event-random-sentience-flavor-slime
- type: MobPrice
price: 3000 # it is a truly valuable creature
- type: entity - type: entity
name: Pun Pun name: Pun Pun
parent: MobMonkey parent: MobMonkey

View File

@@ -112,10 +112,6 @@
interactFailureString: petting-failure-generic interactFailureString: petting-failure-generic
- type: ReplacementAccent - type: ReplacementAccent
accent: slimes accent: slimes
- type: GhostRole
makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-slimes-description
- type: GhostTakeoverAvailable - type: GhostTakeoverAvailable
- type: entity - type: entity
@@ -131,6 +127,7 @@
Base: blue_adult_slime_dead Base: blue_adult_slime_dead
- type: GhostRole - type: GhostRole
makeSentient: true makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-slimes-description description: ghost-role-information-slimes-description
- type: entity - type: entity
@@ -148,6 +145,10 @@
Base: blue_adult_slime Base: blue_adult_slime
Dead: Dead:
Base: blue_adult_slime_dead Base: blue_adult_slime_dead
- type: GhostRole
makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-angry-slimes-description
- type: entity - type: entity
name: green slime name: green slime
@@ -173,6 +174,7 @@
Poison: 4 Poison: 4
- type: GhostRole - type: GhostRole
makeSentient: true makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-slimes-description description: ghost-role-information-slimes-description
- type: entity - type: entity
@@ -201,6 +203,10 @@
Structural: 4 Structural: 4
Caustic: 1 Caustic: 1
Poison: 4 Poison: 4
- type: GhostRole
makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-angry-slimes-description
- type: entity - type: entity
name: yellow slime name: yellow slime
@@ -226,6 +232,7 @@
Cellular: 3 Cellular: 3
- type: GhostRole - type: GhostRole
makeSentient: true makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-slimes-description description: ghost-role-information-slimes-description
- type: entity - type: entity
@@ -254,3 +261,7 @@
Structural: 4 Structural: 4
Caustic: 1 Caustic: 1
Cellular: 3 Cellular: 3
- type: GhostRole
makeSentient: true
name: ghost-role-information-slimes-name
description: ghost-role-information-angry-slimes-description

View File

@@ -550,6 +550,38 @@
# Cooked # Cooked
- type: entity
parent: BaseItem
id: MaterialSmileExtract
name: extract smile
description: It's a real panacea. But at what cost?
components:
- type: Food
- type: Extractable
grindableSolutionName: food
- type: FlavorProfile
flavors:
- sweet
- type: Sprite
sprite: Mobs/Aliens/slimes.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: rainbow_slime_extract
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Omnizine
Quantity: 30
- ReagentId: Nutriment
Quantity: 10
- ReagentId: Iron
Quantity: 10
- type: Item
size: 5
- type: StaticPrice
price: 3000 #It has so much Omnizin in it
- type: entity - type: entity
name: steak name: steak
parent: FoodMeatBase parent: FoodMeatBase

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

View File

@@ -42,6 +42,73 @@
}, },
{ {
"name": "yellow_adult_slime_dead" "name": "yellow_adult_slime_dead"
},
{
"name": "aslime-_3",
"directions": 4
},
{
"name": "rainbow_slime_extract",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "rainbow_baby_slime",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "rainbow_baby_slime_dead",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
} }
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB