mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Ghost Spawner: Better Integration for Atoms (#10160)
This commit is contained in:
@@ -64,18 +64,17 @@
|
||||
return
|
||||
seeking_player = TRUE
|
||||
SSghostroles.add_spawn_atom("mining_drone", src)
|
||||
var/area/A = get_area(src)
|
||||
if(A)
|
||||
say_dead_direct("Someone is attempting to reboot a mining drone in [A.name]! Spawn in as it by using the ghost spawner menu in the ghost tab.")
|
||||
|
||||
/mob/living/silicon/robot/drone/mining/proc/spawn_into_mining_drone(var/mob/user)
|
||||
/mob/living/silicon/robot/drone/mining/assign_player(var/mob/user)
|
||||
if(src.ckey)
|
||||
SSghostroles.remove_spawn_atom("mining_drone", src)
|
||||
return
|
||||
src.ckey = user.ckey
|
||||
SSghostroles.remove_spawn_atom("mining_drone", src)
|
||||
seeking_player = FALSE
|
||||
welcome_drone()
|
||||
|
||||
return src
|
||||
|
||||
/mob/living/silicon/robot/drone/mining/welcome_drone()
|
||||
to_chat(src, SPAN_DANGER("<b>You are a mining drone, a tiny-brained robotic industrial machine.</b>"))
|
||||
to_chat(src, SPAN_DANGER("You have little individual will, some personality, and no drives or urges other than your laws and the art of mining."))
|
||||
|
||||
Reference in New Issue
Block a user