Fixed reagent pressure threshold not working #1009
No reviewers
Labels
No labels
Area/Accessibility
Area/Admin Tooling
Area/Art
Area/Atmospherics
Area/Cargo
Area/Character / Species
Area/Chat
Area/Combat
Area/Command
Area/Database
Area/Engineering
Area/Graphics
Area/Guidebook
Area/Mapping
Area/Medical
Area/Preferences / Options
Area/Roleplay / Lore
Area/Roundflow / Antag
Area/Rules
Area/Salvage
Area/Science
Area/Security
Area/Service
Area/Silicons
bug
Changes: Audio
Changes: Map
Changes: No C#
Changes: Sprites
Changes: UI
documentation
DON'T MERGE
duplicate
good first issue
help wanted
holding to vote
Note/Port
Note/Upstream
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
size/L
size/M
size/S
size/XL
size/XS
State/Approved
State/invalid
State/Merge Conflict
State/Needs Changes
State/Needs Discussion
State/Untriaged
Type/Balance Change
Type/Bugfix
Type/Documentation
Type/Enhancement
Type/Feature
Type/Question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Byrd-Station/Byrd!1009
Loading…
Reference in a new issue
No description provided.
Delete branch "QuillTheCreature/Byrd:systems/reagents/pressurethreshold"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Short description
Lux pen wasn't working since the pressure threshold effect was setup wrongly.
There was a Shared system which always
returned false;meaning the class inside the server module never ran.I updated it to use the
EventEntityEffectConditionsystem which sends out a local event, meaning the server class can react to it properly.On top of that this also fixes the actual condition and allows only one bounds to be set at once. So for example for the lux pen, only a maximum pressure is set, in the old system the condition would always return false as min is null.
Why we need to add this
Bugfix
Media (Video/Screenshots)
Checklist
Ingame Changelog
🆑 Quill
LGTM. Thank you for your contribution!
@QuillTheCreature
Cool change log 👍👍👍 I love fun!