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

Tret Industrial Complex + Away Site Exoplanet Generation #19054

Merged
merged 55 commits into from
Jun 2, 2024

Conversation

DreamySkrell
Copy link
Contributor

@DreamySkrell DreamySkrell commented Apr 28, 2024

image
image

image
image
image

@DreamySkrell
Copy link
Contributor Author

!wip

@BotBOREALIS BotBOREALIS added the WIP The PR is a work in progress and should not be reviewed yet. label Apr 28, 2024
@github-actions github-actions bot added the 🗺️ Mapping - Away Ship/Away Site The PR touches away ship and/or away site map files. label Apr 28, 2024
@DreamySkrell
Copy link
Contributor Author

!review

@BotBOREALIS BotBOREALIS added Review Required and removed WIP The PR is a work in progress and should not be reviewed yet. labels May 27, 2024
Comment on lines 45 to 48
/// `themes` should be assoc map of `/turf/unsimulated/marker/...` path to `/datum/exoplanet_theme/...` path.
/// Exoplanet generation is not used if `themes` is null.
/// See docs of `/datum/map_template/ruin/away_site`.
/datum/map_template/proc/load_new_z(var/no_changeturf = TRUE, var/list/themes = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't the correct place to shove the exoplanet generation in, do it exoplanet side, not in the generic template maploader

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed mmmaybe

Comment on lines 83 to 88
//exoplanet generation
if(themes)
for(var/marker_turf_type in themes)
var/datum/exoplanet_theme/exoplanet_theme_type = themes[marker_turf_type]
var/datum/exoplanet_theme/exoplanet_theme = new exoplanet_theme_type()
exoplanet_theme.generate_map(initial_z, 1, 1, 254, 254, marker_turf_type)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

exoplanet_themes = away_site.exoplanet_themes

// actually load it
if (template.load_new_z(themes=exoplanet_themes))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

Copy link

github-actions bot commented Jun 1, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Alberyk Alberyk added this pull request to the merge queue Jun 2, 2024
Merged via the queue into Aurorastation:master with commit 5ae3436 Jun 2, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗺️ Mapping - Away Ship/Away Site The PR touches away ship and/or away site map files. Review Required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants