Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes Grime And Fecal Filters #35

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions code/_onclick/hud/generic_dextrous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@

//Rogue Slots /////////////////////////////////

grain = new /atom/movable/screen/grain
grain.hud = src
static_inventory += grain

scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies

action_intent = new /atom/movable/screen/act_intent/rogintent
action_intent.hud = src
action_intent.screen_loc = rogueui_intents
Expand Down
30 changes: 0 additions & 30 deletions code/_onclick/hud/ghost.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,6 @@
using.hud = src
static_inventory += using

using = new /atom/movable/screen/grain
using.hud = src
static_inventory += using

scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies
if(owner.client?.prefs?.crt == TRUE)
scannies.alpha = 70

using = new /atom/movable/screen/ghost/orbit/rogue()
using.hud = src
static_inventory += using
Expand Down Expand Up @@ -194,16 +184,6 @@
using.hud = src
static_inventory += using

using = new /atom/movable/screen/grain
using.hud = src
static_inventory += using

scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies
if(owner.client?.prefs?.crt == TRUE)
scannies.alpha = 70

/datum/hud/eye/show_hud(version = 0, mob/viewmob)
// don't show this HUD if observing; show the HUD of the observee
var/mob/dead/observer/O = mymob
Expand All @@ -227,13 +207,3 @@
using = new /atom/movable/screen/backhudl/obs()
using.hud = src
static_inventory += using

using = new /atom/movable/screen/grain
using.hud = src
static_inventory += using

scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies
if(owner.client?.prefs?.crt == TRUE)
scannies.alpha = 70
10 changes: 0 additions & 10 deletions code/_onclick/hud/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ GLOBAL_LIST_INIT(available_ui_styles, sortList(list(
var/atom/movable/screen/devil/soul_counter/devilsouldisplay

var/atom/movable/screen/act_intent/action_intent
var/atom/movable/screen/grain
var/atom/movable/screen/scannies
var/atom/movable/screen/act_intent/rogintent/magic/spell_intent
var/atom/movable/screen/zone_sel/zone_select
var/atom/movable/screen/pull_icon
Expand Down Expand Up @@ -101,14 +99,6 @@ GLOBAL_LIST_INIT(available_ui_styles, sortList(list(
plane_masters["[instance.plane]"] = instance
instance.backdrop(mymob)

/datum/hud/new_player/New(mob/owner)
..()
scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies
if(owner.client?.prefs?.crt == TRUE)
scannies.alpha = 70

/datum/hud/Destroy()
if(mymob.hud_used == src)
mymob.hud_used = null
Expand Down
10 changes: 0 additions & 10 deletions code/_onclick/hud/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@

//Rogue Slots /////////////////////////////////

grain = new /atom/movable/screen/grain
grain.hud = src
static_inventory += grain


reads = new /atom/movable/screen/read
reads.hud = src
Expand All @@ -113,12 +109,6 @@
static_inventory += textl
reads.textleft = textl

scannies = new /atom/movable/screen/scannies
scannies.hud = src
static_inventory += scannies
if(owner.client?.prefs?.crt == TRUE)
scannies.alpha = 70

action_intent = new /atom/movable/screen/act_intent/rogintent
action_intent.hud = src
action_intent.screen_loc = rogueui_intents
Expand Down
24 changes: 0 additions & 24 deletions code/_onclick/hud/screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1901,30 +1901,6 @@
screen_loc = rogueui_fat
layer = HUD_LAYER+0.1

/atom/movable/screen/grain
icon = 'icons/grain.dmi'
icon_state = "grain"
name = ""
screen_loc = "1,1"
mouse_opacity = 0
alpha = 70
// layer = 20.5
// plane = 20
layer = 13
plane = 0
blend_mode = 4

/atom/movable/screen/scannies
icon = 'icons/mob/roguehudback2.dmi'
icon_state = "crt"
name = ""
screen_loc = ui_backhudl
mouse_opacity = 0
alpha = 0
layer = 24
plane = 24
blend_mode = BLEND_MULTIPLY

/atom/movable/screen/char_preview
name = "Me."
icon_state = ""
Expand Down
Binary file removed icons/grain.dmi
Binary file not shown.
20 changes: 0 additions & 20 deletions interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,26 +170,6 @@ Hotkey-Mode: (hotkey-mode must be on)
to_chat(src, "Anti-aliased... OK")
winset(src, "mapwindow.map", "zoom-mode=normal")

/client/verb/crtmode()
set category = "OOC"
set name = "ToggleCRT"
if(!prefs)
return
if(prefs.crt == TRUE)
winset(src, "mapwindow.map", "zoom-mode=normal")
prefs.crt = FALSE
prefs.save_preferences()
to_chat(src, "CRT... OFF")
for(var/atom/movable/screen/scannies/S in screen)
S.alpha = 0
else
winset(src, "mapwindow.map", "zoom-mode=blur")
prefs.crt = TRUE
prefs.save_preferences()
to_chat(src, "CRT... ON")
for(var/atom/movable/screen/scannies/S in screen)
S.alpha = 70

/client/verb/triggercommend()
set category = "OOC"
set name = "Commend Someone"
Expand Down
Loading