群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
Economy modding
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
== Resources == Resources are defined at "common/strategic_resources/xxx.txt." More can be added but will not be shown without GUI modding. === Data Structure === * '''tradable = yes/no''' - If this resource is diplomatically tradable. Not in the market! * '''max = int''' - The initial storage capacity of this resource. * '''fixed_max_amount - yes/no''' - Default no. If yes, the storage capacity of this resource can't be modified by [[Modifiers]]. * '''tooltip_decimals = int''' - Sets the decimals shown in tooltips. * '''deficit_modifier = <[[Modifiers#Static Modifiers|static modifier key]]>''' - A static modifier to be applied if empire is in deficit of this resource. * '''market_amount = int''' - Sets the minimal tradable market bulk for this resource. * '''market_price = int''' - Sets the base price of the minimal tradable market bulk for this resource. Vanilla has 100 for each. * '''ai_weight''' - How valuable should the AI consider this resource to be. * '''ai_wants''' - How much the AI wants this resource. * '''prerequisites''' - A list of technology keys to be researched before the empire can exploit this resource. * '''visibility_prerequisite''' - A block of [[Conditions]] that determines if the empire should see this resource. Vanilla resources always have "always = yes". === How to Make my Resources Shown === The most easy way is to head to "interface/resource_groups/xxx.txt" and add the new resources to existing groups. If more resource groups were added through mods, the new resource groups won't be shown without modding "interface/main.gui". === Resource Example === minerals = { tradable = yes market_amount = 100 market_price = 100 max = 15000 deficit_modifier = minerals_deficit #found in static modifiers ai_weight = { weight = 1 } ai_wants = { base = 1000 } } volatile_motes = { tradable = yes market_amount = 10 market_price = 100 max = 15000 prerequisites = { "tech_mine_volatile_motes" } deficit_modifier = volatile_motes_deficit #found in static modifiers ai_weight = { weight = 10 } ai_wants = { base = 10 } }
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录