Compose buildings from definitions and capabilities
This commit is contained in:
parent
1721edd123
commit
0504b24d8d
46 changed files with 1091 additions and 878 deletions
19
CrafterBuildingDefinition.tres
Normal file
19
CrafterBuildingDefinition.tres
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[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://CrafterBuildingVisual.tscn" id="2"]
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
definition_id = "ship_crafter"
|
||||
display_name = "Ship Crafter"
|
||||
description = "Fly the fleet onto it, then use the action button to build extra vessels."
|
||||
cost = 12
|
||||
action_icon = 2
|
||||
menu_icon = 9
|
||||
visual_scene = ExtResource("2")
|
||||
capabilities = PackedStringArray("production")
|
||||
map_color = Color(1, 0.72, 0.25, 1)
|
||||
map_sides = 4
|
||||
map_radius = 7.0
|
||||
menu_button_name = "CrafterButton"
|
||||
menu_label_name = "CrafterLabel"
|
||||
menu_cost_name = "CrafterCost"
|
||||
Loading…
Reference in a new issue