Compose buildings from definitions and capabilities
This commit is contained in:
parent
1721edd123
commit
0504b24d8d
46 changed files with 1091 additions and 878 deletions
20
ShipLabBuildingDefinition.tres
Normal file
20
ShipLabBuildingDefinition.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="BuildingDefinition" load_steps=3 format=3]
|
||||
[ext_resource type="Script" path="res://BuildingDefinition.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://ShipLabBuildingVisual.tscn" id="2"]
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
definition_id = "ship_lab"
|
||||
display_name = "Ship Lab"
|
||||
description = "Fly the fleet onto it to upgrade each vessel type and unlock new vessel designs."
|
||||
cost = 35
|
||||
action_icon = 13
|
||||
menu_icon = 13
|
||||
visual_scene = ExtResource("2")
|
||||
capabilities = PackedStringArray("vessel_research")
|
||||
map_color = Color(0.55, 0.95, 0.9, 1)
|
||||
map_sides = 3
|
||||
map_radius = 7.5
|
||||
map_phase = -1.570796
|
||||
menu_button_name = "ShipLabButton"
|
||||
menu_label_name = "ShipLabLabel"
|
||||
menu_cost_name = "ShipLabCost"
|
||||
Loading…
Reference in a new issue