mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
e9d2322565
* Material defines * Move these * Food sytnhetizer --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
32 lines
846 B
Plaintext
32 lines
846 B
Plaintext
/obj/item/binoculars
|
|
name = "binoculars"
|
|
desc = "A pair of binoculars."
|
|
icon = 'icons/obj/device.dmi'
|
|
icon_state = "binoculars"
|
|
force = 5.0
|
|
w_class = ITEMSIZE_SMALL
|
|
throwforce = 5.0
|
|
throw_range = 15
|
|
throw_speed = 3
|
|
pickup_sound = 'sound/items/pickup/device.ogg'
|
|
drop_sound = 'sound/items/drop/device.ogg'
|
|
|
|
//matter = list(MAT_STEEL = MATERIAL_COST(0.025), MAT_GLASS = MATERIAL_COST(0.025))
|
|
|
|
/obj/item/binoculars/attack_self(mob/user)
|
|
. = ..(user)
|
|
if(.)
|
|
return TRUE
|
|
toggle_zoom(user)
|
|
|
|
/obj/item/binoculars/spyglass
|
|
name = "spyglass"
|
|
desc = "It's a hand-held telescope, useful for star-gazing, peeping, and recon."
|
|
icon_state = "spyglass"
|
|
slot_flags = SLOT_BELT
|
|
|
|
/obj/item/binoculars/scope
|
|
name = "rifle scope"
|
|
desc = "It's a rifle scope. Would be better if it were actually attached to a rifle."
|
|
icon_state = "rifle_scope"
|