Crazy lemon comments.

This commit is contained in:
Aurorablade
2016-11-22 02:22:39 -05:00
parent 0c637cebfa
commit 21781d7be8
13 changed files with 90 additions and 64 deletions
-3
View File
@@ -331,9 +331,6 @@
if(confused)
AdjustConfused(-1)
if(cultslurring)
cultslurring = max(cultslurring-1, 0)
//Jitteryness
if(jitteriness)
do_jitter_animation(jitteriness)
+6
View File
@@ -113,6 +113,7 @@
handle_sleeping()
handle_slowed()
handle_drunk()
handle_cultslurring()
/mob/living/proc/handle_stunned()
@@ -149,6 +150,11 @@
AdjustSlur(-1)
return slurring
/mob/living/proc/handle_cultslurring()
if(cultslurring)
AdjustCultSlur(-1)
return cultslurring
/mob/living/proc/handle_paralysed()
if(paralysis)
AdjustParalysis(-1, updating = 1, force = 1)
+15
View File
@@ -67,6 +67,8 @@
Your character moves slower.
* Slurring *
Your character cannot enunciate clearly.
* CultSlurring *
Your character cannot enunciate clearly while mumbling about elder codes.
* Stunned *
Your character is unable to move, and drops stuff in their hands. They keep standing, though.
* Stuttering *
@@ -108,6 +110,7 @@
/mob // On `/mob` for now, to support legacy code
var/confused = 0
var/cultslurring = 0
var/dizziness = 0
var/drowsyness = 0
var/druggy = 0
@@ -377,6 +380,18 @@
// SLURRING
/mob/living/Slur(amount)
SetSlur(max(slurring, amount))
/mob/living/SetSlur(amount)
slurring = max(amount, 0)
/mob/living/AdjustSlur(amount, bound_lower = 0, bound_upper = INFINITY)
var/new_value = directional_bounded_sum(slurring, amount, bound_lower, bound_upper)
SetSlur(new_value)
// CULTSLURRING
/mob/living/Slur(amount)
SetSlur(max(slurring, amount))
-1
View File
@@ -107,7 +107,6 @@
var/datum/dna/dna = null//Carbon
var/radiation = 0 //Carbon
var/cultslurring = 0
var/list/mutations = list() //Carbon -- Doohl
//see: setup.dm for list of mutations
+8
View File
@@ -171,6 +171,14 @@
/mob/proc/AdjustSlur()
return
/mob/proc/CultSlur()
return
/mob/proc/SetCultSlur()
return
/mob/proc/AdjustCultSlur()
return
/mob/proc/Stun()
return