From 76ba3741b7f0b18bed89f19fa019e6bcb9180c69 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Sun, 3 Jan 2021 15:20:32 -0800 Subject: [PATCH 1/2] Fixes dark click catcher --- code/_onclick/click.dm | 15 +++++---------- code/modules/client/client procs.dm | 1 - icons/mob/screen_gen.dmi | Bin 466 -> 948 bytes vorestation.dme | 4 ++++ 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/code/_onclick/click.dm b/code/_onclick/click.dm index 6a4579f1919..b29a1192d9b 100644 --- a/code/_onclick/click.dm +++ b/code/_onclick/click.dm @@ -354,19 +354,13 @@ facedir(direction) /obj/screen/click_catcher + name = "Darkness" icon = 'icons/mob/screen_gen.dmi' icon_state = "click_catcher" plane = CLICKCATCHER_PLANE + layer = LAYER_HUD_UNDER mouse_opacity = 2 - screen_loc = "CENTER-7,CENTER-7" - -/obj/screen/click_catcher/proc/MakeGreed() - . = list() - for(var/i = 0, i<15, i++) - for(var/j = 0, j<15, j++) - var/obj/screen/click_catcher/CC = new() - CC.screen_loc = "NORTH-[i],EAST-[j]" - . += CC + screen_loc = "SOUTHWEST to NORTHEAST" /obj/screen/click_catcher/Click(location, control, params) var/list/modifiers = params2list(params) @@ -374,7 +368,8 @@ var/mob/living/carbon/C = usr C.swap_hand() else - var/turf/T = screen_loc2turf(screen_loc, get_turf(usr)) + var/list/P = params2list(params) + var/turf/T = screen_loc2turf(P["screen-loc"], get_turf(usr)) if(T) T.Click(location, control, params) . = 1 diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index dd84f559820..83164afd3c3 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -227,7 +227,6 @@ if(!void) void = new() - void.MakeGreed() screen += void if((prefs.lastchangelog != changelog_hash) && isnewplayer(src.mob)) //bolds the changelog button on the interface so we know there are updates. diff --git a/icons/mob/screen_gen.dmi b/icons/mob/screen_gen.dmi index 2071c634d1327ea703d95f89ab82c0c31e0a2aa8..75ba00f026d35529e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\submaps\_helpers.dm" #include "maps\submaps\_readme.dm" #include "maps\submaps\engine_submaps\engine.dm" From c66cd083e4e1e8b5cb327310ca54a9607f8f3cf5 Mon Sep 17 00:00:00 2001 From: Novacat <35587478+Novacat@users.noreply.github.com> Date: Sun, 24 Jan 2021 01:48:48 -0500 Subject: [PATCH 2/2] Update vorestation.dme --- vorestation.dme | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vorestation.dme b/vorestation.dme index 2caf2061854..effeef8fc06 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -3798,7 +3798,6 @@ #include "code\ZAS\Zone.dm" #include "interface\interface.dm" #include "interface\skin.dmf" -<<<<<<< HEAD:vorestation.dme #include "maps\gateway_archive_vr\blackmarketpackers.dm" #include "maps\offmap_vr\om_ships\abductor.dm" #include "maps\southern_cross\items\clothing\sc_accessory.dm" @@ -3807,9 +3806,6 @@ #include "maps\southern_cross\loadout\loadout_head.dm" #include "maps\southern_cross\loadout\loadout_suit.dm" #include "maps\southern_cross\loadout\loadout_uniform.dm" -======= -#include "maps\southern_cross\southern_Cross.dm" ->>>>>>> 692a8c2... Fixes dark click catcher (#7803):polaris.dme #include "maps\submaps\_helpers.dm" #include "maps\submaps\_readme.dm" #include "maps\submaps\engine_submaps\engine.dm"