Proteans can now copy MOD plating directly (and storages will no longer get deleted) (#4205)

## About The Pull Request

- Proteans can now copy MOD plating directly without needing a full
suit.
- Fixes the storage modules vanishing when assimilating modsuits.
Modules inside the original suit will now be placed into a cache which
will return when the suit is removed.

## Why It's Good For The Game

Fixes good, plus some much needed tune ups based on feedback.

## Proof Of Testing

It works

## Changelog

🆑
add: Proteans can now directly copy modsuit plating to transform their
suit without needing an entire modsuit.
fix: Storage modules on proteans will no longer delete when assimilating
suits. It prioritizes the incoming storage and "pushes aside" the old
storage until the suit is removed.
/🆑
This commit is contained in:
The Sharkening
2025-07-28 01:44:19 -06:00
committed by GitHub
parent 6c9cb9fb53
commit 49140d08c9
2 changed files with 69 additions and 8 deletions
+1 -1
View File
@@ -585,7 +585,7 @@
if(user && !silent) // Bubber Edit: Silent arg
balloon_alert(user, "incompatible with [old_module]!")
playsound(src, 'sound/machines/scanner/scanbuzz.ogg', 25, TRUE, SILENCED_SOUND_EXTRARANGE)
return //Bubber Edit: Return False
return FALSE //Bubber Edit: Return False
var/complexity_with_module = complexity
complexity_with_module += new_module.complexity
if(complexity_with_module > complexity_max)