Skip to content

Commit

Permalink
1.56 Release Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pryans committed Jan 16, 2024
1 parent afdc478 commit 3a02a03
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 24 deletions.
2 changes: 2 additions & 0 deletions Source/Docs/commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cheat_find_skills
cheat_get_time
cheat_kill_npc
cheat_kill_target
cheat_load_all_items
cheat_loc
cheat_no_door_lockpicking
cheat_no_lockpicking
Expand All @@ -43,6 +44,7 @@ cheat_reset_perks
cheat_resurrect_npc
cheat_reveal_map
cheat_save
cheat_save_all_items
cheat_set_all_merchants_fence
cheat_set_bow_reticle
cheat_set_chat_bubbles
Expand Down
42 changes: 30 additions & 12 deletions Source/Docs/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,24 @@ Damages all weapons and armor in your inventory. This can uneqip items so don't



[size=4][b]cheat_save_all_items[/b][/size]
Saves inventory to temporary game memory. Intended for situations where the contents of your inventory will be lost due to game mechanics. i.e. A Woman's Lot (DLC). See cheat_load_all_items.

[b]Examples:[/b]
Saves all items:
cheat_save_all_items



[size=4][b]cheat_load_all_items[/b][/size]
Loads all items stored by cheat_save_all_items in this game session.

[b]Examples:[/b]
Load all items:
cheat_load_all_items



[size=4][b]cheat_set_all_merchants_fence[/b][/size]
Flags all merchants so they accept stolen goods.
Restarting the game reverts this effect.
Expand All @@ -302,8 +320,8 @@ Restarting the game reverts this effect.
Finds all of the perks that match the given token.

[b]Arguments:[/b]
token: (optional) All or part of a the perk's name. Leave empty to list all perks.
any: (optional boolean) Whether to not filter out perks you can't select yourself
token: (optional) All or part of a the perk's name. Leave empty to list all perks.

[b]Examples:[/b]
Show all perks:
Expand Down Expand Up @@ -467,9 +485,9 @@ You can end up in the air or under the map.
I suggest saving your game and turn on immortality first.

[b]Arguments:[/b]
y: (required number) Y coordinate
z: (required number) Z coordinate
x: (required number) X coordinate
y: (required number) Y coordinate

[b]Examples:[/b]
Type to console:
Expand Down Expand Up @@ -878,8 +896,8 @@ Let me know.
Regenerates the given player state over time; pulses once per second.

[b]Arguments:[/b]
amount: (optional number) The amount to regen every second.
enable: (required boolean) true to enable state regen; false to disable
amount: (optional number) The amount to regen every second.
state: (required) The state to regen: all, health, stamina, or exhaust.

[b]Examples:[/b]
Expand Down Expand Up @@ -913,8 +931,8 @@ Finds all of the skills that match the given token.
Sets one of the player's skills to the given level.

[b]Arguments:[/b]
skill: (required) The skill name, full or partial, or ID. Use cheat_find_skills to list all skills.
level: (required number) The desired level for the given skill (max 20).
skill: (required) The skill name, full or partial, or ID. Use cheat_find_skills to list all skills.

[b]Examples:[/b]
Set player's lockpicking skill to level 20:
Expand Down Expand Up @@ -972,8 +990,8 @@ A high ratio, like 1000, is faster. Default is 15. 0 will pause time.
Finds and kills all the killable NPCs within the given radius of the player.

[b]Arguments:[/b]
token: (required) All or part of a the NPC's name.
radius: (optional number) The kill radius around player. Default 5.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Kill Father Godwin:
Expand All @@ -988,8 +1006,8 @@ Finds and kills all the killable NPCs within the given radius of the player.
Finds and resurrects all the dead NPCs within the given radius of the player.

[b]Arguments:[/b]
token: (required) All or part of a the NPC's name.
radius: (optional number) The resurrect radius around player. Default 5.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Resurrect Father Godwin:
Expand Down Expand Up @@ -1017,12 +1035,12 @@ This only works if the NPC has been loaded into the world.
Teleports one or more NPCs to the given coordinates. Use cheat_loc to get locations.

[b]Arguments:[/b]
y: (required number) Y coordinate.
max: (optional number) The maximum NPCs to teleport. Default 10.
radius: (optional number) The teleport radius around the x,y,z target. Default 5.
z: (required number) Z coordinate.
token: (required) All or part of a the NPC's name.
y: (required number) Y coordinate.
x: (required number) X coordinate.
radius: (optional number) The teleport radius around the x,y,z target. Default 5.
max: (optional number) The maximum NPCs to teleport. Default 10.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Teleport Father Godwin to somewhere...:
Expand All @@ -1034,8 +1052,8 @@ Teleports one or more NPCs to the given coordinates. Use cheat_loc to get locati
Teleports one or more NPCs to the player's location.

[b]Arguments:[/b]
radius: (optional number) The teleport radius around the player. Default 5.
max: (optional number) The maximum NPCs to teleport. Default 10.
radius: (optional number) The teleport radius around the player. Default 5.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Expand All @@ -1060,8 +1078,8 @@ For some reason most of the animals and some bandits/cuman just stand around. No
The spawned entities are not managed so you should kill them off or load a clean save.

[b]Arguments:[/b]
radius: (optional number) The spawn radius around the player. Default 5.
class: (required) bandit|cuman|hare|horse|boar|sheep|pig|cow|buck|doe|reddeer
radius: (optional number) The spawn radius around the player. Default 5.
count: (optional number) Number of things to spawn. Default 1.

[b]Examples:[/b]
Expand Down
61 changes: 50 additions & 11 deletions Source/Docs/mod_page.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,28 @@ System.ExecuteCommand("cheat_set_regen enable:true state:stamina amount:10")

[b][size=6]Change Log[/size][/b]

[b]1.54[/b]
[b]1.56[/b]
[list]
[*] See https://github.com/pryans/kcd-cheat/pull/41
[*] See https://github.com/pryans/kcd-cheat/pull/40
[*]Adds 2 new commands cheat_save_all_items and cheat_load_all_items.
[*]cheat_save_all_items: Saves inventory to temporary game memory. Intended for situations where the contents of your inventory will be lost due to game mechanics. i.e. A Woman's Lot (DLC). See cheat_load_all_items.
[*]cheat_load_all_items: Loads all items stored by cheat_save_all_items in this game session.
[*]From aleksey-orekhov: You can now run cheat_save_all_items just before the end of the "A womans lot" dlc to save all your items to a global variable, and then run "cheat_load_all_items" once you are back in control of Henry to keep everything you found as Theresa. Be sure to give Theresa a big THANK YOU afterwards! Both commands must be run in the same game session. If you exit KCD after running cheat_save_all_items , the saved items will not persist for your next invocation of the cheat_load_all_items command. Saving items does NOT remove them from your inventory.
[*]See pull request https://github.com/pryans/kcd-cheat/pull/43 for aleksey-orekhov's changes.
[/list]

[b]1.55[/b]
[list]
[*]@wilecoyote Added a bunch of dlc related npcs, horses, buffs, perks and codex entries to cheat_localization.lua (see comments about Master Locator Marius at Nexus) so that we can find them with the command cheat_find_npc
[*]See PR https://github.com/pryans/kcd-cheat/pull/42 for the specific changes
[/list]

[b]1.54[/b]
[list]
[*]Changed the command cheat_reveal_map to be consistent and less confusing.
[*]Minor fix for cheat_teleport_to (exchanged places 9 and 10. See comments on Nexus)
[*]The functionality of cheat_no_stash_lockpicking and cheat_no_door_lockpicking were reversed.
[*]See PR https://github.com/pryans/kcd-cheat/pull/40 and https://github.com/pryans/kcd-cheat/pull/41 for the specific changes
[/list]

[b]1.53[/b][list]
[*]See [url=https://github.com/pryans/kcd-cheat/pull/38]#38[/url] from wilecoyote
Expand Down Expand Up @@ -308,6 +324,7 @@ cheat_find_skills
cheat_get_time
cheat_kill_npc
cheat_kill_target
cheat_load_all_items
cheat_loc
cheat_no_door_lockpicking
cheat_no_lockpicking
Expand All @@ -331,6 +348,7 @@ cheat_reset_perks
cheat_resurrect_npc
cheat_reveal_map
cheat_save
cheat_save_all_items
cheat_set_all_merchants_fence
cheat_set_bow_reticle
cheat_set_chat_bubbles
Expand Down Expand Up @@ -372,9 +390,11 @@ cheat_wash_dirt_and_blood








[size=4][b]cheat_eval[/b][/size]
Executes the given Lua code. This is not a cheat it is used for testing and debugging.

Expand Down Expand Up @@ -657,6 +677,24 @@ Damages all weapons and armor in your inventory. This can uneqip items so don't



[size=4][b]cheat_save_all_items[/b][/size]
Saves inventory to temporary game memory. Intended for situations where the contents of your inventory will be lost due to game mechanics. i.e. A Woman's Lot (DLC). See cheat_load_all_items.

[b]Examples:[/b]
Saves all items:
cheat_save_all_items



[size=4][b]cheat_load_all_items[/b][/size]
Loads all items stored by cheat_save_all_items in this game session.

[b]Examples:[/b]
Load all items:
cheat_load_all_items



[size=4][b]cheat_set_all_merchants_fence[/b][/size]
Flags all merchants so they accept stolen goods.
Restarting the game reverts this effect.
Expand Down Expand Up @@ -843,8 +881,8 @@ I suggest saving your game and turn on immortality first.

[b]Arguments:[/b]
z: (required number) Z coordinate
y: (required number) Y coordinate
x: (required number) X coordinate
y: (required number) Y coordinate

[b]Examples:[/b]
Type to console:
Expand Down Expand Up @@ -1059,8 +1097,8 @@ Sets one of the player's states to the given value.
Adds XP to one of the player's stats.

[b]Arguments:[/b]
stat: (required) One of: str, agi, vit, or spc.
xp: (required number) The desired XP to add.
stat: (required) One of: str, agi, vit, or spc.

[b]Examples:[/b]
Add 100 XP to player's strength stat:
Expand All @@ -1072,8 +1110,8 @@ Adds XP to one of the player's stats.
Sets one of the player's stats to the given level.

[b]Arguments:[/b]
stat: (required) One of: str, agi, vit, or spc.
level: (required number) The desired level for the given stat (max 20). Level cannot lowered.
stat: (required) One of: str, agi, vit, or spc.

[b]Examples:[/b]
Set player's strength to level 20:
Expand Down Expand Up @@ -1253,9 +1291,9 @@ Let me know.
Regenerates the given player state over time; pulses once per second.

[b]Arguments:[/b]
state: (required) The state to regen: all, health, stamina, or exhaust.
amount: (optional number) The amount to regen every second.
enable: (required boolean) true to enable state regen; false to disable
amount: (optional number) The amount to regen every second.
state: (required) The state to regen: all, health, stamina, or exhaust.

[b]Examples:[/b]
Adds 1 to all states every second.:
Expand Down Expand Up @@ -1393,10 +1431,10 @@ Teleports one or more NPCs to the given coordinates. Use cheat_loc to get locati

[b]Arguments:[/b]
max: (optional number) The maximum NPCs to teleport. Default 10.
radius: (optional number) The teleport radius around the x,y,z target. Default 5.
z: (required number) Z coordinate.
y: (required number) Y coordinate.
x: (required number) X coordinate.
radius: (optional number) The teleport radius around the x,y,z target. Default 5.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Expand All @@ -1409,8 +1447,8 @@ Teleports one or more NPCs to the given coordinates. Use cheat_loc to get locati
Teleports one or more NPCs to the player's location.

[b]Arguments:[/b]
radius: (optional number) The teleport radius around the player. Default 5.
max: (optional number) The maximum NPCs to teleport. Default 10.
radius: (optional number) The teleport radius around the player. Default 5.
token: (required) All or part of a the NPC's name.

[b]Examples:[/b]
Expand All @@ -1435,9 +1473,9 @@ For some reason most of the animals and some bandits/cuman just stand around. No
The spawned entities are not managed so you should kill them off or load a clean save.

[b]Arguments:[/b]
class: (required) bandit|cuman|hare|horse|boar|sheep|pig|cow|buck|doe|reddeer
radius: (optional number) The spawn radius around the player. Default 5.
count: (optional number) Number of things to spawn. Default 1.
class: (required) bandit|cuman|hare|horse|boar|sheep|pig|cow|buck|doe|reddeer

[b]Examples:[/b]
Spawn 10 bandits:
Expand Down Expand Up @@ -1485,3 +1523,4 @@ Sets the weather to the given weather ID.
[b]Examples:[/b]
Set weather to foggy storm:
cheat_set_weather id:6

2 changes: 1 addition & 1 deletion Source/Scripts/Startup/main.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cheat={}
cheat.versionMajor = 1
cheat.versionMinor = 55
cheat.versionMinor = 56
cheat.devHome = ""
cheat.isCommandLineBuild = false
cheat.commands = {}
Expand Down

0 comments on commit 3a02a03

Please sign in to comment.