| 1 |
# --- We may need to import the export module --- |
| 2 |
# |
| 3 |
# from wgexport import * |
| 4 |
|
| 5 |
def patch(build,data,vmod,verbose=False,**kwargs): |
| 6 |
# --- Get the game --- |
| 7 |
game = build.getGame() |
| 8 |
|
| 9 |
# --- Get the maps --- |
| 10 |
maps = game.getMaps() |
| 11 |
|
| 12 |
# --- Get the main board --- |
| 13 |
board = maps['Board'] |
| 14 |
|
| 15 |
# --- Get the mass keys --- |
| 16 |
mkeys = board.getMassKeys() |
| 17 |
mkeys['Eliminate']['icon'] = 'eliminate-icon.png' |
| 18 |
mkeys['Flip'] ['icon'] = 'flip-icon.png' |
| 19 |
|
| 20 |
# --- Get the dead-pool map --- |
| 21 |
pool = maps['DeadMap'] |
| 22 |
pool['icon'] = 'pool-icon.png' |
| 23 |
pool.getMassKeys()['Restore']['icon'] = 'restore-icon.png' |
| 24 |
|
| 25 |
# --- Get the OOB map --- |
| 26 |
oob = game.getChartWindows()['OOBs'] |
| 27 |
oob['icon'] = 'oob-icon.png' |
| 28 |
|
| 29 |
|
| 30 |
# |
| 31 |
# EOF |
| 32 |
# |
| 33 |
|