Merge branch 'master' into Unmodular
This commit is contained in:
@@ -460,6 +460,16 @@
|
||||
category = list("Equipment")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/quantum_keycard
|
||||
name = "Quantum Keycard"
|
||||
desc = "Allows for the construction of a quantum keycard."
|
||||
id = "quantum_keycard"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_GLASS = 500, MAT_METAL = 500, MAT_SILVER = 500, MAT_BLUESPACE = 1000)
|
||||
build_path = /obj/item/quantum_keycard
|
||||
category = list("Equipment")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/anomaly_neutralizer
|
||||
name = "Anomaly Neutralizer"
|
||||
desc = "An advanced tool capable of instantly neutralizing anomalies, designed to capture the fleeting aberrations created by the engine."
|
||||
|
||||
@@ -651,7 +651,7 @@
|
||||
if(loc == user && !is_centcom_level(userturf.z)) //Because Nuke Ops bringing this back on their shuttle, then looting the ERT area is 2fun4you!
|
||||
visible_message("<span class='notice'>[src] twists and bends, relocating itself!</span>")
|
||||
throwSmoke(userturf)
|
||||
do_teleport(user, userturf, 8, asoundin = 'sound/effects/phasein.ogg')
|
||||
do_teleport(user, userturf, 8, asoundin = 'sound/effects/phasein.ogg', channel = TELEPORT_CHANNEL_BLUESPACE)
|
||||
throwSmoke(get_turf(user))
|
||||
warn_admins(user, "Teleport", 0)
|
||||
|
||||
|
||||
@@ -115,4 +115,10 @@
|
||||
qdel(disk.program)
|
||||
disk.program = null
|
||||
disk.name = initial(disk.name)
|
||||
. = TRUE
|
||||
. = TRUE
|
||||
|
||||
|
||||
/obj/machinery/nanite_program_hub/admin/Initialize()
|
||||
. = ..()
|
||||
linked_techweb = SSresearch.admin_tech
|
||||
|
||||
|
||||
@@ -49,14 +49,14 @@
|
||||
. = ..()
|
||||
if(ishuman(host_mob))
|
||||
var/mob/living/carbon/human/H = host_mob
|
||||
H.physiology.armor.melee += 50
|
||||
H.physiology.armor.melee += 35
|
||||
H.physiology.armor.bullet += 35
|
||||
|
||||
/datum/nanite_program/hardening/disable_passive_effect()
|
||||
. = ..()
|
||||
if(ishuman(host_mob))
|
||||
var/mob/living/carbon/human/H = host_mob
|
||||
H.physiology.armor.melee -= 50
|
||||
H.physiology.armor.melee -= 35
|
||||
H.physiology.armor.bullet -= 35
|
||||
|
||||
/datum/nanite_program/refractive
|
||||
@@ -69,14 +69,14 @@
|
||||
. = ..()
|
||||
if(ishuman(host_mob))
|
||||
var/mob/living/carbon/human/H = host_mob
|
||||
H.physiology.armor.laser += 50
|
||||
H.physiology.armor.laser += 35
|
||||
H.physiology.armor.energy += 35
|
||||
|
||||
/datum/nanite_program/refractive/disable_passive_effect()
|
||||
. = ..()
|
||||
if(ishuman(host_mob))
|
||||
var/mob/living/carbon/human/H = host_mob
|
||||
H.physiology.armor.laser -= 50
|
||||
H.physiology.armor.laser -= 35
|
||||
H.physiology.armor.energy -= 35
|
||||
|
||||
/datum/nanite_program/coagulating
|
||||
@@ -127,4 +127,4 @@
|
||||
/datum/nanite_program/mindshield/disable_passive_effect()
|
||||
. = ..()
|
||||
REMOVE_TRAIT(host_mob, TRAIT_MINDSHIELD, "nanites")
|
||||
host_mob.sec_hud_set_implants()
|
||||
host_mob.sec_hud_set_implants()
|
||||
|
||||
@@ -190,13 +190,13 @@
|
||||
if(!iscarbon(host_mob))
|
||||
return FALSE
|
||||
var/mob/living/carbon/C = host_mob
|
||||
if(C.nutrition <= NUTRITION_LEVEL_WELL_FED)
|
||||
if(C.nutrition <= NUTRITION_LEVEL_STARVING)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/datum/nanite_program/metabolic_synthesis/active_effect()
|
||||
host_mob.nutrition -= 0.5
|
||||
nanites.adjust_nanites(0.5)
|
||||
nanites.adjust_nanites(src, 0.5)
|
||||
|
||||
/datum/nanite_program/triggered/access
|
||||
name = "Subdermal ID"
|
||||
|
||||
@@ -46,13 +46,13 @@
|
||||
/datum/nanite_program/aggressive_replication
|
||||
name = "Aggressive Replication"
|
||||
desc = "Nanites will consume organic matter to improve their replication rate, damaging the host. The efficiency increases with the volume of nanites, requiring 200 to break even."
|
||||
use_rate = 1
|
||||
use_rate = 0
|
||||
rogue_types = list(/datum/nanite_program/necrotic)
|
||||
|
||||
/datum/nanite_program/aggressive_replication/active_effect()
|
||||
var/extra_regen = round(nanites.nanite_volume / 200, 0.1)
|
||||
nanites.adjust_nanites(extra_regen)
|
||||
host_mob.adjustBruteLoss(extra_regen / 2, TRUE)
|
||||
var/extra_regen = round(nanites.nanite_volume / 50, 0.1)
|
||||
nanites.adjust_nanites(src, extra_regen)
|
||||
host_mob.adjustBruteLoss(extra_regen / 3, TRUE)
|
||||
|
||||
/datum/nanite_program/meltdown
|
||||
name = "Meltdown"
|
||||
@@ -89,10 +89,9 @@
|
||||
|
||||
/datum/nanite_program/triggered/explosive/proc/boom()
|
||||
var/nanite_amount = nanites.nanite_volume
|
||||
var/dev_range = FLOOR(nanite_amount/200, 1) - 1
|
||||
var/heavy_range = FLOOR(nanite_amount/100, 1) - 1
|
||||
var/light_range = FLOOR(nanite_amount/50, 1) - 1
|
||||
explosion(host_mob, dev_range, heavy_range, light_range)
|
||||
explosion(host_mob, 0, heavy_range, light_range)
|
||||
qdel(nanites)
|
||||
|
||||
//TODO make it defuse if triggered again
|
||||
@@ -197,4 +196,4 @@
|
||||
if(host_mob.mind && host_mob.mind.has_antag_datum(/datum/antagonist/brainwashed))
|
||||
host_mob.mind.remove_antag_datum(/datum/antagonist/brainwashed)
|
||||
log_game("[key_name(host_mob)] is no longer brainwashed by nanites.")
|
||||
cooldown = world.time + 450
|
||||
cooldown = world.time + 450
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
display_name = "Advanced Bluespace Research"
|
||||
description = "Deeper understanding of how the Bluespace dimension works"
|
||||
prereq_ids = list("practical_bluespace", "high_efficiency")
|
||||
design_ids = list("bluespace_matter_bin", "femto_mani", "triphasic_scanning", "bluespace_crystal", "xenobio_slimeadv")
|
||||
design_ids = list("bluespace_matter_bin", "femto_mani", "triphasic_scanning", "bluespace_crystal", "xenobio_slimeadv")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 10000)
|
||||
export_price = 5000
|
||||
|
||||
@@ -287,10 +287,10 @@
|
||||
|
||||
/datum/techweb_node/bluespace_warping
|
||||
id = "bluespace_warping"
|
||||
display_name = "Bluespace Teleportation tech"
|
||||
description = "Traversing through space at an instant with Bluespace."
|
||||
display_name = "Bluespace Travel"
|
||||
description = "Application of Bluespace for static teleportation technology."
|
||||
prereq_ids = list("adv_power", "adv_bluespace")
|
||||
design_ids = list( "tele_station", "tele_hub", "quantumpad", "launchpad", "launchpad_console", "teleconsole", "roastingstick")
|
||||
design_ids = list("tele_station", "tele_hub", "quantumpad", "quantum_keycard", "launchpad", "launchpad_console", "teleconsole", "roastingstick")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
|
||||
export_price = 5000
|
||||
|
||||
|
||||
@@ -680,7 +680,7 @@ datum/status_effect/stabilized/blue/on_remove()
|
||||
if(!F)
|
||||
F = get_turf(owner)
|
||||
range = 50
|
||||
if(do_teleport(owner, F, range))
|
||||
if(do_teleport(owner, F, range, channel = TELEPORT_CHANNEL_BLUESPACE))
|
||||
to_chat(owner, "<span class='notice'>[linked_extract] will take some time to re-align you on the bluespace axis.</span>")
|
||||
do_sparks(5,FALSE,owner)
|
||||
owner.apply_status_effect(/datum/status_effect/bluespacestabilization)
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
|
||||
item_flags = ABSTRACT | DROPDEL
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
slot_flags = NONE
|
||||
force = 5
|
||||
max_charges = 1 //Recharging costs blood.
|
||||
recharge_rate = 1
|
||||
@@ -46,4 +47,4 @@
|
||||
/obj/item/projectile/magic/bloodchill/on_hit(mob/living/target)
|
||||
. = ..()
|
||||
if(isliving(target))
|
||||
target.apply_status_effect(/datum/status_effect/bloodchill)
|
||||
target.apply_status_effect(/datum/status_effect/bloodchill)
|
||||
|
||||
@@ -144,7 +144,7 @@ Burning extracts:
|
||||
user.visible_message("<span class='danger'>[src] sparks, and lets off a shockwave of bluespace energy!</span>")
|
||||
for(var/mob/living/L in range(1, get_turf(user)))
|
||||
if(L != user)
|
||||
do_teleport(L, get_turf(L), 6, asoundin = 'sound/effects/phasein.ogg') //Somewhere between the effectiveness of fake and real BS crystal
|
||||
do_teleport(L, get_turf(L), 6, asoundin = 'sound/effects/phasein.ogg', channel = TELEPORT_CHANNEL_BLUESPACE) //Somewhere between the effectiveness of fake and real BS crystal
|
||||
new /obj/effect/particle_effect/sparks(get_turf(L))
|
||||
playsound(get_turf(L), "sparks", 50, 1)
|
||||
..()
|
||||
|
||||
@@ -232,7 +232,7 @@ Consuming extracts:
|
||||
L.Cut(I,I+1)
|
||||
|
||||
if(target)
|
||||
do_teleport(M, target, 0, asoundin = 'sound/effects/phasein.ogg')
|
||||
do_teleport(M, target, 0, asoundin = 'sound/effects/phasein.ogg', channel = TELEPORT_CHANNEL_BLUESPACE)
|
||||
new /obj/effect/particle_effect/sparks(get_turf(M))
|
||||
playsound(get_turf(M), "sparks", 50, 1)
|
||||
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
to_chat(user, "<span class='warning'>You feel your body vibrating...</span>")
|
||||
if(do_after(user, 25, target = user))
|
||||
to_chat(user, "<span class='warning'>You teleport!</span>")
|
||||
do_teleport(user, get_turf(user), 6, asoundin = 'sound/weapons/emitter2.ogg')
|
||||
do_teleport(user, get_turf(user), 6, asoundin = 'sound/weapons/emitter2.ogg', channel = TELEPORT_CHANNEL_BLUESPACE)
|
||||
return 300
|
||||
|
||||
if(SLIME_ACTIVATE_MAJOR)
|
||||
@@ -510,7 +510,7 @@
|
||||
if(teleport_x && teleport_y && teleport_z)
|
||||
var/turf/T = locate(teleport_x, teleport_y, teleport_z)
|
||||
to_chat(user, "<span class='notice'>You snap back to your anchor point!</span>")
|
||||
do_teleport(user, T, asoundin = 'sound/weapons/emitter2.ogg')
|
||||
do_teleport(user, T, asoundin = 'sound/weapons/emitter2.ogg', channel = TELEPORT_CHANNEL_BLUESPACE)
|
||||
return 450
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user