KnelRivendare
Warlord
- Joined
- Jan 13, 2012
- Messages
- 271
so i would like to know what happens to resource requiring buildings like "Factory"
if you dont have the req' resources anymore? does the bonus of the building drop?
i tested this myself but i havent found any penalty when im out of the req' resource maybe im just overlooking something maybe someone of you guys knows it.
im asking this because im thinking about making a "Electricity" mod where power is an actual resource and you have to take care what you build, since you need the power to run it.
im finding it odd that electricity has no presentation in the game at all even tho it's such an important thing nowadays,
All modern buildings will require power,
and you will get the power via power plants, some give a lot of power but also unhappiness and unhealthiness such as "coal plants" and "nuclear plants" or solar plants which dont give much power but no penalty in health and happiness.
also it would be great to make it possible to sabotage these power plants with spies or bombing but thats way out of my league.
sincerely yours Knel~
if you dont have the req' resources anymore? does the bonus of the building drop?
i tested this myself but i havent found any penalty when im out of the req' resource maybe im just overlooking something maybe someone of you guys knows it.
im asking this because im thinking about making a "Electricity" mod where power is an actual resource and you have to take care what you build, since you need the power to run it.
im finding it odd that electricity has no presentation in the game at all even tho it's such an important thing nowadays,
All modern buildings will require power,
and you will get the power via power plants, some give a lot of power but also unhappiness and unhealthiness such as "coal plants" and "nuclear plants" or solar plants which dont give much power but no penalty in health and happiness.
also it would be great to make it possible to sabotage these power plants with spies or bombing but thats way out of my league.
sincerely yours Knel~


? Then you would modify the amount of electricity produced by the city by using a power plant building modeled after the monastery. The coal plant wouldn't require any coal for the initial build but it would need to have coal within the city's radius in order for it to increase the amount of electricity YIELD produced by the city. A Hydro plant would still have to be built in a city next to a river and then could modify the electricity YIELD. A nuclear plant would obviously be the same as a coal plant. A solar plant would be the same as a hydro plant. I think it requires a desert tile if I'm not mistaken. Anyway, that's my thoughts on the subject. I hope you can get something like this working. I will be happy to use it and give you credit as it will save me from doing the experimenting myself.
and
. I haven't attempted to tackle LUA so I'm not sure what is possible. My preference would be to see it as an entirely XML mod comp but it may be necessary to have the negative effect dealt with in LUA if there are no XML tags that can be used to duplicate the way negative happiness affects
and
. As for the rest of it, I think it can all be done using XML in the way that I described based on your idea for using the monastery as a model.
, and 
