Merge pull request #4708 from Citadel-Station-13/upstream-merge-34067

[MIRROR] Removes standard resources from config tree
This commit is contained in:
deathride58
2018-01-08 20:52:05 +00:00
committed by GitHub
4 changed files with 21 additions and 21 deletions
+17 -13
View File
@@ -26,21 +26,25 @@ SUBSYSTEM_DEF(title)
if((L.len == 1 && L[1] != "blank.png")|| (L.len > 1 && ((use_rare_screens && lowertext(L[1]) == "rare") || (lowertext(L[1]) == lowertext(SSmapping.config.map_name)))))
title_screens += S
if(!isemptylist(title_screens))
if(length(title_screens) > 1)
for(var/S in title_screens)
var/list/L = splittext(S,".")
if(L.len != 2 || L[1] != "default")
continue
title_screens -= S
break
file_path = "config/title_screens/images/[pick(title_screens)]"
for(var/S in title_screens)
var/list/L = splittext(S,".")
if(L.len != 2)
continue
title_screens -= S
break
icon = new(fcopy_rsc(file_path))
if(length(title_screens))
file_path = "config/title_screens/images/[pick(title_screens)]"
if(!file_path)
file_path = "icons/default_title.dmi"
ASSERT(fexists(file_path))
if(splash_turf)
splash_turf.icon = icon
icon = new(fcopy_rsc(file_path))
if(splash_turf)
splash_turf.icon = icon
/datum/controller/subsystem/title/vv_edit_var(var_name, var_value)
. = ..()
-8
View File
@@ -28,11 +28,3 @@ Unless otherwise noted all images were created by Cuban Pete on July 26, 2555. T
---END EXAMPLES (NOT PART OF ANY LICENSE)---
---ADD LICENSING INFORMATION BELOW---
blank.png and default.dmi use the default licensing found in README.md in the root directory of the project.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

+4
View File
@@ -18,6 +18,10 @@ if [ "$BUILD_TOOLS" = false ]; then
grep '^var/' code/*.dm | echo
exit 1
fi;
#config folder should not be mandatory
rm -rf config
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
if [ "$BUILD_TESTING" = true ]; then
tools/travis/dm.sh -DTRAVISBUILDING tgstation.dme