mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 07:08:22 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user