mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Corrects mining export names on icebox (#91145)
## About The Pull Request Closes #90666, converts minetypes to defines, gives icebox a minetype define which could also be used later to give mining suits some fur or something. ## Changelog 🆑 fix: Icebox artifact exports no longer claim they're from a lava planet /🆑
This commit is contained in:
@@ -448,9 +448,9 @@ Used by the AI doomsday and the self-destruct nuke.
|
||||
|
||||
#ifndef LOWMEMORYMODE
|
||||
|
||||
if(current_map.minetype == "lavaland")
|
||||
if(current_map.minetype == MINETYPE_LAVALAND)
|
||||
LoadGroup(FailedZs, "Lavaland", "map_files/Mining", "Lavaland.dmm", default_traits = ZTRAITS_LAVALAND)
|
||||
else if (!isnull(current_map.minetype) && current_map.minetype != "none")
|
||||
else if (!isnull(current_map.minetype) && current_map.minetype != MINETYPE_NONE && current_map.minetype != MINETYPE_ICE)
|
||||
INIT_ANNOUNCE("WARNING: An unknown minetype '[current_map.minetype]' was set! This is being ignored! Update the maploader code!")
|
||||
#endif
|
||||
|
||||
@@ -511,7 +511,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
|
||||
/datum/controller/subsystem/mapping/proc/preloadRuinTemplates()
|
||||
// Still supporting bans by filename
|
||||
var/list/banned = generateMapList("spaceruinblacklist.txt")
|
||||
if(current_map.minetype == "lavaland")
|
||||
if(current_map.minetype == MINETYPE_LAVALAND)
|
||||
banned += generateMapList("lavaruinblacklist.txt")
|
||||
else if(current_map.blacklist_file)
|
||||
banned += generateMapList(current_map.blacklist_file)
|
||||
|
||||
Reference in New Issue
Block a user