13 lines
537 B
GDScript3
13 lines
537 B
GDScript3
|
|
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 = {}
|
||
|
|
@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
|