mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Merge pull request #796 from TheDZD/shadowling
Port of /tg/station's Shadowlings [WIP]
This commit is contained in:
@@ -62,7 +62,8 @@ var/global/list/blocked_mobs = list(/mob/living/simple_animal/hostile,
|
||||
/mob/living/simple_animal/hostile/carp/holocarp,
|
||||
/mob/living/simple_animal/hostile/mining_drone,
|
||||
/mob/living/simple_animal/hostile/spaceWorm,
|
||||
/mob/living/simple_animal/hostile/spaceWorm/wormHead
|
||||
/mob/living/simple_animal/hostile/spaceWorm/wormHead,
|
||||
/mob/living/simple_animal/ascendant_shadowling
|
||||
)
|
||||
|
||||
//Preferences stuff
|
||||
|
||||
+71
-1
@@ -312,6 +312,25 @@ datum/mind
|
||||
|
||||
sections["traitor"] = text
|
||||
|
||||
/** SHADOWLING **/
|
||||
text = "shadowling"
|
||||
if(ticker.mode.config_tag == "shadowling")
|
||||
text = uppertext(text)
|
||||
text = "<i><b>[text]</b></i>: "
|
||||
if(src in ticker.mode.shadows)
|
||||
text += "<b>SHADOWLING</b>|thrall|<a href='?src=\ref[src];shadowling=clear'>human</a>"
|
||||
else if(src in ticker.mode.shadowling_thralls)
|
||||
text += "Shadowling|<b>THRALL</b>|<a href='?src=\ref[src];shadowling=clear'>human</a>"
|
||||
else
|
||||
text += "<a href='?src=\ref[src];shadowling=shadowling'>shadowling</a>|<a href='?src=\ref[src];shadowling=thrall'>thrall</a>|<b>HUMAN</b>"
|
||||
|
||||
if(current && current.client && current.client.prefs.be_special & BE_SHADOWLING)
|
||||
text += "|Enabled in Prefs"
|
||||
else
|
||||
text += "|Disabled in Prefs"
|
||||
|
||||
sections["shadowling"] = text
|
||||
|
||||
/** MONKEY ***/
|
||||
if (istype(current, /mob/living/carbon))
|
||||
text = "monkey"
|
||||
@@ -943,9 +962,60 @@ datum/mind
|
||||
ticker.mode.forge_traitor_objectives(src)
|
||||
usr << "\blue The objectives for traitor [key] have been generated. You can edit them and anounce manually."
|
||||
|
||||
else if(href_list["shadowling"])
|
||||
switch(href_list["shadowling"])
|
||||
if("clear")
|
||||
ticker.mode.update_shadow_icons_removed(src)
|
||||
current.spell_list.Cut()
|
||||
if(src in ticker.mode.shadows)
|
||||
ticker.mode.shadows -= src
|
||||
special_role = null
|
||||
current << "<span class='userdanger'>Your powers have been quenched! You are no longer a shadowling!</span>"
|
||||
current.spell_list.Cut()
|
||||
message_admins("[key_name_admin(usr)] has de-shadowling'ed [current].")
|
||||
log_admin("[key_name(usr)] has de-shadowling'ed [current].")
|
||||
current.verbs -= /mob/living/carbon/human/proc/shadowling_hatch
|
||||
current.verbs -= /mob/living/carbon/human/proc/shadowling_ascendance
|
||||
if(current.languages)
|
||||
for(var/datum/language/L in current.languages)
|
||||
if(L.name == "Shadowling Hivemind")
|
||||
del(L)
|
||||
else if(src in ticker.mode.shadowling_thralls)
|
||||
ticker.mode.shadowling_thralls -= src
|
||||
special_role = null
|
||||
if(current.languages)
|
||||
for(var/datum/language/L in current.languages)
|
||||
if(L.name == "Shadowling Hivemind")
|
||||
del(L)
|
||||
current << "<span class='userdanger'>You have been brainwashed! You are no longer a thrall!</span>"
|
||||
message_admins("[key_name_admin(usr)] has de-thrall'ed [current].")
|
||||
log_admin("[key_name(usr)] has de-thrall'ed [current].")
|
||||
if("shadowling")
|
||||
if(!ishuman(current))
|
||||
usr << "<span class='warning'>This only works on humans!</span>"
|
||||
return
|
||||
ticker.mode.shadows += src
|
||||
special_role = "shadowling"
|
||||
current << "<span class='deadsay'><b>You notice a brightening around you. No, it isn't that. The shadows grow, darken, swirl. The darkness has a new welcome for you, and you realize with a \
|
||||
start that you can't be human. No, you are a shadowling, a harbringer of the shadows! Your alien abilities have been unlocked from within, and you may both commune with your allies and use \
|
||||
a chrysalis to reveal your true form. You are to ascend at all costs.</b></span>"
|
||||
ticker.mode.finalize_shadowling(src)
|
||||
ticker.mode.update_shadow_icons_added(src)
|
||||
if("thrall")
|
||||
if(!ishuman(current))
|
||||
usr << "<span class='warning'>This only works on humans!</span>"
|
||||
return
|
||||
ticker.mode.add_thrall(src)
|
||||
special_role = "thrall"
|
||||
current << "<span class='deadsay'>All at once it becomes clear to you. Where others see darkness, you see an ally. You realize that the shadows are not dead and dark as one would think, but \
|
||||
living, and breathing, and <b>eating</b>. Their children, the Shadowlings, are to be obeyed and protected at all costs.</span>"
|
||||
current << "<span class='danger'>You may use the Hivemind Commune ability to communicate with your fellow enlightened ones.</span>"
|
||||
message_admins("[key_name_admin(usr)] has thrall'ed [current].")
|
||||
log_admin("[key_name(usr)] has thrall'ed [current].")
|
||||
|
||||
else if (href_list["monkey"])
|
||||
var/mob/living/L = current
|
||||
if (L.monkeyizing)
|
||||
if (L.notransform)
|
||||
return
|
||||
switch(href_list["monkey"])
|
||||
if("healthy")
|
||||
|
||||
@@ -402,7 +402,7 @@
|
||||
if (isblockon(getblock(M.dna.struc_enzymes, MONKEYBLOCK,3),MONKEYBLOCK) && istype(M, /mob/living/carbon/human))
|
||||
// human > monkey
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.monkeyizing = 1
|
||||
H.notransform = 1
|
||||
var/list/implants = list() //Try to preserve implants.
|
||||
for(var/obj/item/weapon/implant/W in H)
|
||||
implants += W
|
||||
@@ -413,7 +413,7 @@
|
||||
if (W==H.w_uniform) // will be teared
|
||||
continue
|
||||
H.unEquip(W)
|
||||
M.monkeyizing = 1
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.invisibility = 101
|
||||
@@ -478,7 +478,7 @@
|
||||
if (!isblockon(getblock(M.dna.struc_enzymes, MONKEYBLOCK,3),MONKEYBLOCK) && !istype(M, /mob/living/carbon/human))
|
||||
// monkey > human,
|
||||
var/mob/living/carbon/monkey/Mo = M
|
||||
Mo.monkeyizing = 1
|
||||
Mo.notransform = 1
|
||||
var/list/implants = list() //Still preserving implants
|
||||
for(var/obj/item/weapon/implant/W in Mo)
|
||||
implants += W
|
||||
@@ -486,7 +486,7 @@
|
||||
if(!connected)
|
||||
for(var/obj/item/W in (Mo.contents-implants))
|
||||
Mo.unEquip(W)
|
||||
M.monkeyizing = 1
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.invisibility = 101
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// testing("Cannot monkey-ify [M], type is [M.type].")
|
||||
return
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.monkeyizing = 1
|
||||
H.notransform = 1
|
||||
var/list/implants = list() //Try to preserve implants.
|
||||
for(var/obj/item/weapon/implant/W in H)
|
||||
implants += W
|
||||
@@ -23,7 +23,7 @@
|
||||
if (W==H.w_uniform) // will be teared
|
||||
continue
|
||||
H.unEquip(W)
|
||||
M.monkeyizing = 1
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.invisibility = 101
|
||||
@@ -86,7 +86,7 @@
|
||||
testing("Cannot humanize [M], type is [M.type].")
|
||||
return
|
||||
var/mob/living/carbon/monkey/Mo = M
|
||||
Mo.monkeyizing = 1
|
||||
Mo.notransform = 1
|
||||
var/list/implants = list() //Still preserving implants
|
||||
for(var/obj/item/weapon/implant/W in Mo)
|
||||
implants += W
|
||||
@@ -94,7 +94,7 @@
|
||||
if(!connected)
|
||||
for(var/obj/item/W in (Mo.contents-implants))
|
||||
Mo.unEquip(W)
|
||||
M.monkeyizing = 1
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.invisibility = 101
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
for(var/obj/item/weapon/implant/W in C)
|
||||
implants += W
|
||||
|
||||
C.monkeyizing = 1
|
||||
C.notransform = 1
|
||||
C.canmove = 0
|
||||
C.icon = null
|
||||
C.overlays.Cut()
|
||||
|
||||
@@ -0,0 +1,291 @@
|
||||
/*
|
||||
|
||||
SHADOWLING: A gamemode based on previously-run events
|
||||
|
||||
Aliens called shadowlings are on the station.
|
||||
These shadowlings can 'enthrall' crew members and enslave them.
|
||||
They also burn in the light but heal rapidly whilst in the dark.
|
||||
The game will end under two conditions:
|
||||
1. The shadowlings die
|
||||
2. The emergency shuttle docks at CentCom
|
||||
|
||||
Shadowling strengths:
|
||||
- The dark
|
||||
- Hard vacuum (They are not affected by it)
|
||||
- Their thralls who are not harmed by the light
|
||||
- Stealth
|
||||
|
||||
Shadowling weaknesses:
|
||||
- The light
|
||||
- Fire
|
||||
- Enemy numbers
|
||||
- Lasers (Lasers are concentrated light and do more damage)
|
||||
- Flashbangs (High stun and high burn damage; if the light stuns humans, you bet your ass it'll hurt the shadowling very much!)
|
||||
|
||||
Shadowlings start off disguised as normal crew members, and they only have two abilities: Hatch and Enthrall.
|
||||
They can still enthrall and perhaps complete their objectives in this form.
|
||||
Hatch will, after a short time, cast off the human disguise and assume the shadowling's true identity.
|
||||
They will then assume the normal shadowling form and gain their abilities.
|
||||
|
||||
The shadowling will seem OP, and that's because it kinda is. Being restricted to the dark while being alone most of the time is extremely difficult and as such the shadowling needs powerful abilities.
|
||||
Made by Xhuis
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
GAMEMODE
|
||||
*/
|
||||
|
||||
|
||||
/datum/game_mode
|
||||
var/list/datum/mind/shadows = list()
|
||||
var/list/datum/mind/shadowling_thralls = list()
|
||||
var/list/shadow_objectives = list()
|
||||
var/required_thralls = 15 //How many thralls are needed (hardcoded for now)
|
||||
var/shadowling_ascended = 0 //If at least one shadowling has ascended
|
||||
var/shadowling_dead = 0 //is shadowling kill
|
||||
|
||||
|
||||
/proc/is_thrall(var/mob/living/M)
|
||||
return istype(M) && M.mind && ticker && ticker.mode && (M.mind in ticker.mode.shadowling_thralls)
|
||||
|
||||
|
||||
/proc/is_shadow_or_thrall(var/mob/living/M)
|
||||
return istype(M) && M.mind && ticker && ticker.mode && ((M.mind in ticker.mode.shadowling_thralls) || (M.mind in ticker.mode.shadows))
|
||||
|
||||
|
||||
/proc/is_shadow(var/mob/living/M)
|
||||
return istype(M) && M.mind && ticker && ticker.mode && (M.mind in ticker.mode.shadows)
|
||||
|
||||
|
||||
/datum/game_mode/shadowling
|
||||
name = "shadowling"
|
||||
config_tag = "shadowling"
|
||||
required_players = 30
|
||||
required_enemies = 2
|
||||
recommended_enemies = 2
|
||||
restricted_jobs = list("AI", "Cyborg")
|
||||
protected_jobs = list("Security Officer", "Warden", "Detective", "Head of Security", "Captain")
|
||||
|
||||
/datum/game_mode/shadowling/announce()
|
||||
world << "<b>The current game mode is - Shadowling!</b>"
|
||||
world << "<b>There are alien <span class='deadsay'>shadowlings</span> on the station. Crew: Kill the shadowlings before they can eat or enthrall the crew. Shadowlings: Enthrall the crew while remaining in hiding.</b>"
|
||||
|
||||
/datum/game_mode/shadowling/pre_setup()
|
||||
if(config.protect_roles_from_antagonist)
|
||||
restricted_jobs += protected_jobs
|
||||
|
||||
var/list/datum/mind/possible_shadowlings = get_players_for_role(BE_SHADOWLING)
|
||||
|
||||
if(!possible_shadowlings.len)
|
||||
return 0
|
||||
|
||||
for(var/datum/mind/player in possible_shadowlings)
|
||||
for(var/job in restricted_jobs)
|
||||
if(player.assigned_role == job)
|
||||
possible_shadowlings -= player
|
||||
|
||||
var/shadowlings = 2 //How many shadowlings there are; hardcoded to 2
|
||||
|
||||
while(shadowlings)
|
||||
var/datum/mind/shadow = pick(possible_shadowlings)
|
||||
shadows += shadow
|
||||
possible_shadowlings -= shadow
|
||||
modePlayer += shadow
|
||||
shadow.special_role = "Shadowling"
|
||||
shadowlings--
|
||||
return 1
|
||||
|
||||
|
||||
/datum/game_mode/shadowling/post_setup()
|
||||
for(var/datum/mind/shadow in shadows)
|
||||
log_game("[shadow.key] (ckey) has been selected as a Shadowling.")
|
||||
sleep(10)
|
||||
shadow.current << "<br>"
|
||||
shadow.current << "<span class='deadsay'><b><font size=3>You are a shadowling!</font></b></span>"
|
||||
greet_shadow(shadow)
|
||||
finalize_shadowling(shadow)
|
||||
process_shadow_objectives(shadow)
|
||||
//give_shadowling_abilities(shadow)
|
||||
..()
|
||||
return
|
||||
|
||||
/datum/game_mode/proc/greet_shadow(var/datum/mind/shadow)
|
||||
shadow.current << "<b>Currently, you are disguised as an employee aboard [world.name].</b>"
|
||||
shadow.current << "<b>In your limited state, you have three abilities: Enthrall, Hatch, and Shadowling Hivemind (:8).</b>"
|
||||
shadow.current << "<b>Any other shadowlings are your allies. You must assist them as they shall assist you.</b>"
|
||||
shadow.current << "<b>If you are new to shadowling, or want to read about abilities, check the wiki page at http://nanotrasen.se/wiki/index.php/Shadowling</b><br>"
|
||||
|
||||
|
||||
/datum/game_mode/proc/process_shadow_objectives(var/datum/mind/shadow_mind)
|
||||
var/objective = "enthrall" //may be devour later, but for now it seems murderbone-y
|
||||
|
||||
if(objective == "enthrall")
|
||||
var/objective_explanation = "Ascend to your true form by use of the Ascendance ability. This may only be used with [required_thralls] collective thralls, while hatched, and is unlocked with the Collective Mind ability."
|
||||
shadow_objectives += "enthrall"
|
||||
shadow_mind.memory += "<b>Objective #1</b>: [objective_explanation]"
|
||||
shadow_mind.current << "<b>Objective #1</b>: [objective_explanation]<br>"
|
||||
|
||||
|
||||
/datum/game_mode/proc/finalize_shadowling(var/datum/mind/shadow_mind)
|
||||
var/mob/living/carbon/human/S = shadow_mind.current
|
||||
shadow_mind.current.verbs += /mob/living/carbon/human/proc/shadowling_hatch
|
||||
S.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/enthrall
|
||||
spawn(0)
|
||||
shadow_mind.current.add_language("Shadowling Hivemind")
|
||||
update_shadow_icons_added(shadow_mind)
|
||||
if(shadow_mind.assigned_role == "Clown")
|
||||
S << "<span class='notice'>Your alien nature has allowed you to overcome your clownishness.</span>"
|
||||
S.mutations.Remove(CLUMSY)
|
||||
|
||||
/datum/game_mode/proc/add_thrall(datum/mind/new_thrall_mind)
|
||||
if (!istype(new_thrall_mind))
|
||||
return 0
|
||||
if(!(new_thrall_mind in shadowling_thralls))
|
||||
shadowling_thralls += new_thrall_mind
|
||||
update_shadow_icons_added(new_thrall_mind)
|
||||
new_thrall_mind.current.attack_log += "\[[time_stamp()]\] <span class='danger'>Became a thrall</span>"
|
||||
new_thrall_mind.memory += "<b>The Shadowlings' Objectives:</b> Ascend to your true form by use of the Ascendance ability. \
|
||||
This may only be used with [required_thralls] collective thralls, while hatched, and is unlocked with the Collective Mind ability."
|
||||
new_thrall_mind.current << "<b>The objectives of your shadowlings:</b>: Ascend to your true form by use of the Ascendance ability. \
|
||||
This may only be used with [required_thralls] collective thralls, while hatched, and is unlocked with the Collective Mind ability."
|
||||
new_thrall_mind.current.add_language("Shadowling Hivemind")
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
/*
|
||||
GAME FINISH CHECKS
|
||||
*/
|
||||
|
||||
|
||||
/datum/game_mode/shadowling/check_finished()
|
||||
var/shadows_alive = 0 //and then shadowling was kill
|
||||
for(var/datum/mind/shadow in shadows) //but what if shadowling was not kill?
|
||||
if(!istype(shadow.current,/mob/living/carbon/human) && !istype(shadow.current,/mob/living/simple_animal/ascendant_shadowling))
|
||||
continue
|
||||
if(shadow.current.stat == DEAD)
|
||||
continue
|
||||
shadows_alive++
|
||||
if(shadows_alive)
|
||||
return ..()
|
||||
else
|
||||
shadowling_dead = 1 //but shadowling was kill :(
|
||||
return 1
|
||||
|
||||
|
||||
/datum/game_mode/shadowling/proc/check_shadow_victory()
|
||||
var/success = 0 //Did they win?
|
||||
if(shadow_objectives.Find("enthrall"))
|
||||
success = shadowling_ascended
|
||||
return success
|
||||
|
||||
|
||||
/datum/game_mode/shadowling/declare_completion()
|
||||
if(check_shadow_victory() && emergency_shuttle.returned()) //Doesn't end instantly - this is hacky and I don't know of a better way ~X
|
||||
world << "<span class='greentext'><b>The shadowlings have ascended and taken over the station!</b></span>"
|
||||
else if(shadowling_dead && !check_shadow_victory()) //If the shadowlings have ascended, they can not lose the round
|
||||
world << "<span class='redtext'><b>The shadowlings have been killed by the crew!</b></span>"
|
||||
else if(!check_shadow_victory() && emergency_shuttle.returned())
|
||||
world << "<span class='redtext'><b>The crew has escaped the station before the shadowlings could ascend!</b></span>"
|
||||
..()
|
||||
return 1
|
||||
|
||||
|
||||
/datum/game_mode/proc/auto_declare_completion_shadowling()
|
||||
var/text = ""
|
||||
if(shadows.len)
|
||||
text += "<br><span class='big'><b>The shadowlings were:</b></span>"
|
||||
for(var/datum/mind/shadow in shadows)
|
||||
text += "<br>[shadow.key] was [shadow.name] ("
|
||||
if(shadow.current)
|
||||
if(shadow.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(shadow.current.real_name != shadow.name)
|
||||
text += " as <b>[shadow.current.real_name]</b>"
|
||||
else
|
||||
text += "body destroyed"
|
||||
text += ")"
|
||||
text += "<br>"
|
||||
if(shadowling_thralls.len)
|
||||
text += "<br><span class='big'><b>The thralls were:</b></span>"
|
||||
for(var/datum/mind/thrall in shadowling_thralls)
|
||||
text += "<br>[thrall.key] was [thrall.name] ("
|
||||
if(thrall.current)
|
||||
if(thrall.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(thrall.current.real_name != thrall.name)
|
||||
text += " as <b>[thrall.current.real_name]</b>"
|
||||
else
|
||||
text += "body destroyed"
|
||||
text += "<br>"
|
||||
world << text
|
||||
|
||||
|
||||
/*
|
||||
MISCELLANEOUS
|
||||
*/
|
||||
|
||||
|
||||
/datum/species/shadow/ling
|
||||
//Normal shadowpeople but with enhanced effects
|
||||
name = "Shadowling"
|
||||
|
||||
icobase = 'icons/mob/human_races/r_shadowling.dmi'
|
||||
deform = 'icons/mob/human_races/r_shadowling.dmi'
|
||||
|
||||
light_effect_amp = 1
|
||||
blood_color = "#555555"
|
||||
flesh_color = "#222222"
|
||||
|
||||
flags = NO_BLOOD | NO_BREATHE | NO_SCAN | NO_INTORGANS
|
||||
burn_mod = 2 //2x burn damage
|
||||
|
||||
/datum/game_mode/proc/update_shadow_icons_added(datum/mind/shadow_mind)
|
||||
spawn(0)
|
||||
for(var/datum/mind/shadowling in shadows)
|
||||
if(shadowling.current && shadowling != shadow_mind)
|
||||
if(shadowling.current.client)
|
||||
var/I = image('icons/mob/mob.dmi', loc = shadow_mind.current, icon_state = "thrall")
|
||||
shadowling.current.client.images += I
|
||||
if(shadow_mind.current)
|
||||
if(shadow_mind.current.client)
|
||||
var/image/J = image('icons/mob/mob.dmi', loc = shadowling.current, icon_state = "shadowling")
|
||||
shadow_mind.current.client.images += J
|
||||
for(var/datum/mind/thrall in shadowling_thralls)
|
||||
if(thrall.current)
|
||||
if(thrall.current.client)
|
||||
var/I = image('icons/mob/mob.dmi', loc = shadow_mind.current, icon_state = "thrall")
|
||||
thrall.current.client.images += I
|
||||
if(shadow_mind.current)
|
||||
if(shadow_mind.current.client)
|
||||
var/image/J = image('icons/mob/mob.dmi', loc = thrall.current, icon_state = "thrall")
|
||||
shadow_mind.current.client.images += J
|
||||
|
||||
/datum/game_mode/proc/update_shadow_icons_removed(datum/mind/shadow_mind)
|
||||
spawn(0)
|
||||
for(var/datum/mind/shadowling in shadows)
|
||||
if(shadowling.current)
|
||||
if(shadowling.current.client)
|
||||
for(var/image/I in shadowling.current.client.images)
|
||||
if((I.icon_state == "thrall" || I.icon_state == "shadowling") && I.loc == shadow_mind.current)
|
||||
del(I)
|
||||
|
||||
for(var/datum/mind/thrall in thralls)
|
||||
if(thrall.current)
|
||||
if(thrall.current.client)
|
||||
for(var/image/I in thrall.current.client.images)
|
||||
if((I.icon_state == "thrall" || I.icon_state == "shadowling") && I.loc == shadow_mind.current)
|
||||
del(I)
|
||||
|
||||
if(shadow_mind.current)
|
||||
if(shadow_mind.current.client)
|
||||
for(var/image/I in shadow_mind.current.client.images)
|
||||
if(I.icon_state == "thrall" || I.icon_state == "shadowling")
|
||||
del(I)
|
||||
@@ -0,0 +1,617 @@
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/glare
|
||||
name = "Glare"
|
||||
desc = "Stuns and mutes a target for a decent duration."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 300
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/glare/cast(list/targets)
|
||||
for(var/mob/living/carbon/human/target in targets)
|
||||
if(!ishuman(target))
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(target.stat)
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(is_shadow_or_thrall(target))
|
||||
usr << "<span class='danger'>You don't see why you would want to paralyze an ally.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
|
||||
usr.visible_message("<span class='warning'><b>[usr]'s eyes flash a blinding red!</b></span>")
|
||||
target.visible_message("<span class='danger'>[target] freezes in place, their eyes glazing over...</span>")
|
||||
if(in_range(target, usr))
|
||||
target << "<span class='userdanger'>Your gaze is forcibly drawn into [usr]'s eyes, and you are mesmerized by the heavenly lights...</span>"
|
||||
else //Only alludes to the shadowling if the target is close by
|
||||
target << "<span class='userdanger'>Red lights suddenly dance in your vision, and you are mesmerized by the heavenly lights...</span>"
|
||||
target.Stun(10)
|
||||
if(target.reagents)
|
||||
target.reagents.add_reagent("capulettium_plus", 4) //This is really bad but it's the only way it works.
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/veil
|
||||
name = "Veil"
|
||||
desc = "Extinguishes all electronic lights in a decent radius."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 250 //Short cooldown because people can just turn the lights back on
|
||||
clothes_req = 0
|
||||
range = 5
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/veil/cast(list/targets)
|
||||
usr << "<span class='deadsay'>You silently disable all nearby lights.</span>"
|
||||
var/list/blacklisted_lights = list(/obj/item/device/flashlight/flare, /obj/item/device/flashlight/slime)
|
||||
for(var/turf/T in targets)
|
||||
for(var/obj/item/device/flashlight/F in T.contents)
|
||||
if(is_type_in_list(F, blacklisted_lights))
|
||||
F.visible_message("<span class='danger'>[F] goes slightly dim for a moment.</span>")
|
||||
return
|
||||
F.on = 0
|
||||
F.visible_message("<span class='danger'>[F] gutters and falls dark.</span>")
|
||||
F.update_brightness()
|
||||
for(var/obj/machinery/light/L in T.contents)
|
||||
L.on = 0
|
||||
L.visible_message("<span class='danger'>[L] flickers and falls dark.</span>")
|
||||
L.update(0)
|
||||
for(var/obj/item/device/pda/P in T.contents)
|
||||
P.fon = 0
|
||||
P.SetLuminosity(0)
|
||||
for(var/obj/effect/glowshroom/G in orange(2, usr)) //Very small radius
|
||||
G.visible_message("<span class='warning'>\The [G] withers away!</span>")
|
||||
qdel(G)
|
||||
for(var/mob/living/carbon/human/H in T.contents)
|
||||
for(var/obj/item/device/flashlight/F in H)
|
||||
if(is_type_in_list(F, blacklisted_lights))
|
||||
F.visible_message("<span class='danger'>[F] goes slightly dim for a moment.</span>")
|
||||
return
|
||||
F.on = 0
|
||||
F.visible_message("<span class='danger'>[F] gutters and falls dark.</span>")
|
||||
F.update_brightness()
|
||||
for(var/obj/item/device/pda/P in H)
|
||||
P.fon = 0
|
||||
P.SetLuminosity(0) //failsafe
|
||||
if(H != usr)
|
||||
H << "<span class='boldannounce'>You feel a chill and are plunged into darkness.</span>"
|
||||
H.luminosity = 0 //This might not be required, but it just acts as another failsafe.
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadow_walk
|
||||
name = "Shadow Walk"
|
||||
desc = "Phases you into the space between worlds for a short time, allowing movement through walls and invisbility."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 600
|
||||
clothes_req = 0
|
||||
range = -1
|
||||
include_user = 1
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadow_walk/cast(list/targets)
|
||||
for(var/mob/living/user in targets)
|
||||
playsound(user.loc, 'sound/effects/bamf.ogg', 50, 1)
|
||||
user.visible_message("<span class='danger'>[user] vanishes into thin air!</span>", "<span class='deadsay'>You enter the space between worlds as a passageway.</span>")
|
||||
user.SetStunned(0)
|
||||
user.SetWeakened(0)
|
||||
user.incorporeal_move = 1
|
||||
user.alpha = 0
|
||||
if(user.buckled)
|
||||
user.buckled.unbuckle()
|
||||
sleep(40) //4 seconds
|
||||
user.visible_message("<span class='danger'>[user] appears out of nowhere!</span>", "<span class='deadsay'>The pressure becomes too much and you vacate the interdimensional darkness.</span>")
|
||||
user.incorporeal_move = 0
|
||||
user.alpha = 255
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/flashfreeze
|
||||
name = "Flash Freeze"
|
||||
desc = "Instantly freezes the blood of nearby people, stunning them and causing burn damage."
|
||||
panel = "Shadowling Abilities"
|
||||
range = 5
|
||||
charge_max = 1200
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/flashfreeze/cast(list/targets)
|
||||
usr << "<span class='deadsay'>You freeze the nearby air.</span>"
|
||||
playsound(usr.loc, 'sound/effects/ghost2.ogg', 50, 1)
|
||||
|
||||
for(var/turf/T in targets)
|
||||
for(var/mob/living/carbon/human/target in T.contents)
|
||||
if(is_shadow_or_thrall(target))
|
||||
if(target == usr) //No message for the user, of course
|
||||
continue
|
||||
else
|
||||
target << "<span class='danger'>You feel a blast of paralyzingly cold air wrap around you and flow past, but you are unaffected!</span>"
|
||||
continue
|
||||
target << "<span class='userdanger'>You are hit by a blast of paralyzingly cold air and feel goosebumps break out across your body!</span>"
|
||||
target.Stun(2)
|
||||
if(target.bodytemperature)
|
||||
target.bodytemperature -= 200 //Extreme amount of initial cold
|
||||
if(target.reagents)
|
||||
target.reagents.add_reagent("frostoil", 15) //Half of a cryosting
|
||||
|
||||
|
||||
|
||||
//Enthrall is the single most important spell
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/enthrall
|
||||
name = "Enthrall"
|
||||
desc = "Allows you to enslave a conscious, non-braindead, non-catatonic human to your will. This takes some time to cast."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 450
|
||||
clothes_req = 0
|
||||
range = 1 //Adjacent to user
|
||||
var/enthralling = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/enthrall/cast(list/targets)
|
||||
for(var/mob/living/carbon/human/target in targets)
|
||||
if(!in_range(usr, target))
|
||||
usr << "<span class='warning'>You need to be closer to enthrall [target].</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(!target.ckey)
|
||||
usr << "<span class='warning'>The target has no mind.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(target.stat)
|
||||
usr << "<span class='warning'>The target must be conscious.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(is_shadow_or_thrall(target))
|
||||
usr << "<span class='warning'>You can not enthrall allies.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(!ishuman(target))
|
||||
usr << "<span class='warning'>You can only enthrall humans.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(enthralling)
|
||||
usr << "<span class='danger'>You are already enthralling!</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
enthralling = 1
|
||||
usr << "<span class='danger'>This target is valid. You begin the enthralling.</span>"
|
||||
target << "<span class='userdanger'>[usr] focuses in concentration. Your head begins to ache.</span>"
|
||||
|
||||
for(var/progress = 0, progress <= 3, progress++)
|
||||
switch(progress)
|
||||
if(1)
|
||||
usr << "<span class='notice'>You begin allocating energy for the enthralling.</span>"
|
||||
usr.visible_message("<span class='danger'>[usr]'s eyes begin to throb a piercing red.</span>")
|
||||
if(2)
|
||||
usr << "<span class='notice'>You begin the enthralling of [target].</span>"
|
||||
usr.visible_message("<span class='danger'>[usr] leans over [target], their eyes glowing a deep crimson, and stares into their face.</span>")
|
||||
target << "<span class='danger'>Your gaze is forcibly drawn into a blinding red light. You fall to the floor as conscious thought is wiped away.</span>"
|
||||
target.Weaken(12)
|
||||
sleep(20)
|
||||
if(isloyal(target))
|
||||
usr << "<span class='notice'>They are enslaved by Nanotrasen. You begin to shut down the nanobot implant - this will take some time.</span>"
|
||||
usr.visible_message("<span class='danger'>[usr] halts for a moment, then begins passing its hand over [target]'s body.</span>")
|
||||
target << "<span class='danger'>You feel your loyalties begin to weaken!</span>"
|
||||
sleep(150) //15 seconds - not spawn() so the enthralling takes longer
|
||||
usr << "<span class='notice'>The nanobots composing the loyalty implant have been rendered inert. Now to continue.</span>"
|
||||
usr.visible_message("<span class='danger'>[usr] halts thier hand and resumes staring into [target]'s face.</span>")
|
||||
for(var/obj/item/weapon/implant/loyalty/L in target)
|
||||
if(L && L.implanted)
|
||||
qdel(L)
|
||||
target << "<span class='danger'>Your unwavering loyalty to Nanotrasen falters, dims, dies.</span>"
|
||||
if(3)
|
||||
usr << "<span class='notice'>You begin rearranging [target]'s memories.</span>"
|
||||
usr.visible_message("<span class='danger'>[usr]'s eyes flare brightly, and a horrible grin begins to spread across [target]'s face...</span>")
|
||||
target << "<span class='danger'>Your head cries out. The veil of reality begins to crumple and something evil bleeds through.</span>" //Ow the edge
|
||||
if(!do_mob(usr, target, 100)) //around 30 seconds total for enthralling, 45 for someone with a loyalty implant
|
||||
usr << "<span class='danger'>The enthralling has been interrupted - your target's mind returns to its previous state.</span>"
|
||||
target << "<span class='warning'>Your thoughts become coherent once more. Already you can barely remember what's happened to you.</span>"
|
||||
enthralling = 0
|
||||
return
|
||||
|
||||
enthralling = 0
|
||||
usr << "<span class='notice'>You have enthralled <b>[target]</b>!</span>"
|
||||
target << "<span class='deadsay'><b>You see the Truth. Reality has been torn away and you realize what a fool you've been.</b></span>"
|
||||
target << "<span class='deadsay'><b>The shadowlings are your masters.</b> Serve them above all else and ensure they complete their goals.</span>"
|
||||
target << "<span class='deadsay'>You may not harm other thralls or the shadowlings. However, you do not need to obey other thralls.</span>"
|
||||
target << "<span class='deadsay'>You can communicate with the other enlightened ones by using the Hivemind Commune ability.</span>"
|
||||
target.adjustOxyLoss(-200) //In case the shadowling was choking them out
|
||||
ticker.mode.add_thrall(target.mind)
|
||||
target.mind.special_role = "Thrall"
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/collective_mind
|
||||
name = "Collective Hivemind"
|
||||
desc = "Gathers the power of all of your thralls and compares it to what is needed for ascendance. Also gains you new abilities."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 300 //30 second cooldown to prevent spam
|
||||
clothes_req = 0
|
||||
range = -1
|
||||
include_user = 1
|
||||
var/blind_smoke_acquired
|
||||
var/screech_acquired
|
||||
var/drain_thrall_acquired
|
||||
var/thrall_swap_acquired
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/collective_mind/cast(list/targets)
|
||||
for(var/mob/living/user in targets)
|
||||
var/thralls = 0
|
||||
var/victory_threshold = 15
|
||||
var/mob/M
|
||||
|
||||
user << "<span class='shadowling'><b>You focus your telepathic energies abound, harnessing and drawing together the strength of your thralls.</b></span>"
|
||||
|
||||
for(M in living_mob_list)
|
||||
if(is_thrall(M))
|
||||
thralls++
|
||||
M << "<span class='deadsay'>You feel hooks sink into your mind and pull.</span>"
|
||||
|
||||
if(!do_after(user, 30))
|
||||
user << "<span class='warning'>Your concentration has been broken. The mental hooks you have sent out now retract into your mind.</span>"
|
||||
return
|
||||
|
||||
if(thralls >= 3 && !blind_smoke_acquired)
|
||||
blind_smoke_acquired = 1
|
||||
user << "<span class='shadowling'><i>The power of your thralls has granted you the <b>Blinding Smoke</b> ability. It will create a choking cloud that will blind any non-thralls who enter. \
|
||||
</i></span>"
|
||||
user.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/blindness_smoke
|
||||
|
||||
if(thralls >= 5 && !drain_thrall_acquired)
|
||||
drain_thrall_acquired = 1
|
||||
user << "<span class='shadowling'><i>The power of your thralls has granted you the <b>Drain Thrall</b> ability. You can now drain nearby thralls to heal yourself.</i></span>"
|
||||
user.spell_list += new /obj/effect/proc_holder/spell/wizard/aoe_turf/drain_thralls
|
||||
|
||||
if(thralls >= 7 && !screech_acquired)
|
||||
screech_acquired = 1
|
||||
user << "<span class='shadowling'><i>The power of your thralls has granted you the <b>Sonic Screech</b> ability. This ability will shatter nearby windows and deafen enemies.</span>"
|
||||
user.spell_list += new /obj/effect/proc_holder/spell/wizard/aoe_turf/unearthly_screech
|
||||
|
||||
if(thralls >= 9 && !thrall_swap_acquired)
|
||||
thrall_swap_acquired = 1
|
||||
user << "<span class='shadowling'><i>The power of your thralls has granted you the <b>Spatial Relocation</b> ability. This will, allow you to instantly swap places with one of your thralls in \
|
||||
addition to shattering nearby lights.</i></span>"
|
||||
user.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/spatial_relocation
|
||||
|
||||
if(thralls < victory_threshold)
|
||||
user << "<span class='shadowling'>You do not have the power to ascend. You require [victory_threshold] thralls, but only [thralls] living thralls are present.</span>"
|
||||
|
||||
else if(thralls >= victory_threshold)
|
||||
usr << "<span class='shadowling'><b>You are now powerful enough to ascend. Use the Ascendance ability when you are ready. <i>This will kill all of your thralls.</i></span>"
|
||||
usr << "<span class='shadowling'><b>You may find Ascendance in the Shadowling Evolution tab.</b></span>"
|
||||
for(M in living_mob_list)
|
||||
if(is_shadow(M))
|
||||
M.mind.current.spell_list -= /obj/effect/proc_holder/spell/wizard/targeted/collective_mind
|
||||
M.mind.current.verbs -= /mob/living/carbon/human/proc/shadowling_hatch //In case a shadowling hasn't hatched
|
||||
M.mind.current.verbs += /mob/living/carbon/human/proc/shadowling_ascendance
|
||||
if(M == usr)
|
||||
return
|
||||
M << "<span class='shadowling'><b>[user.real_name] has coalesced the strength of the thralls. You can draw upon it at any time to ascend.</span>" //Tells all the other shadowlings
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/blindness_smoke
|
||||
name = "Blindness Smoke"
|
||||
desc = "Spews a cloud of smoke which will blind enemies."
|
||||
panel = "Shadowling Abilities"
|
||||
charge_max = 600
|
||||
clothes_req = 0
|
||||
range = -1
|
||||
include_user = 1
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/blindness_smoke/cast(list/targets) //Extremely hacky
|
||||
for(var/mob/living/user in targets)
|
||||
user.visible_message("<span class='warning'>[user] suddenly bends over and coughs out a cloud of black smoke, which begins to spread rapidly!</span>")
|
||||
user << "<span class='deadsay'>You regurgitate a vast cloud of blinding smoke.</span>"
|
||||
playsound(user, 'sound/effects/bamf.ogg', 50, 1)
|
||||
var/obj/item/weapon/reagent_containers/glass/beaker/large/B = new /obj/item/weapon/reagent_containers/glass/beaker/large(user.loc)
|
||||
B.reagents.clear_reagents() //Just in case!
|
||||
B.icon_state = null //Invisible
|
||||
B.reagents.add_reagent("blindness_smoke", 10)
|
||||
var/datum/effect/effect/system/chem_smoke_spread/S = new /datum/effect/effect/system/chem_smoke_spread
|
||||
S.attach(B)
|
||||
if(S)
|
||||
S.set_up(B.reagents, 10, 0, B.loc)
|
||||
S.start()
|
||||
sleep(10)
|
||||
S.start()
|
||||
qdel(B)
|
||||
|
||||
datum/reagent/shadowling_blindness_smoke //Blinds non-shadowlings, heals shadowlings/thralls
|
||||
name = "!(%@ ERROR )!@$"
|
||||
id = "blindness_smoke"
|
||||
description = "<::ERROR::> CANNOT ANALYZE REAGENT <::ERROR::>"
|
||||
color = "#000000" //Complete black (RGB: 0, 0, 0)
|
||||
metabolization_rate = 100 //lel
|
||||
|
||||
datum/reagent/shadowling_blindness_smoke/on_mob_life(var/mob/living/M as mob)
|
||||
if(!M) M = holder.my_atom
|
||||
if(!is_shadow_or_thrall(M))
|
||||
M << "<span class='warning'><b>You breathe in the black smoke, and your eyes burn horribly!</b></span>"
|
||||
M.eye_blind = 5
|
||||
if(prob(25))
|
||||
M.visible_message("<b>[M]</b> screams and claws at their eyes!")
|
||||
M.Stun(2)
|
||||
else
|
||||
M << "<span class='notice'><b>You breathe in the black smoke, and you feel revitalized!</b></span>"
|
||||
M.heal_organ_damage(2,2)
|
||||
M.adjustOxyLoss(-2)
|
||||
M.adjustToxLoss(-2)
|
||||
..()
|
||||
return
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/unearthly_screech
|
||||
name = "Sonic Screech"
|
||||
desc = "Deafens, stuns, and confuses nearby people. Also shatters windows."
|
||||
panel = "Shadowling Abilities"
|
||||
range = 7
|
||||
charge_max = 300
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/unearthly_screech/cast(list/targets)
|
||||
usr.audible_message("<span class='warning'><b>[usr] lets out a horrible scream!</b></span>")
|
||||
playsound(usr.loc, 'sound/effects/screech.ogg', 100, 1)
|
||||
|
||||
for(var/turf/T in targets)
|
||||
for(var/mob/target in T.contents)
|
||||
if(is_shadow_or_thrall(target))
|
||||
if(target == usr) //No message for the user, of course
|
||||
continue
|
||||
else
|
||||
continue
|
||||
if(iscarbon(target))
|
||||
var/mob/living/carbon/M = target
|
||||
M << "<span class='danger'><b>A spike of pain drives into your head and scrambles your thoughts!</b></span>"
|
||||
M.Weaken(2)
|
||||
M.confused += 10
|
||||
M.ear_damage += 3
|
||||
else if(issilicon(target))
|
||||
var/mob/living/silicon/S = target
|
||||
S << "<span class='warning'><b>ERROR $!(@ ERROR )#^! SENSOR INTERFERENCE DETECTED</b></span>"
|
||||
S << 'sound/misc/interference.ogg'
|
||||
playsound(S, 'sound/machines/warning-buzzer.ogg', 50, 1)
|
||||
var/datum/effect/effect/system/spark_spread/sp = new /datum/effect/effect/system/spark_spread
|
||||
sp.set_up(5, 1, S)
|
||||
sp.start()
|
||||
S.Weaken(6)
|
||||
for(var/obj/structure/window/W in T.contents)
|
||||
W.hit(rand(50,100))
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/drain_thralls
|
||||
name = "Drain Thralls"
|
||||
desc = "Damages nearby thralls, draining their life and healing yourself."
|
||||
panel = "Shadowling Abilities"
|
||||
range = 3
|
||||
charge_max = 100
|
||||
clothes_req = 0
|
||||
var/thralls_drained = 0
|
||||
var/list/nearby_thralls = list()
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/drain_thralls/cast(list/targets)
|
||||
thralls_drained = 0
|
||||
nearby_thralls = list()
|
||||
for(var/turf/T in targets)
|
||||
for(var/mob/living/carbon/M in T.contents)
|
||||
if(is_thrall(M))
|
||||
thralls_drained++
|
||||
nearby_thralls.Add(M)
|
||||
M << "<span class='warning'>You feel a curious draining sensation and a wave of exhaustion washes over you.</span>"
|
||||
for(var/mob/living/carbon/M in nearby_thralls)
|
||||
nearby_thralls.Remove(M) //To prevent someone dying like a zillion times
|
||||
M.take_organ_damage(25/thralls_drained,25/thralls_drained) //For every nearby thrall, the damage to each is reduced - 1 thrall = 50 for him, 2 thralls = 25 for each, etc.
|
||||
usr << "<span class='deadsay'>You draw the life from [M] to heal your wounds.</span>"
|
||||
if(thralls_drained)
|
||||
var/mob/living/carbon/U = usr
|
||||
U.heal_organ_damage(25, 25)
|
||||
else
|
||||
charge_counter = charge_max
|
||||
usr << "<span class='warning'>There were no nearby thralls for you to drain.</span>"
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/spatial_relocation
|
||||
name = "Spatial Relocation"
|
||||
desc = "Swaps places with a thrall and breaks nearby lights."
|
||||
panel = "Shadowling Abilities"
|
||||
range = -1
|
||||
charge_max = 3000
|
||||
clothes_req = 0
|
||||
include_user = 1
|
||||
var/list/thralls_in_world = list()
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/spatial_relocation/cast(list/targets, distanceoverride)
|
||||
for(var/mob/living/carbon/human/M in world)
|
||||
if(is_thrall(M))
|
||||
thralls_in_world += M
|
||||
if(!thralls_in_world)
|
||||
charge_counter = charge_max
|
||||
return
|
||||
var/mob/living/carbon/thrall_to_swap = input("Who do you wish to swap places with?", "Available Thralls") as null|anything in (thralls_in_world)
|
||||
var/turf/shadowturf = get_turf(usr)
|
||||
var/turf/thrallturf = get_turf(thrall_to_swap)
|
||||
thrall_to_swap.visible_message("<span class='danger'>[thrall_to_swap] suddenly vanishes in a puff of black smoke!</span>")
|
||||
thrall_to_swap << "<span class='warning'><b>You feel a brief sense of nausea before finding yourself in an entirely new place!</b></span>"
|
||||
usr.visible_message("<span class='danger'>[usr] suddenly goes transparent and vanishes!</span>")
|
||||
usr << "<span class='deadsay'>You experience vertigo as you swap your location with [thrall_to_swap]'s.</span>"
|
||||
thrall_to_swap.loc = shadowturf
|
||||
usr.loc = thrallturf
|
||||
thrall_to_swap.Weaken(4)
|
||||
usr.Weaken(4)
|
||||
usr.regenerate_icons()
|
||||
thrall_to_swap.regenerate_icons()
|
||||
|
||||
// ASCENDANT ABILITIES BEYOND THIS POINT //
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/annihilate
|
||||
name = "Annihilate"
|
||||
desc = "Gibs a human after a short time."
|
||||
panel = "Ascendant"
|
||||
range = 7
|
||||
charge_max = 300
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/annihilate/cast(list/targets)
|
||||
var/mob/living/simple_animal/ascendant_shadowling/SHA = usr
|
||||
if(SHA.phasing)
|
||||
usr << "<span class='warning'>You are not in the same plane of existence. Unphase first.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
|
||||
for(var/mob/living/carbon/human/boom in targets)
|
||||
if(is_shadow_or_thrall(boom))
|
||||
usr << "<span class='warning'>Making an ally explode seems unwise.<span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
usr.visible_message("<span class='danger'>[usr]'s eyes flare as they gesture at [boom]!</span>", \
|
||||
"<span class='shadowling'>You direct a lance of telekinetic energy at [boom].</span>")
|
||||
boom << "<span class='userdanger'><font size=3>You feel an immense pressure building all across your body!</span></font>"
|
||||
boom.Stun(10)
|
||||
boom.audible_message("<b>[boom]</b> screams!")
|
||||
sleep(20)
|
||||
playsound(boom, 'sound/effects/splat.ogg', 100, 1)
|
||||
boom.visible_message("<span class='userdanger'>[boom] explodes!</span>")
|
||||
boom.gib()
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/hypnosis
|
||||
name = "Hypnosis"
|
||||
desc = "Instantly enthralls a human."
|
||||
panel = "Ascendant"
|
||||
range = 7
|
||||
charge_max = 450
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/hypnosis/cast(list/targets)
|
||||
var/mob/living/simple_animal/ascendant_shadowling/SHA = usr
|
||||
if(SHA.phasing)
|
||||
charge_counter = charge_max
|
||||
usr << "<span class='warning'>You are not in the same plane of existence. Unphase first.</span>"
|
||||
return
|
||||
|
||||
for(var/mob/living/carbon/human/target in targets)
|
||||
if(is_shadow_or_thrall(target))
|
||||
usr << "<span class='warning'>You cannot enthrall an ally.<span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(!target.ckey)
|
||||
usr << "<span class='warning'>The target has no mind.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(target.stat)
|
||||
usr << "<span class='warning'>The target must be conscious.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
if(!ishuman(target))
|
||||
usr << "<span class='warning'>You can only enthrall humans.</span>"
|
||||
charge_counter = charge_max
|
||||
return
|
||||
|
||||
usr << "<span class='shadowling'>You instantly rearrange <b>[target]</b>'s memories, hyptonitizing them into a thrall.</span>"
|
||||
target << "<span class='userdanger'><font size=3>An agonizing spike of pain drives into your mind, and--</font></span>"
|
||||
target << "<span class='deadsay'><b>And you see the Truth. Reality has been torn away and you realize what a fool you've been.</b></span>"
|
||||
target << "<span class='deadsay'><b>The shadowlings are your masters.</b> Serve them above all else and ensure they complete their goals.</span>"
|
||||
target << "<span class='deadsay'>You may not harm other thralls or the shadowlings. However, you do not need to obey other thralls.</span>"
|
||||
target << "<span class='deadsay'>You can communicate with the other enlightened ones by using the Shadowling Hivemind (:8).</span>"
|
||||
ticker.mode.add_thrall(target.mind)
|
||||
target.mind.special_role = "Thrall"
|
||||
target.add_language("Shadowling Hivemind")
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadowling_phase_shift
|
||||
name = "Phase Shift"
|
||||
desc = "Phases you into the space between worlds at will, allowing you to move through walls and become invisible."
|
||||
panel = "Ascendant"
|
||||
range = -1
|
||||
include_user = 1
|
||||
charge_max = 15
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadowling_phase_shift/cast(list/targets)
|
||||
var/mob/living/simple_animal/ascendant_shadowling/SHA = usr
|
||||
for(SHA in targets)
|
||||
SHA.phasing = !SHA.phasing
|
||||
if(SHA.phasing)
|
||||
SHA.visible_message("<span class='danger'>[SHA] suddenly vanishes!</span>", \
|
||||
"<span class='shadowling'>You begin phasing through planes of existence. Use the ability again to return.</span>")
|
||||
SHA.incorporeal_move = 1
|
||||
SHA.alpha = 0
|
||||
else
|
||||
SHA.visible_message("<span class='danger'>[SHA] suddenly appears from nowhere!</span>", \
|
||||
"<span class='shadowling'>You return from the space between worlds.</span>")
|
||||
SHA.incorporeal_move = 0
|
||||
SHA.alpha = 255
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/glacial_blast
|
||||
name = "Glacial Blast"
|
||||
desc = "Extremely empowered version of Flash Freeze."
|
||||
panel = "Ascendant"
|
||||
range = 5
|
||||
charge_max = 600
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/aoe_turf/glacial_blast/cast(list/targets)
|
||||
var/mob/living/simple_animal/ascendant_shadowling/SHA = usr
|
||||
if(SHA.phasing)
|
||||
usr << "<span class='warning'>You are not in the same plane of existence. Unphase first.</span>"
|
||||
return
|
||||
|
||||
usr << "<span class='deadsay'>You freeze the nearby air.</span>"
|
||||
playsound(usr.loc, 'sound/effects/ghost2.ogg', 100, 1)
|
||||
|
||||
for(var/turf/T in targets)
|
||||
for(var/mob/living/carbon/human/target in T.contents)
|
||||
if(is_shadow_or_thrall(target))
|
||||
if(target == usr) //No message for the user, of course
|
||||
continue
|
||||
else
|
||||
target << "<span class='danger'>You feel a blast of paralyzingly cold air wrap around you and flow past, but you are unaffected!</span>"
|
||||
continue
|
||||
target << "<span class='userdanger'>You are hit by a blast of cold unlike anything you have ever felt. Your limbs instantly lock in place and you feel ice burns across your body!</span>"
|
||||
target.Weaken(15)
|
||||
if(target.bodytemperature)
|
||||
target.bodytemperature -= INFINITY //:^)
|
||||
target.take_organ_damage(0,80)
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/vortex
|
||||
name = "Vortex"
|
||||
desc = "Tears open a hole in reality. Anyone, INCLUDING YOU, walking through it will be trapped there for eternity."
|
||||
panel = "Ascendant"
|
||||
range = -1
|
||||
include_user = 1
|
||||
charge_max = 1200
|
||||
clothes_req = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/vortex/cast(list/targets)
|
||||
var/mob/living/simple_animal/ascendant_shadowling/SHA = usr
|
||||
if(SHA.phasing)
|
||||
usr << "<span class='warning'>You are not in the same plane of existence. Unphase first.</span>"
|
||||
return
|
||||
|
||||
for(SHA in targets)
|
||||
SHA.visible_message("<span class='userdanger'>[SHA] raises their arms upward as the markings on their body flare a blinding red!</span>", \
|
||||
"<span class='shadowling'>You tear open a rift to the black space between worlds. <b><font size=3>It would be wise to avoid it.</font></b></span>")
|
||||
|
||||
new /obj/structure/shadow_vortex(SHA.loc)
|
||||
|
||||
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadowling_hivemind_ascendant
|
||||
name = "Ascendant Commune"
|
||||
desc = "Allows you to silently communicate with all other shadowlings and thralls."
|
||||
panel = "Ascendant"
|
||||
charge_max = 20
|
||||
clothes_req = 0
|
||||
range = -1
|
||||
include_user = 1
|
||||
|
||||
/obj/effect/proc_holder/spell/wizard/targeted/shadowling_hivemind_ascendant/cast(list/targets)
|
||||
for(var/mob/living/user in targets)
|
||||
var/text = stripped_input(user, "What do you want to say to fellow thralls and shadowlings?.", "Hive Chat", "")
|
||||
if(!text)
|
||||
return
|
||||
text = "<font size=3>[text]</font>"
|
||||
for(var/mob/M in mob_list)
|
||||
if(is_shadow_or_thrall(M) || (M in dead_mob_list))
|
||||
M << "<span class='shadowling'><b>\[Hive Chat\]<i> [usr.real_name] (ASCENDANT)</i>: [text]</b></span>" //Bigger text for ascendants.
|
||||
@@ -0,0 +1,103 @@
|
||||
/obj/item/clothing/under/shadowling
|
||||
name = "blackened flesh"
|
||||
desc = "Black, chitonous skin."
|
||||
item_state = "golem"
|
||||
origin_tech = null
|
||||
icon_state = "golem"
|
||||
_color = "golem"
|
||||
flags = ABSTRACT | NODROP
|
||||
has_sensor = 0
|
||||
unacidable = 1
|
||||
|
||||
|
||||
/obj/item/clothing/suit/space/shadowling
|
||||
name = "chitin shell"
|
||||
desc = "Dark, semi-transparent shell. Protects against vacuum, but not against the light of the stars." //Still takes damage from spacewalking but is immune to space itself
|
||||
icon_state = "golem"
|
||||
item_state = "golem"
|
||||
body_parts_covered = FULL_BODY //Shadowlings are immune to space
|
||||
cold_protection = FULL_BODY
|
||||
min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE
|
||||
flags_inv = HIDEGLOVES | HIDESHOES | HIDEJUMPSUIT
|
||||
flags = ABSTRACT | NODROP | THICKMATERIAL
|
||||
slowdown = 0
|
||||
unacidable = 1
|
||||
heat_protection = null //You didn't expect a light-sensitive creature to have heat resistance, did you?
|
||||
max_heat_protection_temperature = null
|
||||
|
||||
|
||||
/obj/item/clothing/shoes/shadowling
|
||||
name = "chitin feet"
|
||||
desc = "Charred-looking feet. They have minature hooks that latch onto flooring."
|
||||
icon_state = "golem"
|
||||
unacidable = 1
|
||||
flags = NOSLIP | ABSTRACT | NODROP
|
||||
|
||||
|
||||
/obj/item/clothing/mask/gas/shadowling
|
||||
name = "chitin mask"
|
||||
desc = "A mask-like formation with slots for facial features. A red film covers the eyes."
|
||||
icon_state = "golem"
|
||||
item_state = "golem"
|
||||
origin_tech = null
|
||||
siemens_coefficient = 0
|
||||
unacidable = 1
|
||||
flags = ABSTRACT | NODROP
|
||||
|
||||
|
||||
/obj/item/clothing/gloves/shadowling
|
||||
name = "chitin hands"
|
||||
desc = "An electricity-resistant covering of the hands."
|
||||
icon_state = "golem"
|
||||
item_state = null
|
||||
origin_tech = null
|
||||
siemens_coefficient = 0
|
||||
unacidable = 1
|
||||
flags = ABSTRACT | NODROP
|
||||
|
||||
|
||||
/obj/item/clothing/head/shadowling
|
||||
name = "chitin helm"
|
||||
desc = "A helmet-like enclosure of the head."
|
||||
icon_state = "golem"
|
||||
item_state = null
|
||||
origin_tech = null
|
||||
unacidable = 1
|
||||
flags = ABSTRACT | NODROP
|
||||
|
||||
|
||||
/obj/item/clothing/glasses/night/shadowling
|
||||
name = "crimson eyes"
|
||||
desc = "A shadowling's eyes. Very light-sensitive and can detect body heat through walls."
|
||||
icon = null
|
||||
icon_state = null
|
||||
item_state = null
|
||||
origin_tech = null
|
||||
vision_flags = SEE_MOBS
|
||||
darkness_view = 3
|
||||
invisa_view = 2
|
||||
unacidable = 1
|
||||
flash_protect = -1
|
||||
flags = ABSTRACT | NODROP
|
||||
|
||||
/obj/structure/shadow_vortex
|
||||
name = "vortex"
|
||||
desc = "A swirling hole in the fabric of reality. Eye-watering chimes sound from its depths."
|
||||
density = 0
|
||||
anchored = 1
|
||||
icon = 'icons/effects/genetics.dmi'
|
||||
icon_state = "shadow_portal"
|
||||
|
||||
/obj/structure/shadow_vortex/New()
|
||||
src.audible_message("<span class='warning'><b>\The [src] lets out a dismaying screech as dimensional barriers are torn apart!</span>")
|
||||
playsound(loc, 'sound/effects/eleczap.ogg', 100, 1)
|
||||
sleep(100)
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/shadow_vortex/Crossed(var/td)
|
||||
..()
|
||||
if(ismob(td))
|
||||
td << "<span class='userdanger'><font size=3>You enter the rift. Sickening chimes begin to jangle in your ears. \
|
||||
All around you is endless blackness. After you see something moving, you realize it isn't entirely lifeless.</font></span>" //A bit of spooking before they die
|
||||
playsound(loc, 'sound/effects/EMPulse.ogg', 25, 1)
|
||||
qdel(td)
|
||||
@@ -0,0 +1,166 @@
|
||||
//In here: Hatch and Ascendance
|
||||
|
||||
/mob/living/carbon/human/proc/shadowling_hatch()
|
||||
set category = "Shadowling Evolution"
|
||||
set name = "Hatch"
|
||||
|
||||
if(usr.stat)
|
||||
return
|
||||
usr.verbs -= /mob/living/carbon/human/proc/shadowling_hatch
|
||||
switch(alert("Are you sure you want to hatch? You cannot undo this!",,"Yes","No"))
|
||||
if("No")
|
||||
usr << "<span class='warning'>You decide against hatching for now."
|
||||
usr.verbs += /mob/living/carbon/human/proc/shadowling_hatch
|
||||
return
|
||||
if("Yes")
|
||||
usr.notransform = 1
|
||||
usr.visible_message("<span class='warning'>[usr]'s things suddenly slip off. They hunch over and vomit up a copious amount of purple goo which begins to shape around them!</span>", \
|
||||
"<span class='shadowling'>You remove any equipment which would hinder your hatching and begin regurgitating the resin which will protect you.</span>")
|
||||
|
||||
for(var/obj/item/I in usr) //drops all items
|
||||
usr.unEquip(I)
|
||||
if(istype(I, /obj/item/organ) && (I in src.internal_organs)) //Shadowlings only have a brain, the other organs would drop otherwise.
|
||||
qdel(I)
|
||||
|
||||
sleep(50)
|
||||
var/turf/simulated/floor/F
|
||||
var/turf/shadowturf = get_turf(usr)
|
||||
for(F in orange(1, usr))
|
||||
new /obj/structure/alien/resin/wall/shadowling(F)
|
||||
for(var/obj/structure/alien/resin/wall/shadowling/R in shadowturf) //extremely hacky
|
||||
qdel(R)
|
||||
new /obj/structure/alien/weeds/node(shadowturf) //Dim lighting in the chrysalis -- removes itself with the chrysalis
|
||||
|
||||
usr.visible_message("<span class='warning'>A chrysalis forms around [usr], sealing them inside.</span>", \
|
||||
"<span class='shadowling'>You create your chrysalis and begin to contort within.</span>")
|
||||
usr.Weaken(30)
|
||||
sleep(100)
|
||||
usr.visible_message("<span class='warning'><b>The skin on [usr]'s back begins to split apart. Black spines slowly emerge from the divide.</b></span>", \
|
||||
"<span class='shadowling'>Spines pierce your back. Your claws break apart your fingers. You feel excruciating pain as your true form begins its exit.</span>")
|
||||
|
||||
sleep(90)
|
||||
usr.visible_message("<span class='warning'><b>[usr], now no longer recognizable as human, begins clawing at the resin walls around them.</b></span>", \
|
||||
"<span class='shadowling'>Your false skin slips away. You begin tearing at the fragile membrane protecting you.</span>")
|
||||
|
||||
sleep(80)
|
||||
playsound(usr.loc, 'sound/weapons/slash.ogg', 25, 1)
|
||||
usr << "<i><b>You rip and slice.</b></i>"
|
||||
sleep(10)
|
||||
playsound(usr.loc, 'sound/weapons/slashmiss.ogg', 25, 1)
|
||||
usr << "<i><b>The chrysalis falls like water before you.</b></i>"
|
||||
sleep(10)
|
||||
playsound(usr.loc, 'sound/weapons/slice.ogg', 25, 1)
|
||||
usr << "<i><b>You are free!</b></i>"
|
||||
|
||||
sleep(10)
|
||||
playsound(usr.loc, 'sound/effects/ghost.ogg', 100, 1)
|
||||
usr.real_name = "Shadowling ([rand(1,1000)])"
|
||||
usr.name = usr.real_name
|
||||
usr.notransform = 0
|
||||
usr << "<i><b><font size=3>YOU LIVE!!!</i></b></font>"
|
||||
|
||||
for(var/obj/structure/alien/resin/wall/shadowling/W in orange(usr, 1))
|
||||
playsound(W, 'sound/effects/splat.ogg', 50, 1)
|
||||
qdel(W)
|
||||
for(var/obj/structure/alien/weeds/node/N in shadowturf)
|
||||
qdel(N)
|
||||
usr.visible_message("<span class='warning'>The chrysalis explodes in a shower of purple flesh and fluid!</span>")
|
||||
var/mob/living/carbon/human/M = usr
|
||||
M.underwear = "None"
|
||||
M.undershirt = "None"
|
||||
M.faction |= "faithless"
|
||||
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/under/shadowling(usr), slot_w_uniform)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/shoes/shadowling(usr), slot_shoes)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/suit/space/shadowling(usr), slot_wear_suit)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/head/shadowling(usr), slot_head)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/gloves/shadowling(usr), slot_gloves)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/mask/gas/shadowling(usr), slot_wear_mask)
|
||||
usr.equip_to_slot_or_del(new /obj/item/clothing/glasses/night/shadowling(usr), slot_glasses)
|
||||
set_species("Shadowling")
|
||||
|
||||
sleep(10)
|
||||
usr << "<span class='shadowling'><b><i>Your powers are awoken. You may now live to your fullest extent. Remember your goal. Cooperate with your thralls and allies.</b></i></span>"
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/glare
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/aoe_turf/veil
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/shadow_walk
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/aoe_turf/flashfreeze
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/collective_mind
|
||||
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/shadowling_ascendance()
|
||||
set category = "Shadowling Evolution"
|
||||
set name = "Ascendance"
|
||||
|
||||
if(usr.stat)
|
||||
return
|
||||
usr.verbs -= /mob/living/carbon/human/proc/shadowling_ascendance
|
||||
switch(alert("It is time to ascend. Are you completely sure about this? You cannot undo this!",,"Yes","No"))
|
||||
if("No")
|
||||
usr << "<span class='warning'>You decide against ascending for now."
|
||||
usr.verbs += /mob/living/carbon/human/proc/shadowling_ascendance
|
||||
return
|
||||
if("Yes")
|
||||
usr.notransform = 1
|
||||
usr.visible_message("<span class='warning'>[usr] rapidly bends and contorts, their eyes flaring a deep crimson!</span>", \
|
||||
"<span class='shadowling'>You begin unlocking the genetic vault within you and prepare yourself for the power to come.</span>")
|
||||
|
||||
sleep(30)
|
||||
usr.visible_message("<span class='danger'>[usr] suddenly shoots up a few inches in the air and begins hovering there, still twisting.</span>", \
|
||||
"<span class='shadowling'>You hover into the air to make room for your new form.</span>")
|
||||
|
||||
sleep(60)
|
||||
usr.visible_message("<span class='danger'>[usr]'s skin begins to pulse red in sync with their eyes. Their form slowly expands outward.</span>", \
|
||||
"<span class='shadowling'>You feel yourself beginning to mutate.</span>")
|
||||
|
||||
sleep(20)
|
||||
if(!ticker.mode.shadowling_ascended)
|
||||
usr << "<span class='shadowling'>It isn't enough. Time to draw upon your thralls.</span>"
|
||||
else
|
||||
usr << "<span class='shadowling'>After some telepathic searching, you find the reservoir of life energy from the thralls and tap into it.</span>"
|
||||
|
||||
sleep(50)
|
||||
for(var/mob/M in mob_list)
|
||||
if(is_thrall(M) && !ticker.mode.shadowling_ascended)
|
||||
M.visible_message("<span class='userdanger'>[M] trembles minutely as their form turns to ash, black smoke pouring from their disintegrating face.</span>", \
|
||||
"<span class='userdanger'><font size=3>It's time! Your masters are ascending! Your last thoughts are happy as your body is drained of life.</span>")
|
||||
|
||||
ticker.mode.thralls -= M.mind //To prevent message spam
|
||||
M.death(0)
|
||||
M.dust()
|
||||
|
||||
usr << "<span class='userdanger'>Drawing upon your thralls, you find the strength needed to finish and rend apart the final barriers to godhood.</b></span>"
|
||||
|
||||
sleep(40)
|
||||
for(var/mob/living/M in orange(7, src))
|
||||
M.Weaken(10)
|
||||
M << "<span class='userdanger'>An immense pressure slams you onto the ground!</span>"
|
||||
usr << "<font size=3.5><span class='shadowling'>YOU LIVE!!!</font></span>"
|
||||
world << "<br><br><font size=4><span class='shadowling'><b>A horrible wail echoes in your mind as the world plunges into blackness.</font></span><br><br>"
|
||||
world << 'sound/hallucinations/veryfar_noise.ogg'
|
||||
for(var/obj/machinery/power/apc/A in world)
|
||||
A.overload_lighting()
|
||||
var/mob/A = new /mob/living/simple_animal/ascendant_shadowling(usr.loc)
|
||||
usr.spell_list = list()
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/annihilate
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/hypnosis
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/shadowling_phase_shift
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/aoe_turf/glacial_blast
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/vortex
|
||||
usr.spell_list += new /obj/effect/proc_holder/spell/wizard/targeted/shadowling_hivemind_ascendant
|
||||
usr.mind.transfer_to(A)
|
||||
A.spell_list = usr.spell_list
|
||||
A.name = usr.real_name
|
||||
if(A.real_name)
|
||||
A.real_name = usr.real_name
|
||||
usr.alpha = 0 //This is pretty bad, but is also necessary for the shuttle call to function properly
|
||||
usr.flags |= GODMODE
|
||||
usr.notransform = 1
|
||||
sleep(50)
|
||||
if(!ticker.mode.shadowling_ascended)
|
||||
if(emergency_shuttle && emergency_shuttle.can_call())
|
||||
emergency_shuttle.call_evac()
|
||||
emergency_shuttle.launch_time = 0 // Cannot recall
|
||||
ticker.mode.shadowling_ascended = 1
|
||||
qdel(usr)
|
||||
@@ -447,7 +447,7 @@
|
||||
src.occupant.loc = src.loc
|
||||
src.icon_state = "pod_0"
|
||||
src.eject_wait = 0 //If it's still set somehow.
|
||||
domutcheck(src.occupant) //Waiting until they're out before possible monkeyizing.
|
||||
domutcheck(src.occupant) //Waiting until they're out before possible notransform.
|
||||
src.occupant.add_side_effect("Bad Stomach") // Give them an extra side-effect for free.
|
||||
src.occupant = null
|
||||
|
||||
|
||||
@@ -49,6 +49,12 @@
|
||||
relativewall_neighbours()
|
||||
..()
|
||||
|
||||
/obj/structure/alien/resin/wall/shadowling //For chrysalis
|
||||
name = "chrysalis wall"
|
||||
desc = "Some sort of purple substance in an egglike shape. It pulses and throbs from within and seems impenetrable."
|
||||
health = INFINITY
|
||||
icon_state = "wall0"
|
||||
|
||||
/obj/structure/alien/resin/membrane
|
||||
name = "resin membrane"
|
||||
desc = "Resin just thin enough to let light pass through."
|
||||
|
||||
@@ -501,6 +501,12 @@
|
||||
if(ticker.mode.traitors.len)
|
||||
dat += check_role_table("Traitors", ticker.mode.traitors, src)
|
||||
|
||||
if(ticker.mode.shadows.len)
|
||||
dat += check_role_table("Shadowlings", ticker.mode.shadows, src)
|
||||
|
||||
if(ticker.mode.thralls.len)
|
||||
dat += check_role_table("Shadowling Thralls", ticker.mode.thralls, src)
|
||||
|
||||
if(ticker.mode.vampires.len)
|
||||
dat += check_role_table("Vampires", ticker.mode.vampires, src)
|
||||
|
||||
|
||||
@@ -17,12 +17,14 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
|
||||
"raider" = IS_MODE_COMPILED("heist"), // 1024 / 11
|
||||
"vampire" = IS_MODE_COMPILED("vampire"), // 2048 / 12
|
||||
"mutineer" = IS_MODE_COMPILED("mutiny"), // 4096 / 13
|
||||
"blob" = IS_MODE_COMPILED("blob") // 8192 / 14
|
||||
"blob" = IS_MODE_COMPILED("blob"), // 8192 / 14
|
||||
"shadowling" = IS_MODE_COMPILED("shadowling") //16384 / 15
|
||||
)
|
||||
var/global/list/special_role_times = list( //minimum age (in days) for accounts to play these roles
|
||||
num2text(BE_PAI) = 0,
|
||||
num2text(BE_TRAITOR) = 7,
|
||||
num2text(BE_CHANGELING) = 14,
|
||||
num2text(BE_SHADOWLING) = 14,
|
||||
num2text(BE_WIZARD) = 14,
|
||||
num2text(BE_REV) = 14,
|
||||
num2text(BE_VAMPIRE) = 14,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/mob/proc/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -31,7 +31,7 @@
|
||||
/mob/proc/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -54,7 +54,7 @@
|
||||
/mob/proc/melt()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -356,6 +356,14 @@
|
||||
key = "g"
|
||||
flags = RESTRICTED | HIVEMIND
|
||||
|
||||
/datum/language/shadowling
|
||||
name = "Shadowling Hivemind"
|
||||
desc = "Shadowlings and their thralls are capable of communicating over a psychic hivemind."
|
||||
speech_verb = "says"
|
||||
colour = "shadowling"
|
||||
key = "8"
|
||||
flags = RESTRICTED | HIVEMIND
|
||||
|
||||
/datum/language/ling/broadcast(var/mob/living/speaker,var/message,var/speaker_mask)
|
||||
|
||||
if(speaker.mind && speaker.mind.changeling)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/mob/living/carbon/alien/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -22,7 +22,7 @@
|
||||
/mob/living/carbon/alien/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
/mob/living/carbon/alien/humanoid/regenerate_icons()
|
||||
..()
|
||||
if (monkeyizing) return
|
||||
if (notransform) return
|
||||
|
||||
update_inv_head(0,0)
|
||||
update_inv_wear_suit(0,0)
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
/obj/item/organ/brain/New()
|
||||
..()
|
||||
spawn(5)
|
||||
if(brainmob && brainmob.client)
|
||||
brainmob.client.screen.len = null //clear the hud
|
||||
for(var/mob/living/carbon/brain/bmob in src) //I'm going to hell for this, but there's no other way to stop these runtimes.
|
||||
bmob.client.screen.len = null //clear the hud
|
||||
|
||||
/obj/item/organ/brain/proc/transfer_identity(var/mob/living/carbon/H)
|
||||
name = "\the [H]'s [initial(src.name)]"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/mob/living/carbon/brain/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -169,17 +169,17 @@
|
||||
..()
|
||||
|
||||
/obj/item/device/mmi/posibrain/New()
|
||||
|
||||
src.brainmob = new(src)
|
||||
src.brainmob.name = "[pick(list("PBU","HIU","SINA","ARMA","OSI"))]-[rand(100, 999)]"
|
||||
src.brainmob.real_name = src.brainmob.name
|
||||
src.brainmob.loc = src
|
||||
src.brainmob.container = src
|
||||
src.brainmob.robot_talk_understand = 1
|
||||
src.brainmob.stat = 0
|
||||
src.brainmob.silent = 0
|
||||
src.brainmob.brain_op_stage = 4.0
|
||||
dead_mob_list -= src.brainmob
|
||||
for(var/mob/living/carbon/brain/bmob in src) //Also going to hell for this, but this should fix the runtimes.
|
||||
bmob = new /mob/living/carbon/brain(src)
|
||||
bmob.name = "[pick(list("PBU","HIU","SINA","ARMA","OSI"))]-[rand(100, 999)]"
|
||||
bmob.real_name = src.brainmob.name
|
||||
bmob.loc = src
|
||||
bmob.container = src
|
||||
bmob.robot_talk_understand = 1
|
||||
bmob.stat = 0
|
||||
bmob.silent = 0
|
||||
bmob.brain_op_stage = 4.0
|
||||
dead_mob_list -= bmob
|
||||
|
||||
..()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/mob/living/carbon/human/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -42,7 +42,7 @@
|
||||
/mob/living/carbon/human/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -62,7 +62,7 @@
|
||||
/mob/living/carbon/human/melt()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -1400,6 +1400,8 @@
|
||||
regenerate_icons()
|
||||
fixblood()
|
||||
|
||||
UpdateAppearance()
|
||||
|
||||
if(species)
|
||||
return 1
|
||||
else
|
||||
|
||||
@@ -46,7 +46,7 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
|
||||
set invisibility = 0
|
||||
//set background = 1
|
||||
|
||||
if (monkeyizing) return
|
||||
if (notransform) return
|
||||
if(!loc) return // Fixing a null error that occurs when the mob isn't found in the world -- TLE
|
||||
|
||||
..()
|
||||
@@ -760,9 +760,24 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
|
||||
if(A.lighting_use_dynamic) light_amount = T.lighting_lumcount
|
||||
else light_amount = 10
|
||||
if(light_amount > species.light_dam) //if there's enough light, start dying
|
||||
take_overall_damage(1,1)
|
||||
if(species.light_effect_amp)
|
||||
adjustFireLoss(5) //This gets doubled by Shadowling's innate fire weakness, so it ends up being 10.
|
||||
else
|
||||
adjustFireLoss(1)
|
||||
adjustBruteLoss(1)
|
||||
src << "<span class='userdanger'>The light burns you!</span>"
|
||||
src << 'sound/weapons/sear.ogg'
|
||||
else //heal in the dark
|
||||
heal_overall_damage(1,1)
|
||||
if(species.light_effect_amp)
|
||||
adjustFireLoss(-5)
|
||||
adjustBruteLoss(-5)
|
||||
adjustBrainLoss(-25) //gibbering shadowlings are hilarious but also bad to have
|
||||
adjustCloneLoss(-1)
|
||||
SetWeakened(0)
|
||||
SetStunned(0)
|
||||
else
|
||||
adjustFireLoss(-1)
|
||||
adjustBruteLoss(-1)
|
||||
|
||||
|
||||
//The fucking FAT mutation is the greatest shit ever. It makes everyone so hot and bothered.
|
||||
|
||||
@@ -471,7 +471,7 @@ proc/get_damage_icon_part(damage_state, body_part)
|
||||
//For legacy support.
|
||||
/mob/living/carbon/human/regenerate_icons()
|
||||
..()
|
||||
if(monkeyizing) return
|
||||
if(notransform) return
|
||||
update_mutations(0)
|
||||
force_update_limbs()
|
||||
update_mutantrace(0)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
set invisibility = 0
|
||||
//set background = 1
|
||||
|
||||
if (src.monkeyizing)
|
||||
if (src.notransform)
|
||||
return
|
||||
|
||||
..()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/mob/living/carbon/monkey/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -21,7 +21,7 @@
|
||||
/mob/living/carbon/monkey/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
/mob/living/carbon/monkey/Life()
|
||||
set invisibility = 0
|
||||
//set background = 1
|
||||
if (monkeyizing) return
|
||||
if (notransform) return
|
||||
if (update_muts)
|
||||
update_muts=0
|
||||
domutcheck(src,null,MUTCHK_FORCED)
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
var/brute_mod = null // Physical damage reduction/malus.
|
||||
var/burn_mod = null // Burn damage reduction/malus.
|
||||
|
||||
var/light_dam
|
||||
var/light_dam //Light level above which species takes damage, and below which it heals.
|
||||
var/light_effect_amp //If 0, takes/heals 1 burn and brute per tick. Otherwise, both healing and damage effects are amplified.
|
||||
|
||||
var/max_hurt_damage = 9 // Max melee damage dealt + 5 if hulk
|
||||
var/list/default_genes = list()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
/mob/living/Life()
|
||||
..()
|
||||
if (monkeyizing) return
|
||||
if (notransform) return
|
||||
if(!loc) return // Fixing a null error that occurs when the mob isn't found in the world -- TLE
|
||||
if(mind)
|
||||
if(mind in ticker.mode.implanted)
|
||||
|
||||
@@ -32,4 +32,7 @@
|
||||
if("vampire")
|
||||
if((ref in ticker.mode.thralls) || (mind in ticker.mode.enthralled))
|
||||
ticker.mode.update_vampire_icons_added(mind)
|
||||
if("shadowling")
|
||||
if((mind in ticker.mode.shadowling_thralls) || (mind in ticker.mode.shadows))
|
||||
ticker.mode.update_shadow_icons_added(src.mind)
|
||||
return .
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/mob/living/silicon/gib()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -22,7 +22,7 @@
|
||||
/mob/living/silicon/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set invisibility = 0
|
||||
set background = 1
|
||||
|
||||
if (src.monkeyizing)
|
||||
if (src.notransform)
|
||||
return
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/mob/living/silicon/robot/gib()
|
||||
//robots don't die when gibbed. instead they drop their MMI'd brain
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -23,7 +23,7 @@
|
||||
/mob/living/silicon/robot/dust()
|
||||
death(1)
|
||||
var/atom/movable/overlay/animation = null
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set invisibility = 0
|
||||
//set background = 1
|
||||
|
||||
if (src.monkeyizing)
|
||||
if (src.notransform)
|
||||
return
|
||||
|
||||
src.blinded = null
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/mob/living/simple_animal/ascendant_shadowling
|
||||
name = "Ascendant Shadowling"
|
||||
desc = "A large, floating eldritch horror. It has pulsing markings all about its body and large horns. It seems to be floating without any form of support."
|
||||
icon = 'icons/mob/mob.dmi'
|
||||
icon_state = "shadowling_ascended"
|
||||
icon_living = "shadowling_ascended"
|
||||
speak_emote = list("telepathically thunders", "telepathically booms")
|
||||
force_threshold = INFINITY //Can't die by normal means
|
||||
health = 100000
|
||||
maxHealth = 100000
|
||||
speed = 0
|
||||
var/phasing = 0
|
||||
see_in_dark = 8
|
||||
see_invisible = SEE_INVISIBLE_MINIMUM
|
||||
|
||||
response_help = "stares at"
|
||||
response_disarm = "flails at"
|
||||
response_harm = "flails at"
|
||||
|
||||
harm_intent_damage = 0
|
||||
melee_damage_lower = 35
|
||||
melee_damage_upper = 35
|
||||
attacktext = "claws at"
|
||||
attack_sound = 'sound/weapons/slash.ogg'
|
||||
|
||||
minbodytemp = 0
|
||||
maxbodytemp = INFINITY
|
||||
environment_smash = 2
|
||||
|
||||
faction = list("faithless")
|
||||
|
||||
/mob/living/simple_animal/ascendant_shadowling/Process_Spacemove(var/movement_dir = 0)
|
||||
return 1 //copypasta from carp code
|
||||
@@ -1023,7 +1023,7 @@ var/list/slot_equipment_priority = list( \
|
||||
if(world.time < client.move_delay) return 0
|
||||
if(stat==2) return 0
|
||||
if(anchored) return 0
|
||||
if(monkeyizing) return 0
|
||||
if(notransform) return 0
|
||||
if(restrained()) return 0
|
||||
return 1
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
var/disabilities = 0 //Carbon
|
||||
var/atom/movable/pulling = null
|
||||
var/next_move = null
|
||||
var/monkeyizing = null //Carbon
|
||||
var/notransform = null //Carbon
|
||||
var/other = 0.0
|
||||
var/hand = null
|
||||
var/eye_blind = null //Carbon
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
if(isAI(mob))
|
||||
return AIMove(n,direct,mob)
|
||||
|
||||
if(mob.monkeyizing) return//This is sota the goto stop mobs from moving var
|
||||
if(mob.notransform) return//This is sota the goto stop mobs from moving var
|
||||
|
||||
if(isliving(mob))
|
||||
var/mob/living/L = mob
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
|
||||
/*
|
||||
/mob/living/carbon/human/proc/monkeyize()
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
if (W==w_uniform) // will be torn
|
||||
continue
|
||||
unEquip(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
stunned = 1
|
||||
icon = null
|
||||
@@ -62,7 +62,7 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/human/AIize(move=1) // 'move' argument needs defining here too because BYOND is dumb
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/t in organs)
|
||||
del(t)
|
||||
@@ -70,11 +70,11 @@
|
||||
return ..(move)
|
||||
|
||||
/mob/living/carbon/AIize()
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -178,12 +178,12 @@
|
||||
|
||||
//human -> robot
|
||||
/mob/living/carbon/human/proc/Robotize()
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -236,12 +236,12 @@
|
||||
|
||||
//human -> alien
|
||||
/mob/living/carbon/human/proc/Alienize()
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -267,12 +267,12 @@
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/slimeize(adult as num, reproduce as num)
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -302,12 +302,12 @@
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/corgize()
|
||||
if (monkeyizing)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
@@ -332,13 +332,13 @@
|
||||
usr << "\red Sorry but this mob type is currently unavailable."
|
||||
return
|
||||
|
||||
if(monkeyizing)
|
||||
if(notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
unEquip(W)
|
||||
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
notransform = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
|
||||
@@ -108,6 +108,8 @@
|
||||
if(H.species.name == "Golem")
|
||||
user << "\red Your metal fingers don't fit in the trigger guard!"
|
||||
return
|
||||
if(user.dna && user.dna.species == "Shadowling")
|
||||
user << "<span class='danger'>The muzzle flash would cause damage to your form!</span>"
|
||||
|
||||
add_fingerprint(user)
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
/obj/item/projectile/change/proc/wabbajack (mob/M as mob in living_mob_list)
|
||||
if(istype(M, /mob/living) && M.stat != DEAD)
|
||||
if(M.monkeyizing) return
|
||||
M.monkeyizing = 1
|
||||
if(M.notransform) return
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.overlays.Cut()
|
||||
|
||||
@@ -127,8 +127,8 @@
|
||||
proc/wabbajack(mob/living/M)
|
||||
if(istype(M))
|
||||
if(istype(M, /mob/living) && M.stat != DEAD)
|
||||
if(M.monkeyizing) return
|
||||
M.monkeyizing = 1
|
||||
if(M.notransform) return
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.overlays.Cut()
|
||||
|
||||
@@ -393,8 +393,8 @@ datum
|
||||
if(!M) M = holder.my_atom
|
||||
if(istype(M, /mob/living/carbon) && M.stat != DEAD)
|
||||
M << "\red Your flesh rapidly mutates!"
|
||||
if(M.monkeyizing) return
|
||||
M.monkeyizing = 1
|
||||
if(M.notransform) return
|
||||
M.notransform = 1
|
||||
M.canmove = 0
|
||||
M.icon = null
|
||||
M.overlays.Cut()
|
||||
|
||||
+2
-1
@@ -739,6 +739,7 @@ var/list/TAGGERLOCATIONS = list("Disposals",
|
||||
#define BE_VAMPIRE 2048
|
||||
#define BE_MUTINEER 4096
|
||||
#define BE_BLOB 8192
|
||||
#define BE_SHADOWLING 16384
|
||||
|
||||
var/list/be_special_flags = list(
|
||||
"traitor" = BE_TRAITOR,
|
||||
@@ -819,7 +820,7 @@ var/list/restricted_camera_networks = list( //Those networks can only be accesse
|
||||
#define IS_SLOW 4
|
||||
#define RAD_ABSORB 8
|
||||
#define NO_SCAN 16
|
||||
#define NO_PAIN 32
|
||||
#define NO_PAIN 32
|
||||
#define REQUIRE_LIGHT 64
|
||||
#define IS_WHITELISTED 128
|
||||
#define HAS_LIPS 512
|
||||
|
||||
+6
-1
@@ -62,7 +62,6 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.boldnotice {color: #000099; font-weight: bold;}
|
||||
.suicide {color: #ff5050; font-style: italic;}
|
||||
|
||||
|
||||
.newscaster {color: #800000;}
|
||||
.ghostalert {color: #5c00e6; font-style: italic; font-weight: bold;}
|
||||
|
||||
@@ -84,6 +83,7 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.kidan {color: #664205;}
|
||||
.slime {color: #0077AA;}
|
||||
.clown {color: #ff0000;}
|
||||
.shadowling {color: #311648;}
|
||||
.rough {font-family: "Trebuchet MS", cursive, sans-serif;}
|
||||
.say_quote {font-family: Georgia, Verdana, sans-serif;}
|
||||
.sans {font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;}
|
||||
@@ -91,6 +91,11 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.say_quote {font-family: Georgia, Verdana, sans-serif;}
|
||||
|
||||
.interface {color: #330033;}
|
||||
|
||||
.big {font-size: 3;}
|
||||
.greentext {color: #00FF00; font-size: 3;}
|
||||
.redtext {color: #FF0000; font-size: 3;}
|
||||
|
||||
BIG IMG.icon {width: 32px; height: 32px;}
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 202 KiB |
@@ -316,6 +316,10 @@
|
||||
#include "code\game\gamemodes\nuclear\pinpointer.dm"
|
||||
#include "code\game\gamemodes\revolution\revolution.dm"
|
||||
#include "code\game\gamemodes\revolution\rp_revolution.dm"
|
||||
#include "code\game\gamemodes\shadowling\shadowling.dm"
|
||||
#include "code\game\gamemodes\shadowling\shadowling_abilities.dm"
|
||||
#include "code\game\gamemodes\shadowling\shadowling_items.dm"
|
||||
#include "code\game\gamemodes\shadowling\special_shadowling_abilities.dm"
|
||||
#include "code\game\gamemodes\traitor\traitor.dm"
|
||||
#include "code\game\gamemodes\vampire\hud.dm"
|
||||
#include "code\game\gamemodes\vampire\vampire.dm"
|
||||
@@ -1311,6 +1315,7 @@
|
||||
#include "code\modules\mob\living\silicon\robot\drone\drone_damage.dm"
|
||||
#include "code\modules\mob\living\silicon\robot\drone\drone_items.dm"
|
||||
#include "code\modules\mob\living\silicon\robot\drone\drone_manufacturer.dm"
|
||||
#include "code\modules\mob\living\simple_animal\ascendant_shadowling.dm"
|
||||
#include "code\modules\mob\living\simple_animal\bees.dm"
|
||||
#include "code\modules\mob\living\simple_animal\borer.dm"
|
||||
#include "code\modules\mob\living\simple_animal\constructs.dm"
|
||||
|
||||
Reference in New Issue
Block a user