2024-10-18 16:17:39 -06:00
|
|
|
# singleton to store player state/values
|
2024-10-24 08:46:36 -06:00
|
|
|
# everything contained here needs to be utilized in many places or saved
|
|
|
|
# between play sessions
|
2024-10-18 16:17:39 -06:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
2024-10-24 08:46:36 -06:00
|
|
|
var constitution := 1
|
|
|
|
var experience := 0.0
|
|
|
|
var level := 1.0
|
|
|
|
var max_health := constitution * 100
|
|
|
|
var max_resource := 100
|
2024-10-25 16:12:30 -06:00
|
|
|
var current_resource := max_resource
|
2024-10-24 08:46:36 -06:00
|
|
|
var weapon_type: Globals.Weapon.WeaponType
|
2024-10-28 11:34:48 -06:00
|
|
|
|
|
|
|
var zone_duration := 0
|