mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 05:02:33 +00:00
* Double spaces * more space and misspelling * Fixing punctuations * Not now * double dots * Apply suggestions from code review Signed-off-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Signed-off-by: Henri215 <77684085+Henri215@users.noreply.github.com>
17 lines
615 B
Plaintext
17 lines
615 B
Plaintext
/// Handheld air alarm frame, for placing on walls.
|
|
/obj/item/mounted/frame/alarm_frame
|
|
name = "air alarm frame"
|
|
desc = "Used for building Air Alarms."
|
|
icon = 'icons/obj/monitors.dmi'
|
|
icon_state = "alarm_bitem"
|
|
|
|
materials = list(MAT_METAL=2000)
|
|
metal_sheets_refunded = 1
|
|
mount_requirements = MOUNTED_FRAME_SIMFLOOR | MOUNTED_FRAME_NOSPACE
|
|
|
|
/obj/item/mounted/frame/alarm_frame/do_build(turf/on_wall, mob/user)
|
|
var/obj/machinery/alarm/A = new/obj/machinery/alarm(get_turf(src), get_dir(user, on_wall), 1)
|
|
A.buildstage = AIR_ALARM_FRAME // Set the build stage to the initial state
|
|
A.update_icon()
|
|
qdel(src)
|