feat: RP asset functions
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
/**
|
||||
* Fuel item that this heater uses
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine", meta=( UIMin = "1", UIMax = "2" ))
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Boiler")
|
||||
int32 mTier = 1;
|
||||
|
||||
/**
|
||||
@@ -37,4 +37,10 @@ public:
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Boiler")
|
||||
float mDuration = 6.f;
|
||||
|
||||
/**
|
||||
* Curve for the production to Heat
|
||||
*/
|
||||
UPROPERTY( EditDefaultsOnly, BlueprintReadOnly, Category = "Boiler" )
|
||||
UCurveFloat* mBoilerCurve;
|
||||
};
|
||||
@@ -18,7 +18,7 @@ public:
|
||||
/**
|
||||
* What type of heater this is
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Heater")
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cooler")
|
||||
ERRDACoolerType mType = ERRDACoolerType::Chemical;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
@@ -17,24 +17,24 @@ public:
|
||||
/**
|
||||
* Fuel item that this heater uses
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Turbine", meta=( UIMin = "1", UIMax = "5" ) )
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Generator", meta=( UIMin = "1", UIMax = "5" ) )
|
||||
int32 mTier = 1;
|
||||
|
||||
/**
|
||||
* Maximum power output of the generator
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Mp Generator" )
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Generator" )
|
||||
float mMaxPowerOutput;
|
||||
|
||||
/**
|
||||
* Maximum RPM of the generator
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Mp Generator" )
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Generator" )
|
||||
int mMaxRPM;
|
||||
|
||||
/**
|
||||
* Curve that defines the power output of the generator
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Mp Generator" )
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Generator" )
|
||||
UCurveFloat* mGeneratorCurve;
|
||||
};
|
||||
@@ -39,4 +39,13 @@ public:
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Heater")
|
||||
float mDuration = 6.f;
|
||||
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Heater" )
|
||||
float mHeat = 1;
|
||||
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Heater" )
|
||||
float mMaxHeatValue = 500;
|
||||
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Heater" )
|
||||
float mMinHeatValue = 20;
|
||||
};
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
/**
|
||||
* Fuel item that this heater uses
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine", meta=( UIMin = "1", UIMax = "2" ))
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine")
|
||||
int32 mTier = 1;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user