summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-07 17:45:21 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-07 17:45:21 +0200
commitb177459b5a8dd8136bc39435f7af29d7f700f1db (patch)
treec052eaa6582f02464cb66b0cd835d3e74d963ccc
parentc07a13b1099c848394f410450b4b9b5bac57f26f (diff)
downloadhurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar
hurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar.bz2
hurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar.zst
add recipe book asseets
-rw-r--r--.gitignore1
-rw-r--r--client/menu/book/book.gd5
-rw-r--r--client/menu/book/book.tscn23
-rw-r--r--makefile10
-rw-r--r--readme.md1
5 files changed, 40 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f3b6d89e..a2ebca17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
.godot
undercooked.pot
*.mo
+/client/menu/book/book_*.svg*
diff --git a/client/menu/book/book.gd b/client/menu/book/book.gd
new file mode 100644
index 00000000..2dd5a4d2
--- /dev/null
+++ b/client/menu/book/book.gd
@@ -0,0 +1,5 @@
+extends Menu
+
+
+func _ready():
+ pass
diff --git a/client/menu/book/book.tscn b/client/menu/book/book.tscn
new file mode 100644
index 00000000..d8266ed9
--- /dev/null
+++ b/client/menu/book/book.tscn
@@ -0,0 +1,23 @@
+[gd_scene load_steps=2 format=3 uid="uid://bdggwo8un3mys"]
+
+[ext_resource type="Script" path="res://menu/book/book.gd" id="1_gyisx"]
+
+[node name="Book" type="Control"]
+layout_mode = 3
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+script = ExtResource("1_gyisx")
+
+[node name="ScrollContainer" type="ScrollContainer" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+
+[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
+layout_mode = 2
diff --git a/makefile b/makefile
new file mode 100644
index 00000000..1eafe733
--- /dev/null
+++ b/makefile
@@ -0,0 +1,10 @@
+.PHONY: client-assets clean
+client-assets: client/menu/book/book_1.svg
+
+clean:
+ rm client/menu/book/book_*.svg
+
+client/menu/book/book_1.svg:
+ @echo Downloading recipe book...
+ @mkdir -p client/menu/book
+ @curl -L https://s.metamuffin.org/static/undercooked/book.svg.tar.zst | tar -xC client/menu/book
diff --git a/readme.md b/readme.md
index 49911be4..f1e6b22a 100644
--- a/readme.md
+++ b/readme.md
@@ -6,6 +6,7 @@ A cooperative multiplayer game about cooking.
### Building
+- `make client-assets`
- `cd client`
- Import all assets: `godot --import .`