mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 10:41:42 +00:00
* 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>
13 lines
407 B
Plaintext
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)
|