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

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
- type: marking
id: CatEars
bodyPart: HeadTop
markingCategory: HeadTop
bodyPart: Special
markingCategory: Special
speciesRestriction: [Human]
coloring:
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
id: MobHumanSprites
sprites:
Special: MobHumanoidAnyMarking
Head: MobHumanHead
Hair: MobHumanoidAnyMarking
FacialHair: MobHumanoidAnyMarking
Snout: MobHumanoidAnyMarking
Chest: MobHumanTorso
Eyes: MobHumanoidEyes
HeadTop: MobHumanoidAnyMarking
LArm: MobHumanLArm
RArm: MobHumanRArm
LHand: MobHumanLHand
@@ -35,6 +37,9 @@
- type: markingPoints
id: MobHumanMarkingLimits
points:
Special: # the cat ear joke
points: 0
required: false
Hair:
points: 1
required: false
@@ -47,8 +52,8 @@
Tail: # the cat tail joke
points: 0
required: false
HeadTop: # the cat ear joke
points: 0
HeadTop:
points: 1
required: false
Chest:
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
}
]
}