From 246034f4cb53b5b3386e5ecc03c39b3175d5b4b0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 14 Aug 2023 20:36:09 +0200 Subject: [PATCH] gobot:: csc command --- rogueviz/gobot.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rogueviz/gobot.cpp b/rogueviz/gobot.cpp index 2a9a52a8..718bcfbf 100644 --- a/rogueviz/gobot.cpp +++ b/rogueviz/gobot.cpp @@ -523,11 +523,14 @@ void accept_command(string s) { "undo - undo last move\n" "export - export board to string (no history, owners, captures)\n" "import [string] - import board from string\n" - ); + "csc [value] - stone size, current is " + fts(vid.creature_scale) + "\n" + ); if(tokens[0] == "save") save_go(); if(tokens[0] == "die") die_at(tokens); + + if(tokens[0] == "csc" && t == 2) vid.creature_scale = parseld(tokens[1].c_str()); if(tokens[0] == "clear" && t == 1) clear_owner_marks();