World icons for KH2 and KH3 as well as some more info on KH3 enemies and ingredients

master
Wynd 2025-10-25 21:55:42 +03:00
parent a1319396b6
commit c716e08c45
45 changed files with 61 additions and 5 deletions

View File

@ -6,6 +6,7 @@ name = "Arendelle"
[[world]]
name = "The Caribbean"
rooms = [""]
[[drops]]
name = "Twilight Stone"

View File

@ -3,6 +3,10 @@ name = "Gold Beat"
[[world]]
name = "Toy Box"
[[world]]
name = "The Caribbean"
rooms = ["Exile Island"]
[[drops]]
name = "Lightning Stone"
kind = "material"

View File

@ -2,6 +2,7 @@ name = "High Soldier"
[[world]]
name = "San Fransokyo"
rooms = ["Battlegate 12", "North District (Night)"]
[[drops]]
name = "Wellspring Gem"

View File

@ -2,6 +2,7 @@ name = "Mechanitaur"
[[world]]
name = "San Fransokyo"
rooms = ["Battlegate 12"]
[[drops]]
name = "Wellspring Gem"

View File

@ -2,6 +2,7 @@ name = "Metal Troll"
[[world]]
name = "San Fransokyo"
rooms = ["Battlegate 11", "North District (Night)"]
[[drops]]
name = "Wellspring Stone"

View File

@ -2,6 +2,7 @@ name = "Spear Lizard"
[[world]]
name = "The Caribbean"
rooms = ["Battlegate 10", "Isla de los Mastiles"]
[[drops]]
name = "Soothing Stone"

View File

@ -10,3 +10,8 @@ note = "Spawn in Thoroughfare and go back to The Forest around the trees"
world = "Toy Box"
room = "Andy's House"
note = "Outside the house in the garden"
[[locations]]
world = "The Carribean"
room = "Isla de los Mastiles"
note = "On a rock to the right of the spawn point"

View File

@ -5,3 +5,12 @@ group = "herb"
world = "Monstropolis"
room = "Lobby & Offices"
note = "Vending Machine at the Laugh Floor's entrance"
[[locations]]
world = "The Carribean"
room = "Isla de los Mastiles"
note = "Climb the walls and traverse the platforms"
[[locations]]
world = "The Carribean"
room = "Forsaken Isle"

View File

@ -9,4 +9,4 @@ note = "Laugh Floor on the desk in the very back"
[[locations]]
world = "The Carribean"
room = "Fort"
note = "In a box on the front terrace from the spawn"
note = "In an yellow box on the front terrace from the spawn"

View File

@ -1,2 +1,10 @@
name = "Portobello"
group = "mushroom"
[[locations]]
world = "The Carribean"
room = "Horseshoe Island"
[[locations]]
world = "The Carribean"
room = "Ship's End"

View File

@ -1,2 +1,7 @@
name = "Quail"
group = "meat"
[[locations]]
world = "The Carribean"
room = "Docks"
note = "Inside the building on the right side in a yellow box"

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -1,3 +1,5 @@
use std::fmt::Display;
use serde::Deserialize;
pub mod direction;
@ -14,3 +16,17 @@ pub enum Game {
Bbs,
Ddd,
}
impl Display for Game {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let str = match self {
Game::Kh1 => "kh1",
Game::Kh2 => "kh2",
Game::Kh3 => "kh3",
Game::Bbs => "bbs",
Game::Ddd => "ddd",
};
f.write_str(str)
}
}

View File

@ -2,7 +2,7 @@ use std::{fmt::Display, path::PathBuf};
use serde::Deserialize;
use super::materials::MaterialDetails;
use super::{Game, materials::MaterialDetails};
#[derive(Default, Debug, Deserialize, PartialEq, Eq, PartialOrd, Ord, Clone)]
pub struct Enemy {
@ -94,7 +94,11 @@ pub struct SpawnLocation {
}
impl SpawnLocation {
pub fn texture(&self) -> String {
self.name.replace(" ", "-").to_lowercase()
pub fn texture(&self, game: &Game) -> String {
format!(
"{}/{}",
game,
self.name.replace(" ", "-").replace("'", "").to_lowercase()
)
}
}

View File

@ -30,7 +30,7 @@
<div>
<div
class="icon"
style="background-image: url('../public/assets/worlds/{{ spawn.texture() }}.webp');"
style="background-image: url('../public/assets/worlds/{{ spawn.texture(data.game) }}.webp');"
></div>
<div class="info">
<p>{{ spawn.name }}</p>