aboutsummaryrefslogtreecommitdiff
path: root/client/scripts/tiles/flour_counter.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/scripts/tiles/flour_counter.gd')
-rw-r--r--client/scripts/tiles/flour_counter.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/scripts/tiles/flour_counter.gd b/client/scripts/tiles/flour_counter.gd
new file mode 100644
index 00000000..6c512d92
--- /dev/null
+++ b/client/scripts/tiles/flour_counter.gd
@@ -0,0 +1,9 @@
+class_name FlourCounter
+extends CounterBase
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
+ var bag = load("res://models/prefabs/map/bag.tscn").instantiate()
+ bag.position = interact_target()
+ bag.rotation_degrees.y = 45
+ base.add_child(bag)