38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
[gd_resource type="Resource" script_class="BuildingDefinition" format=3 uid="uid://cia6vbju65sbe"]
|
|
|
|
[ext_resource type="Script" uid="uid://d10s0frtxiw62" path="res://buildings/BuildingDefinition.gd" id="1"]
|
|
[ext_resource type="PackedScene" path="res://buildings/GasBurnerBuildingVisual.tscn" id="2"]
|
|
[ext_resource type="Script" uid="uid://cydp18abylrgd" path="res://buildings/BuildingLogisticsProfile.gd" id="3"]
|
|
|
|
[sub_resource type="Resource" id="Resource_logistics"]
|
|
script = ExtResource("3")
|
|
input_buffers = {
|
|
"gas": 40
|
|
}
|
|
collected_outputs = PackedStringArray("energy")
|
|
conversion_input = "gas"
|
|
conversion_output = "energy"
|
|
conversion_rate = 1.0
|
|
conversion_yield = 2
|
|
|
|
[resource]
|
|
script = ExtResource("1")
|
|
definition_id = "gas_burner"
|
|
display_name = "Gas Burner"
|
|
description = "Burns gas into energy at its own site. Hub transporters keep it stocked with gas and collect the energy it makes."
|
|
cost = 40
|
|
build_resource_costs = {
|
|
"gas": 22,
|
|
"ore": 40
|
|
}
|
|
action_icon = 33
|
|
menu_icon = 33
|
|
visual_scene = ExtResource("2")
|
|
capabilities = PackedStringArray("gas_burner")
|
|
logistics = SubResource("Resource_logistics")
|
|
map_color = Color(0.95, 0.35, 0.15, 1)
|
|
map_sides = 5
|
|
menu_button_name = "GasBurnerButton"
|
|
menu_label_name = "GasBurnerLabel"
|
|
menu_cost_name = "GasBurnerCost"
|
|
max_hp = 60
|