Files
Cody Brittain 3f62424312 [MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or
variables tied to this. I removed it to make future modifications
cleaner.

---------

Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
2026-02-01 05:14:26 +00:00

29 lines
796 B
Plaintext

/obj/item/binoculars
name = "binoculars"
desc = "A pair of binoculars."
icon = 'icons/obj/item/binoculars.dmi'
icon_state = "binoculars"
item_state = "binoculars"
action_button_name = "Toggle Binoculars"
obj_flags = OBJ_FLAG_CONDUCTABLE
force = 11
w_class = WEIGHT_CLASS_SMALL
throwforce = 5.0
throw_range = 15
throw_speed = 3
var/tileoffset = 7
var/viewsize = 7
/obj/item/binoculars/attack_self(mob/user)
if(do_after(user, 1.5 SECONDS))
user.visible_message(SPAN_NOTICE("[user] looks into the binoculars."), SPAN_NOTICE("You look through the binoculars."))
zoom(user, tileoffset, viewsize, show_zoom_message = FALSE)
/obj/item/binoculars/high_power
name = "high power binoculars"
desc = "A pair of high power binoculars."
icon_state = "binoculars_high"
tileoffset = 8