Comments (6)
from paradox-language-support.
So the logic to get the actual modifier icon path should be optimized.
And it seems like there are some other 'inherit icons' situations.
from paradox-language-support.
Plugin now simply get the modifier icon path by template expression "gfx/interface/icons/modifiers/$.dds", where "$" is the modifier name.
It seems like there should be some addtional inference logic (and are there others?),
and the icon file could also be a png file.
from paradox-language-support.
Some others:
- Economic category modifiers use icons related to their resources (there's some nuance to this one, worth careful investigation, particularly for modifiers which don't point at a specific resource)
- Scripted modifiers can specify an icon in their definition.
All of these (note the warnings in the scroll bar) have icons in-game
Edit: Just noticed the priest unity additive modifier using an old Russian loc entry from one of our "orphaned" loc files in favour of the vanilla english loc. Unsure if that priority order is desirable or not. I've removed the entry from the file since it wasn't being used any more anyway.
from paradox-language-support.
from paradox-language-support.
Not sure what's the icon generation rule for template-based modifier (e.g. shipsize_<ship_size>_build_speed_mult
).
from paradox-language-support.
Related Issues (20)
- 钢四国家新建国家颜色未知
- Deadlock during script localization idexing HOT 2
- 钢铁雄心4 Expression几乎不可读
- Parameters of inlines show as unused if they cannot be inferred correctly even if declared in cwt config. HOT 7
- Single quotes strings seem to not be accepted by the plugin as valid, while the game does not mind them HOT 5
- Parameters in cwt configs do not get auto completed if they cannot be inferred or are not present in the inline/scripted_effect etc HOT 6
- `no` should be a valid value for an optional parameter in scripted effects, values and triggers. HOT 1
- Allow, through cwt configs, to somehow make an inline parameter inherit the context/config of its parent/inline, specifically useful for code blocks.
- Allow specifying a trigger/effect blocks scope somehow through cwt configs if it cannot be inferred HOT 3
- Typing inline_script does not show autocomplete HOT 3
- Some effects change root scopes HOT 5
- Paramaters that are multi line trigger blocks do not type inference correctly. HOT 3
- Allow wildcard/template expression for parameter context_key HOT 1
- Scripted effect not recognized, nor its cwt config. HOT 3
- CTRL+B should allow moving between definition (of scripted effect, trigger, etc) and its extended cwt config if it exists HOT 2
- Using `single_alias[trigger_clause]` in cwt extended definition parameters does not seem to work, nor using a multiple config type work as expected. HOT 4
- Allow somehow through cwt configs to generate pseudo definitions for scripted effect, game concepts etc. HOT 3
- push/replace_scope does not work on event targets HOT 1
- Scope parameter that has defined type in cwt configs does not correctly switch scope if used to change scope. HOT 1
- Parameters are not validated when parameter is of type scope, and the value passed is of type system_link HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paradox-language-support.