mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-06-29 09:13:48 +01:00
675f43a01e
This commit adds a number of new hallucinations and increases the
modularness of the hallucination system. Included hallucinations:
- Alien Hunter
- Alien hunter comes out of the nearest vent, leaps and stuns you, then
crawls back into the vent.
- Plasma flood
- Singularity
- Stage 4 singularity appears and chases you.
- Fight sounds
- Series of sounds that sound like a fight.
- Clown-visions
- Delusion, which makes an image of a mob standing still.
- Fake bolted doors
- A number of doors will appear to become bolted, via overlay.
- Fake speech/radio messages.
- This makes it appear as if someone has said something, either via
speech or radio, using one language from their avalible languages.
Radio messages will only happen if there are no people in view to say
something.
53 lines
2.4 KiB
Plaintext
53 lines
2.4 KiB
Plaintext
/mob/living
|
|
see_invisible = SEE_INVISIBLE_LIVING
|
|
|
|
//Health and life related vars
|
|
var/maxHealth = 100 //Maximum health that should be possible.
|
|
var/health = 100 //A mob's health
|
|
|
|
var/hud_updateflag = 0
|
|
|
|
//Damage related vars, NOTE: THESE SHOULD ONLY BE MODIFIED BY PROCS
|
|
var/bruteloss = 0.0 //Brutal damage caused by brute force (punching, being clubbed by a toolbox ect... this also accounts for pressure damage)
|
|
var/oxyloss = 0.0 //Oxygen depravation damage (no air in lungs)
|
|
var/toxloss = 0.0 //Toxic damage caused by being poisoned or radiated
|
|
var/fireloss = 0.0 //Burn damage caused by being way too hot, too cold or burnt.
|
|
var/cloneloss = 0 //Damage caused by being cloned or ejected from the cloner early. slimes also deal cloneloss damage to victims
|
|
var/brainloss = 0 //'Retardation' damage caused by someone hitting you in the head with a bible or being infected with brainrot.
|
|
var/halloss = 0 //Hallucination damage; utilize this largely for fake "pain" based damage. Sleeping should cause it to wear of
|
|
var/staminaloss = 0 //Stamina damage, or exhaustion. You recover it slowly naturally, and are stunned if it gets too high. Holodeck and hallucinations deal this.
|
|
|
|
var/hallucination = 0 //Directly affects how long a mob will hallucinate for
|
|
|
|
|
|
var/last_special = 0 //Used by the resist verb, likely used to prevent players from bypassing next_move by logging in/out.
|
|
|
|
//Allows mobs to move through dense areas without restriction. For instance, in space or out of holder objects.
|
|
var/incorporeal_move = 0 //0 is off, 1 is normal, 2 is for ninjas.
|
|
|
|
var/t_plasma = null
|
|
var/t_oxygen = null
|
|
var/t_sl_gas = null
|
|
var/t_n2 = null
|
|
|
|
var/now_pushing = null
|
|
|
|
var/cameraFollow = null
|
|
|
|
var/tod = null // Time of death
|
|
|
|
var/on_fire = 0 //The "Are we on fire?" var
|
|
var/fire_stacks = 0 //Tracks how many stacks of fire we have on, max is usually 20
|
|
|
|
var/update_slimes = 1
|
|
var/specialsauce = 0 //Has this person consumed enough special sauce? IF so they're a ticking time bomb of death.
|
|
var/implanting = 0 //Used for the mind-slave implant
|
|
var/silent = null //Can't talk. Value goes down every life proc.
|
|
var/floating = 0
|
|
var/nightvision = 0
|
|
|
|
var/ventcrawler = 0 //0 No vent crawling, 1 vent crawling in the nude, 2 vent crawling always
|
|
var/list/icon/pipes_shown = list()
|
|
var/last_played_vent
|
|
|
|
var/list/datum/action/actions = list() |