-
Notifications
You must be signed in to change notification settings - Fork 287
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
feat(port): streams #5987
feat(port): streams #5987
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"t_region_tree_forest"
([slow] ~starting_items)=> Terminated: ::error file=data/json/overmap/overmap_terrain/overmap_terrain_stream.json,line=10,col=39::invalid overmap terrain flag: "REQUIRES_PREDECESSOR"
([slow] ~starting_items)=>
([slow] ~starting_items)=> "color": "light_blue",
([slow] ~starting_items)=> "vision_levels": "blends_till_details",
([slow] ~starting_items)=> "flags": [ "REQUIRES_PREDECESSOR" ]
([slow] ~starting_items)=> ^
([slow] ~starting_items)=>
([slow] ~starting_items)=> }
([slow] ~starting_items)=> ]
([slow] ~starting_items)=>
([slow] ~starting_items)=> Make sure that you're in the correct working directory and your data isn't corrupted.
test exited with code 1
REQUIRES_PREDECESSOR
seems to be an DDA-only flag and thus is failing the tests
It looks like you're lifting the linked PR contents wholesale with minimal modification. You need to add the original PR authors as co-authors, and fill out some of the Optional (now required) parts of the checklist
I'd also like a better description than |
Credit to @SandwichPie for most of the original JSON work |
please read:
|
It looks like we aren't throwing errors anymore, which is exciting to see. I don't have an email for @SandwichPie or a way to get in contact with them. Is it adequate to link the original PR and author? |
their email is sandwichpie007@gmail.com (from https://github.com/SandwichPie/SandwichPie.github.io/commit/909889a7b9638b7fa52d1a7c958c7ab0f647205a.patch). see https://wizardsourcer.com/simple-way-to-find-github-user-emails/ for details. |
Ports stream JSON from DDA originally created for the Innawoods mod Co-authored-by: SandwichPie <sandwichpie007@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Compiled and load-tested.
- Revealed map, could encounter streams.
- Went to a stream and uh...
Honestly it looks goofy as hell and this doesn't even show how it winds all over the map screen across open fields, like:
Bare minimum, you need to sanity-check the item spawns on it, this is with default item spawn rate. If you can also sanity-check how long streams are that'd be ideal too because this one stream winds south from negative 143 all the way to -47 and then BACK UP as far as -101.
Both also ended just running into a road, and evidently rely on being a non-unique mandatory overmap special? I do like this implementation in the slightest to be honest, it reeks of hackery.
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I can figure out what property controls the max size of streams or some way to fix it liking to ram into roads, can't think of any other improvements to this.
Based on my incredibly bad understanding of mapgen, it should be possible to create a stream bridge in the same way we have river bridges. No one has done this in DDA yet (this came from innawood which has no roads anyway). I don't know that there is a stream length cap either in mapgen. |
I know there's SOME sort of size setting for mutable mapgen but I've yet to really dick around with how it works, so hmm. |
* stream mapgen * nice beaver dam * Add files via upload * update palette * stream monster groups * Add files via upload * Add files via upload * break up monster subgroups * rem priority stream.json * rem REQUIRES_PREDECESSOR flag * rem vision_levels field * rem missing bushes * rem t_shrub_hobblebush * rem fallback_predecessor_mapgen field from stream mapgen * rem flags and use_pack_size * rem flags stream_nested * rem goat * rem twig * Add files via upload * t_region_tree and t_region_shrub fixes * rem field_stone * co-author note Ports stream JSON from DDA originally created for the Innawoods mod Co-authored-by: SandwichPie <sandwichpie007@gmail.com> * Update data/json/overmap/overmap_mutable/stream.json Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com> * Update data/json/overmap/overmap_terrain/overmap_terrain_stream.json Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com> * Update data/json/mapgen_palettes/stream.json Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com> --------- Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Purpose of change (The Why)
More interesting wilderness maps, enabling more interesting monster spawns. Required for DinoMod monster spawn port.
Describe the solution (The How)
A stream. Associated monstergroup is entirely rebuilt due to code and content differences.
Ported from:
CleverRaven/Cataclysm-DDA#71008
...which ports mod content originally created here:
CleverRaven/Cataclysm-DDA#67065
Removes content and features that are not present or supported in BN
Some content tweaks to better match BN standards based on feedback
Describe alternatives you've considered
N/A
Testing
Game loads no errors. Streams spawn as expected and look right
![Screenshot 2025-02-04 at 9 11 41 PM](https://private-user-images.githubusercontent.com/26608431/409800071-c526e4c0-f7b5-4063-88d5-969e9a7b5ea0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODUwMTQsIm5iZiI6MTczOTU4NDcxNCwicGF0aCI6Ii8yNjYwODQzMS80MDk4MDAwNzEtYzUyNmU0YzAtZjdiNS00MDYzLTg4ZDUtOTY5ZTlhN2I1ZWEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAxNTgzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5YTM4ODMwZjU4MDNhOWM5Mzk4NmM3YTc0YmQ5YmZiNjM3MmRhZjY0YTlkNDAzZTc3YzZkOWQ5Y2E1ZjY4NDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zompfehg4aLMwDd0zgnTD1XTpvDcZ3V6hJnrb4h4TLg)
Additional context
Part of a larger effort to rebalance DinoMod spawns. Also handy for any future innawood work
Credit to @SandwichPie and @Light-Wave for the original JSON work
Checklist
Mandatory
closes #1234
in Summary of the PR so it can be closed automatically.main
so it won't cause conflict when updatingmain
branch later.Optional
Co-Authored-By
in the commit message.