Skip to content

Commit

Permalink
Port
Browse files Browse the repository at this point in the history
Adds  LC4492's flashlight inhands
  • Loading branch information
AmoryBlaine committed Sep 1, 2024
1 parent aa27cc6 commit 96f604f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/objects/items/devices/flashlight.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
flags_equip_slot = SLOT_WAIST

matter = list("metal" = 50,"glass" = 20)

light_color = "#dae2ff"
light_range = 5
light_power = 1
ground_offset_x = 2
Expand All @@ -32,8 +32,10 @@
. = ..()
if(on)
icon_state = "[initial(icon_state)]-on"
item_state = "[initial(item_state)]-on"
else
icon_state = initial(icon_state)
item_state = initial(item_state)

/obj/item/device/flashlight/animation_spin(speed = 5, loop_amount = -1, clockwise = TRUE, sections = 3, angular_offset = 0, pixel_fuzz = 0)
clockwise = pick(TRUE, FALSE)
Expand Down
Binary file modified icons/mob/humans/onmob/items_lefthand_0.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/items_righthand_0.dmi
Binary file not shown.

0 comments on commit 96f604f

Please sign in to comment.