From 999d9d0c3fa3cb5bb8385f2de6968c80a48a46fa Mon Sep 17 00:00:00 2001 From: Resomi Enjoer Date: Sun, 15 Oct 2023 23:50:05 +0300 Subject: [PATCH] QOL-MOD: inner fixes --- tff_modular/modules/tff_modsuits/modules/module_combat.dm | 4 ++-- tff_modular/modules/tff_modsuits/modules/module_utility.dm | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tff_modular/modules/tff_modsuits/modules/module_combat.dm b/tff_modular/modules/tff_modsuits/modules/module_combat.dm index 11b1f14160b..94f30a04f09 100644 --- a/tff_modular/modules/tff_modsuits/modules/module_combat.dm +++ b/tff_modular/modules/tff_modsuits/modules/module_combat.dm @@ -85,13 +85,13 @@ /obj/item/mod/module/itemgive/mod_blade/on_install() . = ..() for(var/obj/item/melee/mod_blade/blade in items_to_give) - balde.mod = mod + blade.mod = mod /obj/item/mod/module/itemgive/mod_blade/on_uninstall(deleting) . = ..() for(var/obj/item/melee/mod_blade/blade in items_to_give) - balde.mod = null + blade.mod = null /obj/item/mod/module/itemgive/mod_blade/syndicate name = "MOD armblade module" diff --git a/tff_modular/modules/tff_modsuits/modules/module_utility.dm b/tff_modular/modules/tff_modsuits/modules/module_utility.dm index 88e9847cee8..36d9273e62c 100644 --- a/tff_modular/modules/tff_modsuits/modules/module_utility.dm +++ b/tff_modular/modules/tff_modsuits/modules/module_utility.dm @@ -53,12 +53,13 @@ added_modifaer = max(0.5, mod.slowdown_active * 0.5) mod.slowdown -= added_modifaer mod.wearer.update_equipment_speed_mods() + mod.charge_drain = (mod.charge_drain * 2) /obj/item/mod/module/movemenet_effective/on_suit_deactivation(deleting) . = ..() mod.slowdown += added_modifaer mod.wearer.update_equipment_speed_mods() - + mod.charge_drain = initial(mod.charge_drain) /** * Модуль эффективности вмещения: увеличивает максимальное кол-во модулей, что можно установить, ценой отсуствия любого модуля хранения. */