群星
ParaWikis
Recent changes
Random page
⧼qqGroup⧽
Tools
What links here
Related changes
Special pages
Page information
Page values
Read
Edit
Edit source
View history
Discussion
Editing
Modifiers
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Data Structure === * '''<key> = {...}''' - The name of this category that will be used in the ''category'' entry of a ''resources = {...}'' block. :* '''parent = <key>''' - The parent category of this category. Most Economic Categories have the ultimate parent of ''country'' :* '''hidden = yes''' - ???? :* '''generate_mult_modifiers = {...}''' - Specify ''produces'', ''upkeep'', and/or ''cost'' to create ''<key>(_<resource>)_produces_mult'', ''<key>(_<resource>)_upkeep_mult'' and/or ''<key>(_<resource>)_cost_mult'' modifiers :* '''generate_add_modifiers = {...}''' - Specify ''produces'', ''upkeep'', and/or ''cost'' to create ''<key>(_<resource>)_produces_add'', ''<key>(_<resource>)_upkeep_add'' and/or ''<key>(_<resource>)_cost_add'' modifiers :* '''use_for_ai_budget = yes''' - This category has it's own entry in "common\ai_budget\" files :* '''ai_use_parent_for_resources_upkeep = {...}''' - Specify resource(s) that the AI uses the parent to manage upkeep for in the parent category in ''common\ai_budget\''. For instance, ''ships'' alloy upkeep is managed directly (''alloys_upkeep_ships'' in "ai_budget\00_alloys_budget.txt"), but ''ships'' energy upkeep is managed via ''ships'' parent ''country'' (''energy_upkeep_country'' in "ai_budget\00_energy_budget.txt"), as ''ships'' economic category has ''ai_use_parent_for_resources_upkeep = { energy }'' :* '''triggered_(cost/produces/upkeep)_modifier = {...}''' - Generate a ''cost'', ''produces'' or ''upkeep'' modifier that only applies to a subset of this category. ::* '''key = <key>''' - The <key> for this generated modifier category ::* '''use_parent_icon = yes''' - This triggered modifier won't have it's own icon set, so use the category's icon for it ::* '''modifyer_types'' - ''mult'' and/or ''add'', depending on which you want generated ::* '''trigger = {...}''' - The trigger conditions to form this subset. The scope depends on the resource block it is assigned to.
Summary:
Please note that all contributions to 群星百科 are considered to be released under the 知识共享署名-非商业性使用-相同方式共享 (see
群星百科:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
×
Login
Password
Remember my login
Join 群星百科
Forgot your password?
Login with other method