This commit is contained in:
SandPoot
2025-03-10 16:11:56 -03:00
parent 2b89062c10
commit 054716857f
88 changed files with 179 additions and 60 deletions

View File

@@ -127,6 +127,7 @@
#define COLOR_THEME_TRASENKNOX "#3ce375" #define COLOR_THEME_TRASENKNOX "#3ce375"
#define COLOR_THEME_DETECTIVE "#c7b08b" #define COLOR_THEME_DETECTIVE "#c7b08b"
#define COLOR_THEME_LITEWEB "#226611" #define COLOR_THEME_LITEWEB "#226611"
#define COLOR_THEME_CORRU "#00FFFF"
///Colors for eigenstates ///Colors for eigenstates
#define COLOR_PERIWINKLEE "#9999FF" #define COLOR_PERIWINKLEE "#9999FF"

View File

@@ -707,7 +707,9 @@
return 'modular_citadel/icons/ui/screen_trasenknox.dmi' return 'modular_citadel/icons/ui/screen_trasenknox.dmi'
if('icons/mob/screen_detective.dmi') if('icons/mob/screen_detective.dmi')
return 'modular_citadel/icons/ui/screen_detective.dmi' return 'modular_citadel/icons/ui/screen_detective.dmi'
if('modular_sand/icons/mob/screen_liteweb.dmi') if('modular_sand/icons/hud/screen_liteweb/base.dmi')
return 'modular_sand/icons/mob/screen_liteweb.dmi' return 'modular_sand/icons/hud/screen_liteweb/base.dmi'
if('modular_sand/icons/hud/screen_corru/base.dmi')
return 'modular_sand/icons/hud/screen_corru/base.dmi'
else else
return 'modular_citadel/icons/ui/screen_midnight.dmi' return 'modular_citadel/icons/ui/screen_midnight.dmi'

View File

@@ -235,11 +235,12 @@
var/list/settings = our_hud.get_action_buttons_icons() var/list/settings = our_hud.get_action_buttons_icons()
var/ui_icon = "[settings["bg_icon"]]" var/ui_icon = "[settings["bg_icon"]]"
var/list/ui_segments = splittext(ui_icon, ".") var/static/regex/R
var/list/ui_paths = splittext(ui_segments[1], "/") if(!R)
var/ui_name = ui_paths[length(ui_paths)] R = new(@"(screen_.+?)[\./]")
R.Find(ui_icon)
icon_state = "[ui_name]_palette" icon_state = "[R.group[1]]_palette"
/atom/movable/screen/button_palette/MouseEntered(location, control, params) /atom/movable/screen/button_palette/MouseEntered(location, control, params)
. = ..() . = ..()

View File

@@ -194,7 +194,7 @@
/atom/movable/screen/alert/thirsty /atom/movable/screen/alert/thirsty
name = "Thirsty" name = "Thirsty"
desc = "Some water would be good right about now." desc = "Some water would be good right about now."
icon = 'modular_sand/icons/mob/screen_alert.dmi' icon = 'modular_sand/icons/hud/screen_alert.dmi'
icon_state = "thirsty" icon_state = "thirsty"
/atom/movable/screen/alert/starving /atom/movable/screen/alert/starving
@@ -205,7 +205,7 @@
/atom/movable/screen/alert/dehydrated /atom/movable/screen/alert/dehydrated
name = "Dehydrated" name = "Dehydrated"
desc = "You're severely dehydrated." desc = "You're severely dehydrated."
icon = 'modular_sand/icons/mob/screen_alert.dmi' icon = 'modular_sand/icons/hud/screen_alert.dmi'
icon_state = "dehydrated" icon_state = "dehydrated"
*/ */

View File

@@ -34,8 +34,8 @@
action_intent = new /atom/movable/screen/act_intent/segmented(null, src) action_intent = new /atom/movable/screen/act_intent/segmented(null, src)
else else
action_intent = new /atom/movable/screen/act_intent(null, src) action_intent = new /atom/movable/screen/act_intent(null, src)
action_intent.icon = ui_style action_intent.icon = ui_style_modular(ui_style)
action_intent.icon_state = mymob.a_intent action_intent.update_icon()
static_inventory += action_intent static_inventory += action_intent

View File

@@ -15,7 +15,8 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
"Clockwork" = 'icons/mob/screen_clockwork.dmi', "Clockwork" = 'icons/mob/screen_clockwork.dmi',
"Trasen-Knox" = 'icons/mob/screen_trasenknox.dmi', "Trasen-Knox" = 'icons/mob/screen_trasenknox.dmi',
"Detective" = 'icons/mob/screen_detective.dmi', "Detective" = 'icons/mob/screen_detective.dmi',
"Liteweb" = 'modular_sand/icons/mob/screen_liteweb.dmi' "Liteweb" = 'modular_sand/icons/hud/screen_liteweb/base.dmi',
"Corru" = 'modular_sand/icons/hud/screen_corru/base.dmi'
)) ))
/proc/ui_style2icon(ui_style) /proc/ui_style2icon(ui_style)
@@ -44,7 +45,7 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
var/atom/movable/screen/synth/coolant_counter/coolant_display var/atom/movable/screen/synth/coolant_counter/coolant_display
var/atom/movable/screen/action_intent var/atom/movable/screen/action_intent
var/atom/movable/screen/zone_select var/atom/movable/screen/zone_sel/zone_select
var/atom/movable/screen/pull_icon var/atom/movable/screen/pull_icon
var/atom/movable/screen/rest_icon var/atom/movable/screen/rest_icon
var/atom/movable/screen/throw_icon var/atom/movable/screen/throw_icon

View File

@@ -3,6 +3,7 @@
/atom/movable/screen/human/toggle /atom/movable/screen/human/toggle
name = "toggle" name = "toggle"
base_icon_state = "toggle"
icon_state = "toggle" icon_state = "toggle"
mouse_over_pointer = MOUSE_HAND_POINTER mouse_over_pointer = MOUSE_HAND_POINTER
@@ -34,9 +35,19 @@
targetmob.hud_used.extra_inventory_update(usr) targetmob.hud_used.extra_inventory_update(usr)
// Sandstorm edit END // Sandstorm edit END
update_icon()
/atom/movable/screen/human/toggle/update_icon_state()
. = ..()
icon_state = check_on() ? "[base_icon_state]_on" : "[base_icon_state]"
/atom/movable/screen/human/toggle/proc/check_on()
return hud.inventory_shown
// Sandstorm edit // Sandstorm edit
/atom/movable/screen/human/toggle/extra /atom/movable/screen/human/toggle/extra
name = "toggle extra" name = "toggle extra"
base_icon_state = "toggle_extra"
icon_state = "toggle_extra" icon_state = "toggle_extra"
/atom/movable/screen/human/toggle/extra/Click() /atom/movable/screen/human/toggle/extra/Click()
@@ -56,8 +67,13 @@
usr.client.screen += targetmob.hud_used.extra_inventory usr.client.screen += targetmob.hud_used.extra_inventory
targetmob.hud_used.extra_inventory_update(usr) targetmob.hud_used.extra_inventory_update(usr)
update_icon()
// //
/atom/movable/screen/human/toggle/extra/check_on()
return hud.extra_shown
/atom/movable/screen/human/equip /atom/movable/screen/human/equip
name = "equip" name = "equip"
icon_state = "act_equip" icon_state = "act_equip"
@@ -240,7 +256,8 @@
static_inventory += using static_inventory += using
action_intent = new /atom/movable/screen/act_intent/segmented(null, src) action_intent = new /atom/movable/screen/act_intent/segmented(null, src)
action_intent.icon_state = mymob.a_intent action_intent.icon = ui_style_modular(ui_style)
action_intent.icon_state = "[action_intent.base_icon_state]_[mymob.a_intent]"
static_inventory += action_intent static_inventory += action_intent
assert_move_intent_ui(owner, TRUE) assert_move_intent_ui(owner, TRUE)
@@ -332,7 +349,7 @@
inv_box.name = "left pocket" inv_box.name = "left pocket"
inv_box.icon = ui_style inv_box.icon = ui_style
inv_box.icon_state = "pocket" inv_box.icon_state = "pocket"
inv_box.icon_full = "template" inv_box.icon_full = "template_small"
inv_box.screen_loc = ui_storage1 inv_box.screen_loc = ui_storage1
inv_box.slot_id = ITEM_SLOT_LPOCKET inv_box.slot_id = ITEM_SLOT_LPOCKET
static_inventory += inv_box static_inventory += inv_box
@@ -341,7 +358,7 @@
inv_box.name = "right pocket" inv_box.name = "right pocket"
inv_box.icon = ui_style inv_box.icon = ui_style
inv_box.icon_state = "pocket" inv_box.icon_state = "pocket"
inv_box.icon_full = "template" inv_box.icon_full = "template_small"
inv_box.screen_loc = ui_storage2 inv_box.screen_loc = ui_storage2
inv_box.slot_id = ITEM_SLOT_RPOCKET inv_box.slot_id = ITEM_SLOT_RPOCKET
static_inventory += inv_box static_inventory += inv_box
@@ -494,17 +511,21 @@
infodisplay += thirst infodisplay += thirst
healths = new /atom/movable/screen/healths(null, src) healths = new /atom/movable/screen/healths(null, src)
healths.icon = ui_style_modular(ui_style, "health")
infodisplay += healths infodisplay += healths
staminas = new /atom/movable/screen/staminas(null, src) staminas = new /atom/movable/screen/staminas(null, src)
staminas.icon = ui_style_modular(ui_style, "stamina")
infodisplay += staminas infodisplay += staminas
if(!CONFIG_GET(flag/disable_stambuffer)) if(!CONFIG_GET(flag/disable_stambuffer))
staminabuffer = new /atom/movable/screen/staminabuffer(null, src) staminabuffer = new /atom/movable/screen/staminabuffer(null, src)
staminabuffer.icon = ui_style_modular(ui_style, "stamina")
infodisplay += staminabuffer infodisplay += staminabuffer
//END OF CIT CHANGES //END OF CIT CHANGES
healthdoll = new /atom/movable/screen/healthdoll(null, src) healthdoll = new /atom/movable/screen/healthdoll(null, src)
healthdoll.icon = ui_style_modular(ui_style, "health")
infodisplay += healthdoll infodisplay += healthdoll
pull_icon = new /atom/movable/screen/pull(null, src) pull_icon = new /atom/movable/screen/pull(null, src)
@@ -536,6 +557,7 @@
zone_select = new /atom/movable/screen/zone_sel(null, src) zone_select = new /atom/movable/screen/zone_sel(null, src)
zone_select.icon = ui_style zone_select.icon = ui_style
zone_select.overlay_icon = ui_style_modular(ui_style, "zone")
zone_select.update_icon() zone_select.update_icon()
static_inventory += zone_select static_inventory += zone_select

View File

@@ -156,7 +156,7 @@
mouse_over_pointer = MOUSE_HAND_POINTER mouse_over_pointer = MOUSE_HAND_POINTER
/atom/movable/screen/language_menu/Click() /atom/movable/screen/language_menu/Click()
usr.get_language_holder().open_language_menu(usr) hud.mymob.get_language_holder().open_language_menu(hud.mymob)
/atom/movable/screen/inventory /atom/movable/screen/inventory
/// The identifier for the slot. It has nothing to do with ID cards. /// The identifier for the slot. It has nothing to do with ID cards.
@@ -306,26 +306,36 @@
mouse_over_pointer = MOUSE_HAND_POINTER mouse_over_pointer = MOUSE_HAND_POINTER
/atom/movable/screen/act_intent/Click(location, control, params) /atom/movable/screen/act_intent/Click(location, control, params)
usr.a_intent_change(INTENT_HOTKEY_RIGHT) hud.mymob.a_intent_change(INTENT_HOTKEY_RIGHT)
/atom/movable/screen/act_intent/update_icon_state()
icon_state = hud.mymob.a_intent || initial(icon_state)
/atom/movable/screen/act_intent/segmented
base_icon_state = "intent"
/atom/movable/screen/act_intent/segmented/Click(location, control, params) /atom/movable/screen/act_intent/segmented/Click(location, control, params)
if(usr.client.prefs.toggles & INTENT_STYLE) if(!(hud.mymob?.client.prefs.toggles & INTENT_STYLE))
var/_x = text2num(params2list(params)["icon-x"])
var/_y = text2num(params2list(params)["icon-y"])
if(_x<=16 && _y<=16)
usr.a_intent_change(INTENT_HARM)
else if(_x<=16 && _y>=17)
usr.a_intent_change(INTENT_HELP)
else if(_x>=17 && _y<=16)
usr.a_intent_change(INTENT_GRAB)
else if(_x>=17 && _y>=17)
usr.a_intent_change(INTENT_DISARM)
else
return ..() return ..()
var/_x = text2num(params2list(params)["icon-x"])
var/_y = text2num(params2list(params)["icon-y"])
if(_x<=16 && _y<=16)
usr.a_intent_change(INTENT_HARM)
else if(_x<=16 && _y>=17)
usr.a_intent_change(INTENT_HELP)
else if(_x>=17 && _y<=16)
usr.a_intent_change(INTENT_GRAB)
else if(_x>=17 && _y>=17)
usr.a_intent_change(INTENT_DISARM)
update_icon()
/atom/movable/screen/act_intent/segmented/update_icon_state()
icon_state = "[base_icon_state]_[hud.mymob.a_intent]"
/atom/movable/screen/act_intent/alien /atom/movable/screen/act_intent/alien
icon = 'icons/mob/screen_alien.dmi' icon = 'icons/mob/screen_alien.dmi'
@@ -427,9 +437,13 @@
screen_loc = ui_zonesel screen_loc = ui_zonesel
mouse_over_pointer = MOUSE_HAND_POINTER mouse_over_pointer = MOUSE_HAND_POINTER
var/overlay_icon = 'icons/mob/screen_gen.dmi' var/overlay_icon = 'icons/mob/screen_gen.dmi'
var/static/list/hover_overlays_cache = list() var/list/hover_overlays_cache = list()
var/hovering var/hovering
/atom/movable/screen/zone_sel/Destroy()
QDEL_LIST_ASSOC(hover_overlays_cache)
return ..()
/atom/movable/screen/zone_sel/Click(location, control,params) /atom/movable/screen/zone_sel/Click(location, control,params)
if(isobserver(usr)) if(isobserver(usr))
return return

View File

@@ -962,6 +962,8 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb
outline_color = COLOR_THEME_DETECTIVE outline_color = COLOR_THEME_DETECTIVE
if("liteweb") if("liteweb")
outline_color = COLOR_THEME_LITEWEB outline_color = COLOR_THEME_LITEWEB
if("corru")
outline_color = COLOR_THEME_CORRU
else //this should never happen, hopefully else //this should never happen, hopefully
outline_color = COLOR_WHITE outline_color = COLOR_WHITE
if(color) if(color)

View File

@@ -0,0 +1,9 @@
/datum/asset/simple/namespaced/fonts
parents = list("fonts.css" = 'interface/fonts/fonts.css')
/datum/asset/simple/namespaced/fonts/New()
for(var/datum/font/font as anything in subtypesof(/datum/font))
var/file = "[initial(font.font_family)]"
var/file_name = copytext(file, findlasttext(file, "/") + 1)
assets[file_name] = file
return ..()

View File

@@ -651,11 +651,11 @@
if(hal_screwyhud == SCREWYHUD_HEALTHY) if(hal_screwyhud == SCREWYHUD_HEALTHY)
icon_num = 0 icon_num = 0
if(icon_num) if(icon_num)
hud_used.healthdoll.add_overlay(mutable_appearance('icons/mob/screen_gen.dmi', "[BP.body_zone][icon_num]")) hud_used.healthdoll.add_overlay(mutable_appearance(ui_style_modular(hud_used.ui_style, "health"), "[BP.body_zone][icon_num]"))
for(var/t in get_missing_limbs()) //Missing limbs for(var/t in get_missing_limbs()) //Missing limbs
hud_used.healthdoll.add_overlay(mutable_appearance('icons/mob/screen_gen.dmi', "[t]6")) hud_used.healthdoll.add_overlay(mutable_appearance(ui_style_modular(hud_used.ui_style, "health"), "[t]6"))
for(var/t in get_disabled_limbs()) //Disabled limbs for(var/t in get_disabled_limbs()) //Disabled limbs
hud_used.healthdoll.add_overlay(mutable_appearance('icons/mob/screen_gen.dmi', "[t]7")) hud_used.healthdoll.add_overlay(mutable_appearance(ui_style_modular(hud_used.ui_style, "health"), "[t]7"))
else else
hud_used.healthdoll.icon_state = "healthdoll_DEAD" hud_used.healthdoll.icon_state = "healthdoll_DEAD"

View File

@@ -308,7 +308,7 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
a_intent = possible_a_intents[current_intent] a_intent = possible_a_intents[current_intent]
if(hud_used && hud_used.action_intent) if(hud_used && hud_used.action_intent)
hud_used.action_intent.icon_state = "[a_intent]" hud_used.action_intent.update_icon()
/proc/is_blind(A) /proc/is_blind(A)

View File

@@ -44,7 +44,13 @@ Notes:
owner = C owner = C
var/datum/asset/stuff = get_asset_datum(/datum/asset/simple/jquery) var/datum/asset/stuff = get_asset_datum(/datum/asset/simple/jquery)
stuff.send(owner) stuff.send(owner)
owner << browse(file2text('code/modules/tooltip/tooltip.html'), "window=[control]") var/datum/asset/simple/namespaced/fonts/fonts = get_asset_datum(/datum/asset/simple/namespaced/fonts)
fonts.send(owner)
var/static/file2send
if(!file2send)
file2send = replacetext(file2text('code/modules/tooltip/tooltip.html'), "THE_FONT_GOES_HERE!!!!!!!!!!!!!!!", SSassets.transport.get_asset_url("fonts.css"))
owner << browse(file2send, "window=[control]")
..() ..()

View File

@@ -4,6 +4,7 @@
<title>Tooltip</title> <title>Tooltip</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel='stylesheet' href='THE_FONT_GOES_HERE!!!!!!!!!!!!!!!' >
<style type="text/css"> <style type="text/css">
body, html { body, html {
margin: 0; margin: 0;
@@ -104,6 +105,13 @@
#1b1d1a 4px #1b1d1a 4px
); background-size: 100% 4px;} ); background-size: 100% 4px;}
.corru .wrap {border: 2px dashed #FFFF00; background-color: #000000;}
.corru .content {color: #FFFFFF; border-color: #000000; background-color: #000000; font-family: "Space Mono";}
.corru .content h1::before {content: "NOTE::'"; display: inline;}
.corru .content h1::after {content: "'"; display: inline;}
.corru .content p::before {content: "INHERITED CONTEXT::'"; display: inline;}
.corru .content p::after {content: "'"; display: inline;}
</style> </style>
</head> </head>
<body> <body>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

29
interface/fonts/fonts.css Normal file
View File

@@ -0,0 +1,29 @@
@font-face {
font-family: "Grand9K Pixel";
src: url("Grand9K_Pixel.ttf");
}
@font-face {
font-family: "Pixellari";
src: url("Pixellari.ttf");
}
@font-face {
font-family: "Space Mono";
src: url("SpaceMono.ttf");
}
@font-face {
font-family: "Spess Font";
src: url("SpessFont.ttf");
}
@font-face {
font-family: "Tiny Unicode";
src: url("TinyUnicode.ttf");
}
@font-face {
font-family: "VCR OSD Mono";
src: url("VCR_OSD_MONO.ttf");
}

View File

@@ -6,6 +6,9 @@ Pixellari created by Zacchary Dempsey-Plante. Website indicates free for commerc
Spess Font created by MTandi (discord) for /tg/station. Spess Font created by MTandi (discord) for /tg/station.
Space Mono Licensed by Google under SIL Open Font License, V1.1.
(https://openfontlicense.org) (https://fonts.google.com/specimen/Space+Mono)
Tiny Unicode created by Jakob Riedle/DuffsDevice. Website indicates free for commercial use. Tiny Unicode created by Jakob Riedle/DuffsDevice. Website indicates free for commercial use.
(https://fontmeme.com/fonts/tiny-unicode-font/) (https://fontmeme.com/fonts/tiny-unicode-font/)

View File

@@ -0,0 +1,3 @@
/datum/font/spacemono
name = "Space Mono"
font_family = 'interface/fonts/SpaceMono.ttf'

View File

@@ -9,24 +9,38 @@
/// UI element for thirst /// UI element for thirst
var/atom/movable/screen/thirst var/atom/movable/screen/thirst
// Used for getting icons for extra inventory slots /proc/ui_style_modular(ui_style, variant = "base")
GLOBAL_LIST_INIT(modular_ui_styles, list( var/static/cache = list()
'icons/mob/screen_midnight.dmi' = 'modular_sand/icons/mob/screen_midnight.dmi',
'icons/mob/screen_retro.dmi' = 'modular_sand/icons/mob/screen_retro.dmi',
'icons/mob/screen_plasmafire.dmi' = 'modular_sand/icons/mob/screen_plasmafire.dmi',
'icons/mob/screen_slimecore.dmi' = 'modular_sand/icons/mob/screen_slimecore.dmi',
'icons/mob/screen_operative.dmi' = 'modular_sand/icons/mob/screen_operative.dmi',
'icons/mob/screen_clockwork.dmi' = 'modular_sand/icons/mob/screen_clockwork.dmi',
'icons/mob/screen_trasenknox.dmi' = 'modular_sand/icons/mob/screen_trasenknox.dmi',
'modular_sand/icons/mob/screen_liteweb.dmi' = 'modular_sand/icons/mob/screen_liteweb.dmi'
))
// Same as above var/check = LAZYACCESSASSOC(cache, ui_style, variant)
/proc/ui_style_modular(ui_style) if(check)
if(isfile(ui_style)) return check
return GLOB.modular_ui_styles[ui_style] || GLOB.modular_ui_styles[GLOB.modular_ui_styles[1]]
else switch(ui_style)
return GLOB.modular_ui_styles[ui_style] || GLOB.modular_ui_styles[GLOB.modular_ui_styles[1]] if('icons/mob/screen_plasmafire.dmi')
. = "modular_sand/icons/hud/screen_plasmafire/"
if('icons/mob/screen_slimecore.dmi')
. = "modular_sand/icons/hud/screen_slimecore/"
if('icons/mob/screen_operative.dmi')
. = "modular_sand/icons/hud/screen_operative/"
if('icons/mob/screen_clockwork.dmi')
. = "modular_sand/icons/hud/screen_clockwork/"
if('icons/mob/screen_glass.dmi')
. = "modular_sand/icons/hud/screen_glass/"
if('icons/mob/screen_trasenknox.dmi')
. = "modular_sand/icons/hud/screen_trasenknox/"
if('icons/mob/screen_detective.dmi')
. = "modular_sand/icons/hud/screen_detective/"
if('modular_sand/icons/hud/screen_liteweb/base.dmi')
. = "modular_sand/icons/hud/screen_liteweb/"
if('modular_sand/icons/hud/screen_corru/base.dmi')
. = "modular_sand/icons/hud/screen_corru/"
else
. = "modular_sand/icons/hud/screen_midnight/"
. = file("[.][variant].dmi")
LAZYADDASSOC(cache, ui_style, variant)
cache[ui_style][variant] = .
// Called after updating extra inventory // Called after updating extra inventory
/datum/hud/proc/extra_inventory_update() /datum/hud/proc/extra_inventory_update()

View File

@@ -2,13 +2,13 @@
/atom/movable/screen/hunger /atom/movable/screen/hunger
name = "hunger" name = "hunger"
icon = 'modular_sand/icons/mob/screen_gen.dmi' icon = 'modular_sand/icons/hud/screen_gen.dmi'
icon_state = "nutrition0" icon_state = "nutrition0"
screen_loc = ui_hunger_thirst screen_loc = ui_hunger_thirst
/atom/movable/screen/thirst /atom/movable/screen/thirst
name = "thirst" name = "thirst"
icon = 'modular_sand/icons/mob/screen_gen.dmi' icon = 'modular_sand/icons/hud/screen_gen.dmi'
icon_state = "hydration0" icon_state = "hydration0"
screen_loc = ui_hunger_thirst screen_loc = ui_hunger_thirst

View File

@@ -8,5 +8,5 @@
/atom/movable/screen/alert/status_effect/argent /atom/movable/screen/alert/status_effect/argent
name = "Argent Energized" name = "Argent Energized"
desc = "Argent energy rushes through your body! You'll only take 10% damage for the duration of the energy rush!" desc = "Argent energy rushes through your body! You'll only take 10% damage for the duration of the energy rush!"
icon = 'modular_sand/icons/mob/screen_alert.dmi' icon = 'modular_sand/icons/hud/screen_alert.dmi'
icon_state = "argent" icon_state = "argent"

View File

@@ -84,7 +84,7 @@
/atom/movable/screen/alert/status_effect/dripping_cum /atom/movable/screen/alert/status_effect/dripping_cum
name = "Dripping Cum" name = "Dripping Cum"
desc = "Your last affairs left you dripping someone's seed." desc = "Your last affairs left you dripping someone's seed."
icon = 'modular_sand/icons/mob/screen_alert.dmi' icon = 'modular_sand/icons/hud/screen_alert.dmi'
icon_state = "dripping_cum" icon_state = "dripping_cum"
/atom/movable/screen/alert/status_effect/dripping_cum/MouseEntered(location,control,params) /atom/movable/screen/alert/status_effect/dripping_cum/MouseEntered(location,control,params)

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 926 B

View File

@@ -1922,6 +1922,7 @@
#include "code\modules\asset_cache\assets\common.dm" #include "code\modules\asset_cache\assets\common.dm"
#include "code\modules\asset_cache\assets\condiments.dm" #include "code\modules\asset_cache\assets\condiments.dm"
#include "code\modules\asset_cache\assets\fish.dm" #include "code\modules\asset_cache\assets\fish.dm"
#include "code\modules\asset_cache\assets\font.dm"
#include "code\modules\asset_cache\assets\fontawesome.dm" #include "code\modules\asset_cache\assets\fontawesome.dm"
#include "code\modules\asset_cache\assets\genetics.dm" #include "code\modules\asset_cache\assets\genetics.dm"
#include "code\modules\asset_cache\assets\headers.dm" #include "code\modules\asset_cache\assets\headers.dm"
@@ -3940,6 +3941,7 @@
#include "interface\fonts\fonts_datum.dm" #include "interface\fonts\fonts_datum.dm"
#include "interface\fonts\grand_9k.dm" #include "interface\fonts\grand_9k.dm"
#include "interface\fonts\pixellari.dm" #include "interface\fonts\pixellari.dm"
#include "interface\fonts\space_mono.dm"
#include "interface\fonts\spess_font.dm" #include "interface\fonts\spess_font.dm"
#include "interface\fonts\tiny_unicode.dm" #include "interface\fonts\tiny_unicode.dm"
#include "interface\fonts\vcr_osd_mono.dm" #include "interface\fonts\vcr_osd_mono.dm"

View File

@@ -62,6 +62,8 @@ export const DmTarget = new Juke.Target({
'icons/**', 'icons/**',
'interface/**', 'interface/**',
`${DME_NAME}.dme`, `${DME_NAME}.dme`,
'modular_citadel/**',
'modular_sand/**',
], ],
outputs: [ outputs: [
`${DME_NAME}.dmb`, `${DME_NAME}.dmb`,