Refactor recent gameplay systems after code review

This commit is contained in:
Loïc Wisniewski 2026-08-16 21:38:07 +02:00
commit d68f4d4f88
57 changed files with 530 additions and 572 deletions

View file

@ -0,0 +1,13 @@
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