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
Changes from 2 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
15 changes: 13 additions & 2 deletions Resources/Prototypes/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -722,6 +722,17 @@
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: aslime-_3
shader: unshaded
#- map: [ "mask" ] breathing mask sprites need new versions for smile
- map: [ "head" ]
- type: Inventory
speciesId: slime
templateId: smile
displacements:
head:
sizeMaps:
32:
sprite: Mobs/Pets/smile/smile_displacement.rsi
state: head
- type: MobThresholds
thresholds:
0: Alive
@@ -767,7 +778,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
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- type: inventoryTemplate
id: smile
slots:
- name: head
slotTexture: head
slotFlags: HEAD
uiWindowPos: 0,1
strippingWindowPos: 0,0
displayName: Head
# Commented since that would need specific art for smile, at least for the breathing mask and gas tanks
#- name: mask
# slotTexture: mask
# slotFlags: MASK
# uiWindowPos: 0,2
# strippingWindowPos: 1,1
# displayName: Mask
# whitelist:
# tags:
# - PetWearable
#- name: suitstorage
# slotTexture: suit_storage
# slotFlags: SUITSTORAGE
# stripTime: 3
# uiWindowPos: 0,1
# strippingWindowPos: 2,5
# displayName: Suit Storage
# whitelist:
# components:
# - GasTank
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