Files
Aurora.3/code/game/objects/items/devices/binoculars.dm
T
Wowzewow (Wezzy)andGitHub e7232d04fc The Great Device Resprite and Contained Sprite-ening (#20344)
Don't let the large file size scare you, it's just mostly splitting
stuff into contained sprites and putting them in the correct place.

Anyway, resprites most non-resprited devices in devices.dmi, and puts
them in contained sprites.
Also puts any related /obj/item/device into contained sprites too.
That's basically the long and short of it.
2025-01-24 12:16:30 +00:00

27 lines
670 B
Plaintext

/obj/item/device/binoculars
name = "binoculars"
desc = "A pair of binoculars."
icon = 'icons/obj/item/device/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 = 14
var/viewsize = 7
/obj/item/device/binoculars/attack_self(mob/user)
zoom(user,tileoffset,viewsize, show_zoom_message = FALSE)
/obj/item/device/binoculars/high_power
name = "high power binoculars"
desc = "A pair of high power binoculars."
icon_state = "binoculars_high"
tileoffset = 14*3