From fea37c84c329dd3dac437f5319e39caefdb37cce Mon Sep 17 00:00:00 2001
From: Novacat <35587478+Novacat@users.noreply.github.com>
Date: Fri, 12 Mar 2021 18:22:36 -0500
Subject: [PATCH] Merge pull request #9930 from Novacat/nova-basicfixes
Slightly nerfs cold adaptation
---
code/game/gamemodes/technomancer/spells/apportation.dm | 2 +-
code/game/gamemodes/technomancer/spells/blink.dm | 6 +++---
code/game/gamemodes/technomancer/spells/condensation.dm | 4 ++--
code/game/gamemodes/technomancer/spells/control.dm | 2 +-
code/game/gamemodes/technomancer/spells/energy_siphon.dm | 2 +-
code/game/gamemodes/technomancer/spells/flame_tongue.dm | 2 +-
code/game/gamemodes/technomancer/spells/insert/insert.dm | 2 +-
.../gamemodes/technomancer/spells/projectile/projectile.dm | 4 ++--
code/game/gamemodes/technomancer/spells/reflect.dm | 4 ++--
code/game/gamemodes/technomancer/spells/warp_strike.dm | 2 +-
.../carbon/human/species/station/traits_vr/neutral.dm | 2 +-
11 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/code/game/gamemodes/technomancer/spells/apportation.dm b/code/game/gamemodes/technomancer/spells/apportation.dm
index 452ddc52fa..13f893b536 100644
--- a/code/game/gamemodes/technomancer/spells/apportation.dm
+++ b/code/game/gamemodes/technomancer/spells/apportation.dm
@@ -44,7 +44,7 @@
src.loc = null
user.put_in_hands(I)
user.visible_message("\A [I] appears in \the [user]'s hand!")
- log_and_message_admins("has stolen [I] with [src].")
+ add_attack_logs(user,I,"Stolen with [src]")
qdel(src)
//Now let's try to teleport a living mob.
else if(istype(hit_atom, /mob/living))
diff --git a/code/game/gamemodes/technomancer/spells/blink.dm b/code/game/gamemodes/technomancer/spells/blink.dm
index 100f7bfa33..0bbff7b016 100644
--- a/code/game/gamemodes/technomancer/spells/blink.dm
+++ b/code/game/gamemodes/technomancer/spells/blink.dm
@@ -68,7 +68,7 @@
else
safe_blink(AM, calculate_spell_power(3))
adjust_instability(3)
- log_and_message_admins("has blinked [AM] away.")
+ add_attack_logs(user,AM,"Blinked")
else
to_chat(user, "You need more energy to blink [AM] away!")
@@ -82,7 +82,7 @@
else
safe_blink(user, calculate_spell_power(6))
adjust_instability(1)
- log_and_message_admins("has blinked themselves away.")
+ add_attack_logs(user,user,"Blinked")
else
to_chat(user, "You need more energy to blink yourself away!")
@@ -99,6 +99,6 @@
else
safe_blink(AM, 6)
adjust_instability(2)
- log_and_message_admins("has blinked [AM] away.")
+ add_attack_logs(user,AM,"Blinked")
else
to_chat(user, "You need more energy to blink [AM] away!")
\ No newline at end of file
diff --git a/code/game/gamemodes/technomancer/spells/condensation.dm b/code/game/gamemodes/technomancer/spells/condensation.dm
index 33222455ea..226ccbed18 100644
--- a/code/game/gamemodes/technomancer/spells/condensation.dm
+++ b/code/game/gamemodes/technomancer/spells/condensation.dm
@@ -36,9 +36,9 @@
var/turf/simulated/frozen = desired_turf
frozen.freeze_floor()
if(check_for_scepter())
- log_and_message_admins("has iced the floor with [src] at [T.x],[T.y],[T.z].")
+ add_attack_logs(user,hit_atom,"Iced the floor with [src] at [T.x],[T.y],[T.z]")
else
- log_and_message_admins("has wetted the floor with [src] at [T.x],[T.y],[T.z].")
+ add_attack_logs(user,hit_atom,"Wetted the floor with [src] at [T.x],[T.y],[T.z]")
else if(hit_atom.reagents && !ismob(hit_atom)) //TODO: Something for the scepter
hit_atom.reagents.add_reagent(id = "water", amount = 60, data = null, safety = 0)
adjust_instability(5)
\ No newline at end of file
diff --git a/code/game/gamemodes/technomancer/spells/control.dm b/code/game/gamemodes/technomancer/spells/control.dm
index 8c6a00c4e7..0e0cf5eb20 100644
--- a/code/game/gamemodes/technomancer/spells/control.dm
+++ b/code/game/gamemodes/technomancer/spells/control.dm
@@ -125,7 +125,7 @@
return 0
if(pay_energy(25 * controlled_mobs.len))
attack_all(L)
- log_and_message_admins("has commanded their army of [controlled_mobs.len] to attack [L].")
+ add_attack_logs(user,L,"Commanded their army of [controlled_mobs.len]")
to_chat(user, "You command your [controlled_mobs.len > 1 ? "entities" : "[controlled_mobs[1]]"] to \
attack \the [L].")
//This is to stop someone from controlling beepsky and getting him to stun someone 5 times a second.
diff --git a/code/game/gamemodes/technomancer/spells/energy_siphon.dm b/code/game/gamemodes/technomancer/spells/energy_siphon.dm
index 21f7c6e1e7..9bf8dd578f 100644
--- a/code/game/gamemodes/technomancer/spells/energy_siphon.dm
+++ b/code/game/gamemodes/technomancer/spells/energy_siphon.dm
@@ -57,7 +57,7 @@
return 0
siphoning = AM
update_icon()
- log_and_message_admins("is siphoning energy from \a [AM].")
+ add_attack_logs(user,AM,"Siphoned energy from [src]")
else
stop_siphoning()
diff --git a/code/game/gamemodes/technomancer/spells/flame_tongue.dm b/code/game/gamemodes/technomancer/spells/flame_tongue.dm
index ce38a45caa..9a52c5d82f 100644
--- a/code/game/gamemodes/technomancer/spells/flame_tongue.dm
+++ b/code/game/gamemodes/technomancer/spells/flame_tongue.dm
@@ -46,7 +46,7 @@
visible_message("\The [user] reaches out towards \the [L] with the flaming hand, and they ignite!")
to_chat(L, "You ignite!")
L.fire_act()
- log_and_message_admins("has ignited [L] with [src].")
+ add_attack_logs(user,L,"Ignited with [src]")
adjust_instability(12)
else
//This is needed in order for the welder to work, and works similarly to grippers.
diff --git a/code/game/gamemodes/technomancer/spells/insert/insert.dm b/code/game/gamemodes/technomancer/spells/insert/insert.dm
index 53666c41ab..9ac0295e2b 100644
--- a/code/game/gamemodes/technomancer/spells/insert/insert.dm
+++ b/code/game/gamemodes/technomancer/spells/insert/insert.dm
@@ -45,7 +45,7 @@
return
var/obj/item/weapon/inserted_spell/inserted = new inserting(L,user,src)
inserted.spell_power_at_creation = calculate_spell_power(1.0)
- log_and_message_admins("has casted [src] on [L].")
+ add_attack_logs(user,L,"Casted [src]")
qdel(src)
/obj/item/weapon/spell/insert/on_melee_cast(atom/hit_atom, mob/user)
diff --git a/code/game/gamemodes/technomancer/spells/projectile/projectile.dm b/code/game/gamemodes/technomancer/spells/projectile/projectile.dm
index 62ae49b0f0..7585c3a191 100644
--- a/code/game/gamemodes/technomancer/spells/projectile/projectile.dm
+++ b/code/game/gamemodes/technomancer/spells/projectile/projectile.dm
@@ -14,7 +14,7 @@
var/obj/item/projectile/new_projectile = make_projectile(spell_projectile, user)
new_projectile.old_style_target(hit_atom)
new_projectile.fire()
- log_and_message_admins("has casted [src] at \the [hit_atom].")
+ add_attack_logs(user,hit_atom,"Casted [src]")
if(fire_sound)
playsound(src, fire_sound, 75, 1)
adjust_instability(instability_per_shot)
@@ -39,4 +39,4 @@
return TRUE
return FALSE // We got dropped before the firing occured.
return TRUE // No delay, no need to check.
- return FALSE
\ No newline at end of file
+ return FALSE
diff --git a/code/game/gamemodes/technomancer/spells/reflect.dm b/code/game/gamemodes/technomancer/spells/reflect.dm
index 756e9e27fc..07f3595eda 100644
--- a/code/game/gamemodes/technomancer/spells/reflect.dm
+++ b/code/game/gamemodes/technomancer/spells/reflect.dm
@@ -62,7 +62,7 @@
spark_system.start()
playsound(src, 'sound/weapons/blade1.ogg', 50, 1)
// now send a log so that admins don't think they're shooting themselves on purpose.
- log_and_message_admins("[user] reflected [attacker]'s attack back at them.")
+ add_attack_logs(user,attacker,"Reflected [attacker]'s attack")
if(!reflecting)
reflecting = 1
@@ -82,7 +82,7 @@
spark_system.start()
playsound(src, 'sound/weapons/blade1.ogg', 50, 1)
- log_and_message_admins("[user] reflected [attacker]'s attack back at them.")
+ add_attack_logs(user,attacker,"Reflected [attacker]'s attack")
if(!reflecting)
reflecting = 1
diff --git a/code/game/gamemodes/technomancer/spells/warp_strike.dm b/code/game/gamemodes/technomancer/spells/warp_strike.dm
index 488214851c..83a2336ab6 100644
--- a/code/game/gamemodes/technomancer/spells/warp_strike.dm
+++ b/code/game/gamemodes/technomancer/spells/warp_strike.dm
@@ -76,5 +76,5 @@
I.afterattack(chosen_target, user)
else
chosen_target.attack_hand(user)
- log_and_message_admins("has warp striked [chosen_target].")
+ add_attack_logs(user,chosen_target,"Warp striked")
diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm
index b9a907f027..3907f43495 100644
--- a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm
+++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm
@@ -73,7 +73,7 @@
name = "Cold-Adapted"
desc = "You are able to withstand much colder temperatures than other species, and can even be comfortable in extremely cold environments. You are also more vulnerable to hot environments, and have a lower body temperature as a consequence of these adaptations."
cost = 0
- var_changes = list("cold_level_1" = 200, "cold_level_2" = 150, "cold_level_3" = 90, "breath_cold_level_1" = 180, "breath_cold_level_2" = 100, "breath_cold_level_3" = 60, "cold_discomfort_level" = 210, "heat_level_1" = 305, "heat_level_2" = 360, "heat_level_3" = 700, "breath_heat_level_1" = 345, "breath_heat_level_2" = 380, "breath_heat_level_3" = 780, "heat_discomfort_level" = 295, "body_temperature" = 290)
+ var_changes = list("cold_level_1" = 200, "cold_level_2" = 150, "cold_level_3" = 90, "breath_cold_level_1" = 180, "breath_cold_level_2" = 100, "breath_cold_level_3" = 60, "cold_discomfort_level" = 210, "heat_level_1" = 330, "heat_level_2" = 380, "heat_level_3" = 700, "breath_heat_level_1" = 360, "breath_heat_level_2" = 400, "breath_heat_level_3" = 850, "heat_discomfort_level" = 295, "body_temperature" = 290)
excludes = list(/datum/trait/hotadapt)
/datum/trait/hotadapt