Drug Expansion (#8575)

* adds drugs and means to make them

* nutmeg sprite and hallucination changes

* adjustments + sounds courtesy of serithi

* nit nack paddy wack
This commit is contained in:
Sypsoti
2022-04-29 16:24:16 -08:00
committed by GitHub
parent 60c189933a
commit 661b83e61d
21 changed files with 558 additions and 357 deletions
+2 -5
View File
@@ -1066,10 +1066,7 @@
if(hallucination)
if(hallucination >= 20 && !(species.flags & (NO_POISON|IS_PLANT|NO_HALLUCINATION)) )
if(prob(3))
fake_attack(src)
if(!handling_hal)
spawn handle_hallucinations() //The not boring kind!
handle_hallucinations()
if(client && prob(5))
client.dir = pick(2,4,8)
spawn(rand(20,50))
@@ -1107,7 +1104,7 @@
if(client || sleeping > 3)
AdjustSleeping(-1)
throw_alert("asleep", /obj/screen/alert/asleep)
if( prob(2) && health && !hal_crit && client )
if( prob(2) && health && client )
spawn(0)
emote("snore")
//CONSCIOUS
+1 -1
View File
@@ -22,7 +22,7 @@
var/max_nutrition = MAX_NUTRITION
var/hallucination = 0 //Directly affects how long a mob will hallucinate for
var/list/atom/hallucinations = list() //A list of hallucinated people that try to attack the mob. See /obj/effect/fake_attacker in hallucinations.dm
var/list/atom/hallucinations = list() //A list of hallucinated people. See hallucinations.dm
var/last_special = 0 //Used by the resist verb, likely used to prevent players from bypassing next_move by logging in/out.
var/base_attack_cooldown = DEFAULT_ATTACK_COOLDOWN