mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 17:06:56 +01:00
25 lines
570 B
Plaintext
25 lines
570 B
Plaintext
/obj/item/binoculars
|
|
name = "binoculars"
|
|
desc = "A pair of binoculars."
|
|
icon = 'icons/obj/device.dmi'
|
|
icon_state = "binoculars"
|
|
damage_force = 5.0
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
throw_force = 5.0
|
|
throw_range = 15
|
|
throw_speed = 3
|
|
|
|
//materials_base = list("metal" = 50, MAT_GLASS = 50)
|
|
|
|
/obj/item/binoculars/attack_self(mob/user, datum/event_args/actor/actor)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
zoom()
|
|
|
|
// the zoom proc needs taking out back but this fixes binoculars being janky for now
|
|
/obj/item/binoculars/unequipped(mob/user, slot, flags)
|
|
. = ..()
|
|
if(zoom)
|
|
zoom()
|