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 | | /> |
| 108 | 3. 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> |