Removes standard resources from config tree

This commit is contained in:
Jordan Brown
2018-01-07 18:31:30 -08:00
committed by CitadelStationBot
parent 1f65e222b7
commit 065b616af8
4 changed files with 25 additions and 10 deletions
+21 -2
View File
@@ -26,6 +26,7 @@ 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
<<<<<<< HEAD
if(!isemptylist(title_screens))
if(length(title_screens) > 1)
for(var/S in title_screens)
@@ -38,9 +39,27 @@ SUBSYSTEM_DEF(title)
file_path = "config/title_screens/images/[pick(title_screens)]"
icon = new(fcopy_rsc(file_path))
=======
for(var/S in title_screens)
var/list/L = splittext(S,".")
if(L.len != 2)
continue
title_screens -= S
break
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))
>>>>>>> 2d34f37... Removes standard resources from config tree (#34067)
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