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>
|
|
@ -14,4 +14,5 @@ public enum DamageStateVisualLayers : byte
|
|||
{
|
||||
Base,
|
||||
BaseUnshaded,
|
||||
BaseUnshadedAccessory, // DeltaV - Pet clothing
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 706 B |
|
After Width: | Height: | Size: 135 B |
|
After Width: | Height: | Size: 662 B |
|
|
@ -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
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 486 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 437 B |