Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes deprecated ruin blacklists and other .txt files. #2441

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -134,27 +134,13 @@ SUBSYSTEM_DEF(mapping)
for(var/datum/planet_type/type as anything in subtypesof(/datum/planet_type))
planet_types[initial(type.planet)] = new type

// Still supporting bans by filename
// I hate this so much. I want to kill it because I don't think ANYONE uses this
// Couldn't you just remove it on a fork or something??? come onnnnnnnnnnnn stop EXISTING already
var/list/banned = generateMapList("[global.config.directory]/lavaruinblacklist.txt")
banned += generateMapList("[global.config.directory]/spaceruinblacklist.txt")
banned += generateMapList("[global.config.directory]/iceruinblacklist.txt")
banned += generateMapList("[global.config.directory]/sandruinblacklist.txt")
banned += generateMapList("[global.config.directory]/jungleruinblacklist.txt")
banned += generateMapList("[global.config.directory]/rockruinblacklist.txt")
banned += generateMapList("[global.config.directory]/wasteruinblacklist.txt")

for(var/item in sortList(subtypesof(/datum/map_template/ruin), /proc/cmp_ruincost_priority))
var/datum/map_template/ruin/ruin_type = item
// screen out the abstract subtypes
if(!initial(ruin_type.id))
continue
var/datum/map_template/ruin/R = new ruin_type()

if(R.mappath in banned)
continue

map_templates[R.name] = R
ruins_templates[R.name] = R
ruin_types_list[R.ruin_type] += list(R.name = R)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/beachplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\beachruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/beachplanet
prefix = "_maps/RandomRuins/BeachRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/icemoon.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\iceruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/icemoon
prefix = "_maps/RandomRuins/IceRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/jungle.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\jungleruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/jungle
prefix = "_maps/RandomRuins/JungleRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/lavaland.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\lavaruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/lavaland
prefix = "_maps/RandomRuins/LavaRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/rockplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\rockruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/rockplanet
prefix = "_maps/RandomRuins/RockRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/space.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\spaceruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/space
prefix = "_maps/RandomRuins/SpaceRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/wasteplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\wasteruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/wasteplanet
prefix = "_maps/RandomRuins/WasteRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/whitesands.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\sandruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/whitesands
prefix = "_maps/RandomRuins/SandRuins/"
Expand Down
14 changes: 0 additions & 14 deletions config/atmos_mix.txt

This file was deleted.

23 changes: 0 additions & 23 deletions config/awaymissionconfig.txt

This file was deleted.

1 change: 0 additions & 1 deletion config/external_rsc_urls.txt

This file was deleted.

18 changes: 0 additions & 18 deletions config/iceruinblacklist.txt

This file was deleted.

50 changes: 0 additions & 50 deletions config/jobs.txt

This file was deleted.

27 changes: 0 additions & 27 deletions config/jungleruinblacklist.txt

This file was deleted.

43 changes: 0 additions & 43 deletions config/lavaruinblacklist.txt

This file was deleted.

66 changes: 0 additions & 66 deletions config/maps.txt

This file was deleted.

29 changes: 0 additions & 29 deletions config/rockruinblacklist.txt

This file was deleted.

12 changes: 0 additions & 12 deletions config/sandruinblacklist.txt

This file was deleted.

Loading