Changes between Version 7 and Version 8 of ModdingResources


Ignore:
Timestamp:
Jan 10, 2021, 10:46:51 AM (3 years ago)
Author:
Freagarach
Comment:

D2329.

Legend:

Unmodified
Added
Removed
Modified
  • ModdingResources

    v7 v8  
    106106}}}
    107107
    108 3.  Amend `gui/common/setup_resources.xml` so that you can use the icon in game UI texts (e.g. tech tree, tooltips); insert e.g.:
    109 {{{
    110 #!xml
    111   <icon name="icon_water"
    112     sprite="stretched:session/icons/resources/water_small.png"
    113     size="16 16"
    114   />
     1083.  Add a e.g. "water.xml" to `gui/common/resources/` so that you can use the icon in game UI texts (e.g. tech tree, tooltips); insert e.g.:
     109{{{
     110#!xml
     111<?xml version="1.0" encoding="utf-8"?>
     112
     113<setup>
     114        <icon name="icon_food"
     115                sprite="stretched:session/icons/resources/water_small.png"
     116                size="16 16"
     117        />
     118</setup>
    115119}}}
    116120