ArkSol/scripts/ships_type.gd

21 lines
405 B
GDScript

extends Node2D
const SHIP_TYPES = {
"transport": {
"name": "Transport",
"cost": {"iron": 10},
"speed": 2,
"cargo_capacity": 50,
"required_tech": null,
"texture": "res://assets/ships/transport.png"
},
"frigate": {
"name": "Frigate",
"cost": {"iron": 10, "copper": 10},
"speed": 5,
"attack": 10,
"hp": 50,
"required_tech": null,
"texture": "res://assets/ships/fregata.png"
}
}