Skip to content

Change: Block food/drinks consumption instead of auto-unequipping helmet (FDDA Redone)#645

Open
Velosyped wants to merge 15 commits intoGrokitach:dev2from
Velosyped:main
Open

Change: Block food/drinks consumption instead of auto-unequipping helmet (FDDA Redone)#645
Velosyped wants to merge 15 commits intoGrokitach:dev2from
Velosyped:main

Conversation

@Velosyped
Copy link
Copy Markdown

@Velosyped Velosyped commented Jan 11, 2026

Overview: This PR changes the "Strict Helmet" mode behavior in liz_fdda_redone_consumables.script. The automatic helmet removal has been replaced with a requirement for the player to unequip the helmet themselves before consuming items.

Detailed Changes:
Strict Helmet Mode Logic Change: Refactored the "Strict Helmet" option in MCM.
Prevention instead of Automation: Removed the on_toggle_unequip sequence that automatically stripped the player's helmet. Now, the script simply blocks the animation and usage if a closed helmet is detected.
Player Requirement: To eat or drink, the player must now manually unequip their helmet first. If they don't, the action is cancelled and a warning is shown.
Targeted Items: This applies to food and drinks. Medical items are not affected.

Dynamic Localization: Added a warning message that switches between English and Russian based on the game's language:
English: "I need to remove face protection first"
Russian: "Сначала мне нужно снять защиту с лица"

Technical Implementation: Added st_fdda_helmet_fix.xml (ENG in UTF-8, RUS in Windows-1251).

Grokitach and others added 15 commits November 20, 2025 20:23
SaloEater's Remember HFE's Stove Slot short name to avoid cloning issues
Afterglow Ending Crash Fix - yaaargle correct index value
Crash fix for cig3 when thrown on the ground
Higher chance for mercs to have rifles
Coffee in the zone install update
Update FDDA consumption logic for helmets.
Add English localization
Added st_fdda_helmet_fix.xml in Windows-1251 encoding to ensure correct Cyrillic display in-game.
@Rizoyd
Copy link
Copy Markdown

Rizoyd commented Feb 14, 2026

Do you smart enough?

@Grokitach
Copy link
Copy Markdown
Owner

Please switch the branch to dev2

@Velosyped Velosyped changed the base branch from main to dev2 February 24, 2026 23:08
@eric7237cire
Copy link
Copy Markdown

eric7237cire commented Mar 9, 2026

I manually installed this from discord and it works as advertised.

With strict helmet mode checked, I must remove my headgear (with that very nice animation) before eating/drinking/smoking. I definitely prefer seeing the message than having the character remove it for me. Though without the fix it would just eat/drink/smoke despite strict mode being active.

It does look like there are some unrelated changes in the diff though, I think dev2 needs to be merged to Velosyped's branch first.

Thanks by the way for this fix !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants