Sid Meier's Civilization: Beyond Earth

Sid Meier's Civilization: Beyond Earth

Policies grant buildings & perks [snippet for mod makers] (RT)
3 条留言
eristik 2015 年 12 月 13 日 上午 1:36 
thanks for replying. i think for balance it should be that the tech unlocks a new building which then grants the perk in that city, but i guess the AllowSpecialistsFreeFood = true is a factionwide setting, so it would have to be granted as a tech perk. i've got many mods installed so i wanted to manually edit this in somewhere; i'll have to start poking around now. :)
Machiavelli  [作者] 2015 年 12 月 12 日 上午 6:20 
It wouldn't be very hard to make a snippet that had techs grant buildings. But I don't want to promise that I'll have time to do that in the near term.

But some of the things you want to do should be possible already with only XML. For example, to make a tech that makes specialists not eat food have the tech grant a perk (Technology_FreePlayerPerks) table and the perk needs to have AllowSpecialstsFreeFood = true. You won't require a building middle man.

To make a Wonder grant a building in every city you can try FreeBuilding in the building table. If that doesn't work than have the building grant a perk (FreePlayerPerk in the buildings table) and have the perk have FreeBuilding.
eristik 2015 年 12 月 12 日 上午 2:01 
i'm curious if you can make a snippet that allows you to add a building or wonder to a tech; sorry, but i can't find anything similar to this in forums or workshop. basically my goal would be to add a wonder that grants buildings to each city and scales to # of cities, or just a building to Mind Uploading that makes specialists not eat food, similar to the diplomatic agreement. i'm not sure where to begin with this though. thanks in advance for any input.