Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

Useful Orphanages Mod
21 Comments
Райн Nov 14, 2024 @ 2:31am 
Can we add that the orphanages would profit by using child labor?
Райн Nov 14, 2024 @ 2:28am 
А можно добавить что бы детские дома приносили прибыть используя детский труд?
robs074  [author] Aug 18, 2024 @ 9:55pm 
It shouldn't. Per script, the event can fire by default. However, when there is at least one non-overcrowded and supplied orphanage, it cannot happen.
Tekore Aug 18, 2024 @ 10:18am 
What is it looking for to initiate the "child dies on a street" event? I have a staffed, powered and fully stocked orphanage with no children and it's firing the event off
Bunnies&Cherris Jul 13, 2024 @ 8:53pm 
That's funny
aantono Jul 2, 2024 @ 6:46pm 
Looks like workshopconfig.ini is missing "orphanage_stop" script declaration, so one can only start the script, but not to stop it.
robs074  [author] Jul 1, 2024 @ 6:03am 
Updated for 1.0.
IronKiss Jan 6, 2024 @ 3:32am 
Działa, dziękuję bardzo za pomoc :)
robs074  [author] Jan 5, 2024 @ 6:19am 
W folderze z zapisem usuń runningScripts.bin.
IronKiss Jan 5, 2024 @ 5:53am 
Ten skrypt załatwił mi save'a z republiką, którą od ponad roku sobie powoli w trybie realistycznym budowałem. Po update wywala grę na ładowaniu skryptów, a innego nie subskrybuję. Powrót do starszej wersji gry nie pomaga. Jeśli potrafisz coś z tym zrobić, będę wdzięczny. Jeśli nie, to szkoda ale rozumiem.
robs074  [author] Aug 28, 2023 @ 5:20am 
Oh, right, but a multiplicative factor is an interesting idea anyway. Prosperous people would care more about children on the streets.
Mackeroni Aug 28, 2023 @ 4:19am 
Ahh, right. I probably doubled the script by loading the save once during the session without quitting to main menu. So I must have lost twice as much loyalty as I probably should have.
Mackeroni Aug 27, 2023 @ 2:17pm 
♥♥♥♥♥♥♥♥♥, not having enough room in my orphanage absolutely wrecked my republic! In 6 months, I've lost about 20% loyalty.
Each "Child dies on street" notification lowers all citizen's loyalty by I think 5% flat each time, but I think you should really make it multiplicative instead of additive.
Meaning if you already have low loyalty, the loyalty hit becomes less impactful than if you would have had high loyalty.
robs074  [author] May 16, 2023 @ 10:26am 
The mod has been updated:
1. Orphans now age faster by default and leave their orphanage as soon as they turn 18 (their age is set to 21).
2. The negative event won't happen if you have a low population (by default 1000).
3. The negative event only happens if you don't have any free beds in your orphanages, not when the number of orphans exceeds the number of beds.
4. The negative event's effect is divided by half if it's its first occurrence after improving orphans' conditions (i. e. having more beds than orphans + 5 ).
5. The disabling script no longer erases all objectives.
robs074  [author] May 16, 2023 @ 4:04am 
Heh yes, of course, I'll fix this and some other issues soon.
KarolOfGutovo May 16, 2023 @ 3:48am 
I got a "child died on streets" notification before I built even any housing, with 0 population. Is it possible to have the script not engage below like, 1000 population?
Vimes May 7, 2023 @ 3:12am 
Just need clarity for that. 👍

Seems good, thanks for sharing.
robs074  [author] May 7, 2023 @ 3:07am 
That depends on the setting if you can use fractions. If there's a decimal point then yes, if there's no decimal point then no.
As I said, when they reach the age of 18 in the orphanage, the script sets their age to 21 so they can get a flat and start working.
Vimes May 7, 2023 @ 3:01am 
People who go to prison for lengthy sentences then leave the city if there are no available places to live. Having empty apartments can be tricky. I remember once asking for a type of hostel, like what the students get, for reformed criminals to get to live in.They could the live their with their child until a vacancy came up in residential housing.

Can you use numbers like 2.5 etc or do they have to be whole numbers, in any of the settings..?

If you set the maximum age, for example, to 18 then aren't you just teleporting every orphan off the map when they reach that age..? As they would not be classed as an adult and could not work etc..?
robs074  [author] May 7, 2023 @ 2:45am 
I'm not sure where they go, too the same place where 21+ in the orphanages go I guess :P Because it simply sets their age to 21. And yes, you can change that in the settings.txt file, there is a max age setting and a setting controlling the aging (2 is the biggest acceleration, 3 is less and more than 21 won't be noticeable)
Vimes May 7, 2023 @ 2:17am 
I have always enjoyed the idea of the orphanages. This could well give them importance and relevance in the game, beyond their current value.
Typically I have found it most challenging keeping up with the total number of orphanages "needed" before they seem to balance their occupancy without overfilling totally.
That is accepting around 120k or more for total population, stable. Also crime is relatively under control, meaning parent not in prison to account for so many.
Also health etc is generally fine.
Hence, perhaps for differing reasons, a very high capacity modified orphanage in the workshop. I have avoided that one tho.

Disabled by default....

The script also adds a possibility to make orphans age more quickly and to force them out of the orphanage as soon as they reach certain age

Where would they be forced out to, if there are no free apartments..? Do they just emigrate as such and leave the city..? I assume the control is in that settings file, settings.txt...?