New items + base typing + price generation + new menu template

This commit is contained in:
gotfishmakesticks 2023-11-13 13:38:43 +03:00
commit 50be4a0bb2
20 changed files with 408 additions and 37 deletions

View file

@ -2,12 +2,14 @@ extends Node2D
class_name Hull
@export var max_hp : int = 30
@export var max_fuel : int = 1000
@onready var hp = max_hp
@export var max_hp : float = 30
@export var max_fuel : float = 1000
@export var max_weight : float = 100
@onready var hp : float = max_hp
@onready var fuel : float = max_fuel
var weight : float = 0
var ammunition = {
"n/a" : 0,
"Laser Energy" : 100,
@ -19,3 +21,5 @@ var max_ammunition = {
"Laser Energy" : 100,
"Rockets" : 20
}
var cargo = {}