Sid Meier's Civilization: Beyond Earth

Sid Meier's Civilization: Beyond Earth

评价数不足
Loadouts grant perks [snippet for mod makers] (vanilla, RT)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
2.036 KB
2015 年 10 月 26 日 下午 7:23
1 项改动说明 ( 查看 )

订阅以下载
Loadouts grant perks [snippet for mod makers] (vanilla, RT)

在 Machiavelli 的 1 个合集中
Machiavelli's snippets for mod makers
5 件物品
描述
For mod makers.

What it does
This mod contains code that defines three new XML tables. By adding entries to these tables mod makers can have colonists, cargo and spacecraft provide perks.

Compatibility
This code is compatible with vanilla Beyond Earth and Rising Tide.

How to incorporate into your mod
Copy the "Loadouts grant perks" directory and all its contents to your mod. Have the XML file update the database (via the Action tab) and set the LUA file as an "InGameUIAddin" (via the Content tab).

How to use
Add entries to the Colonist_LGP_FreePerk, Cargo_LGP_FreePerk or Spacecraft_LGP_FreePerk tables.

How it works
When the first player founds their first city the code will do a one time check that gives all players the perks associated with their loadout choices.

CivFanatics Thread[forums.civfanatics.com]
CivFanatics Download[forums.civfanatics.com]