mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
Crazy lemon comments.
This commit is contained in:
@@ -331,9 +331,6 @@
|
||||
if(confused)
|
||||
AdjustConfused(-1)
|
||||
|
||||
if(cultslurring)
|
||||
cultslurring = max(cultslurring-1, 0)
|
||||
|
||||
//Jitteryness
|
||||
if(jitteriness)
|
||||
do_jitter_animation(jitteriness)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -171,6 +171,14 @@
|
||||
/mob/proc/AdjustSlur()
|
||||
return
|
||||
|
||||
/mob/proc/CultSlur()
|
||||
return
|
||||
|
||||
/mob/proc/SetCultSlur()
|
||||
return
|
||||
|
||||
/mob/proc/AdjustCultSlur()
|
||||
return
|
||||
|
||||
/mob/proc/Stun()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user