mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #13576 from Cameron653/flashlight_runtimefix
Makes flashlights not runtime.
This commit is contained in:
@@ -126,7 +126,11 @@
|
|||||||
if(H.species.vision_organ)
|
if(H.species.vision_organ)
|
||||||
vision = H.internal_organs_by_name[H.species.vision_organ]
|
vision = H.internal_organs_by_name[H.species.vision_organ]
|
||||||
if(!vision)
|
if(!vision)
|
||||||
|
user.visible_message("<b>\The [user]</b> directs [src] at [M]'s face.", \
|
||||||
|
"<span class='notice'>You direct [src] at [M]'s face.</span>")
|
||||||
to_chat(user, "<span class='warning'>You can't find any [H.species.vision_organ ? H.species.vision_organ : "eyes"] on [H]!</span>")
|
to_chat(user, "<span class='warning'>You can't find any [H.species.vision_organ ? H.species.vision_organ : "eyes"] on [H]!</span>")
|
||||||
|
user.setClickCooldown(user.get_attack_speed(src))
|
||||||
|
return
|
||||||
|
|
||||||
user.visible_message("<b>\The [user]</b> directs [src] to [M]'s eyes.", \
|
user.visible_message("<b>\The [user]</b> directs [src] to [M]'s eyes.", \
|
||||||
"<span class='notice'>You direct [src] to [M]'s eyes.</span>")
|
"<span class='notice'>You direct [src] to [M]'s eyes.</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user