cult IPCs refactor (#4734)

Thread for discussion

This:

Makes IPC being convertable to cult

Does not allow IPC to draw runes, as they have no blood

Makes all cultists immune to cult's EMP. This way cultist IPCs and organics with prosthetic won't be killed in friendly fire.

Removes heat generation from EMP rune
This commit is contained in:
Mykhailo Bykhovtsev
2018-06-16 16:58:22 +03:00
committed by Erki
parent d44ff1363b
commit 943ddded2b
4 changed files with 19 additions and 14 deletions
-10
View File
@@ -35,16 +35,6 @@ var/datum/antagonist/cultist/cult
faction = "cult"
restricted_species = list(
"Baseline Frame",
"Shell Frame",
"Hephaestus G1 Industrial Frame",
"Hephaestus G2 Industrial Frame",
"Xion Industrial Frame",
"Zeng-Hu Mobility Frame",
"Bishop Accessory Frame"
)
var/allow_narsie = 1
var/datum/mind/sacrifice_target
var/list/allwords = list("travel","self","see","hell","blood","join","tech","destroy", "other", "hide")
+3
View File
@@ -349,6 +349,9 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
return
user << browse("[tomedat]", "window=Arcane Tome")
return
if(isipc(user))
user << "<span class='notice'>You cannot draw runes, as you have no blood.</span>"
return
if(user.get_active_hand() != src)
return
+8 -4
View File
@@ -4,7 +4,6 @@ var/list/sacrificed = list()
return
/obj/effect/rune
/*
* Use as a general guideline for this and related files:
* * <span class='warning'>...</span> - when something non-trivial or an error happens, so something similar to "Sparks come out of the machine!"
@@ -257,10 +256,15 @@ var/list/sacrificed = list()
user.whisper("Ta'gh fara[pick("'","`")]qha fel d'amar det!")
playsound(U, 'sound/magic/Disable_Tech.ogg', 25, 1)
var/turf/T = get_turf(U)
if(T)
T.hotspot_expose(700,125)
var/rune = src // detaching the proc - in theory
empulse(U, (range_red - 2), range_red)
var/list/ex = list(user) // exclude caster
for(var/mob/M in range(range_red, T))
if(iscultist(M))
ex += M
else
continue
empulse(T, range_red - 2, range_red, exclude = ex)
qdel(rune)
return
@@ -0,0 +1,8 @@
author: PoZe
delete-after: True
changes:
- tweak: "IPCs can not be convertable to cult."
- balance: "IPCs can no longer draw runes, since they have no blood. They still can use talismans"
- tweak: "Cultist IPCs are immune to cultist EMP from runes or talismans."