semi-idle-arpg/scripts/PlayerState.gd

9 lines
276 B
GDScript3
Raw Normal View History

2024-10-18 16:17:39 -06:00
# singleton to store player state/values
extends Node
@export var player_constitution := 1
@export var player_exp := 0
@export var player_level := 1
@export var player_maxhealth := player_constitution * player_level * 100
@export var player_currenthealth := player_maxhealth