Skip to content

Commit

Permalink
Weight Traits Tweaks (#149)
Browse files Browse the repository at this point in the history
<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->

# Description

<!--
Explain this PR in as much detail as applicable

Some example prompts to consider:
How might this affect the game? The codebase?
What might be some alternatives to this?
How/Who does this benefit/hurt [the game/codebase]?
-->

Makes the Heavyweight and Lightweight Trait mutually exclusive from each
other.

---

# Changelog

<!--
You can add an author after the `:cl:` to change the name that appears
in the changelog (ex: `:cl: Death`)
Leaving it blank will default to your GitHub display name
This includes all available types for the changelog
-->

:cl:
- tweak: Tweaked Weight Traits to be mutually exclusive.
  • Loading branch information
sleepyyapril authored Jan 12, 2025
2 parents 62a3e1b + 93181e7 commit cc15da2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/Prototypes/Floof/Traits/physical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
species:
- Felinid # They don't need to be lighter
- Rodentia
- !type:CharacterTraitRequirement
inverted: true
traits:
- Heavyweight
functions:
- !type:TraitAddComponent
components:
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_DEN/Traits/physical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
inverted: true
species:
- Oni
- !type:CharacterTraitRequirement
inverted: true
traits:
- Lightweight
functions:
- !type:TraitAddComponent
components:
Expand Down

0 comments on commit cc15da2

Please sign in to comment.