Skip to content

Buff meteor impact event by adding new rare impact size#6684

Merged
hhyyrylainen merged 18 commits intoRevolutionary-Games:masterfrom
IdfbAn:buff_meteor_impact_event
Feb 3, 2026
Merged

Buff meteor impact event by adding new rare impact size#6684
hhyyrylainen merged 18 commits intoRevolutionary-Games:masterfrom
IdfbAn:buff_meteor_impact_event

Conversation

@IdfbAn
Copy link
Member

@IdfbAn IdfbAn commented Jan 27, 2026

Brief Description of What This PR Does

This PR buffs the meteor impact event by adding a new rare impact size that affects all surface patches in the regions adjacent to the selected patch.

Related Issues

This partially implements the environmental events part of this thread.
Hopefully I can do more of that thread in the near future.

Progress Checklist

Note: before starting this checklist the PR should be marked as non-draft.

  • PR author has checked that this PR works as intended and doesn't
    break existing features:
    https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
    (this is important as to not waste the time of Thrive team
    members reviewing this PR)
  • Initial code review passed (this and further items should not be checked by the PR author)
  • Functionality is confirmed working by another person (see above checklist link)
  • Final code review is passed and code conforms to the
    styleguide.

Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.

@revolutionary-bot
Copy link

Thank you for contributing to Thrive.

Before your contribution can be accepted, you need to sign our CLA.
You can sign it, and find more info about it, here: https://dev.revolutionarygamesstudio.com/cla

Once your contribution has been accepted you can ask to be included in the credits (https://wiki.revolutionarygamesstudio.com/wiki/Team_Members) and you can apply to join the team and use this work as a sample: https://revolutionarygamesstudio.com/application/

@Accidental-Explorer
Copy link
Contributor

I could see an immediate benefit to increasing the magnitude of the compound addition. But is there really a problem of them happening to infrequently right now? The objective is to have a dynamic variation in circumstances. Events happening too often homogenizes things just as badly as them happening not often enough.

Also, what does the impact size actually do again?

@hhyyrylainen
Copy link
Member

Also, what does the impact size actually do again?

I think it counts how many adjacent patches are affected...

@Patryk26g should know more accurately what it does.

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 27, 2026

The objective is to have a dynamic variation in circumstances. Events happening too often homogenizes things just as badly as them happening not often enough.

I was already kind of questioning me increasing the chance, but I definitely agree that it's a bad idea now that you brought this reasoning. One sec, I'll revert that.

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 28, 2026

Alright, I've signed the CLA!

@hhyyrylainen hhyyrylainen added this to the Release 1.0.1 milestone Jan 28, 2026
@hhyyrylainen
Copy link
Member

Code change looks fine to me now. Needs balance testing next.

@Patryk26g
Copy link
Contributor

I'll try to review and test it later or tomorrow

@Accidental-Explorer
Copy link
Contributor

@Patryk26g So this isn't new to this PR (but I saw it when wondering why the radioactive meteor was only changed in its CO2 addition), but why do the chunks added not have any numerical amount attached to them? Is it just a fixed number?

If so, it might make sense to bump that number up in this PR as well.

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 29, 2026

(but I saw it when wondering why the radioactive meteor was only changed in its CO2 addition)

What do you mean by this, exactly?

@Accidental-Explorer
Copy link
Contributor

@Patryk26g So this isn't new to this PR (but I saw it when wondering why the radioactive meteor was only changed in its CO2 addition), but why do the chunks added not have any numerical amount attached to them? Is it just a fixed number?

If so, it might make sense to bump that number up in this PR as well.

The only thing that seems to be changed about the radioactive meteor is that it adds more CO2, so it doesn't do anything to add more radioactive chunks than before?

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 29, 2026

The only thing that seems to be changed about the radioactive meteor is that it adds more CO2, so it doesn't do anything to add more radioactive chunks than before?

Ah, I just noticed the chunk keys in meteors.json, so it seems like I'll need to edit biomes.json as well to actually buff the meteors themselves.

@Accidental-Explorer
Copy link
Contributor

Ah, I just noticed the chunk keys in meteors.json, so it seems like I'll need to edit biomes.json as well to actually buff the meteors themselves.

No, I think you're touching the wrong things now. You're increasing the amount of compound in each chunk.

You should revert that last change.

I think "density" in that same file is what you're looking for, but you would have to check.

@hhyyrylainen
Copy link
Member

hhyyrylainen commented Jan 29, 2026

I'm really not on board with meteors creating "super" chunks that are way more powerful than normal ones. Rather I think if anything the density of the chunks should be upped (so that they spawn more frequently).

Edit: looks like I was too slow by 2 minutes, so yeah I guess I'm the technical person to confirm that "density" is the value to change rather than the amount in the biome config.

@Accidental-Explorer
Copy link
Contributor

I just played through 15 generations and I saw precisely one meteor (a radioactive one). So I suspect something is not quite working correctly.

@Accidental-Explorer
Copy link
Contributor

Do I just remove the compound buff entirely and have this PR be just about the new impact size?

I don't think this is necessary? It would be preferable for the chunks to match the compound buff, but that does not mean the compounds should not be buffed.

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 30, 2026

I don't think this is necessary? It would be preferable for the chunks to match the compound buff, but that does not mean the compounds should not be buffed.

#6684 (comment)

@hhyyrylainen
Copy link
Member

Maybe I should have asked this at the start, but do the events even need buffing? Patryk just buffed them recently. So this PR is not really even addressing any open issue in the first place...

@Accidental-Explorer
Copy link
Contributor

Maybe I should have asked this at the start, but do the events even need buffing? Patryk just buffed them recently. So this PR is not really even addressing any open issue in the first place...

There's been sentiments about the events not being very impactful, but I don't remember if @Patryk26g also already buffed the meteors recently.

I don't think this is necessary? It would be preferable for the chunks to match the compound buff, but that does not mean the compounds should not be buffed.

#6684 (comment)

Yeah, I was aware of that, but not being able to buff chunk compounds does not automatically mean that the other compounds should not be increased.

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 30, 2026

Maybe I should have asked this at the start, but do the events even need buffing? Patryk just buffed them recently. So this PR is not really even addressing any open issue in the first place...

I have it linked in the starting PR message, but it comes from a thread made by Deus.

@hhyyrylainen
Copy link
Member

A couple of weeks ago, buffs to all events including meteors: #6603

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 30, 2026

This doesn't include the new impact size that my PR now solely consists of, so I just see this as another reason (besides the game breaking with it) to not include compound increases in this.

@Patryk26g
Copy link
Contributor

Tbf my event buffs weren't enough so it's a good idea to buff it even further, especially with the extended reach of meteors. Needs testing tho if they don't got too far with carbon tho

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 30, 2026

Tbf my event buffs weren't enough so it's a good idea to buff it even further, especially with the extended reach of meteors. Needs testing tho if they don't got too far with carbon tho

We can figure that out later with another PR. For now, I just want this to get merged after it's confirmed working.

@IdfbAn IdfbAn changed the title Buff meteor impact event Buff meteor impact event by adding new rare impact size Jan 30, 2026
@Patryk26g
Copy link
Contributor

You can revert the commit with the removal of chunks buff. just remembered that if you buff the compounds outsidenof chubks their density has to remain at most 0.001. Btw, after the event is finished, the level of compounds is decreassed a bit so you can check it out as well. I think that besides buffing density which has a limit you can also buff the amount

@Patryk26g
Copy link
Contributor

Okie dokie, as you wish, it's your PR after all!

@hhyyrylainen
Copy link
Member

I wouldn't want to merge this if the CO2 add amounts are too high...

@IdfbAn
Copy link
Member Author

IdfbAn commented Jan 30, 2026

I wouldn't want to merge this if the CO2 add amounts are too high...

I've removed that too if that's what you're talking about.

@Accidental-Explorer
Copy link
Contributor

I just played through 15 generations and I saw precisely one meteor (a radioactive one). So I suspect something is not quite working correctly.

Before I test again: can the author confirm this is fixed now? Meteors happening at a reasonable rate?

@IdfbAn
Copy link
Member Author

IdfbAn commented Feb 1, 2026

Before I test again: can the author confirm this is fixed now? Meteors happening at a reasonable rate?

Honestly, no. Try testing it again and if there's a reasonable amount of meteors, I guess it was just a fluke before. If it happens again, I'll try actually looking into it.

@Patryk26g
Copy link
Contributor

But have you tested these changes yourself or not?

@IdfbAn
Copy link
Member Author

IdfbAn commented Feb 1, 2026

But have you tested these changes yourself or not?

Is doing it with freebuild so that it doesn't take forever good enough? I don't see how it would change things.

@Accidental-Explorer
Copy link
Contributor

Is doing it with freebuild so that it doesn't take forever good enough? I don't see how it would change things.

FYI, in a normal game you can press P to immediately unlock the editor to go to the next generation as long as you have cheats enabled. That's how I tested this PR previously.

@IdfbAn
Copy link
Member Author

IdfbAn commented Feb 1, 2026

I'm back from testing (why did auto-evo take so long?!) and in 10 generations there were 3 meteor impact events. This seems exactly right considering the chance is 0.28.

Fun fact, two of them were on the first and last generations!

@Patryk26g
Copy link
Contributor

Also, better way is to use auto-evo tool ;)

Copy link
Contributor

@Accidental-Explorer Accidental-Explorer left a comment

Choose a reason for hiding this comment

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

With the compound buff removed, I think the impact of this change is relatively small. But I have confirmed there are no problems caused, and meteors are occurring at a reasonable rate.

Copy link
Member

@hhyyrylainen hhyyrylainen left a comment

Choose a reason for hiding this comment

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

The code change looks fine to me know and I tested in-game and meteors seem to be triggering pretty normally with these changes.

I re-requested review from @Patryk26g in case there's some aspect of the code I missed.

@Patryk26g
Copy link
Contributor

Looks good for me now!

@hhyyrylainen hhyyrylainen merged commit 58d29a2 into Revolutionary-Games:master Feb 3, 2026
4 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Thrive Planning Feb 3, 2026
@IdfbAn IdfbAn deleted the buff_meteor_impact_event branch February 3, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants