Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Arm And Leg Markings #870

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions Content.Shared/Humanoid/Markings/MarkingCategories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ public enum MarkingCategories : byte
HeadSide,
Snout,
Chest,
Arms,
Legs,
RightArm,
RightHand,
LeftArm,
LeftHand,
RightLeg,
RightFoot,
LeftLeg,
LeftFoot,
Tail,
Overlay
}
Expand All @@ -31,14 +37,14 @@ public static MarkingCategories FromHumanoidVisualLayers(HumanoidVisualLayers la
HumanoidVisualLayers.HeadSide => MarkingCategories.HeadSide,
HumanoidVisualLayers.Snout => MarkingCategories.Snout,
HumanoidVisualLayers.Chest => MarkingCategories.Chest,
HumanoidVisualLayers.RArm => MarkingCategories.Arms,
HumanoidVisualLayers.LArm => MarkingCategories.Arms,
HumanoidVisualLayers.RHand => MarkingCategories.Arms,
HumanoidVisualLayers.LHand => MarkingCategories.Arms,
HumanoidVisualLayers.LLeg => MarkingCategories.Legs,
HumanoidVisualLayers.RLeg => MarkingCategories.Legs,
HumanoidVisualLayers.LFoot => MarkingCategories.Legs,
HumanoidVisualLayers.RFoot => MarkingCategories.Legs,
HumanoidVisualLayers.RArm => MarkingCategories.RightArm,
HumanoidVisualLayers.LArm => MarkingCategories.LeftArm,
HumanoidVisualLayers.RHand => MarkingCategories.RightHand,
HumanoidVisualLayers.LHand => MarkingCategories.LeftHand,
HumanoidVisualLayers.LLeg => MarkingCategories.LeftLeg,
HumanoidVisualLayers.RLeg => MarkingCategories.RightLeg,
HumanoidVisualLayers.LFoot => MarkingCategories.LeftFoot,
HumanoidVisualLayers.RFoot => MarkingCategories.RightFoot,
HumanoidVisualLayers.Tail => MarkingCategories.Tail,
_ => MarkingCategories.Overlay
};
Expand Down
10 changes: 8 additions & 2 deletions Resources/Locale/en-US/preferences/ui/markings-picker.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ markings-category-HeadTop = Head (Top)
markings-category-HeadSide = Head (Side)
markings-category-Snout = Snout
markings-category-Chest = Chest
markings-category-Arms = Arms
markings-category-Legs = Legs
markings-category-RightArm = Right Arm
markings-category-RightHand = Right Hand
markings-category-LeftArm = Left Arm
markings-category-LeftHand = Left Hand
markings-category-RightLeg = Right Leg
markings-category-RightFoot = Right Foot
markings-category-LeftLeg = Left Leg
markings-category-LeftFoot = Left Foot
markings-category-Tail = Tail
markings-category-Overlay = Overlay
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
# Leg Markings
- type: marking
id: VulpPointsFeet
markingCategory: Overlay
markingCategory: RightFoot
bodyPart: RFoot
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -597,7 +597,7 @@

- type: marking
id: VulpPointsCrestLegs
markingCategory: Legs
markingCategory: LeftLeg
bodyPart: LLeg
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -606,7 +606,7 @@

- type: marking
id: VulpPointsFadeLegs
markingCategory: Legs
markingCategory: LeftLeg
bodyPart: LLeg
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -615,7 +615,7 @@

- type: marking
id: VulpPointsSharpLegs
markingCategory: Legs
markingCategory: LeftLeg
bodyPart: LLeg
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -625,7 +625,7 @@
# Arm Markings
- type: marking
id: VulpPointsHands
markingCategory: Overlay
markingCategory: RightHand
bodyPart: RHand
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -634,7 +634,7 @@

- type: marking
id: VulpPointsCrestArms
markingCategory: Arms
markingCategory: LeftArm
bodyPart: LArm
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -643,7 +643,7 @@

- type: marking
id: VulpPointsFadeArms
markingCategory: Arms
markingCategory: LeftArm
bodyPart: LArm
speciesRestriction: [Vulpkanin]
sprites:
Expand All @@ -652,7 +652,7 @@

- type: marking
id: VulpPointsSharpArms
markingCategory: Arms
markingCategory: LeftArm
bodyPart: LArm
speciesRestriction: [Vulpkanin]
sprites:
Expand Down
26 changes: 22 additions & 4 deletions Resources/Prototypes/DeltaV/Species/vulpkanin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,29 @@
Head:
points: 1
required: false
Legs:
points: 6
RightLeg:
points: 2
required: false
Arms:
points: 6
RightFoot:
points: 2
required: false
LeftLeg:
points: 2
required: false
LeftFoot:
points: 2
required: false
RightArm:
points: 2
required: false
RightHand:
points: 2
required: false
LeftArm:
points: 2
required: false
LeftHand:
points: 2
required: false
Snout:
points: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
- type: marking
id: ArachnidRArmStripes
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Arachnid]
sprites:
- sprite: Mobs/Customization/Arachnid/arms.rsi
Expand All @@ -304,7 +304,7 @@
- type: marking
id: ArachnidLArmStripes
bodyPart: LArm
markingCategory: Arms
markingCategory: LeftArm
speciesRestriction: [Arachnid]
sprites:
- sprite: Mobs/Customization/Arachnid/arms.rsi
Expand All @@ -318,7 +318,7 @@
- type: marking
id: ArachnidRLegStripes
bodyPart: RLeg
markingCategory: Legs
markingCategory: RightLeg
speciesRestriction: [Arachnid]
sprites:
- sprite: Mobs/Customization/Arachnid/legs.rsi
Expand All @@ -331,7 +331,7 @@
- type: marking
id: ArachnidLLegStripes
bodyPart: LLeg
markingCategory: Legs
markingCategory: LeftLeg
speciesRestriction: [Arachnid]
sprites:
- sprite: Mobs/Customization/Arachnid/legs.rsi
Expand Down
32 changes: 16 additions & 16 deletions Resources/Prototypes/Entities/Mobs/Customization/Markings/harpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- type: marking
id: HarpyWingDefaultHuescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -21,7 +21,7 @@
- type: marking
id: HarpyWingDefaultWhitescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -38,7 +38,7 @@
- type: marking
id: HarpyWingClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -55,7 +55,7 @@
- type: marking
id: HarpyWingFoldedHuescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -72,7 +72,7 @@
- type: marking
id: HarpyWingFoldedWhitescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -89,7 +89,7 @@
- type: marking
id: HarpyWingOwlHuescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -106,7 +106,7 @@
- type: marking
id: HarpyWingOwlWhitescale
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
coloring:
default:
Expand Down Expand Up @@ -306,7 +306,7 @@
- type: marking
id: HarpyWing2ToneClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -317,7 +317,7 @@
- type: marking
id: HarpyWing3ToneClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -330,7 +330,7 @@
- type: marking
id: HarpyWingSpeckledClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -341,7 +341,7 @@
- type: marking
id: HarpyWingUndertoneClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -352,7 +352,7 @@
- type: marking
id: HarpyWingTipsClassic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -363,7 +363,7 @@
- type: marking
id: HarpyWingBat
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand All @@ -374,7 +374,7 @@
- type: marking
id: HarpyWingBionic
bodyPart: RArm
markingCategory: Arms
markingCategory: RightArm
speciesRestriction: [Harpy]
sprites:
- sprite: Mobs/Customization/Harpy/harpy_wings.rsi
Expand Down Expand Up @@ -405,7 +405,7 @@
- type: marking
id: HarpyLegsDefault
bodyPart: LLeg
markingCategory: Legs
markingCategory: RightLeg
speciesRestriction: [Harpy]
coloring:
default:
Expand All @@ -422,7 +422,7 @@
- type: marking
id: HarpyFeetDefault
bodyPart: RFoot
markingCategory: Legs
markingCategory: RightLeg
speciesRestriction: [Harpy]
coloring:
default:
Expand Down
Loading
Loading