Mulle_Meck
Chieftain
- Joined
- Jul 27, 2021
- Messages
- 2
I am new to modding so I might have bitten off more than I can chew, but you never learn without adversity and persistency so here it goes. I am making a new civ and wanted to add a powerplant as their UI. The idea was that their UU would generate a unique strategic resource that the powerplant then would use.
I figured that to generate a resource from a unit you would simply put the resource upkeep as a negative so that isn't what's stopping me (although that assumption might be wrong), but I haven't found anyone talking about implementing new strategics or powerplants, and the code dictating their behaviour is scattered across a lot of different files so understanding how the official ones work is quite hard. Any pointers would be of great help because I've been scratching my head trying to figure this out for over a week.
I figured that to generate a resource from a unit you would simply put the resource upkeep as a negative so that isn't what's stopping me (although that assumption might be wrong), but I haven't found anyone talking about implementing new strategics or powerplants, and the code dictating their behaviour is scattered across a lot of different files so understanding how the official ones work is quite hard. Any pointers would be of great help because I've been scratching my head trying to figure this out for over a week.