mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Removed the infra sensor, as it was buggy, and, to be perfectly honest, utterly pointless. Slightly improved and moved dice code. Fixes issue 366. Fixes issue 317. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4555 316c924e-a436-60f5-8080-3fe189b3f50e
44 lines
903 B
Plaintext
44 lines
903 B
Plaintext
/proc/isassembly(O)
|
|
if(istype(O, /obj/item/device/assembly))
|
|
return 1
|
|
return 0
|
|
|
|
/proc/isigniter(O)
|
|
if(istype(O, /obj/item/device/assembly/igniter))
|
|
return 1
|
|
return 0
|
|
|
|
/proc/isinfared(O)
|
|
if(istype(O, /obj/item/device/assembly/infra))
|
|
return 1
|
|
return 0
|
|
|
|
/proc/isprox(O)
|
|
if(istype(O, /obj/item/device/assembly/prox_sensor))
|
|
return 1
|
|
return 0
|
|
|
|
/proc/issignaler(O)
|
|
if(istype(O, /obj/item/device/assembly/signaler))
|
|
return 1
|
|
return 0
|
|
|
|
/proc/istimer(O)
|
|
if(istype(O, /obj/item/device/assembly/timer))
|
|
return 1
|
|
return 0
|
|
|
|
/*
|
|
Name: IsSpecialAssembly
|
|
Desc: If true is an object that can be attached to an assembly holder but is a special thing like a plasma can or door
|
|
*/
|
|
|
|
/obj/proc/IsSpecialAssembly()
|
|
return 0
|
|
|
|
/*
|
|
Name: IsAssemblyHolder
|
|
Desc: If true is an object that can hold an assemblyholder object
|
|
*/
|
|
/obj/proc/IsAssemblyHolder()
|
|
return 0 |