Adds accessory stripping to the strip-menu (#93177)

## About The Pull Request

The strip-menu can now support THREE alternate actions instead of two!
Adds stripping of accessories with a tgui input list.


https://github.com/user-attachments/assets/ab436b5a-751d-42b6-8e2c-1d83c7c7e081

## Why It's Good For The Game

Lets you take off accessories without stripping the person of their
uniform first.

## Changelog

🆑
add: Adds a button to the strip-menu to remove somebody's uniform
accessories
/🆑
This commit is contained in:
theOOZ
2025-09-30 18:17:25 +02:00
committed by GitHub
parent 49ae3ade8f
commit 67185ec2ce
3 changed files with 44 additions and 2 deletions
+2 -2
View File
@@ -377,8 +377,8 @@
result["name"] = item.name
result["alternate"] = item_data.get_alternate_actions(owner, user)
var/static/list/already_cried = list()
if(length(result["alternate"]) > 2 && !(type in already_cried))
stack_trace("Too many alternate actions for [type]! Only two are supported at the moment! This will look bad!")
if(length(result["alternate"]) > 3 && !(type in already_cried))
stack_trace("Too many alternate actions for [type]! Only three are supported at the moment! This will look bad!")
already_cried += type
items[strippable_key] = result