add_gems -> alter_gems

This commit is contained in:
2026-07-07 23:58:51 -05:00
parent 23b5bf2afb
commit e43dae54a8
7 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -69,7 +69,7 @@ fn bump(id) {
}
fn grab() {
add_gems(1);
alter_gems(1);
die();
}
```
@@ -254,7 +254,7 @@ fn tick(dt) {
]);
}
}
fn yes() { say("Brave soul!"); add_gems(5); }
fn yes() { say("Brave soul!"); alter_gems(5); }
fn no() { say("Coward."); }
```
@@ -299,7 +299,7 @@ swap([[3, 3, 3, 4], [3, 4, 3, 3]]);
| Call | Effect |
|---|---|
| `add_gems(n)` | Add `n` to the player's gem count (negative subtracts; clamped at 0). |
| `alter_gems(n)` | Add `n` to the player's gem count (negative subtracts; clamped at 0). |
| `die()` | Remove the calling object from the board. Zero cost. |
---