reestructurat els comandos de consola

This commit is contained in:
2026-04-01 22:46:02 +02:00
parent 950eeffb07
commit c94adf39af
2 changed files with 102 additions and 103 deletions

View File

@@ -117,16 +117,6 @@ categories:
PLAYER SKIN: [DEFAULT, ABAD, BATMAN, CHIP, CONGO, JEANNINE, MUMMY, UPV_STUDENT]
PLAYER COLOR: [DEFAULT]
- keyword: SET
handler: cmd_set
description: "Set debug options"
usage: "SET INITIAL [ROOM|POS|SCENE] | SET ITEMS <0-200>"
debug_only: true
completions:
SET: [INITIAL, ITEMS]
SET INITIAL: [ROOM, POS, SCENE]
SET INITIAL SCENE: [LOGO, LOADING, TITLE, CREDITS, GAME, ENDING, ENDING2]
- keyword: RESTART
handler: cmd_restart
description: Restart from the beginning
@@ -193,10 +183,18 @@ categories:
commands:
- keyword: DEBUG
handler: cmd_debug
description: "Toggle debug overlay (F12)"
usage: "DEBUG [ON|OFF]"
description: "Debug mode and start options (F12)"
usage: "DEBUG [MODE [ON|OFF]|START [HERE|ROOM|POS|SCENE <name>]]"
completions:
DEBUG: [ON, OFF]
DEBUG: [MODE, START]
DEBUG MODE: [ON, OFF]
DEBUG START: [HERE, ROOM, POS, SCENE]
DEBUG START SCENE: [LOGO, LOADING, TITLE, CREDITS, GAME, ENDING, ENDING2]
- keyword: ITEMS
handler: cmd_items
description: "Set item count (GAME only)"
usage: "ITEMS <0-200>"
- keyword: ROOM
handler: cmd_room