-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cult 2020 Rework #1: Seer #27950
Cult 2020 Rework #1: Seer #27950
Changes from 6 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1709,23 +1709,23 @@ var/list/blind_victims = list() | |
//RUNE XI | ||
/datum/rune_spell/blood_cult/seer | ||
name = "Seer" | ||
desc = "See the invisible, the dead, the concealed. If you give them a writing sheet, they may relay a message to you." | ||
desc_talisman = "For a few seconds, you may see the invisible, the dead, the concealed. If you give them a writing sheet, they may relay a message to you." | ||
desc = "See the invisible, the dead, the concealed, as well as the living's propension to serve our agenda." | ||
desc_talisman = "For a whole minute, you may see the invisible, the dead, the concealed, as well as the living's propension to serve our agenda." | ||
Act_restriction = CULT_ACT_I | ||
invocation = "Rash'tla sektath mal'zua. Zasan therium viortia." | ||
rune_flags = RUNE_STAND | ||
talisman_uses = 5 | ||
word1 = /datum/runeword/blood_cult/see | ||
word2 = /datum/runeword/blood_cult/hell | ||
word3 = /datum/runeword/blood_cult/join | ||
page = "This rune grants you the ability to see the invisible, including observers and concealed runes and structures. The talisman version has 5 uses, which grant you the ability for 8 seconds each. Remember that runes can still be activated while they are concealed! " | ||
page = "This rune grants you the ability to see the invisible, including observers and concealed runes and structures. The talisman version has 5 uses, which grant you the ability for an entire minute each, allowing you as well to see how likely each crew members are to accept conversion. Remember to activate the talisman where no one can hear you first. Remember also that runes can still be activated while they are concealed! " | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. entire seems extraneous There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Honestly this whole block of text is awkwardly phrased, with two remembers and separating the part about willingness, just rewrite it
|
||
cost_invoke = 5 | ||
var/obj/effect/cult_ritual/seer/seer_ritual = null | ||
var/talisman_duration = 80 //tenths of a second | ||
var/talisman_duration = 60 SECONDS | ||
|
||
/datum/rune_spell/blood_cult/seer/Destroy() | ||
destroying_self = 1 | ||
if (seer_ritual) | ||
if (seer_ritual && !seer_ritual.talisman) | ||
qdel(seer_ritual) | ||
seer_ritual = null | ||
..() | ||
|
@@ -1743,12 +1743,11 @@ var/list/blind_victims = list() | |
var/mob/living/M = activator | ||
M.see_invisible_override = SEE_INVISIBLE_OBSERVER | ||
M.apply_vision_overrides() | ||
to_chat(M, "<span class='notice'>As the talisman disappears into dust, you find yourself able to see through the gaps in the veil. You can see and interact with the other side, for a few seconds.</span>") | ||
to_chat(M, "<span class='notice'>As the talisman disappears into dust, you find yourself able to see through the gaps in the veil. You can see and interact with the other side for a minute, as well as see the living's likelyhood of accepting conversions.</span>") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. likelihood |
||
anim(target = M, a_icon = 'icons/effects/160x160.dmi', a_icon_state = "rune_seer", lay = ABOVE_OBJ_LAYER, offX = -WORLD_ICON_SIZE*2, offY = -WORLD_ICON_SIZE*2, plane = OBJ_PLANE, invis = INVISIBILITY_OBSERVER, alph = 200, sleeptime = talisman_duration) | ||
var/obj/effect/cult_ritual/seer/ritual = new (activator,activator,null,TRUE) | ||
spawn(talisman_duration) | ||
M.see_invisible_override = 0 | ||
M.apply_vision_overrides() | ||
to_chat(M, "<span class='notice'>You can no longer discern through the veil.</span>") | ||
qdel(ritual) | ||
qdel(src) | ||
|
||
/obj/effect/cult_ritual/seer | ||
|
@@ -1765,10 +1764,13 @@ var/list/blind_victims = list() | |
flags = PROXMOVE | ||
var/mob/living/caster = null | ||
var/datum/rune_spell/blood_cult/seer/source = null | ||
var/list/propension = list() | ||
var/talisman = FALSE | ||
|
||
|
||
/obj/effect/cult_ritual/seer/New(var/turf/loc, var/mob/living/user, var/datum/rune_spell/blood_cult/seer/runespell) | ||
/obj/effect/cult_ritual/seer/New(var/turf/loc, var/mob/living/user, var/datum/rune_spell/blood_cult/seer/runespell,var/talisman_ritual = FALSE) | ||
..() | ||
processing_objects.Add(src) | ||
talisman = talisman_ritual | ||
caster = user | ||
source = runespell | ||
if (!caster) | ||
|
@@ -1778,10 +1780,12 @@ var/list/blind_victims = list() | |
return | ||
caster.see_invisible_override = SEE_INVISIBLE_OBSERVER | ||
caster.apply_vision_overrides() | ||
to_chat(caster, "<span class='notice'>You find yourself able to see through the gaps in the veil. You can see and interact with the other side.</span>") | ||
to_chat(caster, "<span class='notice'>You find yourself able to see through the gaps in the veil. You can see and interact with the other side, and also find out the crew's propension to be successfully converted, whether they are <b><font color='green'>Willing</font></b>, <b><font color='orange'>Uncertain</font></b>, or <b><font color='red'>Unconvertible</font></b>.</span>") | ||
Kurfursten marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
/obj/effect/cult_ritual/seer/Destroy() | ||
processing_objects.Remove(src) | ||
if (caster) | ||
caster.client.images -= propension | ||
caster.see_invisible_override = 0 | ||
caster.apply_vision_overrides() | ||
to_chat(caster, "<span class='notice'>You can no longer discern through the veil.</span>") | ||
|
@@ -1792,8 +1796,20 @@ var/list/blind_victims = list() | |
..() | ||
|
||
/obj/effect/cult_ritual/seer/HasProximity(var/atom/movable/AM) | ||
if (!caster || caster.loc != loc) | ||
qdel(src) | ||
if (!talisman) | ||
if (!caster || caster.loc != loc) | ||
qdel(src) | ||
|
||
/obj/effect/cult_ritual/seer/process() | ||
if (caster && caster.client) | ||
caster.client.images -= propension | ||
propension.len = 0 | ||
|
||
for(var/mob/living/carbon/C in dview(world.view, get_turf(src), INVISIBILITY_MAXIMUM)) | ||
C.update_convertibility() | ||
propension += C.hud_list[CONVERSION_HUD] | ||
|
||
caster.client.images += propension | ||
|
||
|
||
//RUNE XII | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1217,6 +1217,24 @@ client/proc/check_convertables() | |
|
||
to_chat(usr, dat) | ||
|
||
|
||
client/proc/toggle_convertibles() | ||
set name = "Toggle Convertibles HUD (Cult 3.0+)" | ||
set category = "Debug" | ||
set desc = "Displays a marker over crew members showing their propension to get converted." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. propensity really is more common in English, propension is archaic |
||
|
||
var/mob/dead/observer/adminmob = mob | ||
if (!isobserver(adminmob)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure about no adminghost check, do we really want to make it publicly visible everyone's antag prefs at all times? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The verb only appears in the Debug tab and is only given to admins with +DEBUG. Are there exploits that let non-admins use it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's good to have sanity but if people have a way to call adminverbs we have a bigger issue than this I suppose, since a lot of oldcode stuff has no sanity |
||
alert("Only observers can use this functionality") | ||
return | ||
|
||
if(adminmob.conversionHUD) | ||
adminmob.conversionHUD = 0 | ||
to_chat(src, "<span class='notice'><B>conversionHUD Disabled</B></span>") | ||
else | ||
adminmob.conversionHUD = 1 | ||
to_chat(src, "<span class='notice'><B>conversionHUD Enabled</B></span>") | ||
|
||
/client/proc/spawn_datum(var/object as text) | ||
set category = "Debug" | ||
set desc = "(datum path) Spawn a datum (turfs NOT supported)" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"and the propensity of the living to serve our agenda" is more natural language