# singleton to store player state/values # everything contained here needs to be utilized in many places or saved # between play sessions extends Node var constitution := 1 var experience := 0.0 var level := 1.0 var max_health := constitution * 100 var max_resource := 100 var current_resource := max_resource var weapon_type: Globals.Weapon.WeaponType