Files
Paradise/code/game/objects/items/mountable_frames/intercom.dm
Sirryan2002 b4539344e4 Minor Mountable Frame Code Refactor (#18738)
* bugfix turned into a refactor

* fixes exploit with producing infinite metal

* Update code/__DEFINES/construction.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-08-27 16:04:43 -05:00

13 lines
407 B
Plaintext

/obj/item/mounted/frame/intercom
name = "Intercom Frame"
desc = "Used for building intercoms"
icon = 'icons/obj/monitors.dmi'
icon_state = "intercom-frame"
mount_requirements = MOUNTED_FRAME_SIMFLOOR | MOUNTED_FRAME_NOSPACE
metal_sheets_refunded = 2
/obj/item/mounted/frame/intercom/do_build(turf/on_wall, mob/user)
new /obj/item/radio/intercom(get_turf(src), get_dir(user, on_wall), 0)
qdel(src)