mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Matriarch Maintenance Drone Fix (#12301)
You can now actually inhabit matriarch maintenance drones, if you have the command whitelist.
This commit is contained in:
@@ -110,6 +110,9 @@
|
||||
qdel(possessor)
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/robot/drone/do_late_fire()
|
||||
request_player()
|
||||
|
||||
/mob/living/silicon/robot/drone/Destroy()
|
||||
if(hat)
|
||||
hat.forceMove(get_turf(src))
|
||||
@@ -144,7 +147,7 @@
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/Initialize()
|
||||
. = ..()
|
||||
SSghostroles.add_spawn_atom("matriarchmaintdrone", src)
|
||||
check_add_to_late_firers()
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/assign_player(mob/user)
|
||||
. = ..()
|
||||
@@ -152,11 +155,16 @@
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/ghostize(can_reenter_corpse, should_set_timer)
|
||||
. = ..()
|
||||
SSghostroles.add_spawn_atom("matriarchmaintdrone", src)
|
||||
if(src in mob_list) // needs to exist to reopen spawn atom
|
||||
set_name(initial(name))
|
||||
request_player()
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/Destroy()
|
||||
. = ..()
|
||||
SSghostroles.remove_spawn_atom("matriarchmaintdrone", src)
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/request_player()
|
||||
SSghostroles.add_spawn_atom("matriarchmaintdrone", src)
|
||||
|
||||
/mob/living/silicon/robot/drone/construction/matriarch/updatename()
|
||||
return
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
/obj/machinery/drone_fabricator/Initialize()
|
||||
. = ..()
|
||||
if(SSticker.current_state == GAME_STATE_PLAYING)
|
||||
enable_drone_spawn()
|
||||
else
|
||||
LAZYADD(SSatoms.late_misc_firers, src)
|
||||
check_add_to_late_firers()
|
||||
|
||||
/obj/machinery/drone_fabricator/do_late_fire()
|
||||
enable_drone_spawn()
|
||||
|
||||
/obj/machinery/drone_fabricator/Destroy()
|
||||
. = ..()
|
||||
|
||||
@@ -1247,3 +1247,8 @@ proc/is_blind(A)
|
||||
|
||||
/mob/proc/handle_vision()
|
||||
return
|
||||
|
||||
/mob/proc/set_name(var/new_name)
|
||||
real_name = new_name
|
||||
name = real_name
|
||||
voice_name = real_name
|
||||
Reference in New Issue
Block a user