From ab4703623c101f21ae3f488cccba692e0ebd5ea8 Mon Sep 17 00:00:00 2001 From: Markolie Date: Fri, 27 Jan 2017 17:46:38 +0100 Subject: [PATCH] Review changes --- code/__HELPERS/unsorted.dm | 1 + code/datums/spells/area_teleport.dm | 4 +-- code/datums/spells/conjure.dm | 2 +- code/datums/spells/horsemask.dm | 2 +- code/datums/spells/knock.dm | 2 +- code/datums/spells/turf_teleport.dm | 4 +-- code/datums/spells/wizard.dm | 32 +++++++++---------- code/game/objects/effects/mines.dm | 18 +++++------ .../game/turfs/simulated/floor/fancy_floor.dm | 5 ++- code/modules/mining/lavaland/colossus_loot.dm | 1 - .../mining/lavaland/necropolis_chests.dm | 4 +-- 11 files changed, 39 insertions(+), 36 deletions(-) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 1db9b88a526..9644b4348b3 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -1817,6 +1817,7 @@ var/global/list/g_fancy_list_of_types = null //you might be thinking of adding more steps to this, or making it use a loop and a counter var // not worth it. +// This proc gets a list of all "points of interest" (poi's) that can be used by admins to track valuable mobs or atoms (such as the nuke disk). /proc/getpois(mobs_only=0,skip_mindless=0) var/list/mobs = sortmobs() var/list/names = list() diff --git a/code/datums/spells/area_teleport.dm b/code/datums/spells/area_teleport.dm index c213828cf29..46def2b5a9c 100644 --- a/code/datums/spells/area_teleport.dm +++ b/code/datums/spells/area_teleport.dm @@ -6,8 +6,8 @@ var/randomise_selection = 0 //if it lets the usr choose the teleport loc or picks it from the list var/invocation_area = 1 //if the invocation appends the selected area - var/sound1 = "sound/weapons/ZapBang.ogg" - var/sound2 = "sound/weapons/ZapBang.ogg" + var/sound1 = 'sound/weapons/ZapBang.ogg' + var/sound2 = 'sound/weapons/ZapBang.ogg' /obj/effect/proc_holder/spell/targeted/area_teleport/perform(list/targets, recharge = 1, mob/living/user = usr) var/thearea = before_cast(targets) diff --git a/code/datums/spells/conjure.dm b/code/datums/spells/conjure.dm index aa0b524ec5a..fe0ffd9c1c0 100644 --- a/code/datums/spells/conjure.dm +++ b/code/datums/spells/conjure.dm @@ -21,7 +21,7 @@ for(var/turf/T in targets) if(T.density && !summon_ignore_density) targets -= T - playsound(get_turf(src), 'sound/items/welder.ogg', 50, 1) + playsound(get_turf(src), cast_sound, 50, 1) if(do_after(user,delay, target = user)) for(var/i=0,iYour bloodlust seeps back into the bog of your subconscious and you regain self control.") - qdel(chainsaw) - qdel(src) + spawn(10) + animate(victim.client,color = old_color, time = duration)//, easing = SINE_EASING|EASE_OUT) + spawn(duration) + to_chat(victim, "Your bloodlust seeps back into the bog of your subconscious and you regain self control.") + qdel(chainsaw) + qdel(src) /obj/effect/mine/pickup/healing name = "Blue Orb" @@ -161,6 +161,6 @@ return to_chat(victim, "You feel fast!") victim.status_flags |= GOTTAGOREALLYFAST - sleep(duration) - victim.status_flags &= ~GOTTAGOREALLYFAST - to_chat(victim, "You slow down.") \ No newline at end of file + spawn(duration) + victim.status_flags &= ~GOTTAGOREALLYFAST + to_chat(victim, "You slow down.") \ No newline at end of file diff --git a/code/game/turfs/simulated/floor/fancy_floor.dm b/code/game/turfs/simulated/floor/fancy_floor.dm index f3a8a9f2a96..b09ef2c168e 100644 --- a/code/game/turfs/simulated/floor/fancy_floor.dm +++ b/code/game/turfs/simulated/floor/fancy_floor.dm @@ -55,12 +55,15 @@ nitrogen = 23 temperature = 300 -/turf/simulated/floor/attackby(obj/item/W, mob/user, params) +/turf/simulated/floor/basalt/attackby(obj/item/W, mob/user, params) + if(..()) + return if(istype(W, /obj/item/weapon/shovel)) new /obj/item/weapon/ore/glass/basalt(src) new /obj/item/weapon/ore/glass/basalt(src) user.visible_message("[user] digs up [src].", "You uproot [src].") playsound(src, 'sound/effects/shovel_dig.ogg', 50, 1) + make_plating() /turf/simulated/floor/basalt/New() ..() diff --git a/code/modules/mining/lavaland/colossus_loot.dm b/code/modules/mining/lavaland/colossus_loot.dm index 1fd69bc0c5c..1928ff0f342 100644 --- a/code/modules/mining/lavaland/colossus_loot.dm +++ b/code/modules/mining/lavaland/colossus_loot.dm @@ -165,7 +165,6 @@ H.unEquip(W) var/datum/job/clown/C = job_master.GetJob("Clown") C.equip(H) - qdel(C) affected_targets.Add(H) /obj/machinery/anomalous_crystal/honk/New() diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index a47cac51431..e4d4f9c979d 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -327,7 +327,7 @@ icon = 'icons/obj/wizard.dmi' icon_state = "scroll2" color = "#FF0000" - desc = "Mark your target for death. " + desc = "Mark your target for death." var/used = FALSE /obj/item/blood_contract/attack_self(mob/user) @@ -437,7 +437,7 @@ slot_flags = SLOT_BACK w_class = 4 force = 20 - hitsound = "swing_hit" + hitsound = 'swing_hit' //hitsound = 'sound/weapons/sonic_jackhammer.ogg' actions_types = list(/datum/action/item_action/vortex_recall, /datum/action/item_action/toggle_unfriendly_fire) var/cooldown_time = 20 //how long the cooldown between non-melee ranged attacks is