feat: functions for Turbine
This commit is contained in:
@@ -13,6 +13,8 @@ class REFINEDRDAPI_API URRDATurbineDataAsset : public URRDADataAssetBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
virtual bool IsEnabled_Internal(UObject* WorldContextObject) const override;
|
||||
|
||||
public:
|
||||
/**
|
||||
* Fuel item that this heater uses
|
||||
@@ -38,4 +40,28 @@ public:
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine")
|
||||
float mDuration = 6.f;
|
||||
|
||||
/**
|
||||
* The time it takes to handle the RPM (slow down or speed up)
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Turbine" )
|
||||
float mRPHandleTime = 0.025f;
|
||||
|
||||
/**
|
||||
* How much the RPM should be dragged down by
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Turbine" )
|
||||
int mRPMDrag = 5;
|
||||
|
||||
/**
|
||||
* Maximum RPM that this turbine can reach
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Turbine" )
|
||||
int mMaxRPM = 10000;
|
||||
|
||||
/**
|
||||
* Multiplier for the RPM
|
||||
*/
|
||||
UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Turbine" )
|
||||
float mRPMMultiplier = 2;
|
||||
};
|
||||
Reference in New Issue
Block a user