mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-08-30 16:16:15 +01:00
Cyborg PDA Update
Allows robots to use the same PDA subtype as the AI. Adds a 1/1000 chance of AOL "You've got mail!" playing when receiving a PDA message.
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
|
||||
/obj/effect/mob_spawn/proc/delayusability(deciseconds, showOnMenu) //How many deciseconds until it is enabled, + should it show up on the menu?
|
||||
addtimer(CALLBACK(src, .proc/enableghostrole, showOnMenu), deciseconds)
|
||||
|
||||
|
||||
/obj/effect/mob_spawn/proc/enableghostrole(show)
|
||||
ghost_usable = TRUE
|
||||
if (show == TRUE)
|
||||
@@ -276,7 +276,7 @@
|
||||
var/mob/living/silicon/ai/spawned/M = new(loc) //spawn new AI at landmark as var M
|
||||
M.name = src.name
|
||||
M.real_name = src.name
|
||||
M.aiPDA.toff = TRUE //turns the AI's PDA messenger off, stopping it showing up on player PDAs
|
||||
M.builtInPDA.toff = TRUE //turns the AI's PDA messenger off, stopping it showing up on player PDAs
|
||||
M.death() //call the AI's death proc
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user