wip 7 more test fixing

This commit is contained in:
2026-08-11 23:22:16 -05:00
parent 0f045c39a3
commit 3edb0b9eec
22 changed files with 284 additions and 994 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
// Built-in script for the `gem` archetype (see kiln-core/src/builtin_scripts.rs).
// Built-in script for the `gem` archetype (see kiln-core/src/builtin.rs).
//
// A gem is a grabbable collectible: walking onto it (or pushing it into the
// player) fires this `grab()` hook instead of blocking. We bump the player's gem
// count and remove ourselves from the board.
// A gem is a collectible: it is solid, so walking into it fires this `bump()`
// hook. We bank the gem and `die()`, which clears the cell — so the move that
// bumped us completes and the player ends up standing where the gem was.
fn bump(me, _dir) {
alter_gems(1);
die();