mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
[MIRROR] Quick carry modules now give the correct bonus [MDB IGNORE] (#25236)
* Quick carry modules now give the correct bonus (#79909) ## About The Pull Request Fixes #79470 The quick carry module and its advanced version both gave the same buff after a copy/paste error. That ain't right. ## Why It's Good For The Game Uuuuuhhhh oversight bad ## Changelog 🆑 fix: MOD quick carry modules now give the correct carry speed bonus /🆑 * Quick carry modules now give the correct bonus --------- Co-authored-by: Nick <42454181+Momo8289@users.noreply.github.com>
This commit is contained in:
@@ -76,16 +76,22 @@
|
||||
incompatible_modules = list(/obj/item/mod/module/quick_carry, /obj/item/mod/module/constructor)
|
||||
|
||||
/obj/item/mod/module/quick_carry/on_suit_activation()
|
||||
ADD_TRAIT(mod.wearer, TRAIT_QUICKER_CARRY, MOD_TRAIT)
|
||||
ADD_TRAIT(mod.wearer, TRAIT_QUICK_CARRY, MOD_TRAIT)
|
||||
|
||||
/obj/item/mod/module/quick_carry/on_suit_deactivation(deleting = FALSE)
|
||||
REMOVE_TRAIT(mod.wearer, TRAIT_QUICKER_CARRY, MOD_TRAIT)
|
||||
REMOVE_TRAIT(mod.wearer, TRAIT_QUICK_CARRY, MOD_TRAIT)
|
||||
|
||||
/obj/item/mod/module/quick_carry/advanced
|
||||
name = "MOD advanced quick carry module"
|
||||
removable = FALSE
|
||||
complexity = 0
|
||||
|
||||
/obj/item/mod/module/quick_carry/advanced/on_suit_activation()
|
||||
ADD_TRAIT(mod.wearer, TRAIT_QUICKER_CARRY, MOD_TRAIT)
|
||||
|
||||
/obj/item/mod/module/quick_carry/advanced/on_suit_deactivation(deleting = FALSE)
|
||||
REMOVE_TRAIT(mod.wearer, TRAIT_QUICKER_CARRY, MOD_TRAIT)
|
||||
|
||||
/obj/item/mod/module/quick_carry/on_suit_activation()
|
||||
. = ..()
|
||||
ADD_TRAIT(mod.wearer, TRAIT_FASTMED, MOD_TRAIT)
|
||||
|
||||
Reference in New Issue
Block a user