mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Fix mouse behaviour
This commit is contained in:
@@ -49,18 +49,15 @@
|
||||
for(var/mob/M in view())
|
||||
M << 'sound/effects/mousesqueek.ogg'
|
||||
|
||||
if(!ckey && stat == CONSCIOUS && prob(0.5))
|
||||
stat = UNCONSCIOUS
|
||||
icon_state = "mouse_[body_color]_sleep"
|
||||
wander = 0
|
||||
if(!resting && prob(0.5))
|
||||
lay_down()
|
||||
speak_chance = 0
|
||||
//snuffles
|
||||
|
||||
else if(stat == UNCONSCIOUS)
|
||||
if(ckey || prob(1))
|
||||
stat = CONSCIOUS
|
||||
icon_state = "mouse_[body_color]"
|
||||
wander = 1
|
||||
else if(resting)
|
||||
if(prob(1))
|
||||
lay_down()
|
||||
speak_chance = initial(speak_chance)
|
||||
else if(prob(5))
|
||||
audible_emote("snuffles.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user