New heroes: thief steals gold, monk ignores spells, ranger lays snares, inquisitor turns weak creatures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 11:02:50 +01:00
1 parent a1a8f9d71d
commit ff48a69571
29 files changed
+724 -12

No files matched your search

+18
View File
@@ -2372,6 +2372,24 @@ fn draw_landmarks_solid(g: &Game, t: f32) {
// soul core: an obsidian throne whose four curved spikes hold the crystal heart in chains
let (cx, cy) = g.map.core;
draw_throne(vec3(cx as f32 + 1.5, 0.0, cy as f32 + 1.5), t);
// a ranger's snares: iron jaws on the floor, open and waiting
for &i in &g.snares {
if !g.map.shown(i) {
continue;
}
let (x, y) = xy(i);
let c = vec3(x as f32 + 0.5, 0.0, y as f32 + 0.5);
let iron = Color::from_rgba(96, 92, 100, 255);
let dark = Color::from_rgba(40, 36, 42, 255);
draw_cube(c + vec3(0.0, 0.02, 0.0), vec3(0.34, 0.03, 0.34), None, dark);
for side in [-1.0f32, 1.0] {
draw_cube(c + vec3(side * 0.16, 0.06, 0.0), vec3(0.04, 0.08, 0.36), None, iron);
for k in 0..3 {
let z = -0.12 + k as f32 * 0.12;
draw_cube(c + vec3(side * 0.12, 0.11, z), vec3(0.03, 0.05, 0.03), None, Color::from_rgba(200, 200, 210, 255));
}
}
}
// the other masters' cores: the same throne (their hearts glow in their colours)
for rv in g.rivals.iter().filter(|r| r.alive && g.map.shown(idx(r.core.0 + 1, r.core.1 + 1))) {
let (rx, rz) = rv.centre();