Added phone item
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// © 2025 Naked People Team. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "NakedDesire/Items/ItemDefinition.h"
|
||||
#include "PhoneItemDefinition.generated.h"
|
||||
|
||||
// Immutable definition for a phone (GDD §6.2 / §9.9). A phone is a regular UItemInstance item that
|
||||
// lives in the wardrobe / bag and occupies the dedicated phone slot when active (§6.5).
|
||||
// Phone-tier stats (camera / livestream / battery-capacity multipliers, §9.9) are deferred to Phase 8/9.
|
||||
UCLASS(BlueprintType)
|
||||
class NAKEDDESIRE_API UPhoneItemDefinition : public UItemDefinition
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
virtual TSubclassOf<UItemInstance> GetInstanceClass() const override;
|
||||
|
||||
UPROPERTY(EditDefaultsOnly, Category = "Phone")
|
||||
float MaxBattery = 100.0f;
|
||||
};
|
||||
Reference in New Issue
Block a user