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

optimization(exodus): remove unnecessary z-levels #10778

Merged
merged 12 commits into from
Oct 26, 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
2,968 changes: 2,719 additions & 249 deletions maps/exodus/exodus-3.dmm

Large diffs are not rendered by default.

3,968 changes: 3,402 additions & 566 deletions maps/exodus/exodus-4.dmm

Large diffs are not rendered by default.

2,449 changes: 0 additions & 2,449 deletions maps/exodus/exodus-5.dmm

This file was deleted.

3,405 changes: 0 additions & 3,405 deletions maps/exodus/exodus-6.dmm

This file was deleted.

2 changes: 0 additions & 2 deletions maps/exodus/exodus_define.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
new /datum/space_level/exodus_2,
new /datum/space_level/exodus_3,
new /datum/space_level/exodus_4,
new /datum/space_level/exodus_5,
new /datum/space_level/exodus_6,
new /datum/space_level/null_space,
new /datum/space_level/telecomms,
new /datum/space_level/construction_site,
Expand Down
27 changes: 0 additions & 27 deletions maps/exodus/exodus_levels.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,11 @@
/datum/space_level/exodus_3/generate(z)
// Create the mining Z-level.
new /datum/random_map/automata/cave_system(null, 1, 1, z, 255, 255)
new /datum/random_map/automata/cave_system/prison(null, 1, 1, z, 255, 255)
// Create the mining ore distribution map.
new /datum/random_map/noise/ore(null, 1, 1, z, 255, 255)

/datum/space_level/exodus_4
path = 'exodus-4.dmm'
travel_chance = 10
traits = list(
ZTRAIT_CONTACT
)

/datum/space_level/exodus_4/generate(z)
// Create the mining Z-level.
new /datum/random_map/automata/cave_system(null, 1, 1, z, 255, 255)
new /datum/random_map/automata/cave_system/prison(null, 1, 1, z, 255, 255)
// Create the mining ore distribution map.
new /datum/random_map/noise/ore(null, 1, 1, z, 255, 255)

/datum/space_level/exodus_5
path = 'exodus-5.dmm'
travel_chance = 10
traits = list(
ZTRAIT_CONTACT
)

/datum/space_level/exodus_5/generate(z)
// Create the mining Z-level.
new /datum/random_map/automata/cave_system(null, 1, 1, z, 255, 255)
// Create the mining ore distribution map.
new /datum/random_map/noise/ore(null, 1, 1, z, 255, 255)
/datum/space_level/exodus_6
path = 'exodus-6.dmm'
traits = list(
ZTRAIT_CENTCOM,
ZTRAIT_CONTACT,
Expand Down
Loading