forked from MapComplete/MapComplete
Themes(shops): revert to ID-presets for icons, add "vacant" as shop option
This commit is contained in:
parent
f4267dd432
commit
622049f21f
1 changed files with 22 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": {
|
"icon": {
|
||||||
"builtin": "nsi_brand.icon",
|
"builtin": "id_presets.shop_rendering",
|
||||||
"override": {
|
"override": {
|
||||||
"render": "./assets/layers/id_presets/maki-shop.svg",
|
"render": "./assets/layers/id_presets/maki-shop.svg",
|
||||||
"+mappings": [
|
"+mappings": [
|
||||||
|
@ -316,6 +316,27 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"mappings+": [
|
||||||
|
{
|
||||||
|
"if": "disused:shop:={shop}",
|
||||||
|
"then": {
|
||||||
|
"en": "This shop is no longer used. It is vacant",
|
||||||
|
"nl": "Deze winkel staat leeg"
|
||||||
|
},
|
||||||
|
"icon": "./assets/layers/shops/shop-disused.svg",
|
||||||
|
"addExtraTags": [
|
||||||
|
"shop="
|
||||||
|
],
|
||||||
|
"alsoShowIf": {
|
||||||
|
"or": [
|
||||||
|
"shop=disused",
|
||||||
|
"shop=vacant",
|
||||||
|
"disused:shop~*",
|
||||||
|
"abandoned:shop~*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"condition": "craft=",
|
"condition": "craft=",
|
||||||
"invalidValues": "shop=yes",
|
"invalidValues": "shop=yes",
|
||||||
"filter": true
|
"filter": true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue