game: add player stats and modifiers

This commit is contained in:
2025-08-19 14:23:12 +02:00
parent c95d4341a1
commit 0f0b537921
10 changed files with 91 additions and 51 deletions

View File

@@ -0,0 +1,8 @@
class_name PlayerStatsModifier
extends Resource
enum ModifierType { ADDITIVE, MULTIPLICATIVE, ABSOLUTE }
var stat_name: String
var value: Variant
var type: ModifierType = ModifierType.ADDITIVE