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

Tag Override for Equipment Slot Clothing Dependency #32140

Closed
wants to merge 160 commits into from

Conversation

Tsawodi
Copy link

@Tsawodi Tsawodi commented Sep 14, 2024

About the PR

Added a new entity tag and logic for overriding the clothing requirement of inventory slots for specific objects.

Why / Balance

While I understand the need for balance in preventing gas tanks, guns, etc. from being able to be equipped in the suit storage without proper gear, some objects don't really make much sense to not be able to be worn, such as guitars. Some of these objects can be worn in the back slot, but it can be unnecessarily prohibitive to give up a backpack for them. This change allows for objects to have or be given a tag so that they can be equipped in their respective inventory slots without the need for the dependent clothing.

Technical details

~ tags.yml
∟ + New tag "SlotDependencyOverride" which can be added to equipable entities.
~ Content/Shared/Inventory/InventorySystem.Equip.cs
∟ + Added dependency and reference to the tagging system
∟ + Added small amount of logic under CanEquip() to handle skipping slot dependency check if the item contains the override tag

Media

This is only for example! No objects have had the tag added in this PR.

slot_dependency_override_ex.mp4

Requirements

Breaking changes

Changelog

No direct gameplay changes in this PR, only the setup for future changes.

KeldWolf and others added 30 commits June 1, 2024 18:23
Moved the Harmony rules over.
Nother commit from upstream. 6/8/2024
Fixed some bad spacing
Added missing attributes
Removed the scheduled portion of the publish workflow
Fixed a dumb spacing issue
Merging 6/22/24 from upstream
Fourth of July upstream merge
Attempting some proper workflow for CDN and Manifest update stuff.
Added a missing :
Changed from key to password for the SCP. Not great for security. But, for testing we'll stick with it.
@github-actions github-actions bot added Status: Needs Review This PR requires new reviews before it can be merged. Changes: Map Can be reviewed or fixed by people who are knowledgeable with mapping. Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. Merge Conflict This PR currently has conflicts that need to be addressed. and removed Status: Needs Review This PR requires new reviews before it can be merged. labels Sep 14, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link
Contributor

RSI Diff Bot; head commit 4b8150e merging into 9b16822
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/Harmony/Clothing/Neck/Misc/serverpins.rsi

State Old New Status
axolotl-equipped Added
axolotl Added
cosmatic-drift-equipped Added
cosmatic-drift Added
delta-v-equipped Added
delta-v Added
frontier-equipped Added
frontier Added
leviathan-equipped Added
leviathan Added
lizard-equipped Added
lizard Added
miros-equipped Added
miros Added
salamander-equipped Added
salamander Added

Resources/Textures/Harmony/Clothing/Neck/Misc/vulturepin.rsi

State Old New Status
equipped-NECK Added
icon Added

@Tsawodi
Copy link
Author

Tsawodi commented Sep 14, 2024

Closing this PR because I fucked up big time and opened from the wrong branch

@Tsawodi Tsawodi closed this Sep 14, 2024
@Tsawodi Tsawodi deleted the free_back_storage branch September 15, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Map Can be reviewed or fixed by people who are knowledgeable with mapping. Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. Merge Conflict This PR currently has conflicts that need to be addressed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants