Bazaar new minigame which replaces old minigame

This commit is contained in:
2026-08-23 15:44:18 +02:00
parent 4c1f6eab70
commit 5cc22eccf7
16 changed files with 102 additions and 62 deletions

View File

@@ -127,8 +127,9 @@ public:
FSoftClassPath DecorationActorClassPath;
/** Base cost of the item that's used to form buying and selling prices */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Info", AssetRegistrySearchable, meta = (AssetBundles = "Inventory, Book"))
// Base cost of the item that's used to form buying and selling prices
// EDIT IT THE CSV
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Info", AssetRegistrySearchable, meta = (AssetBundles = "Inventory, Book"))
int32 BaseCost;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Info", AssetRegistrySearchable, meta = (AssetBundles = "Inventory, Book"))
@@ -188,8 +189,9 @@ public:
int32 ProfessionLevelNeeded;
/** The item element describes what type of crystal goes into creating
a potion of the same element type*/
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
a potion of the same element type
EDIT IN CSV*/
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
Element ItemElement;
/** The chemical alignment of item, coresponds to a clock */
@@ -199,8 +201,10 @@ public:
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Craftable")
EChemicalAlignment ChemicalAlignment;
/** What are the main properties of the ingredient/potion */
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
/** What are the main properties of the ingredient/potion
* EDIT IN CSV
*/
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
TArray<FPropertyStrength> Properties;
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
@@ -210,8 +214,10 @@ public:
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
TArray<FPropertyStrength> Defects;
/*Item effectiveness is it's ability to effect the body in various ways, 1 being least effective and 4 most effective*/
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
/*Item effectiveness is it's ability to effect the body in various ways, 1 being least effective and 4 most effective
* EDIT IN CSV
*/
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Craftable", AssetRegistrySearchable, meta = (AssetBundles = "Book"))
int32 Effectiveness;
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Craftable", meta = (ClampMin = 1.f, ClampMax = 2.f, UIMin = 1.f, UIMax = 2.f, Delta = 0.01f))