Skip to content

Commit

Permalink
optimization(exodus): remove unnecessary z-levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Zert0X authored Oct 26, 2023
1 parent 595a1b5 commit 37e3fc2
Show file tree
Hide file tree
Showing 6 changed files with 6,121 additions and 6,698 deletions.
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

0 comments on commit 37e3fc2

Please sign in to comment.