Unholy water code

How, what and why to code in BYOND.
Post Reply
qwert
Joined: Tue Oct 21, 2014 2:24 pm
Byond Username: Ohlos

Unholy water code

Post by qwert » #92455

How does it heal cultists/ rek non cultists codewise? Is it possible to change the antag type for this to make witch purging chem?
User avatar
Scones
Joined: Mon Nov 10, 2014 2:46 am
Byond Username: Scones
Location: cooler than thou

Re: Unholy water code

Post by Scones » #92458

Code: Select all

if(iscultist(M))
Yes - It checks if the mind of the mob is a cultist, and has different effects depending on this being true or false.

Here's all the Unholy Water code, if you were interested.

Source: https://github.com/tgstation/-tg-statio ... eagents.dm
Spoiler:

Code: Select all

datum/reagent/fuel/unholywater		//if you somehow managed to extract this from someone, dont splash it on yourself and have a smoke
	name = "Unholy Water"
	id = "unholywater"
	description = "Something that shouldn't exist on this plane of existance."
datum/reagent/fuel/unholywater/on_mob_life(var/mob/living/M as mob)
	M.adjustBrainLoss(3)
	if(iscultist(M))
		M.status_flags |= GOTTAGOFAST
		M.drowsyness = max(M.drowsyness-5, 0)
		M.AdjustParalysis(-2)
		M.AdjustStunned(-2)
		M.AdjustWeakened(-2)
	else
		M.adjustToxLoss(2)
		M.adjustFireLoss(2)
		M.adjustOxyLoss(2)
		M.adjustBruteLoss(2)
	holder.remove_reagent(src.id, 1)
plplplplp WOOOOooo hahahhaha
User avatar
Xhuis
Github User
Joined: Mon May 26, 2014 1:04 pm
Byond Username: Xhuis
Github Username: Xhuis
Location: North Carolina

Re: Unholy water code

Post by Xhuis » #92462

I still don't understand why cultists take brain damage. It impedes their invoking of runes which severely cripples the cultist.
I'm an ex-coder for /tg/. I made the original versions of clockcult, shadowlings, revenants, His Grace, and other stuff.
I don't play, code, or participate in the community, but I occasionally post dumb stuff in the hut.
Kraso wrote:hi gay
wubli wrote:xhuis you said you were feeling better but every thread you make makes me worry more about your sanity
ExcessiveUseOfCobblestone wrote:Sorry I was making fun of xhuis' """""compromise""""" who insisted that was the correct term to use.
CitrusGender wrote:We've ended up disabling clockcult on sybil and bagil now (terry is having some problems.) We will give Xhuis some time until he wishes to work upon it again. As of now, please use this thread for ideas and not for bickering.
wubli wrote:you are a cultist of the gay
IkeTG wrote:It's a reflection of humanity, like all of man's creation. You cannot divorce this act from yourself, in a way there's a big titty moth inside all of us.
wesoda25 wrote:yeah no one was curious what it was from. Imagine choosing being a degenerate as your forum gimmick, LOL
User avatar
Scones
Joined: Mon Nov 10, 2014 2:46 am
Byond Username: Scones
Location: cooler than thou

Re: Unholy water code

Post by Scones » #92465

Xhuis wrote:I still don't understand why cultists take brain damage. It impedes their invoking of runes which severely cripples the cultist.
That reminds me - I only now noticed that Hell Water causes brain and toxin damage, as well as the obvious fire.
plplplplp WOOOOooo hahahhaha
Malkevin

Re: Unholy water code

Post by Malkevin » #92770

Hell water is a "You're fucked, enjoy the ride" chem, as its a punishment for trying to summon narsie at the wrong time or gibbing ian.

"I still don't understand why cultists take brain damage. It impedes their invoking of runes which severely cripples the cultist."
Look at the code, then ask that question again.

Its a trade off to stop people juicing up on unholy water, the reason for the buffs is to give cultists a fighting chance when they get rescued.
Alternatively, if time is on your side, you can wait out the chemical to decult them, then you can you can just reconvert them straight away as the holy water is purged from their system.
Post Reply

Who is online

Users browsing this forum: No registered users