mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
New newscaster sprites (#19251)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user