/obj //var/datum/module/mod //not used var/m_amt = 0 // metal var/g_amt = 0 // glass var/w_amt = 0 // waster amounts var/origin_tech = null //Used by R&D to determine what research bonuses it grants. var/reliability = 100 //Used by SOME devices to determine how reliable they are. var/crit_fail = 0 var/unacidable = 0 //universal "unacidabliness" var, here so you can use it in any obj. animate_movement = 2 var/throwforce = 1 var/list/attack_verb = list() //Used in attackby() to say how something was attacked "[x] has been [z.attack_verb] by [y] with [z]" var/sharp = 0 // whether this object cuts /obj/proc/process() processing_objects.Remove(src) return 0 //skytodo /* /obj/assume_air(datum/air_group/giver) if(loc) return loc.assume_air(giver) else return null /obj/remove_air(amount) if(loc) return loc.remove_air(amount) else return null /obj/return_air() if(loc) return loc.return_air() else return null */ /obj/proc/handle_internal_lifeform(mob/lifeform_inside_me, breath_request) //Return: (NONSTANDARD) // null if object handles breathing logic for lifeform // datum/air_group to tell lifeform to process using that breath return //DEFAULT: Take air from turf to give to have mob process if(breath_request>0) return remove_air(breath_request) else return null /obj/proc/initialize() return /obj/proc/updateUsrDialog() var/list/nearby = viewers(1, src) for(var/mob/M in nearby) if ((M.client && M.machine == src)) src.attack_hand(M) if (istype(usr, /mob/living/silicon/ai) || istype(usr, /mob/living/silicon/robot)) if (!(usr in nearby)) if (usr.client && usr.machine==src) // && M.machine == src is omitted because if we triggered this by using the dialog, it doesn't matter if our machine changed in between triggering it and this - the dialog is probably still supposed to refresh. src.attack_ai(usr) // check for TK users if (istype(usr, /mob/living/carbon/human)) if(istype(usr.l_hand, /obj/item/tk_grab) || istype(usr.r_hand, /obj/item/tk_grab/)) if(!(usr in nearby)) if(usr.client && usr.machine==src) src.attack_hand(usr) /obj/proc/updateDialog() var/list/nearby = viewers(1, src) for(var/mob/M in nearby) if ((M.client && M.machine == src)) src.attack_hand(M) AutoUpdateAI(src) /obj/proc/update_icon() return /obj/item/proc/updateSelfDialog() var/mob/M = src.loc if(istype(M) && M.client && M.machine == src) src.attack_self(M) /obj/proc/alter_health() return 1 /obj/proc/hide(h) return /obj/proc/hear_talk(mob/M as mob, text) /* var/mob/mo = locate(/mob) in src if(mo) var/rendered = "[M.name]: [text]" mo.show_message(rendered, 2) */ return