mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-02 13:32:32 +00:00
Fixes verbs not being given properly when joining ghost spawners/aghosting back into your body (#16575)
* fix some more edge cases * Update html/changelogs/mattatlas-aghostverbs.yml * oops --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -74,6 +74,8 @@
|
||||
seeking_player = FALSE
|
||||
welcome_drone()
|
||||
|
||||
client.init_verbs()
|
||||
|
||||
return src
|
||||
|
||||
/mob/living/silicon/robot/drone/mining/welcome_drone()
|
||||
|
||||
@@ -303,6 +303,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
mind.current.ajourn=0
|
||||
mind.current.key = key
|
||||
mind.current.teleop = null
|
||||
mind.current.client.init_verbs()
|
||||
if(!admin_ghosted)
|
||||
announce_ghost_joinleave(mind, 0, "They now occupy their body again.")
|
||||
return 1
|
||||
|
||||
@@ -59,6 +59,8 @@
|
||||
if(istype(A, /area/assembly/robotics))
|
||||
global_announcer.autosay("A positronic brain has completed its boot process in: [A.name].", "Robotics Oversight", "Science")
|
||||
|
||||
brainmob.client.init_verbs()
|
||||
|
||||
return src
|
||||
|
||||
/obj/item/device/mmi/digital/posibrain/update_name()
|
||||
|
||||
@@ -1485,10 +1485,13 @@
|
||||
|
||||
species.set_default_tail(src)
|
||||
|
||||
if(client)
|
||||
client.init_verbs()
|
||||
|
||||
if(species)
|
||||
return 1
|
||||
return TRUE
|
||||
else
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/fill_out_culture_data()
|
||||
|
||||
@@ -314,6 +314,7 @@
|
||||
G.religion = G.origin.possible_religions[1]
|
||||
G.preEquipOutfit(/datum/outfit/admin/golem, FALSE)
|
||||
G.equipOutfit(/datum/outfit/admin/golem, FALSE)
|
||||
G.client.init_verbs()
|
||||
to_chat(G, SPAN_NOTICE("You are a golem. Serve your master, and assist them in completing their goals at any cost."))
|
||||
|
||||
qdel(src)
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
if(assigned_antagonist.get_antag_radio())
|
||||
module.channels[assigned_antagonist.get_antag_radio()] = TRUE
|
||||
radio.recalculateChannels()
|
||||
client.init_verbs()
|
||||
say("Boot sequence complete!")
|
||||
return src
|
||||
|
||||
|
||||
@@ -1216,6 +1216,7 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT)
|
||||
/mob/assign_player(var/mob/user)
|
||||
ckey = user.ckey
|
||||
resting = FALSE // ghosting sets resting to true
|
||||
client.init_verbs()
|
||||
return src
|
||||
|
||||
/mob/proc/get_standard_pixel_x()
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
var/mob/abstract/observer/O = user
|
||||
if(O.antagHUD && player_is_antag(M.mind))
|
||||
category = M.mind.special_role
|
||||
if(!category)
|
||||
category = "Alive"
|
||||
if(!category)
|
||||
category = "Alive"
|
||||
var/special_char = is_special_character(M)
|
||||
if(!name)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user