mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user