mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Gives MMI Odysseus' medhuds, adds mech wreckage disassembly
MMIs can also be extracted without destroying the mech should they permit maintenance protocols
This commit is contained in:
@@ -12,8 +12,9 @@
|
||||
var/alien = 0
|
||||
var/syndiemmi = 0 //Whether or not this is a Syndicate MMI
|
||||
var/mob/living/carbon/brain/brainmob = null//The current occupant.
|
||||
var/mob/living/silicon/robot = null//Appears unused.
|
||||
var/obj/mecha = null//This does not appear to be used outside of reference in mecha.dm.
|
||||
var/mob/living/silicon/robot/robot = null//Appears unused.
|
||||
var/obj/mecha/mecha = null//This does not appear to be used outside of reference in mecha.dm.
|
||||
// I'm using this for mechs giving MMIs HUDs now
|
||||
|
||||
attackby(var/obj/item/O as obj, var/mob/user as mob, params)
|
||||
if(istype(O, /obj/item/organ/brain/crystal ))
|
||||
|
||||
@@ -93,5 +93,10 @@
|
||||
sight &= ~SEE_OBJS
|
||||
see_in_dark = 2
|
||||
see_invisible = SEE_INVISIBLE_LIVING
|
||||
if (container && istype(container, /obj/item/device/mmi))
|
||||
var/obj/item/device/mmi/mmi = container
|
||||
if (mmi.mecha)
|
||||
var/obj/mecha/piloted = mmi.mecha
|
||||
piloted.pilot_mmi_hud(src)
|
||||
|
||||
handle_hud_icons_health()
|
||||
Reference in New Issue
Block a user