15 lines
567 B
GDScript
15 lines
567 B
GDScript
class_name VesselUpgradeDefinition
|
|
extends Resource
|
|
|
|
@export var upgrade_id: String
|
|
@export var display_name: String
|
|
@export_multiline var description: String
|
|
@export var base_cost: int
|
|
@export var max_level: int = 1
|
|
@export var icon: int
|
|
@export var additive_modifiers: Dictionary = {}
|
|
@export var multiplicative_modifiers: Dictionary = {}
|
|
# #63: spent from GameState.research_points per level bought, alongside
|
|
# base_cost (ore) rather than instead of it. 0 (the default) means this
|
|
# level needs no research points at all.
|
|
@export var research_point_cost: int = 0
|