Commit graph

24 commits

Author SHA1 Message Date
Rachel
927ad18d81
Zombies now have hands (less metagameable in the strip menu) - but they're too clumsy to hold anything. (#45721)
* Solving #43723 by making zombies clumsy (they are unable to hold anything in their hands, passing items to them will fail).

Also made zombies uncuff themselves whenever they transform (seeing as they no longer lose their hands meaning that cuffs would otherwise remain on them)

* Cleaning up the code

* Renamed ClumsyHoldStatusEffectComponent.cs to ClumsyGrabStatusEffectComponent.cs (and renamed associated files).

I think "ClumsyGrab" works better than "ClumsyHold" (as the effect happens when the item is first grabbed, not whilst the item is being held).

everything still works

Reordered appropriate functions in ClumsyStatusTest.cs and ClumsyStatusEffectSystem.cs to retain alphabetical order.

* oopsies :p

* Appeased the YAMLLinter (at the cost of a somewhat hackier implementation).

ZombieSystem.Transform.cs now applies the zombie clumsiness via creating a new PermanentStatusEffectComponent with StatusEffectClumsyZombie as its status effect.

* requested changes have been made

(also re-added newline to end of clumsy-component.ftl because it has a newline at the end of it on the master branch, I guess it's probably supposed to be there)

* reordering so private members (including new one) are before the internal member

* hands are forcibly emptied - even if something's glued to them.

* UnZombify should remove the lingering ZombieClumsy status effect

(still needs to revert the rest of the zombification process, but at least the new bit I added can be undone)

* Minor refactor of my own refactor. New order of operations:

1. Uncuffs zombie (if needed)
2. Attempts to `DropAll` items from hands
3. Iterates through hand containers to empty them (removes otherwise unremovable items from hands)

Will refactor process to force drop all items if #45844 becomes implementable + is merged.

* formatting

* how the hell did the metabolizer code go missing!?

* uncuffing now happens in a safer way

less likely to accidentally infinitely loop

* tweaking that one comment I was asked to tweak (this is unrelated to the hand malarkey)

hopefully it won't lead to any merge conflicts later on

* formatting

* file style

---------

Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-09-27 19:04:52 +00:00
Cabin-keeper
92bea2a9b9
Added night vision status effect AND a night vision drug (#45775)
* Added night vision status effect
added night vision reagent

* removed empty line, updated ftl

* leaf said no capital letters guh

* i hate capital letters

* added rad damage and altred recipe. princess said add to felinase

* Update Resources/Prototypes/Reagents/narcotics.yml

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* Update Resources/Prototypes/Recipes/Reactions/chemicals.yml

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* doubled rad damage

---------

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
2026-09-05 03:05:29 +00:00
ScarKy0
9e065f7453
Fake Armblade Sting (#45724)
* init

* further work

TODO:
- Sprite
- Fix sound playing if item(s) were removed

* work work work

TODO:
- Sprite

* clean

* sprite

* yeah

* guh

* multi item support

* Update ForcedItemStatusEffectComponent.cs

* review + balance i dk
2026-09-03 19:58:20 +00:00
āda
b8610a3809
Drunk status effect additions (clumsiness) (#45287)
* first pass

* second pass

* reorganize

* make the icon better (subjective)

* self review

* review

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2026-08-15 18:54:16 +00:00
āda
9fd1abcff6
Clumsy status effect + tests (#45262)
* component outline

* System port

* super bonk detour

* working good!

* relay changes

* the death of clumsy

* why it stop working??

* now to test it

* tested it

* Actual genuine tests

* final checks

* buff up catch test

* annoying test fail

* refactor: minor whitespace and var rename changes

* refactor: changed comments on top of methods to xml-doc for ClumsyStatusEffectSystem

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-08-11 10:19:19 +00:00
āda
232ac6d8bf
Prevent StatusEffect relay "collection modified" error (#45188)
* commit

* refactor: remove unused using in MutedStatusEffectSystem + early return for StatusEffectsSystem.RelayEvent

* refactor: one forgotten micro optimization!

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-08-11 08:41:04 +00:00
Pok
5148a44a5e
PressureImmunity StatusEffects (#43667)
* PressureImmunityStatusEffects

* System

* fix

* fix 2

* oops

* review

* review

* fix

* Update PressureImmunityStatusEffectSystem.cs

* PermanentStatusEffectsSystem

* fix

* oops
2026-08-02 02:08:27 +00:00
Pok
17a7f22349
Adrenaline StatusEffects (#43750)
AdrenalineStatusEffects
2026-07-30 04:01:39 +00:00
Pok
b38e363d41
Muted StatusEffects (#43668)
* MutedStatusEffects

* Update species_base.yml

* System

* refactor

* yml fix

* fix component

* review

* fix yml

* Update disabilities.yml

* StatusEffectMuted -> TraitStatusEffectMuted

* Update misc.yml

* merge

* RemoveStatusEffect

* more review

* cleanup

* merge

* oops

* Send it

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
2026-07-30 03:52:56 +00:00
SlamBamActionman
414e64db25
Move all accents into being RelayAccentSystems, add InventoryRelayedEvent support (#43008)
* Refactor accents a little

* Fix Linter

* Make T happy

* Aaaand fix linter

* Add RelayAccentsComponent

* Update into RelayAccentSystem

* Fix unnecessary override and slurred

* Fix some spacing and formatting

* Update a comment

* Review changes

* cleaning

* partial

* aoao

* destruction

---------

Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>
2026-07-19 00:51:54 +00:00
SlamBamActionman
abf7361f72
Revert "Add "wobbly walk" - movement deviation when drunk/bloodloss" (#44671)
Revert "Add "wobbly walk" - movement deviation when drunk/bloodloss (#44652)"

This reverts commit fe31522461.
2026-07-14 20:48:35 +00:00
SlamBamActionman
fe31522461
Add "wobbly walk" - movement deviation when drunk/bloodloss (#44652)
* Initial commit - not sure why it won't trigger

* Fix it iuohgrhjkgsefawed SEALED not ABSTRACT

* Include for bloodloss and add a buffer time

* Review changes

* Yaml'd

* Add comment explaining no movement speed stop
2026-07-14 10:32:27 +00:00
Princess Cheeseballs
c3eba9fa55
SSD Players now properly stay asleep when being revived. (#39409)
* Fixes and API changes

* aaaaaaaaaa

* super shitcode

* cleanup

* fix admin logs

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-05-23 08:24:19 +00:00
Pok
3279840bf0
TemporaryBlindness StatusEffect (#43705)
* TemporaryBlindnessStatusEffect

* review
2026-04-24 16:49:54 +00:00
āda
ee07317bc3
Move potassium iodide to new status effects (#43548)
* added

* remove

* last changes

* remove more old stuff

* rename

* rename

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2026-04-12 00:37:42 +00:00
SlamBamActionman
bb95787af7
Make StaminaModifier into a status effect, apply to Hyperzine (#41902)
* Initial commit

* Probably better this way.

* Review fixes

* cleanup

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-12-18 19:41:08 +00:00
ScarKy0
405bc6c8f1
Warfarin and Hemorrhinol, Hemophilia turned into a StatusEffect (#41685)
* init

* yeah

* move folders

* comments

* i hate cloning sometimes

* review

* review squred

* fix stuff
2025-12-05 00:42:03 +00:00
SlamBamActionman
d0a784b9e6
Add status effect support to Traits, change PainNumbness to be a status effect (#41646)
* Initial commit

* Review comments

* Jobify

* Prototype(effect)
2025-12-03 11:55:29 +00:00
Princess Cheeseballs
6b73d320b9
[NEW STATUS SYSTEM] Drunkenness, Stuttering, Slurred Speech, and Bloodloss (#38678)
* The only commit that matters

* I had to stop playing with my cat to push this change

* Yaml removal

* Proper drunk status effect and remove shitcode

* Review changes

* whoops

* Whoops x2

* Update master fix merge conflicts

* Fix merge conflicts

* Dunk Component kill

* MORE RELAYS

* Holy fucking breaking changes

* Ough

* 46 file diff

* Fix bad commits

* Erm what the test fail?

* Fix those last two

* Merge conflicts

* Me when I fix the merge conflicts

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-08-18 16:26:29 -04:00
Perry Fraser
b0e1ce7c0c
feat: add a component for rejuvenateable status effects (#39025)
* feat: add a component for rejuvenateable effects

* feat: let god mode'd entities get buffs

* fix: handle old status effect system

Didn't realize BeforeStatusEffectAddedEvent was called by both systems,
oops.

* refactor: rename to RejuvenateRemovedStatusEffect

* fix: make forced sleeping a debuff again

Missed in rebase.

* refactor: make BeforeStatusEffectAdded two events
2025-07-24 17:13:29 +02:00
Princess Cheeseballs
e85bc1bb8c
Stunnable New Status and Cleanup (#38618)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2025-07-21 19:22:11 +02:00
Princess Cheeseballs
dec2d42a1d
Crawling Part 1: The Knockdownening (#36881)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-07-20 01:54:42 +02:00
Perry Fraser
dbfe05d5cc
refactor: rework the new status effect system to use containers (#38915) 2025-07-12 19:49:58 +03:00
Red
283d0863a0
New Status Effects system: Relay events (#38579) 2025-06-26 23:05:58 +03:00