Sid Meier's Civilization VI

Sid Meier's Civilization VI

Ocen: 56
Amenities from bonus and strategic resources
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
2.085 KB
19 stycznia 2019 o 8:47
19 grudnia 2022 o 0:35
Listy zmian: 6 ( zobacz )

Zasubskrybuj, aby pobrać
Amenities from bonus and strategic resources

Opis
It makes little sense that only luxury resources add amenities. Acces to any resource should increase the general happiness and wellbeing of the people in your empire as even the more mundane resources can be used for "fun" things. E.g. horses are obviously needed to start a cavalry, but they're also just plain fun to ride on.

This mod adds amenities to bonus and strategic resources as well. Similar to luxury resources only the first copy will generate amenities.

This makes bonus and strategic resources more meaningfull. As well as making expansion a bit easier as you won't be stuck at low amenities due to not having acces to multiple different resources. Nothing is quite as lame as being stuck with an unhappy populace despite having acces to 10 luxury resources because all the luxury resources in your corner of the world is tea.

Luxury resources still give the most amenities (4). Bonus resources give 2, strategic resources give 1.


Compatible with gathering storm
Komentarzy: 33
Florian  [autor] 31 maja 2024 o 5:25 
The files used in these mods are scripts. When you start a game it goes through each mod one by one and executes their scripts without looking at the other mods. So naming conflicts don't matter for these simple mods.
Obb 26 maja 2024 o 7:54 
Interesting ! Is it true for all type of file ?
Like the game go check all cloned file and makes its own merge, sortof ?

Anyway, here both files don’t modify the same values indeed !
Thanks much for your time and answers ! I now need to test more, I’m still confused lol
Florian  [autor] 26 maja 2024 o 7:27 
Mods can co-exist so long as the instructions in the file are compatable.

In the case of my mod; all I'm doing is changing a few values. So it shouldn't create any major problems. The game should run without crashing or anything like that.

However, if the 2nd mod also plays with the happiness value, or for example adds new resources, you might see inconsistencies, depending on which mod is loaded first.
Obb 25 maja 2024 o 14:17 
Waw, precise answer ! Thanks much !
Didn’t find it in that folder but appdata. Anyway, yes it’s the right class name ! =)

Also, when trying to see if it works, ( And having trouble, firstly because I’m still confused by how amenities works sometimes lol, ) I noticed that another mod adds its own resources.sql file ; is it the kind of file than can coexist, or do they collide and need to be merged ?
Florian  [autor] 25 maja 2024 o 13:12 
You can find it in DebugGameplay.sqlite in the table "Resources". The column "ResourceClassType" contains all the possible names.

If you can't open the sqlite file, download a database manager like DB browser for sqlite.
If you can't find DebugGameplay.sqlite, on windows the default location is C/Users/<user-name>/documents/my games/Sid meier's Civilization VI/Cache
Obb 25 maja 2024 o 8:05 
Yes indeed, that I was wondering !
I hoped it would be as straightforward ^^ At least it makes sens.
But I don’t know where I could check to be sure, I didn’t find what original file manages resources.
Florian  [autor] 25 maja 2024 o 7:10 
Yeah, adding a line like that should work. You might have to doublecheck if the name "RESOURCECLASS_LUXURY" is correct though. Good luck.
Obb 25 maja 2024 o 7:01 
I’d like to put luxury’s amenities to 3, can I from the mod ?
Looking at the code, I was thinking of simply adding a third line, with 'RESOURCECLASS_LUXURY', would it work ? Well I can try anyway lol, let’s see !
Florian  [autor] 21 lutego 2024 o 11:58 
They should be compatible yeah
+ 19 lutego 2024 o 1:11 
Is this mod compatible with the mod "No Limit Luxuries"?