Skip to content

Commit

Permalink
QOL-MOD: inner fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Resomi Enjoer committed Oct 15, 2023
1 parent f7b3194 commit 999d9d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tff_modular/modules/tff_modsuits/modules/module_combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion tff_modular/modules/tff_modsuits/modules/module_utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
/**
* Модуль эффективности вмещения: увеличивает максимальное кол-во модулей, что можно установить, ценой отсуствия любого модуля хранения.
*/
Expand Down

0 comments on commit 999d9d0

Please sign in to comment.