Long human ears (#30490)

Long human ears colour fix. Shortcut removed.
This commit is contained in:
Rouge2t7
2024-08-22 00:44:43 +01:00
committed by GitHub
parent 759089e5a2
commit 7e60431754
9 changed files with 42 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ namespace Content.Shared.Humanoid
[Serializable, NetSerializable] [Serializable, NetSerializable]
public enum HumanoidVisualLayers : byte public enum HumanoidVisualLayers : byte
{ {
Special, // for the cat ears
Tail, Tail,
Hair, Hair,
FacialHair, FacialHair,
@@ -18,6 +19,7 @@ namespace Content.Shared.Humanoid
RArm, RArm,
LArm, LArm,
RHand, RHand,
LHand, LHand,
RLeg, RLeg,
LLeg, LLeg,
@@ -27,5 +29,6 @@ namespace Content.Shared.Humanoid
StencilMask, StencilMask,
Ensnare, Ensnare,
Fire, Fire,
} }
} }

View File

@@ -5,6 +5,7 @@ namespace Content.Shared.Humanoid.Markings
[Serializable, NetSerializable] [Serializable, NetSerializable]
public enum MarkingCategories : byte public enum MarkingCategories : byte
{ {
Special,
Hair, Hair,
FacialHair, FacialHair,
Head, Head,
@@ -24,6 +25,7 @@ namespace Content.Shared.Humanoid.Markings
{ {
return layer switch return layer switch
{ {
HumanoidVisualLayers.Special => MarkingCategories.Special,
HumanoidVisualLayers.Hair => MarkingCategories.Hair, HumanoidVisualLayers.Hair => MarkingCategories.Hair,
HumanoidVisualLayers.FacialHair => MarkingCategories.FacialHair, HumanoidVisualLayers.FacialHair => MarkingCategories.FacialHair,
HumanoidVisualLayers.Head => MarkingCategories.Head, HumanoidVisualLayers.Head => MarkingCategories.Head,

View File

@@ -0,0 +1 @@
marking-HumanLongEars = Long Ears

View File

@@ -14,6 +14,7 @@ marking-slot = Slot {$number}
# Categories # Categories
markings-category-Special = Special
markings-category-Hair = Hair markings-category-Hair = Hair
markings-category-FacialHair = Facial Hair markings-category-FacialHair = Facial Hair
markings-category-Head = Head markings-category-Head = Head

View File

@@ -1,7 +1,7 @@
- type: marking - type: marking
id: CatEars id: CatEars
bodyPart: HeadTop bodyPart: Special
markingCategory: HeadTop markingCategory: Special
speciesRestriction: [Human] speciesRestriction: [Human]
coloring: coloring:
default: default:

View File

@@ -0,0 +1,10 @@
- type: marking
id: HumanLongEars
bodyPart: HeadTop
markingCategory: HeadTop
speciesRestriction: [Human, Dwarf]
forcedColoring: true
followSkinColor: true
sprites:
- sprite: Mobs/Customization/ears.rsi
state: long_ears

View File

@@ -17,12 +17,14 @@
- type: speciesBaseSprites - type: speciesBaseSprites
id: MobHumanSprites id: MobHumanSprites
sprites: sprites:
Special: MobHumanoidAnyMarking
Head: MobHumanHead Head: MobHumanHead
Hair: MobHumanoidAnyMarking Hair: MobHumanoidAnyMarking
FacialHair: MobHumanoidAnyMarking FacialHair: MobHumanoidAnyMarking
Snout: MobHumanoidAnyMarking Snout: MobHumanoidAnyMarking
Chest: MobHumanTorso Chest: MobHumanTorso
Eyes: MobHumanoidEyes Eyes: MobHumanoidEyes
HeadTop: MobHumanoidAnyMarking
LArm: MobHumanLArm LArm: MobHumanLArm
RArm: MobHumanRArm RArm: MobHumanRArm
LHand: MobHumanLHand LHand: MobHumanLHand
@@ -35,6 +37,9 @@
- type: markingPoints - type: markingPoints
id: MobHumanMarkingLimits id: MobHumanMarkingLimits
points: points:
Special: # the cat ear joke
points: 0
required: false
Hair: Hair:
points: 1 points: 1
required: false required: false
@@ -47,8 +52,8 @@
Tail: # the cat tail joke Tail: # the cat tail joke
points: 0 points: 0
required: false required: false
HeadTop: # the cat ear joke HeadTop:
points: 0 points: 1
required: false required: false
Chest: Chest:
points: 1 points: 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

View File

@@ -0,0 +1,16 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Drawn by Rouge2t7/Sarahon",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "long_ears",
"directions": 4
}
]
}