2024-10-18 16:17:39 -06:00
|
|
|
# singleton to store player state/values
|
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
|
|
|
@export var player_constitution := 1
|
2024-10-20 16:44:08 -06:00
|
|
|
@export var player_exp := 0.0
|
|
|
|
@export var player_level := 1.0
|
2024-10-18 16:17:39 -06:00
|
|
|
@export var player_maxhealth := player_constitution * player_level * 100
|
2024-10-23 20:58:44 -06:00
|
|
|
# TEST: change current health to var on player and use signals to take damage?
|
2024-10-21 09:51:28 -06:00
|
|
|
@export var player_currenthealth := player_maxhealth
|
2024-10-23 20:58:44 -06:00
|
|
|
var player_maxresource := 100
|
|
|
|
var player_weapon_type : Globals.Weapon.WeaponType
|