Allows stripping people by resizing (#19038)

* Allows stripping people by resizing

Added a new preference that allows you to drop all of your items and possibly underwear upon being suddenly resized by more than 30%.

This also adds a variable to resize() that determines whether a specific method can trigger the stripping.
It is currently enabled on size guns and bluespace crackers only, I want to add it on a case by case basis.

* More info in tooltip

* Fix mistake

* Fix the other one too

* modern style

* Update vore_prefs.dm

* Turns defines into numbers

* Makes the new preference a dropdown

The edit mode is forced to true as the preferences page does not use edit modes.
Tested and it works fine.

* dropdown

* sublist

* .

* string keys

* tooltip

* .

* Current progress (broken)

* Fixes things

Tested and they work as expected

* please never do this

* .

* Make belly temps save

* move by 1 second

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
SatinIsle
2026-01-22 22:54:14 +01:00
committed by GitHub
co-authored by Kashargul
parent a9ee5466ae
commit 391c96c4ef
31 changed files with 232 additions and 68 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
/obj/item/organ/internal/cell/emp_act(severity, recursive)
..()
owner.adjust_nutrition(-rand(10 / severity, 50 / severity))
owner?.adjust_nutrition(-rand(10 / severity, 50 / severity))
/obj/item/organ/internal/cell/machine/handle_organ_proc_special()
..()