From dccbae52f43a3025bce3aee0956e5f2b0865b2c8 Mon Sep 17 00:00:00 2001 From: Homer Date: Mon, 13 Jul 2026 09:09:53 +0200 Subject: [PATCH] Add curated vanilla command DB and quick-cheats config Co-Authored-By: Claude Fable 5 --- src/data/commands-vanilla.json | 251 +++++++++++++++++++++++++++++++++ src/data/quick-cheats.json | 213 ++++++++++++++++++++++++++++ 2 files changed, 464 insertions(+) create mode 100644 src/data/commands-vanilla.json create mode 100644 src/data/quick-cheats.json diff --git a/src/data/commands-vanilla.json b/src/data/commands-vanilla.json new file mode 100644 index 0000000..e073add --- /dev/null +++ b/src/data/commands-vanilla.json @@ -0,0 +1,251 @@ +[ + { + "name": "wh_cheat_money", + "template": "wh_cheat_money {amount}", + "desc": "Adds the given amount of Groschen to your inventory.", + "params": [{ "name": "amount", "type": "number", "required": true, "desc": "Amount of Groschen to add", "default": 1000 }], + "category": "Money", + "source": "devmode" + }, + { + "name": "wh_cheat_addItem", + "template": "wh_cheat_addItem {id}", + "desc": "Adds one item to your inventory by its item ID (use the Items tab to find IDs).", + "params": [{ "name": "id", "type": "string", "required": true, "desc": "Item ID (GUID)" }], + "category": "Items & Inventory", + "source": "devmode" + }, + { + "name": "player.inventory:CreateItem", + "template": "#player.inventory:CreateItem('{id}', {condition}, {amount})", + "desc": "Lua call that spawns items with a chosen condition and quantity. Condition is 0–1 (1 = 100%).", + "params": [ + { "name": "id", "type": "string", "required": true, "desc": "Item ID (GUID)" }, + { "name": "condition", "type": "number", "required": true, "desc": "Item condition from 0 to 1", "default": 1 }, + { "name": "amount", "type": "number", "required": true, "desc": "Number of items", "default": 1 } + ], + "category": "Items & Inventory", + "source": "devmode" + }, + { + "name": "wh_rpg_getLocation", + "template": "wh_rpg_getLocation", + "desc": "Prints your current world coordinates (use with the goto command).", + "params": [], + "category": "Movement & Teleport", + "source": "devmode" + }, + { + "name": "goto", + "template": "goto {x} {y} {z}", + "desc": "Teleports you to the given x, y, z coordinates.", + "params": [ + { "name": "x", "type": "number", "required": true, "desc": "X coordinate" }, + { "name": "y", "type": "number", "required": true, "desc": "Y coordinate" }, + { "name": "z", "type": "number", "required": true, "desc": "Z coordinate" } + ], + "category": "Movement & Teleport", + "source": "devmode" + }, + { + "name": "wh_horse_StealCurrentHorse", + "template": "wh_horse_StealCurrentHorse", + "desc": "Makes the stolen horse you are currently riding your own.", + "params": [], + "category": "Horse", + "source": "devmode" + }, + { + "name": "player.soul:AddBuff (god mode)", + "template": "#player.soul:AddBuff('4add60ab-9015-4e56-9f7a-cb19345d6d49')", + "desc": "Applies the invincibility buff — Henry no longer loses health.", + "params": [], + "category": "Buffs", + "source": "devmode" + }, + { + "name": "player.soul:AddBuff", + "template": "#player.soul:AddBuff('{id}')", + "desc": "Applies any buff by its buff ID (use the Buffs tab to find IDs).", + "params": [{ "name": "id", "type": "string", "required": true, "desc": "Buff ID (GUID)" }], + "category": "Buffs", + "source": "devmode" + }, + { + "name": "player.soul:SetState", + "template": "#player.soul:SetState('{state}', {value})", + "desc": "Sets a body state such as health or stamina to the given value (0–100).", + "params": [ + { "name": "state", "type": "select", "required": true, "desc": "State to set", "options": ["health", "stamina", "hunger", "exhaust"], "default": "health" }, + { "name": "value", "type": "number", "required": true, "desc": "New value (0–100)", "default": 100 } + ], + "category": "Player & UI", + "source": "devmode" + }, + { + "name": "player.soul:AddStatXP", + "template": "#player.soul:AddStatXP('{stat}', {amount})", + "desc": "Adds XP to a main stat.", + "params": [ + { "name": "stat", "type": "select", "required": true, "desc": "Stat", "options": ["strength", "agility", "vitality", "speech"], "default": "strength" }, + { "name": "amount", "type": "number", "required": true, "desc": "XP amount", "default": 1000 } + ], + "category": "Skills & Stats", + "source": "devmode" + }, + { + "name": "player.soul:AddSkillXP", + "template": "#player.soul:AddSkillXP('{skill}', {amount})", + "desc": "Adds XP to a skill.", + "params": [ + { "name": "skill", "type": "select", "required": true, "desc": "Skill", "options": ["alchemy", "craftsmanship", "drinking", "horse_riding", "houndmaster", "marksmanship", "scholarship", "stealth", "survival", "thievery", "weapon_sword", "heavy_weapons", "weapon_large", "weapon_unarmed"], "default": "stealth" }, + { "name": "amount", "type": "number", "required": true, "desc": "XP amount", "default": 1000 } + ], + "category": "Skills & Stats", + "source": "devmode" + }, + { + "name": "player.soul:AddPerk", + "template": "#player.soul:AddPerk('{id}')", + "desc": "Adds a perk by its perk ID (use the Perks tab to find IDs).", + "params": [{ "name": "id", "type": "string", "required": true, "desc": "Perk ID (GUID)" }], + "category": "Perks", + "source": "devmode" + }, + { + "name": "wh_rpg_unlockAll", + "template": "wh_rpg_unlockAll {value}", + "desc": "Unlocks all combos, perks, skills and recipes.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "1 = on, 0 = off (default 0)", "options": ["1", "0"], "default": "1" }], + "category": "Skills & Stats", + "source": "devmode" + }, + { + "name": "wh_rpg_UnlockAllAchievements", + "template": "wh_rpg_UnlockAllAchievements", + "desc": "Unlocks all achievements.", + "params": [], + "category": "Utility", + "source": "devmode" + }, + { + "name": "player_revealFow", + "template": "player_revealFow", + "desc": "Removes the fog of war from the map. Permanent for the save.", + "params": [], + "category": "World & Time", + "source": "devmode" + }, + { + "name": "wh_sys_NoSavePotion", + "template": "wh_sys_NoSavePotion {value}", + "desc": "Save the game without needing Saviour Schnapps.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "1 = on, 0 = off (default 0)", "options": ["1", "0"], "default": "1" }], + "category": "Utility", + "source": "devmode" + }, + { + "name": "wh_rpg_OneShotKill", + "template": "wh_rpg_OneShotKill {value}", + "desc": "Your attacks knock out or kill enemies in one hit.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "1 = on, 0 = off (default 0)", "options": ["1", "0"], "default": "1" }], + "category": "NPCs", + "source": "devmode" + }, + { + "name": "wh_rpg_DisablePlayerFallDamage", + "template": "wh_rpg_DisablePlayerFallDamage {value}", + "desc": "Disables fall damage for the player.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "1 = on, 0 = off (default 0)", "options": ["1", "0"], "default": "1" }], + "category": "Player & UI", + "source": "devmode" + }, + { + "name": "wh_pl_LockPickingShakeOverride", + "template": "wh_pl_LockPickingShakeOverride {value}", + "desc": "Removes the screen shake while lockpicking.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "0 = no shake", "options": ["0", "1"], "default": "0" }], + "category": "Minigames", + "source": "devmode" + }, + { + "name": "wh_pl_LockPickingDOF", + "template": "wh_pl_LockPickingDOF {value}", + "desc": "Extends the lockpicking time limit before the lockpick breaks.", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "Higher = more time", "default": 50 }], + "category": "Minigames", + "source": "devmode" + }, + { + "name": "wh_pl_BlacksmithCompletionGainMultiplier", + "template": "wh_pl_BlacksmithCompletionGainMultiplier {value}", + "desc": "Multiplies how fast smithing work completes.", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "Multiplier", "default": 5 }], + "category": "Minigames", + "source": "devmode" + }, + { + "name": "wh_pl_BlacksmithQualityLossMultiplier", + "template": "wh_pl_BlacksmithQualityLossMultiplier {value}", + "desc": "Multiplies quality loss while smithing (0 = no loss).", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "Multiplier", "default": 0 }], + "category": "Minigames", + "source": "devmode" + }, + { + "name": "wh_ui_showHUD", + "template": "wh_ui_showHUD {value}", + "desc": "Shows or hides the HUD (great for screenshots).", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "0 = hidden, 1 = shown", "options": ["0", "1"], "default": "0" }], + "category": "Player & UI", + "source": "devmode" + }, + { + "name": "wh_pl_showfirecursor", + "template": "wh_pl_showfirecursor {value}", + "desc": "Keeps the reticle visible when aiming a bow or gun.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "1 = on, 0 = off (default 0)", "options": ["1", "0"], "default": "1" }], + "category": "Player & UI", + "source": "devmode" + }, + { + "name": "wh_env_RainIntensityOverride", + "template": "wh_env_RainIntensityOverride {value}", + "desc": "Overrides rain intensity (-1 = none, 1 = downpour).", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "-1 to 1", "default": -1 }], + "category": "World & Time", + "source": "devmode" + }, + { + "name": "cl_fov", + "template": "cl_fov {value}", + "desc": "Sets the camera field of view (default 60).", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "FOV in degrees", "default": 75 }], + "category": "Graphics & System", + "source": "devmode" + }, + { + "name": "r_MotionBlur", + "template": "r_MotionBlur {value}", + "desc": "Enables or disables motion blur.", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "0 = off", "options": ["0", "1"], "default": "0" }], + "category": "Graphics & System", + "source": "devmode" + }, + { + "name": "sys_MaxFPS", + "template": "sys_MaxFPS {value}", + "desc": "Caps the frame rate (CryEngine cvar).", + "params": [{ "name": "value", "type": "number", "required": true, "desc": "FPS cap, 0 = uncapped", "default": 60 }], + "category": "Graphics & System", + "source": "devmode" + }, + { + "name": "r_VSync", + "template": "r_VSync {value}", + "desc": "Enables or disables vertical sync (CryEngine cvar).", + "params": [{ "name": "value", "type": "select", "required": true, "desc": "0 = off, 1 = on", "options": ["0", "1"], "default": "0" }], + "category": "Graphics & System", + "source": "devmode" + } +] diff --git a/src/data/quick-cheats.json b/src/data/quick-cheats.json new file mode 100644 index 0000000..6f75de0 --- /dev/null +++ b/src/data/quick-cheats.json @@ -0,0 +1,213 @@ +[ + { + "group": "Money", + "entries": [ + { + "label": "Add Groschen", + "desc": "Adds money to your inventory.", + "params": [{ "name": "amount", "type": "number", "default": 1000 }], + "variants": { + "cheatmod": "cheat_add_money amount:{amount}", + "devmode": "wh_cheat_money {amount}" + } + } + ] + }, + { + "group": "Skills & Stats", + "entries": [ + { + "label": "Set skill level", + "desc": "Sets a skill to the given level (1–30). Skill name can be partial, e.g. 'marksmanship'.", + "params": [ + { "name": "skill", "type": "string", "default": "marksmanship" }, + { "name": "level", "type": "number", "default": 20 } + ], + "variants": { "cheatmod": "cheat_set_skill_level any:{skill} level:{level}" } + }, + { + "label": "Set stat level", + "desc": "Sets a main stat (strength, agility, vitality, speech) to the given level.", + "params": [ + { "name": "stat", "type": "select", "options": ["strength", "agility", "vitality", "speech"], "default": "strength" }, + { "name": "level", "type": "number", "default": 20 } + ], + "variants": { + "cheatmod": "cheat_set_stat_level stat:{stat} level:{level}" + } + }, + { + "label": "Add skill XP", + "desc": "Adds XP to a skill instead of setting the level outright.", + "params": [ + { "name": "skill", "type": "select", "options": ["alchemy", "craftsmanship", "drinking", "horse_riding", "houndmaster", "marksmanship", "scholarship", "stealth", "survival", "thievery", "weapon_sword", "heavy_weapons", "weapon_large", "weapon_unarmed"], "default": "stealth" }, + { "name": "amount", "type": "number", "default": 1000 } + ], + "variants": { "devmode": "#player.soul:AddSkillXP('{skill}', {amount})" } + }, + { + "label": "XP gain buff", + "desc": "Temporary buff that boosts XP gain by the given percent.", + "params": [{ "name": "amount", "type": "number", "default": 200 }], + "variants": { "cheatmod": "cheat_add_buff_xp amount:{amount}" } + }, + { + "label": "Unlock all combos, perks & recipes", + "desc": "Unlocks all combos, perks, skills and recipes.", + "params": [], + "variants": { "devmode": "wh_rpg_unlockAll 1" } + }, + { + "label": "Add all codex perks", + "desc": "Grants every codex perk.", + "params": [], + "variants": { "cheatmod": "cheat_add_all_codex_perks" } + } + ] + }, + { + "group": "Survival & Combat", + "entries": [ + { + "label": "Full heal", + "desc": "Heals Henry completely.", + "params": [], + "variants": { + "cheatmod": "cheat_add_buff_heal", + "devmode": "#player.soul:SetState('health', 100)" + } + }, + { + "label": "God mode ON", + "desc": "Invincibility buff — no health loss.", + "params": [], + "variants": { + "cheatmod": "cheat_add_buff_immortal", + "devmode": "#player.soul:AddBuff('4add60ab-9015-4e56-9f7a-cb19345d6d49')" + } + }, + { + "label": "God mode OFF", + "desc": "Removes the invincibility buff.", + "params": [], + "variants": { "cheatmod": "cheat_remove_buff_immortal" } + }, + { + "label": "One-shot kill", + "desc": "Your attacks kill or knock out in one hit (0 turns it off).", + "params": [{ "name": "value", "type": "select", "options": ["1", "0"], "default": "1" }], + "variants": { "devmode": "wh_rpg_OneShotKill {value}" } + }, + { + "label": "Repair all gear", + "desc": "Repairs equipment to the given condition.", + "params": [{ "name": "condition", "type": "number", "default": 100 }], + "variants": { "cheatmod": "cheat_repair_gear condition:{condition}" } + }, + { + "label": "Wash dirt & blood", + "desc": "Cleans Henry and his clothes.", + "params": [], + "variants": { "cheatmod": "cheat_wash_dirt_and_blood" } + }, + { + "label": "Carry weight buff", + "desc": "Adds bonus carry capacity.", + "params": [{ "name": "amount", "type": "number", "default": 100 }], + "variants": { "cheatmod": "cheat_add_buff_carry_weight amount:{amount}" } + }, + { + "label": "No fall damage", + "desc": "Disables player fall damage.", + "params": [], + "variants": { "devmode": "wh_rpg_DisablePlayerFallDamage 1" } + } + ] + }, + { + "group": "Unlocks & World", + "entries": [ + { + "label": "Reveal map", + "desc": "Removes fog of war from the map (permanent for the save).", + "params": [], + "variants": { + "cheatmod": "cheat_reveal_map", + "devmode": "player_revealFow" + } + }, + { + "label": "Unlock all achievements", + "desc": "Unlocks every achievement.", + "params": [], + "variants": { "devmode": "wh_rpg_UnlockAllAchievements" } + }, + { + "label": "Set time of day", + "desc": "Skips forward to the given hour (Cheat mod) — or set time speed instead.", + "params": [{ "name": "hours", "type": "number", "default": 8 }], + "variants": { "cheatmod": "cheat_set_time hours:{hours}" } + }, + { + "label": "Set weather", + "desc": "Forces a weather preset by ID (try 1–10; 6 = storm).", + "params": [{ "name": "id", "type": "number", "default": 6 }], + "variants": { "cheatmod": "cheat_set_weather id:{id}" } + } + ] + }, + { + "group": "Saving & Utility", + "entries": [ + { + "label": "Save game now", + "desc": "Saves the game immediately.", + "params": [], + "variants": { "cheatmod": "cheat_save" } + }, + { + "label": "Save without Schnapps", + "desc": "Removes the Saviour Schnapps requirement for saving.", + "params": [], + "variants": { "devmode": "wh_sys_NoSavePotion 1" } + }, + { + "label": "Get current position", + "desc": "Prints your coordinates for use with teleport.", + "params": [], + "variants": { + "cheatmod": "cheat_loc", + "devmode": "wh_rpg_getLocation" + } + }, + { + "label": "Teleport to coordinates", + "desc": "Teleports Henry to x, y, z.", + "params": [ + { "name": "x", "type": "number" }, + { "name": "y", "type": "number" }, + { "name": "z", "type": "number" } + ], + "variants": { + "cheatmod": "cheat_teleport {x} {y} {z}", + "devmode": "goto {x} {y} {z}" + } + }, + { + "label": "Own current (stolen) horse", + "desc": "Makes the horse you are riding your own.", + "params": [], + "variants": { + "cheatmod": "cheat_horse_own", + "devmode": "wh_horse_StealCurrentHorse" + } + }, + { + "label": "No lockpick shake", + "desc": "Removes the screen shake while lockpicking.", + "params": [], + "variants": { "devmode": "wh_pl_LockPickingShakeOverride 0" } + } + ] + } +]