Food Economy - Tradable Bonus Resources

Deep_Blue

Knight
Joined
Aug 2, 2005
Messages
750
I am working on a large Mod and this is the first component I finished, long time is still needed for my final mod to be finished (I work on it in my spare time after work, so the progress is slow), however I decided to release the first component of my mod which is Food Economy.


Food Economy (V2)


This mod is a total rework for Bonus Resources in the game which are currently useless and give nothing but small yield on the tile of the resource. This mod aims to enhance bonus resources to be more useful and to have impact on the game.

Basically this mod applies enhancements to current Bonus resources, and make Bonus resources tradable.

1. Enhanced Bonus Resources:

Food Resources give +1 :c5food: Food in each city that has a granary, this bonus is not on the food resource tile but is empire wide bonus.
If you have 10 cities with Granary then obtaining 1 Wheat will result in +1 :c5food: food in 10 cities, this is a total +10 :c5food: food to your empire which is as powerful as being an ally with a maritime city state.

Changes:
  • Granary Building:
    • Stores 25% :c5food: Food in city after growth instead of +2 :c5food:.
    • Receives:
      +1 :c5food: Food from at least 1 , , , , or connected anywhere in your empire.
    .
  • On first bonus resource connected a penalty is applied: Double cost on next policy.
    Penalty is only on first Bonus Resource connection and for one time only, after that you can connect as many resources with no penalty. This is to encourage player to connect a bonus resource as soon as possible because the penalty will be low at early stages (where policy costs are still below 100 culture).

Screen Shots:

Spoiler :
Here is an example of a small empire:



Granary bonuses in the Capital:




Here a distant city receives same bonuses:



2. Bonus resources are now Tradable:

In this mod food resources are made tradable, this will add a strategic importance to food resources, and applies the idea of importing/exporting food between civilizations.

Highlights:
  • Added Bonus Resources to trade table.
  • Gold value of Bonus Resources are set to about 50% of luxury resources value.
  • AIs will trade Bonus Resources actively between each other.
  • When you buy a Food Resource from the AI you will immediately receive +:c5food: in your cities.

Screen Shots:
Spoiler :



---------------------------

Compatibility:
Spoiler :

Game Version: 1.0.1.141

This mod is not compatible with any mod that modifies:
  • TopPanel.lua
  • CityView.lua
  • TradeLogic.lua
  • Diplotrade.xml
  • DiploCurrentDeals.xml

Notes


Download Link
.
 

Attachments

  • GranaryBonus1.jpg
    GranaryBonus1.jpg
    236.4 KB · Views: 21,105
  • GranaryBonus2.jpg
    GranaryBonus2.jpg
    179 KB · Views: 20,547
  • GranaryBonus3.jpg
    GranaryBonus3.jpg
    182.9 KB · Views: 20,879
  • BonusTrade.jpg
    BonusTrade.jpg
    169.2 KB · Views: 21,299
  • BonusTrade2.jpg
    BonusTrade2.jpg
    167.1 KB · Views: 20,719
Wow just today I started working on something like this. I thought to myself that food resources are useless, and how I would like to be able to have a city with 3 fish feed a city with no food bonuses around, because I play with no city-states

Now if you trade a food resource away, does that mean you can no longer receive bonuses from it? I assume not, but just wondering anyway.

So +1 internets for you on doing this.
Oh and the screenshots aren't showing up, unless they just haven't been uploaded yet.
 
Wow just today I started working on something like this. I thought to myself that food resources are useless, and how I would like to be able to have a city with 3 fish feed a city with no food bonuses around, because I play with no city-states
So this mod is a good news for you :D

Now if you trade a food resource away, does that mean you can no longer receive bonuses from it? I assume not, but just wondering anyway.

Food resources are treated in same way as luxuries, if you have 1 Fish or 5 fish you will receive only +1 Food, now if you trade 4 fish and still has 1 left you still receive +1 food, if you trade away all your fish you get +0 food.

If you have all 6 types of food resources then you will get +6 food in all cities with granary.
 
Hello!
Great mod :goodjob:
I have pretty the same mod, but it's unfinished yet.
The idea is to make resource-consuming buildings that give food.

In my mod, granary consumes 2 wheat and gives +10 food.
Same buildings can be created for some other resourses.
 

Attachments

  • Food Trade (v 1).zip
    3.1 KB · Views: 253
Great looking mod. :)

If you don't mind, I may at some point try and integrate it in with my own project. :)

Hello!
Great mod :goodjob:
I have pretty the same mod, but it's unfinished yet.
The idea is to make resource-consuming buildings that give food.

In my mod, granary consumes 2 wheat and gives +10 food.
Same buildings can be created for some other resourses.

I am also going to add some bonus/luxury resource consuming buildings sometime in the future. I wonder if consuming a bonus or luxury resource would remove the food or happiness bonus?
 
Great looking mod. :)

If you don't mind, I may at some point try and integrate it in with my own project. :)

the idea of mods is to contribute to modding community so I dont mind that (as long as you mention that you are using it), but It will not be easy to integrate with other mods because in my mod I used unusual methods (may conflict with other mods) which added a level of complexity that is unnecessary but I am forced to it because no other way with the current SDK.
 
The idea is to make resource-consuming buildings that give food.

In my mod, granary consumes 2 wheat and gives +10 food.
Same buildings can be created for some other resourses.

Good luck in your mod, but try to balance the food bonus, +10 food from 2 Wheat is too much IMO. Test it in the game to see the effect.
 
Questions:

Do allied city states grant you the food resources, and are they doubled by the Patronage policy that does as such?

Given the vast quantity of these resources in a given game, do you have plans to integrate other uses for the bonus resources? (Consumption buildings, unit requirement, etc)

Do you foresee any balance issues given the capacity for cities to start at +6 food after one building? I can already see this effectively nerfing maritimes, but helping ICS to a degree.
 
Do allied city states grant you the food resources, and are they doubled by the Patronage policy that does as such?

Yes you get food resources from allied city states (see screenshot below) . For policy that gives you double gifted resources it should do same for food resources but I am not sure about it.

screenshot
Spoiler :


Given the vast quantity of these resources in a given game, do you have plans to integrate other uses for the bonus resources? (Consumption buildings, unit requirement, etc)

I dont like the idea of buildings consume resources, because this will end to be either overpowered (much better than the resource) or very weak (less beneficial that the resource).

Do you foresee any balance issues given the capacity for cities to start at +6 food after one building? I can already see this effectively nerfing maritimes, but helping ICS to a degree.

This mod was not intended to increase the growth of cities but was intended to enhance food resources and make them have impact on the game. ICS should be fixed in isolation from resources/improvement where there are many ways to fix ICS like using maintenance costs that increase with number of cities (like in PlayWithMe Mod by Alpaca).

About the balance issue, I feel the food bonuses are ok especially after the last game patch which nerfed maritime city states to +1 food per city. However if we feel that this needs more balancing then I am open to your suggestions.

I had some ideas for balancing:
1- Removing 25% food storage from Granary.
2- Slowing cities growth by increasing the Required Food amount for a city to grow by +4 food. (but this will widen the gap between civs with access to food resources and civs that have no food resources at all)

What do you think?
 

Attachments

  • Image3.jpg
    Image3.jpg
    97.3 KB · Views: 13,525
Hey there. I've been running into a bit of a problem re: trading of bonus resources. When I'm in the diplomacy screen, the Bonus Resource Option is definitely there, but I can never click on it (its always greyed out), & its telling me I have no bonus resources to trade-even though I *know* that I do. Can you think of a reason why this might be?

If it helps, I'm using Thal's Balance-Combined Mod & the City-State Diplomacy Mod. If that's the cause of the problem, then would I be able to ask if you'd consider merging them so that they'll be compatible in the future? Thanks in advance :).

Aussie.
 
Considering Thal's mod also edits the Granary, I would certainly worry about his mod possibly overriding some of this mod's files.
 
If it helps, I'm using Thal's Balance-Combined Mod & the City-State Diplomacy Mod. If that's the cause of the problem, then would I be able to ask if you'd consider merging them so that they'll be compatible in the future? Thanks in advance :).

Aussie.

I think the mods conflict between each other, try activating Food Economy alone and see if the problem still exists.

I am working on a large mod and food economy is the first component, in the final mod I will be adding some component from other mods like resources info panel. I will only merge small components that adds some utilities, but I don't plan to merge mods that adds or changes gameplay.

Anyway you can merge them by yourself, Edit the following files:
* TopPanel.lua
* CityView.lua
* TradeLogic.lua

Any changes I made in these files are labeled by "Modded by Deepblue". So it is easy to find the code to copy and paste.
 
FWIW it looks like there are compatibility issues with Info Adict as well. As far as I can tell there are two files in common, SaveUtils.lua (which is identical in each) and Diplotrade.xml.
 

Attachments

  • Civ5Screen.jpg
    Civ5Screen.jpg
    61.4 KB · Views: 540
Top Bottom