New newscaster sprites (#19251)

This commit is contained in:
S34N
2022-10-08 12:02:21 +01:00
committed by GitHub
parent c59330f7b5
commit 7b5a60ef93
5 changed files with 23 additions and 48 deletions
@@ -1,8 +1,9 @@
/obj/item/mounted/frame/newscaster_frame
name = "newscaster frame"
desc = "Used to build newscasters, just secure to the wall."
icon = 'icons/obj/terminals.dmi'
icon_state = "newscaster"
item_state = "syringe_kit"
item_state = "syringe_kit" //no, I have no idea either
materials = list(MAT_METAL=14000, MAT_GLASS=8000)
mount_requirements = MOUNTED_FRAME_SIMFLOOR | MOUNTED_FRAME_NOSPACE
@@ -11,6 +12,8 @@
/obj/item/mounted/frame/newscaster_frame/do_build(turf/on_wall, mob/user)
var/obj/machinery/newscaster/N = new /obj/machinery/newscaster(get_turf(src), get_dir(on_wall, user), 1)
N.pixel_y -= (loc.y - on_wall.y) * 32
N.pixel_x -= (loc.x - on_wall.x) * 32
N.pixel_y -= (loc.y - on_wall.y) * 28
N.pixel_x -= (loc.x - on_wall.x) * 28
var/constrdir = user.dir
N.dir = turn(constrdir, 180)
qdel(src)