mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-09 15:16:59 +00:00
* Time to become our TGUI God. * Visually sprucing the copyrights. These shouldn't be ignored :) * babababa * https://github.com/tgstation/tgstation/pull/50422 * dooootdooot * Holy fuck Updates the tools folder Updates our build tooling Updates TGUI MASSIVELY I'm going to go scream in a hole now * ?? * Was it this dum thing? * orrrr * It's this isn't it * Did it manually * hubah * TGUI Changelog * oops * What if I use the original? * Lets try this again * Shit commenting out for now * asdasd * Fuck it use the old one and remember to replace later * Updates yarn.lock * Lets try something horrid * Nope it HATES THAT * fucc * The great eslinting * HOLY SHIT * Final? * ? * asd tgstation/tgstation/pull/59914 tgstation/tgstation/pull/66317 * Improved Asset handling. * Oops * Subsystem stuff * Recompiles the Changelong again. * Finally Fixed Communicators * Compiled Changelogs... AGAIN
33 lines
972 B
Plaintext
33 lines
972 B
Plaintext
/datum/asset/simple/namespaced/nanoui
|
|
keep_local_name = TRUE
|
|
|
|
/datum/asset/simple/namespaced/nanoui/register()
|
|
var/list/static_dirs = list(
|
|
"nano/css/",
|
|
"nano/images/",
|
|
"nano/images/status_icons/",
|
|
"nano/images/modular_computers/",
|
|
)
|
|
|
|
var/list/parent_dirs = list(
|
|
"nano/js/",
|
|
"nano/templates/"
|
|
)
|
|
|
|
var/list/filenames = null
|
|
for(var/path in static_dirs)
|
|
filenames = flist(path)
|
|
for(var/filename in filenames)
|
|
if(copytext(filename, length(filename)) == "/") // filenames which end in "/" are actually directories, which we want to ignore
|
|
continue
|
|
if(fexists(path + filename))
|
|
assets[filename] = file(path + filename)
|
|
for(var/path in parent_dirs)
|
|
filenames = flist(path)
|
|
for(var/filename in filenames)
|
|
if(copytext(filename, length(filename)) == "/") // filenames which end in "/" are actually directories, which we want to ignore
|
|
continue
|
|
if(fexists(path + filename))
|
|
parents[filename] = file(path + filename)
|
|
. = ..()
|