ArkSol/scripts/ships_type.gd
2025-11-19 22:41:57 +01:00

20 lines
361 B
GDScript

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