Skip to content

Commit

Permalink
Merge pull request #413 from FoxxoTrystan/female-collision-fix
Browse files Browse the repository at this point in the history
Female Displacement Disabled
  • Loading branch information
Fansana authored Dec 15, 2024
2 parents f9070fb + 91ae239 commit f84f5cc
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 46 deletions.
3 changes: 2 additions & 1 deletion Content.Client/Clothing/ClientClothingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ private void RenderEquipment(EntityUid equipee, EntityUid equipment, string slot
if (layerData.State is not null && inventory.SpeciesId is not null && layerData.State.EndsWith(inventory.SpeciesId))
continue;

_displacement.TryAddDisplacement(displacementData, sprite, index, key, revealedLayers);
if (_displacement.TryAddDisplacement(displacementData, sprite, index, key, revealedLayers))
index++;
}
}

Expand Down
12 changes: 6 additions & 6 deletions Resources/Prototypes/DeltaV/Entities/Mobs/Species/rodentia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@
fireStackIncreaseMultiplier: 1.25
- type: Inventory
speciesId: rodentia
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female

- type: entity
save: false
Expand Down
14 changes: 7 additions & 7 deletions Resources/Prototypes/DeltaV/Entities/Mobs/Species/vulpkanin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@
- type: Flammable
fireStackIncreaseMultiplier: 1.25
- type: Inventory
speciesId: vulpkanin
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# speciesId: vulpkanin
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female

- type: entity
save: false
Expand Down
12 changes: 6 additions & 6 deletions Resources/Prototypes/Entities/Mobs/Species/arachne.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@
speechSounds: Alto
- type: Inventory
templateId: anytaur
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female
- type: Tag
tags:
- CanPilot
Expand Down
24 changes: 12 additions & 12 deletions Resources/Prototypes/Entities/Mobs/Species/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@
- type: IdExaminable
- type: Hands
- type: Inventory
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female
- type: InventorySlots
- type: FloatingVisuals
- type: Climbing
Expand Down Expand Up @@ -318,12 +318,12 @@
components:
- type: Hands
- type: Inventory
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female
- type: InventorySlots
- type: ContainerContainer
- type: Icon
Expand Down
14 changes: 7 additions & 7 deletions Resources/Prototypes/Entities/Mobs/Species/diona.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@
layer:
- MobLayer
- type: Inventory
templateId: diona
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# templateId: diona
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female
- type: Speech
speechVerb: Plant
- type: Vocal
Expand Down
14 changes: 7 additions & 7 deletions Resources/Prototypes/Entities/Mobs/Species/reptilian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
- id: FoodMeatLizard
amount: 5
- type: Inventory
speciesId: reptilian
femaleDisplacements: # Floof - displacements
jumpsuit:
sizeMaps:
32:
sprite: Mobs/Species/Human/displacement.rsi
state: jumpsuit-female
# speciesId: reptilian
# femaleDisplacements: # Floof - displacements
# jumpsuit:
# sizeMaps:
# 32:
# sprite: Mobs/Species/Human/displacement.rsi
# state: jumpsuit-female
- type: LizardAccent
- type: Speech
speechSounds: Lizard
Expand Down

0 comments on commit f84f5cc

Please sign in to comment.