Ports Vampire to role_datums. (#17937)

* Ports Vampire to role_datums.

* Spells

* Spells r dum

* A lot of stuff

* tgstat

* I dun get it

* to_chat(world) madness

* Stash

* Fixes a few things

* Enthrall, more fixes

* Changes

* (Almost) all spells !

* Almost done

* Final touch.

* Cleaning up review comments, real objectives.

* What a dummy.

* Adds ling intro sound, adds gamemode orphaned role process handling, adds role process handling to factions. Changeling the changeling HUD to show how much genetic damage you have sustained, changes the changeling greeting. (#17713)

* [Cult 3.0] mostly Cult Altar related stuff (#17723)

* cultaltar

* cultaltar 2

* cultaltar 3

* cultaltar 4

* Adds rev to role datums (#17873)

* Ports Vampire to role_datums.

* Spells

* Spells r dum

* A lot of stuff

* tgstat

* Role datums tator, double agents, and nuclear operatives (#17935)

* It's not calling things on members for some reason.

* there's probably a to_chat(world in here somewhere

* double agents

* nuke ops tomorrow. Tonight we gondola

* nuke ops bois

* Almost forgot the objective

* I dun get it

* to_chat(world) madness

* Stash

* Fixes a few things

* Enthrall, more fixes

* Changes

* (Almost) all spells !

* Almost done

* Final touch.

* Cleaning up review comments, real objectives.

* What a dummy.

* Haha

* Update acquire_blood.dm

* Change the orders of things

* Redundant

* I can't believe I didnd't fix that sooner

It's probably because I'm retarded lmao
This commit is contained in:
ShiftyRail
2018-05-11 07:18:35 +02:00
committed by MadmanMartian
parent e48a07d23b
commit 42433ee4d3
30 changed files with 704 additions and 152 deletions

View File

@@ -23,13 +23,15 @@
var/blood_cost = 10
/spell/targeted/hypnotise/cast_check(skipcharge = 0,mob/user = usr)
if (!user.vampire_power(blood_cost, 0))
/spell/targeted/hypnotise/cast_check(skipcharge = 0, mob/user = usr)
. = ..()
if (!.) // No need to go further.
return FALSE
if (istype(user.get_item_by_slot(slot_glasses), /obj/item/clothing/glasses/sunglasses/blindfold))
to_chat(user, "<span class='warning'>You're blindfolded!</span>")
return FALSE
return ..()
if (!user.vampire_power(blood_cost, CONSCIOUS))
return FALSE
/spell/targeted/hypnotise/is_valid_target(var/target, var/mob/user, var/list/options)
if (!ismob(target))
@@ -54,4 +56,9 @@
to_chat(C, "<span class='sinister'>You find yourself unable to move and barely able to speak.</span>")
apply_spell_damage(target)
else
to_chat(user, "<span class='warning'>You broke your gaze.</span>")
to_chat(user, "<span class='warning'>You broke your gaze.</span>")
return FALSE
var/datum/role/vampire/V = isvampire(user)
if (!V)
return FALSE
V.remove_blood(blood_cost)