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

gameplay mod: water that is covered by constructions doesn't freeze #5210

Open
myk002 opened this issue Jan 21, 2025 · 0 comments
Open

gameplay mod: water that is covered by constructions doesn't freeze #5210

myk002 opened this issue Jan 21, 2025 · 0 comments

Comments

@myk002
Copy link
Member

myk002 commented Jan 21, 2025

allow player to build water shelters and make the sheltered water not freeze in winter

we can do this by periodically scanning the map and identifying all tiles that are skyview+inside that have a solid construction (everything other than fortification and stairs?) above them. Mark such tiles as underground+inside.

conversely, we'll also have to identify tiles that should be marked back to skyview when constructions are deconstructed

probably want to be a plugin due to map tile iteration required for periodic sweep (though most transitions can be done in an EventManager callback for new/removed construction)

@myk002 myk002 changed the title gameplay mod: water that is covered by constructions or buildings doesn't freeze gameplay mod: water that is covered by constructions doesn't freeze Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant