add_gems -> alter_gems
This commit is contained in:
+3
-3
@@ -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. |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user