+
Skip to content

Allow for adding of prefixes (or affixes) for input fields #184

Open
@BiscuitCookies

Description

@BiscuitCookies

For icons in many cases hoi4 prepends things like GFX_decision_ before an entered icon name (and doesn't it if it already has that prepended) in the case of decisions
So in maybe an option like affix[prefix,<type>] or something like that would be helpful?
So in the case of the example it would look like this.

 icon = prefix[GFX_decision_,<spriteType>]

so if in the game files it would say icon = generic_decision it would look up the GFX_decision_generic_decision instead of generic_decision

Edit: on a related thing. Icons for focus also automatically looks for the icon appended with _shine so also some way of double checking a type without an affix and with an affix

Also for ideas (national spirits, designers,etc.) by default without setting an icon will look for the ID of the idea with the GFX_idea_ prefix for an icon so a way of allowing you to check that a type is also in a different type would be helpful (with and without affixes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载