mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Merge pull request #13199 from Very-Soft/paideath
A pAI death tweak I forgot!
This commit is contained in:
@@ -143,9 +143,9 @@
|
||||
pcard.damage_random_component()
|
||||
update_icon()
|
||||
else if(pcard.pai.bruteloss)
|
||||
pcard.pai.adjustBruteLoss(-1)
|
||||
pcard.pai.adjustBruteLoss(-5)
|
||||
else if(pcard.pai.fireloss)
|
||||
pcard.pai.adjustFireLoss(-1)
|
||||
pcard.pai.adjustFireLoss(-5)
|
||||
else
|
||||
charging = null
|
||||
update_icon()
|
||||
|
||||
@@ -21,9 +21,10 @@ var/global/list/paikeys = list()
|
||||
user.visible_message("<span class ='notice'>\The [user] secured \the [src]'s maintenance panel.</span>")
|
||||
playsound(src, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
else if(pai)
|
||||
panel_open = TRUE
|
||||
user.visible_message("<span class ='warning'>\The [user] opened \the [src]'s maintenance panel.</span>")
|
||||
playsound(src, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
if(do_after(user, 3 SECONDS))
|
||||
panel_open = TRUE
|
||||
user.visible_message("<span class ='warning'>\The [user] opened \the [src]'s maintenance panel.</span>")
|
||||
playsound(src, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
if(istype(I,/obj/item/device/robotanalyzer))
|
||||
if(!panel_open)
|
||||
to_chat(user, "<span class ='warning'>The panel isn't open. You will need to unscrew it to open it.</span>")
|
||||
|
||||
Reference in New Issue
Block a user