Mothroaches can now wear hamster-wearable clothes + pet inventory tweaks (#28956)

* moth displacement + inventory tweaks

* Fix off by 1 on the head sprites

* Move files to main mothroach folder

* Fix mask up a bit

* Fix side mask sprites

* Change format because it changed forever ago
This commit is contained in:
Verm
2024-08-19 23:20:12 -05:00
committed by GitHub
parent 800b4a7c29
commit 4e3e8ad03c
20 changed files with 78 additions and 10 deletions

View File

@@ -221,7 +221,7 @@
- type: cargoProduct
id: LivestockMothroach
icon:
sprite: Mobs/Animals/mothroach.rsi
sprite: Mobs/Animals/mothroach/mothroach.rsi
state: mothroach
product: CrateNPCMothroach
cost: 5000

View File

@@ -444,7 +444,7 @@
insertingState: inserting_mothroach
- type: MothAccent
- type: Sprite
sprite: Mobs/Animals/mothroach.rsi
sprite: Mobs/Animals/mothroach/mothroach.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: mothroach
@@ -459,7 +459,7 @@
size: Normal
- type: Clothing
quickEquip: false
sprite: Mobs/Animals/mothroach.rsi
sprite: Mobs/Animals/mothroach/mothroach.rsi
equippedPrefix: 0
slots:
- HEAD
@@ -538,6 +538,41 @@
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Mouse_burning
- type: Strippable
- type: UserInterface
interfaces:
enum.StrippingUiKey.Key:
type: StrippableBoundUserInterface
- type: InventorySlots
- type: Inventory
speciesId: hamster
templateId: hamster
displacements:
head:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: head
mask:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: mask
suitstorage:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: suitstorage
eyes:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: eyes
neck:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: neck
# Note that the mallard duck is actually a male drake mallard, with the brown duck being the female variant of the same species, however ss14 lacks sex specific textures

View File

@@ -15,7 +15,7 @@
slotTexture: neck
slotFlags: NECK
uiWindowPos: 0,1
strippingWindowPos: 1,0
strippingWindowPos: 0,1
displayName: Neck
whitelist:
tags:
@@ -24,7 +24,7 @@
slotTexture: glasses
slotFlags: EYES
stripTime: 3
uiWindowPos: 0,1
uiWindowPos: 0,2
strippingWindowPos: 0,0
displayName: Eyes
whitelist:
@@ -33,9 +33,8 @@
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
slotGroup: SecondHotbar
stripTime: 3
uiWindowPos: 2,0
uiWindowPos: 1,0
strippingWindowPos: 2,5
displayName: Suit Storage
whitelist:

View File

@@ -4,7 +4,7 @@
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,0
uiWindowPos: 0,2
strippingWindowPos: 1,1
displayName: Mask
whitelist:
@@ -14,9 +14,8 @@
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
slotGroup: SecondHotbar
stripTime: 3
uiWindowPos: 2,0
uiWindowPos: 0,1
strippingWindowPos: 2,5
displayName: Suit Storage
whitelist:

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Vermidia",
"size": {
"x": 32,
"y": 32
},
"load": {
"srgb": false
},
"states": [
{
"name": "head",
"directions": 4
},
{
"name": "mask",
"directions": 4
},
{
"name": "suitstorage",
"directions": 4
},
{
"name": "eyes",
"directions": 4
},
{
"name": "neck",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

View File

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 548 B

View File

Before

Width:  |  Height:  |  Size: 764 B

After

Width:  |  Height:  |  Size: 764 B

View File

Before

Width:  |  Height:  |  Size: 765 B

After

Width:  |  Height:  |  Size: 765 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB