heart containers

This commit is contained in:
2026-06-23 22:52:25 -05:00
parent 8637c0a52a
commit d8a3f17379
11 changed files with 58 additions and 20 deletions
+8
View File
@@ -0,0 +1,8 @@
// Built-in script for the `heart` archetype.
//
// A heart is a grabbable collectible: walking onto it fires `grab()` instead
// of blocking. It restores 1 health and removes itself from the board.
fn grab() {
alter_health(1);
die();
}