feat: RP asset functions

This commit is contained in:
2024-10-27 19:49:15 +01:00
parent b4e8796e74
commit 86362e2658
9 changed files with 281 additions and 79 deletions
@@ -28,24 +28,24 @@ public:
* What Item should be a Dirt?
* @warning - If 2 DirtDataAssets have the same Item, the game will use the last one which was loaded
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FicsitFarming")
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dirt")
TSubclassOf<UFGItemDescriptor> mItem;
/**
* Seeds that can be extracted from this dirt every cycle
*/
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="FicsitFarming" )
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="Dirt" )
TArray<FItemAmount> mExtractableSeed;
/**
* Production time for the extraction of seeds
*/
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="FicsitFarming" )
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="Dirt" )
float mExtractionCycleTime = 6.0f;
/**
* How much dirt should be consumed?
*/
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="FicsitFarming" )
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category="Dirt" )
int32 mDirtConsume = 2;
};