Compose buildings from definitions and capabilities
This commit is contained in:
parent
1721edd123
commit
0504b24d8d
46 changed files with 1091 additions and 878 deletions
16
ExtractorBuildingDefinition.tres
Normal file
16
ExtractorBuildingDefinition.tres
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_resource type="Resource" script_class="BuildingDefinition" load_steps=2 format=3]
|
||||
[ext_resource type="Script" path="res://BuildingDefinition.gd" id="1"]
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
definition_id = "extractor"
|
||||
display_name = "Extractor"
|
||||
description = "Mines resources into local storage for transport vessels to collect. It keeps extracting while you are away."
|
||||
cost = 25
|
||||
action_icon = 11
|
||||
menu_icon = 11
|
||||
capabilities = PackedStringArray("extraction")
|
||||
map_color = Color(1, 0.85, 0.3, 1)
|
||||
menu_button_name = "ExtractorButton"
|
||||
menu_label_name = "ExtractorLabel"
|
||||
menu_cost_name = "ExtractorCost"
|
||||
placement_mode = "planet"
|
||||
Loading…
Reference in a new issue