mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-17 10:11:49 +02:00
Support and no door icons.
This commit is contained in:
parent
b94eea3c27
commit
2f02d3e57f
4 changed files with 353 additions and 121 deletions
|
@ -43,9 +43,10 @@ def get_icon(tags, scheme, fill='444444'):
|
|||
main_icon = copy.deepcopy(matcher['icon'])
|
||||
processed = set(matcher['tags'].keys())
|
||||
if 'over_icon' in matcher:
|
||||
main_icon += matcher['over_icon']
|
||||
for key in matcher['tags'].keys():
|
||||
processed.add(key)
|
||||
if main_icon: # TODO: check main icon in under icons
|
||||
main_icon += matcher['over_icon']
|
||||
for key in matcher['tags'].keys():
|
||||
processed.add(key)
|
||||
if 'add_icon' in matcher:
|
||||
extra_icons += matcher['add_icon']
|
||||
for key in matcher['tags'].keys():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue