# General development questions

**URL:** https://community.revolutionarygamesstudio.com/t/general-development-questions/7123
**Category:** Development Help
**Created:** [December 20, 2023, 5:55pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123 "2023-12-20T17:55:44Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [December 20, 2023, 5:55pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/1 "2023-12-20T17:55:44Z")

</div>

I named this thread like that because I don’t know if it deserves a new thread. Let me know if I should change something 👍

I wanted to try to implement filters for save manager (for regular saves, autosaves and quicksaves) and couldn’t find a way to get the save type of each save in list. Should I dive deeper into the more hard coded things or just not continue the work?

Also how should I name the regular saves filter? Right now I made placeholder “regular” but I think it needs a better name.

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [December 20, 2023, 8:50pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/2 "2023-12-20T20:50:39Z")

</div>

The special save types (versus manual, this term is already displayed to the user in the save load menu) are determined based on the filename. It’s detected with a regex here:

> <https://github.com/Revolutionary-Games/Thrive/blob/fef8d6c242965fc3d808ddcd03f4cdf6f1fa3526/simulation_parameters/Constants.cs#L1527>

The actual save type is stored inside the file in the save info section JSON. That variable is of type `SaveType.SaveInformation`

---

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [December 21, 2023, 6:53pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/3 "2023-12-21T18:53:03Z")

</div>

Ok so I kinda got stuck when it comes to refreshing save list with showing only specified type saves, but you don’t need to help me unless you want to.

* * *

Edit:

I kinda got it working, but I have feeling the code is kinda messy. I’ll show it here anyways.

 ![image](https://thrivecommunity-uploads.b-cdn.net/original/2X/2/2af6012bb03220527628db6dd16bb669970c7884.jpeg)  
(I’ll change regular button text to manual)

(It is working with other filters aswell)

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 21, 2024, 7:27am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/4 "2024-02-21T07:27:46Z")

</div>

3 posts were merged into an existing topic: [Quick Question Thread](https://community.revolutionarygamesstudio.com/t/quick-question-thread/153/2019)

---

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [April 28, 2024, 3:39pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/5 "2024-04-28T15:39:14Z")

</div>

If someone want to volunteer, you can help with:

- [Make cell chunks emit more compounds](https://github.com/Revolutionary-Games/Thrive/issues/1339) (related to combat and scavenging balancing)
- General combat balancing
- Potential knockback for offensive pili (this item can probably be removed with the cooldown being added now)

and maybe

- Try to fix [Pilus should block being engulfed more often](https://github.com/Revolutionary-Games/Thrive/issues/918)

from the [Roadmap](https://wiki.revolutionarygamesstudio.com/wiki/Release_Roadmap#0.6.x_(the_combat_and_part_upgrades_updates)).

Something like:

> floating organelles should release more compounds

or

> smaller microbes should be slower

something like that - not a list of new features or something but more like just tweaks.

---

<div class="post-metadata">

### Author: ![domin2ktr](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@domin2ktr](https://community.revolutionarygamesstudio.com/u/domin2ktr)
#### Post date: [February 3, 2025, 5:36am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/6 "2025-02-03T05:36:12Z")

</div>

I would like to change the balance by making photomixotrophs less strong.

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 3, 2025, 5:50am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/7 "2025-02-03T05:50:55Z")

</div>

You’d need to make being a photosynthesizer and having an another foodsource more punishing for autoevo. Changing stuff within autoevo is required for that.

---

<div class="post-metadata">

### Author: ![domin2ktr](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@domin2ktr](https://community.revolutionarygamesstudio.com/u/domin2ktr)
#### Post date: [February 5, 2025, 6:48pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/8 "2025-02-05T18:48:06Z")

</div>

I think what needs to be done for the player, now you can easily be a photosynthetic predator, the game mechanics only contribute to this, because the problem of predation is in the small amount of energy received, and the problem of passive photosynthesizers is in the boring gameplay, heterotrophic photosynthesizers combine all their advantages without any penalties.

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 5, 2025, 7:35pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/9 "2025-02-05T19:35:38Z")

</div>

That’s why non-linear size could be useful to set a limit as to just how many organelles can a player viabily get as a mixotroph species…

---

<div class="post-metadata">

### Author: ![domin2ktr](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@domin2ktr](https://community.revolutionarygamesstudio.com/u/domin2ktr)
#### Post date: [February 6, 2025, 10:21am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/10 "2025-02-06T10:21:08Z")

</div>

I also think that the dependence of the efficiency of photosynthesis on sunlight is not linear, but in the form of a square root function, but in this case the efficiency of photosynthesis will be reduced by 2 times.

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 6, 2025, 10:23am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/11 "2025-02-06T10:23:35Z")

</div>

Photosynthesis could also be nerfed by having co2 levels have a lower “stable point” following the oxygenation event…

---

<div class="post-metadata">

### Author: ![domin2ktr](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@domin2ktr](https://community.revolutionarygamesstudio.com/u/domin2ktr)
#### Post date: [February 6, 2025, 9:36pm UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/12 "2025-02-06T21:36:40Z")

</div>

Where is the line of code responsible for how photosynthesis depends on light?

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 7, 2025, 5:42am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/13 "2025-02-07T05:42:20Z")

</div>

You mean you’d want to nerf photosynthesis by reducing the light multiplication in it’s calculation? It should be an organelle process…

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 7, 2025, 6:51am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/14 "2025-02-07T06:51:30Z")

</div>

It’s hard to pick just one line, but if I had to, then I would pick this one:

> <https://github.com/Revolutionary-Games/Thrive/blob/bdc7b3cd000f36f155c0bfe82c7c5bd0d438c3a5/simulation_parameters/microbe_stage/bio_processes.json#L37>

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 7, 2025, 7:01am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/15 "2025-02-07T07:01:56Z")

</div>

Exactly as suspected, it’s within life processes…  
But what other lines do you mean exist too?

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 7, 2025, 7:05am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/16 "2025-02-07T07:05:47Z")

</div>

I mean there’s dozens of lines spread in many places that deal with how environmental compounds interact with the process system, which is what handles calculating the glucose given from photosynthesis.

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 7, 2025, 7:13am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/17 "2025-02-07T07:13:06Z")

</div>

I’d also like to add here that, whilist the time for that is most certainly not available by this point, photosynthesis and co2 could use becoming more realistic (notice that if co2 levels ingame were to be set to real-life values, all the photosynthesizers would drop dead). There could be some sort of a “metabolism system” set in place to allow a species to slow it’s life processes to a snail’s pace, but allowing it to viabily use photosynthesis at more reasonable co2 levels (such a system could also be an aid in defining the sessilelings), through it seems too late to implement that at this point…

---

<div class="post-metadata">

### Author: ![domin2ktr](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@domin2ktr](https://community.revolutionarygamesstudio.com/u/domin2ktr)
#### Post date: [February 7, 2025, 11:04am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/18 "2025-02-07T11:04:30Z")

</div>

This json file does not accept any mathematical interactions with numbers. I need code responsible for interacting with the environment.

---

<div class="post-metadata">

### Author: ![aah31415](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/aah31415/32/14564_2.png) [@aah31415](https://community.revolutionarygamesstudio.com/u/aah31415)
#### Post date: [February 7, 2025, 11:21am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/19 "2025-02-07T11:21:17Z")

</div>

That’s strange, since I’m pretty sure the rustocyanin process was modified sometime ago…

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 7, 2025, 11:28am UTC](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123/20 "2025-02-07T11:28:33Z")

</div>

What do you mean? What did you try to change? There’s like at least 5 places in the codebase that match that description.

> [@domin2ktr](#):
>
> I need code responsible for interacting with the environment.

[Next page](https://community.revolutionarygamesstudio.com/t/general-development-questions/7123.md?page=2)
