Carpy the Legal Carp gets a suit for differentiation (#1456)

* Carpy gets custom sprite!!

WOOO!!!

* yuh

* Does some funny shit that allows the suit to properly render I hope

* Pro backslash usage

* Update pets.yml

* Trolled by double layers yaml

* Update Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/pets.yml

Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>

* Update Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/pets.yml

Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>

* I hope this fixes it

* Added extra state to damage visualizer for carpy

* Cleanup old code

* Sprite update

---------

Signed-off-by: Adeinitas <147965189+adeinitas@users.noreply.github.com>
Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Co-authored-by: Timemaster99 <57200767+Timemaster99@users.noreply.github.com>
This commit is contained in:
Adeinitas 2024-08-12 19:47:30 -03:00 committed by GitHub
parent 8b138e65fe
commit 6d639d6d29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 123 additions and 0 deletions

View File

@ -14,4 +14,5 @@ public enum DamageStateVisualLayers : byte
{
Base,
BaseUnshaded,
BaseUnshadedAccessory, // DeltaV - Pet clothing
}

View File

@ -65,8 +65,29 @@
- type: NpcFactionMember
factions:
- PetsNT
- type: Sprite
sprite: DeltaV/Mobs/Pets/lawyercarp.rsi # Fancy Fishe
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: mouth
shader: unshaded
- map: [ "enum.DamageStateVisualLayers.BaseUnshadedAccessory" ]
state: suit
shader: unshaded
- type: TypingIndicator
proto: lawyer # incase of cognizine
- type: DamageStateVisuals
states:
Alive:
Base: alive
BaseUnshaded: mouth
BaseUnshadedAccessory: suit
Dead:
Base: dead
BaseUnshaded: dead_mouth
BaseUnshadedAccessory: suit_dead
- type: GhostRole
makeSentient: true
allowSpeech: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

View File

@ -0,0 +1,101 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation/blob/master/icons/mob/animal.dmi, edited 'dead' to create 'crit' and 'dead' states and then edited by Adeinitas on Discord to give it a suit.",
"states": [
{
"name": "icon"
},
{
"name": "suit",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "mouth",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "dead_mouth"
},
{
"name": "suit_dead"
},
{
"name": "dead"
},
{
"name": "alive",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B