module things, jfc
This commit is contained in:
@@ -237,9 +237,9 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th
|
||||
switch(invocation_type)
|
||||
if("shout")
|
||||
if(prob(50))//Auto-mute? Fuck that noise
|
||||
user.say(invocation)
|
||||
user.say(invocation, forced = "spell")
|
||||
else
|
||||
user.say(replacetext(invocation," ","`"))
|
||||
user.say(replacetext(invocation," ","`"), forced = "spell")
|
||||
if("whisper")
|
||||
if(prob(50))
|
||||
user.whisper(invocation)
|
||||
@@ -289,7 +289,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th
|
||||
before_cast(targets)
|
||||
invocation(user)
|
||||
if(user && user.ckey)
|
||||
user.log_message("<span class='danger'>cast the spell [name].</span>", INDIVIDUAL_ATTACK_LOG)
|
||||
user.log_message("<span class='danger'>cast the spell [name].</span>", LOG_ATTACK)
|
||||
if(recharge)
|
||||
recharging = TRUE
|
||||
if(sound)
|
||||
|
||||
@@ -77,12 +77,12 @@
|
||||
else
|
||||
switch(invocation_type)
|
||||
if("shout")
|
||||
user.say("[invocation] [uppertext(chosenarea.name)]")
|
||||
user.say("[invocation] [uppertext(chosenarea.name)]", forced = "spell")
|
||||
if(user.gender==MALE)
|
||||
playsound(user.loc, pick('sound/misc/null.ogg','sound/misc/null.ogg'), 100, 1)
|
||||
else
|
||||
playsound(user.loc, pick('sound/misc/null.ogg','sound/misc/null.ogg'), 100, 1)
|
||||
if("whisper")
|
||||
user.whisper("[invocation] [uppertext(chosenarea.name)]")
|
||||
user.whisper("[invocation] [uppertext(chosenarea.name)]", forced = "spell")
|
||||
|
||||
return
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
/obj/effect/proc_holder/spell/aoe_turf/conjure/soulstone
|
||||
name = "Summon Soulstone"
|
||||
desc = "This spell reaches into Nar-Sie's realm, summoning one of the legendary fragments across time and space."
|
||||
desc = "This spell reaches into Nar'Sie's realm, summoning one of the legendary fragments across time and space."
|
||||
|
||||
school = "conjuration"
|
||||
charge_max = 2400
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/dominate
|
||||
name = "Dominate"
|
||||
desc = "This spell dominates the mind of a lesser creature to the will of Nar'sie, allying it only to her direct followers."
|
||||
desc = "This spell dominates the mind of a lesser creature to the will of Nar'Sie, allying it only to her direct followers."
|
||||
|
||||
charge_max = 600
|
||||
range = 7
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
..()
|
||||
|
||||
/obj/item/melee/touch_attack/afterattack(atom/target, mob/user, proximity)
|
||||
user.say(catchphrase)
|
||||
. = ..()
|
||||
user.say(catchphrase, forced = "spell")
|
||||
playsound(get_turf(user), on_use_sound,50,1)
|
||||
charges--
|
||||
if(charges <= 0)
|
||||
@@ -63,10 +64,9 @@
|
||||
var/obj/item/bodypart/part = user.get_holding_bodypart_of_item(src)
|
||||
if(part)
|
||||
part.dismember()
|
||||
..()
|
||||
return
|
||||
return ..()
|
||||
M.gib()
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/item/melee/touch_attack/fleshtostone
|
||||
name = "\improper petrifying touch"
|
||||
@@ -93,4 +93,4 @@
|
||||
return
|
||||
M.Stun(40)
|
||||
M.petrify()
|
||||
..()
|
||||
return ..()
|
||||
|
||||
@@ -96,7 +96,7 @@ GLOBAL_VAR_INIT(summon_magic_triggered, FALSE)
|
||||
SSticker.mode.traitors += H.mind
|
||||
|
||||
H.mind.add_antag_datum(/datum/antagonist/survivalist/guns)
|
||||
H.log_message("<font color='red'>Was made into a survivalist, and trusts no one!</font>", INDIVIDUAL_ATTACK_LOG)
|
||||
H.log_message("was made into a survivalist, and trusts no one!", LOG_ATTACK, color="red")
|
||||
|
||||
var/gun_type = pick(GLOB.summoned_guns)
|
||||
var/obj/item/gun/G = new gun_type(get_turf(H))
|
||||
@@ -116,7 +116,7 @@ GLOBAL_VAR_INIT(summon_magic_triggered, FALSE)
|
||||
|
||||
if(prob(GLOB.summon_magic_triggered) && !(H.mind.has_antag_datum(/datum/antagonist)))
|
||||
H.mind.add_antag_datum(/datum/antagonist/survivalist/magic)
|
||||
H.log_message("<font color='red'>Was made into a survivalist, and trusts no one!</font>", INDIVIDUAL_ATTACK_LOG)
|
||||
H.log_message("was made into a survivalist, and trusts no one!</font>", LOG_ATTACK, color="red")
|
||||
|
||||
var/magic_type = pick(GLOB.summoned_magic)
|
||||
var/lucky = FALSE
|
||||
|
||||
@@ -81,8 +81,7 @@
|
||||
|
||||
/obj/effect/cross_action/spacetime_dist/Initialize(mapload)
|
||||
. = ..()
|
||||
sound = "sound/guitar/[safepick(GLOB.guitar_notes)]"
|
||||
dir = pick(GLOB.cardinals)
|
||||
setDir(pick(GLOB.cardinals))
|
||||
|
||||
/obj/effect/cross_action/spacetime_dist/proc/walk_link(atom/movable/AM)
|
||||
if(ismob(AM))
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
var/obj/item/organ/organ = item_to_retrieve
|
||||
if(organ.owner)
|
||||
// If this code ever runs I will be happy
|
||||
add_logs(L, organ.owner, "magically removed [organ.name] from", addition="INTENT: [uppertext(L.a_intent)]")
|
||||
log_combat(L, organ.owner, "magically removed [organ.name] from", addition="INTENT: [uppertext(L.a_intent)]")
|
||||
organ.Remove(organ.owner)
|
||||
else
|
||||
while(!isturf(item_to_retrieve.loc) && infinite_recursion < 10) //if it's in something you get the whole thing.
|
||||
|
||||
@@ -374,4 +374,4 @@
|
||||
. = ..()
|
||||
if(ishuman(thrower))
|
||||
var/mob/living/carbon/human/H = thrower
|
||||
H.say("LIGHTNINGBOLT!!")
|
||||
H.say("LIGHTNINGBOLT!!", forced = "spell")
|
||||
|
||||
Reference in New Issue
Block a user