Compose buildings from definitions and capabilities
This commit is contained in:
parent
1721edd123
commit
0504b24d8d
46 changed files with 1091 additions and 878 deletions
21
MothershipBuildingDefinition.tres
Normal file
21
MothershipBuildingDefinition.tres
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[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://MothershipBuildingVisual.tscn" id="2"]
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
definition_id = "mothership"
|
||||
display_name = "Mothership"
|
||||
description = "Fleet home port. A wiped-out fleet rebuilds here, and extractor transports deliver resources here."
|
||||
cost = 20
|
||||
action_icon = 8
|
||||
menu_icon = 8
|
||||
visual_scene = ExtResource("2")
|
||||
capabilities = PackedStringArray("bank", "research", "hangar")
|
||||
map_color = Color(0.45, 0.9, 0.55, 1)
|
||||
map_sides = 6
|
||||
map_radius = 8.0
|
||||
map_phase = 0.523599
|
||||
menu_button_name = "MothershipButton"
|
||||
menu_label_name = "MothershipLabel"
|
||||
menu_cost_name = "MothershipCost"
|
||||
unique = true
|
||||
Loading…
Reference in a new issue