mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Gives drones respawnability, improves killing yourself as a drone (#23070)
This commit is contained in:
@@ -61,6 +61,9 @@
|
||||
//put em at -175
|
||||
adjustOxyLoss(max(maxHealth * 2 - getToxLoss() - getFireLoss() - getBruteLoss() - getOxyLoss(), 0))
|
||||
|
||||
/mob/living/silicon/robot/drone/do_suicide()
|
||||
shut_down()
|
||||
|
||||
/mob/living/silicon/pai/do_suicide()
|
||||
if(mobility_flags & MOBILITY_MOVE)
|
||||
close_up()
|
||||
|
||||
@@ -108,6 +108,7 @@
|
||||
|
||||
aiCamera = new /obj/item/camera/siliconcam/drone_camera(src)
|
||||
additional_law_channels["Drone"] = ";"
|
||||
ADD_TRAIT(src, TRAIT_RESPAWNABLE, UNIQUE_TRAIT_SOURCE(src))
|
||||
|
||||
playsound(loc, 'sound/machines/twobeep.ogg', 50)
|
||||
|
||||
@@ -220,7 +221,7 @@
|
||||
SSticker.mode.replace_jobbanned_player(src, ROLE_SYNDICATE)
|
||||
|
||||
to_chat(src, "<span class='warning'>You feel a sudden burst of malware loaded into your execute-as-root buffer. Your tiny brain methodically parses, loads and executes the script. You sense you have <b>five minutes</b> before the drone server detects this and automatically shuts you down.</span>")
|
||||
|
||||
REMOVE_TRAIT(src, TRAIT_RESPAWNABLE, UNIQUE_TRAIT_SOURCE(src))
|
||||
message_admins("[key_name_admin(user)] emagged drone [key_name_admin(src)]. Laws overridden.")
|
||||
log_game("[key_name(user)] emagged drone [key_name(src)]. Laws overridden.")
|
||||
var/time = time2text(world.realtime,"hh:mm:ss")
|
||||
@@ -259,7 +260,6 @@
|
||||
. = ..(gibbed)
|
||||
adjustBruteLoss(health)
|
||||
|
||||
|
||||
//CONSOLE PROCS
|
||||
/mob/living/silicon/robot/drone/proc/law_resync()
|
||||
if(stat != DEAD)
|
||||
|
||||
Reference in New Issue
Block a user