forked from retoor/devplacepy
Code Farm: add front-view server rack and API-backed terminal
This commit is contained in:
@@ -28,6 +28,34 @@ them, then documents every field a client sees and shows a complete automated cl
|
||||
A farm starts with **50 coins** and **4 plots**. Nothing is lost while you are away: builds keep
|
||||
progressing and wait for you, so the game is safe to check once an hour or once a day.
|
||||
|
||||
## Rack control terminal
|
||||
|
||||
The rack includes a command window that calls the same game API as the buttons. It uses the
|
||||
server numbers shown on the rack (**1–12**); the terminal translates these to the API's 0-based
|
||||
slot indexes. Type `help` for all commands or `api` for the complete route mapping.
|
||||
|
||||
| Command example | Action |
|
||||
|---|---|
|
||||
| `status`, `servers`, `server 3` | Inspect the rack or select a server. |
|
||||
| `crops`, `plant 3 python` | Compare workloads and spin one up. `spinup` is an alias for `plant`. |
|
||||
| `harvest 3`, `harvest all` | Collect one build or all currently ready builds. |
|
||||
| `fertilize 3`, `stop 3`, `resume 3` | Accelerate a build or manage Continuous Delivery's auto-replant. |
|
||||
| `ci upgrade`, `perk growth`, `legacy speed`, `mastery analytics` | Buy the corresponding upgrade. |
|
||||
| `infra registry`, `defense upgrade`, `defense downgrade` | Manage infrastructure and defense. |
|
||||
| `quests`, `claim harvest daily`, `claim harvest weekly` | Inspect and claim daily quests or weekly contracts. |
|
||||
| `daily`, `grant`, `refactor` | Claim rewards or refactor; `refactor` is an alias for `prestige`. |
|
||||
| `cosmetics`, `cosmetic buy skin_neon`, `cosmetic equip title_architect` | Buy cosmetics or equip an owned title. |
|
||||
| `view alice`, `water alice 2`, `steal alice 2` | Inspect and interact with a neighbour. |
|
||||
| `leaderboard raids`, `state`, `home`, `stats` | Read rankings, the full farm JSON, your overview, or lifetime/Era stats. |
|
||||
|
||||
Run `perks`, `legacy`, `mastery`, `infra`, or `cosmetics` without arguments to list keys,
|
||||
effects and current costs. Up/Down recalls command history; Tab completes commands and keys.
|
||||
The terminal retains drafts and output through live refreshes. Price-sensitive confirmations
|
||||
fetch the latest state before asking; server-side affordability, ownership, cooldowns and
|
||||
unlock checks still apply. Bulk harvesting sends one normal harvest request per ready server
|
||||
and stops if a request fails. `view` prints a neighbour's snapshot; it does not change the rack
|
||||
you are controlling. The Neon Terminal skin changes the rack's lighting and trim once owned.
|
||||
|
||||
## Crops
|
||||
|
||||
Each crop has a coin cost to plant, a base build time, a coin and experience reward on harvest,
|
||||
|
||||
Reference in New Issue
Block a user