This repository has been archived on 2025-12-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
food-coop-waage/providers/debug_data.gd
Felix 4b1796250c Initial commit
Half-baked state. Most of the UI is mostly done, but the integration
with Grist (or any other data provider) is still missing.
2025-05-11 19:19:24 +02:00

17 lines
350 B
GDScript

extends Node
func load_articles() -> Dictionary[String, ArticleInfo]:
var article_infos: Dictionary[String, ArticleInfo] = {}
for i in range(10):
var id = "default_" + var_to_str(i)
var info = ArticleInfo.new(
id,
"Artikel " + var_to_str(i),
load("res://icon.svg"),
0.1 * i
)
article_infos[id] = info
return article_infos