Add crafting debug exec tools

This commit is contained in:
2026-05-17 18:08:48 -07:00
parent 3509641df8
commit 70eb22d716
5 changed files with 137 additions and 1 deletions
+6
View File
@@ -153,6 +153,12 @@ reads those recipes plus the replicated inventory to show craftable status and
ingredient counts. Interactive UMG recipe browsing, hotkeys, and queued
crafting controls are deferred until the primitive loop settles.
Crafting debug tools live on the player controller. `AgrarianCraftStatus`
prints known recipes and current craftability, while `AgrarianCraft <RecipeId>`
requests a server-authoritative craft through `UAgrarianCraftingComponent`.
These commands are intended for smoke testing and investor-demo rehearsal until
proper UI input exists.
Inventory persistence saves `UAgrarianInventoryComponent::Items` into
`FAgrarianSavedPlayer::Inventory` and restores through
`UAgrarianInventoryComponent::RestoreSavedItems`. Restore broadcasts