In recent nightly I added option for scripts to add custom info to `INFO` button from ufopedia.
For now supported is:
extended:
scripts:
statsForNerdsArmor:
- offset: 1
code: |
# rule <- name of variable that have given rule object, every script hook use same names.
# geoscape_game <- current game, you can check if you have research to show some info
return;
statsForNerdsItem:
- offset: 1
code: |
#current available operations.
stats_state.addIntRow "The Answer to the Ultimate Question of Life, The Universe, and Everything" 42;
stats_state.addTextRow "Can run Crisis?" "STR_TRUE";
stats_state.addTextRow "Can run CyberPunk 2077?" "STR_FALSE";
stats_state.addTextFormatRow "Format" "test1 {0}%" 1;
stats_state.addTextFormatRow "Format" "test2 {0}% - {1}%" 1 2;
return;
statsForNerdsCraft:
- offset: 1
code: |
return;
statsForNerdsUfo:
- offset: 1
code: |
return;