mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Gives pAIs a zone selection HUD object. (#13650)
This commit is contained in:
@@ -223,6 +223,8 @@ var/global/obj/screen/clicker/catcher = new()
|
||||
borer_hud()
|
||||
else if(isconstruct(mymob))
|
||||
construct_hud()
|
||||
else if(ispAI(mymob))
|
||||
pai_hud()
|
||||
|
||||
if(isliving(mymob))
|
||||
var/obj/screen/using
|
||||
|
||||
@@ -115,3 +115,14 @@
|
||||
return "0"
|
||||
|
||||
#undef SCANNER
|
||||
|
||||
/datum/hud/proc/pai_hud()
|
||||
|
||||
mymob.zone_sel = getFromPool(/obj/screen/zone_sel)
|
||||
mymob.zone_sel.icon = 'icons/mob/screen1_robot.dmi'
|
||||
mymob.zone_sel.overlays.len = 0
|
||||
mymob.zone_sel.overlays += image('icons/mob/zone_sel.dmi', "[mymob.zone_sel.selecting]")
|
||||
|
||||
mymob.client.reset_screen()
|
||||
|
||||
mymob.client.screen += list(mymob.zone_sel)
|
||||
Reference in New Issue
Block a user