Skip to content

Commit

Permalink
Change sprites of photo, flashlight and megaphone (#563)
Browse files Browse the repository at this point in the history
* Change sprites foto+flashlight+megaphone

* Update photography.dm

Signed-off-by: Kirill <[email protected]>

---------

Signed-off-by: Kirill <[email protected]>
  • Loading branch information
Tatarla authored Oct 18, 2024
1 parent 0dbfe99 commit 8de41be
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion code/game/objects/items/flashlight.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@
. = ..()
if(light_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/flashlight/attack_self(mob/user)
Expand Down Expand Up @@ -200,10 +203,10 @@
/obj/item/flashlight/lantern
name = "lantern"
icon_state = "lantern"
item_state = "lantern"
desc = "A mining lantern."
light_range = 6 // luminosity when on
raillight_compatible = FALSE

/obj/item/flashlight/lantern/turned_on
icon_state = "lantern-on"
light_on = TRUE
2 changes: 1 addition & 1 deletion code/game/objects/items/megaphone.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
slot_l_hand_str = 'icons/mob/inhands/equipment/tools_left.dmi',
slot_r_hand_str = 'icons/mob/inhands/equipment/tools_right.dmi',
)
item_state = "radio"
item_state = "megaphone"
w_class = WEIGHT_CLASS_SMALL
flags_atom = CONDUCT
var/spamcheck = 0
Expand Down
Binary file modified icons/mob/inhands/equipment/lights_left.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/equipment/lights_right.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/equipment/tools_left.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/equipment/tools_right.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/items/civilian_left.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/items/civilian_right.dmi
Binary file not shown.
Binary file modified icons/obj/lighting.dmi
Binary file not shown.

0 comments on commit 8de41be

Please sign in to comment.