Skip to content

Commit

Permalink
Fix Wind and Water Temples to show on correct Layer
Browse files Browse the repository at this point in the history
  • Loading branch information
savage13 committed May 5, 2024
1 parent 8882ed1 commit d69d2b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/AppMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1922,14 +1922,12 @@ export default class AppMap extends mixins(MixinUtil) {
this.map.switchBaseTileLayer("Depths");
} else if (obj.map_name.startsWith("Sky")) {
this.map.switchBaseTileLayer("Sky");
} else if (obj.map_type == "LargeDungeon") {
if (obj.map_name == "LargeDungeonWater") {
} else if (obj.map_name.startsWith("LargeDungeon")) {
if (obj.map_name.startsWith("LargeDungeon__LargeDungeonWater")) {
this.map.switchBaseTileLayer("Sky");
} else if (obj.map_name == "LargeDungeonFire") {
this.map.switchBaseTileLayer("Depths");
} else if (obj.map_name == "LargeDungeonSpirit") {
this.map.switchBaseTileLayer("Depths");
} else {// Wind and Thunder
} else if (obj.map_name.startsWith("LargeDungeon__LargeDungeonWind")) {
this.map.switchBaseTileLayer("Sky");
} else {
this.map.switchBaseTileLayer("Surface");
}
} else {
Expand Down
2 changes: 2 additions & 0 deletions src/components/ObjectInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<section class="search-result-location">
<span v-if="obj.map_name.startsWith('Sky')"> <i class="fa fa-cloud fa-fw" style="color: lightblue"></i></span>
<span v-else-if="obj.map_name.startsWith('Cave')"> <i class="fas fa-archway fa-fw" style="color: rosybrown"></i></span>
<span v-else-if="obj.map_name.startsWith('LargeDungeon__LargeDungeonWind')"> <i class="fas fa-cloud fa-fw" style="color: lightblue"></i></span>
<span v-else-if="obj.map_name.startsWith('LargeDungeon__LargeDungeonWater')"> <i class="fas fa-cloud fa-fw" style="color: lightblue"></i></span>
<span v-else-if="obj.map_type === 'MainField'"> <i class="fa fa-tree fa-fw" style="color: lightgreen"></i></span>
<span v-else-if="obj.map_type === 'MinusField'"> <i class="fa fa-circle fa-fw" style="color: #F3B4F6;"></i></span>
<i v-else class="fa fa-map-marker-alt fa-fw"></i>
Expand Down

0 comments on commit d69d2b5

Please sign in to comment.