Sanity-check microlab leech plant spawns #2826
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Balance "Reduce spawn chance of leech stalks and leech pod clusters in microlab variant so there isn't literally 77 monsters packed in a single map tile"
Purpose of change
I stumbled on another weird case of wacky leech plant spawns, turns out the microlab spawn just pre-generates a giant horde with fixed spawns. Given the player has to reach them in the first place, they should already have plenty enough time in the reality bubble to generate critters and propagate without needing such a massive assist.
Describe the solution
place_monster
, toning it down to 5-10 each of leech stalks and leech pod clusters (down from 32 and 44 respectively), plus the fixed spawn of the leech blossom.Describe alternatives you've considered
Converting the weird janky spawn-in-specific-spots-by-tile nonsense into some
place_monster
spawns allowing us to set exactly the min and max number we want, along with letting us define an area for them to spawn in instead of this weird tile-based method.Testing
Before:
![image](https://private-user-images.githubusercontent.com/11582235/238243094-bbef2b6e-2e38-4e24-9160-c8a7aede7330.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODU4MjUsIm5iZiI6MTcyMDU4NTUyNSwicGF0aCI6Ii8xMTU4MjIzNS8yMzgyNDMwOTQtYmJlZjJiNmUtMmUzOC00ZTI0LTkxNjAtYzhhN2FlZGU3MzMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA0MjUyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZjYTcyNDEwYzczNWQ1OTYyZTA0MWEyZmI1ZGVlMTYzNWQ0MmI5MDdjZjY3NWY4ZDYxZTYyMGYyZjE1NTlmZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pdoW_NDxobyytyUDLyWxaQvzaUKpK-lkEOcQGlBQtcM)
After (spawned in via map editor so I could sift through variants without teleporting to microlabs constantly):
![image](https://private-user-images.githubusercontent.com/11582235/238243257-2105849f-571c-4f6b-84a2-aa5e6de51af8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODU4MjUsIm5iZiI6MTcyMDU4NTUyNSwicGF0aCI6Ii8xMTU4MjIzNS8yMzgyNDMyNTctMjEwNTg0OWYtNTcxYy00ZjZiLTg0YTItYWE1ZTZkZTUxYWY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA0MjUyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmMzFiMGFlYmQ2NjZjNTJmYjEyMGU3NDc0Zjg0YjQ4MjNkZmJiOGU5ZDk2YWViYjVlMGIwYmUxYjIwMzYwNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hbWSeo_YTnVYg7x23YQfZmlYRjomjKTxQI9HhnuKC4o)
Additional context