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

Added support so that smile can use hats #33924

Merged
merged 4 commits into from
Dec 29, 2024
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
14 changes: 12 additions & 2 deletions Resources/Prototypes/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
- type: entity
name: Smile
id: MobSlimesPet
parent: MobAdultSlimes
parent: [MobAdultSlimes, StripableInventoryBase]
description: This masterpiece has gone through thousands of experiments. But it is the sweetest creature in the world. Smile Slime!
components:
- type: Sprite
Expand All @@ -722,6 +722,16 @@
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: aslime-_3
shader: unshaded
- map: [ "head" ]
- type: Inventory
speciesId: slime
templateId: head
displacements:
head:
sizeMaps:
32:
sprite: Mobs/Pets/Smile/smile_displacement.rsi
state: head
- type: MobThresholds
thresholds:
0: Alive
Expand Down Expand Up @@ -767,7 +777,7 @@
Caustic: 1
- type: MultiHandedItem
- type: Item
sprite: Mobs/Pets/smile.rsi
sprite: Mobs/Pets/Smile/smile.rsi
size: Huge
- type: SentienceTarget
flavorKind: station-event-random-sentience-flavor-slime
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Head displacement made by zHonys",
"size": {
"x": 32,
"y": 32
},
"load": {
"srgb": false
},
"states": [
{
"name": "head",
"directions": 4
}
]
}
Loading