GenEngineer
Prince
- Joined
- Aug 24, 2014
- Messages
- 456
Hey Everyone,
I was wondering if anyone knew how to easily make it so that buildings can edit the yield of nearby improvements - for example, a Xeno Sanctuary increasing the culture yield of nearby nests. I know that there are tables already in place in the XML for having buildings edit the yield of terrain, features, and health, but one for improvements is conspicuously absent. If it requires a change in the LUA, could you direct me to where I can see how the yields are calculated, so that I can further apply it to making other interesting changes to the effects of yields?
On a different note, does anyone have any suggestions for adding promotions that have effects not already in the base game as promotions? I'd like to be able to make it so that there are promotions in place for increased worker speed, increased healing rate, and increased movement for units, to make it so that buildings/wonders can grant that to units constructed in the city as a free promotion.
EDIT: Also, does anyone know what happened to the tag that specified a bonus to trade was only applicable to internal trade routes? I know the Recycler's bonus used to only apply to internal trade, but that seems to have disappeared.
Any help would be much appreciated.
I was wondering if anyone knew how to easily make it so that buildings can edit the yield of nearby improvements - for example, a Xeno Sanctuary increasing the culture yield of nearby nests. I know that there are tables already in place in the XML for having buildings edit the yield of terrain, features, and health, but one for improvements is conspicuously absent. If it requires a change in the LUA, could you direct me to where I can see how the yields are calculated, so that I can further apply it to making other interesting changes to the effects of yields?
On a different note, does anyone have any suggestions for adding promotions that have effects not already in the base game as promotions? I'd like to be able to make it so that there are promotions in place for increased worker speed, increased healing rate, and increased movement for units, to make it so that buildings/wonders can grant that to units constructed in the city as a free promotion.
EDIT: Also, does anyone know what happened to the tag that specified a bonus to trade was only applicable to internal trade routes? I know the Recycler's bonus used to only apply to internal trade, but that seems to have disappeared.
Any help would be much appreciated.