15 lines
664 B
GDScript
15 lines
664 B
GDScript
class_name BuildingLogisticsProfile
|
|
extends Resource
|
|
|
|
# Optional logistics and conversion behavior composed into a building
|
|
# definition. GameState consumes this data generically, so adding another
|
|
# converter does not require another resource-type branch in transport code.
|
|
|
|
@export var input_buffers: Dictionary = {}
|
|
# See BuildingDefinition.capabilities: an explicit empty packed-array default
|
|
# is not export-safe in Godot 4.7.1 custom resources.
|
|
@export var collected_outputs: PackedStringArray
|
|
@export var conversion_input: String = ""
|
|
@export var conversion_output: String = ""
|
|
@export var conversion_rate: float = 0.0
|
|
@export var conversion_yield: int = 1
|