mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Makes some more lists lazy (#94388)
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
co-authored by
SyncIt21
MrMelbert
parent
b88e1a1328
commit
53ed83bb9d
@@ -34,7 +34,7 @@
|
||||
defence(owner_mob)
|
||||
|
||||
/datum/action/cooldown/mob_cooldown/defensive_mode/proc/offence(mob/living/basic/owner_mob)
|
||||
owner_mob.damage_coeff = list(BRUTE = 1, BURN = 1.25, TOX = 1, STAMINA = 1, OXY = 1)
|
||||
owner_mob.damage_coeff = string_assoc_list(list(BRUTE = 1, BURN = 1.25, TOX = 1, STAMINA = 1, OXY = 1))
|
||||
owner_mob.icon_state = initial(owner_mob.icon_state)
|
||||
owner_mob.icon_living = initial(owner_mob.icon_living)
|
||||
owner_mob.icon_dead = initial(owner_mob.icon_dead)
|
||||
@@ -42,7 +42,7 @@
|
||||
defense_active = FALSE
|
||||
|
||||
/datum/action/cooldown/mob_cooldown/defensive_mode/proc/defence(mob/living/basic/owner_mob)
|
||||
owner_mob.damage_coeff = list(BRUTE = 0.4, BURN = 0.5, TOX = 1, STAMINA = 1, OXY = 1)
|
||||
owner_mob.damage_coeff = string_assoc_list(list(BRUTE = 0.4, BURN = 0.5, TOX = 1, STAMINA = 1, OXY = 1))
|
||||
owner_mob.icon_dead = "[owner_mob.icon_state]_d_dead"
|
||||
owner_mob.icon_state = "[owner_mob.icon_state]_d"
|
||||
owner_mob.icon_living = "[owner_mob.icon_living]_d"
|
||||
|
||||
Reference in New Issue
Block a user