mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-24 03:46:52 +01:00
power standardization 1/??????? - power scales, SMES/cellrate/APC/powernet/god i'm dying inside (#4103)
* start * about ready for conversions * oh boy * oh boy * powernet procs * draw power, surplus, avil, smes * cellrate, smes * cellrate, smes * more * wacky * aa * there we go * Wild! * ix * more * why * between needs to die * smart * oh no * fear * f * fixes * i hate parentheses * i hate parentheses * fixes * calc moment * *pawstamp* * acter * i hate myself too thank you * a * wack * cheat factors * that * fix * recomp * epic js moment * fix
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
amount = round(amount)
|
||||
if(damage_casing)
|
||||
damage += amount
|
||||
damage = between(0, damage, max_damage)
|
||||
damage = clamp( damage, 0, max_damage)
|
||||
|
||||
if(component_probability)
|
||||
for(var/obj/item/computer_hardware/H in get_all_components())
|
||||
|
||||
Reference in New Issue
Block a user