Traders come through the portal and sell rune plans, rare creatures, wood and mana
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
74837f1c34
commit
4c9fbe47e4
24 files changed
+406
-3
No files matched your search
+15
-1
@@ -1574,6 +1574,19 @@ fn sprite_rows(k: EK) -> [&'static str; 10] {
|
||||
"...y..y...",
|
||||
"..........",
|
||||
],
|
||||
// trader: a hooded merchant with a big pack and a lantern
|
||||
EK::Trader => [
|
||||
"...kkk....",
|
||||
"..kPPPk.BB",
|
||||
".kPfefPkBb",
|
||||
".kPffffkBb",
|
||||
"..kPPPPkBB",
|
||||
".kPPyPPPk.",
|
||||
"ykPPPPPPk.",
|
||||
"o.kPPPPk..",
|
||||
"..kPk.kPk.",
|
||||
"..kk...kk.",
|
||||
],
|
||||
// cave bear: shaggy brown fur, small yellow eyes
|
||||
EK::CaveBear => [
|
||||
".kk....kk.",
|
||||
@@ -1708,7 +1721,7 @@ fn pal(ch: char) -> Option<Color> {
|
||||
})
|
||||
}
|
||||
|
||||
pub const SPRITE_KINDS: [EK; 26] = [
|
||||
pub const SPRITE_KINDS: [EK; 27] = [
|
||||
EK::Worker,
|
||||
EK::Kobold,
|
||||
EK::Spider,
|
||||
@@ -1735,6 +1748,7 @@ pub const SPRITE_KINDS: [EK; 26] = [
|
||||
EK::Catapult,
|
||||
EK::CaveBear,
|
||||
EK::Beetle,
|
||||
EK::Trader,
|
||||
];
|
||||
// width of the sprite texture in pixels
|
||||
pub const SPRITE_TEX_W: f32 = (SPRITE_KINDS.len() * 12) as f32;
|
||||
|
||||
Reference in new issue
Block a user