Implement female uniform masking.

This commit is contained in:
Pieter-Jan Briers
2020-01-21 18:11:15 +01:00
parent 5481959018
commit 9beb7e48d4
14 changed files with 104 additions and 4 deletions

View File

@@ -91,6 +91,7 @@
- type: Clothing
sprite: Clothing/uniform_clown.rsi
femaleMask: UniformTop
- type: entity
parent: UniformBase
@@ -141,4 +142,4 @@
state: captain
- type: Clothing
sprite: Clothing/captain_uniform.rsi
sprite: Clothing/captain_uniform.rsi

View File

@@ -17,7 +17,14 @@
description: A bright red toolbox, stocked with emergency tools
components:
- type: Sprite
texture: Objects/Tools/toolbox_r.png
layers:
- shader: stencilClear
- texture: Objects/Tools/wrench.png
shader: stencilMask
- texture: Objects/Tools/toolbox_r.png
shader: stencilDraw
- type: Icon
texture: Objects/Tools/toolbox_r.png

View File

@@ -58,7 +58,18 @@
sprite: Mob/human.rsi
state: human_l_leg
- shader: stencilClear
sprite: Mob/human.rsi
state: human_l_leg
- shader: stencilMask
map: ["enum.HumanoidVisualLayers.StencilMask"]
sprite: Mob/masking_helpers.rsi
state: female_full
visible: false
- map: ["enum.Slots.INNERCLOTHING"]
shader: stencilDraw
- map: ["enum.Slots.IDCARD"]
- map: ["enum.Slots.GLOVES"]
- map: ["enum.Slots.SHOES"]
@@ -174,7 +185,16 @@
sprite: Mob/human.rsi
state: human_l_leg
- shader: stencilClear
- shader: stencilMask
map: ["enum.HumanoidVisualLayers.StencilMask"]
sprite: Mob/masking_helpers.rsi
state: female_full
visible: false
- map: ["enum.Slots.INNERCLOTHING"]
shader: stencilDraw
- map: ["enum.Slots.IDCARD"]
- map: ["enum.Slots.GLOVES"]
- map: ["enum.Slots.SHOES"]