aboutsummaryrefslogtreecommitdiff
path: root/client/map/kitchen_background.tscn
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-09-21 20:56:31 +0200
committertpart <tpart120@proton.me>2025-09-21 20:56:31 +0200
commitcdc7b759a1d4e44493378c22d43217d50c40173a (patch)
tree3204add144682af39c0234ad0eb3bddaf3819d3e /client/map/kitchen_background.tscn
parent67891b7b1197f4c42875e980e887f7c20452625b (diff)
downloadhurrycurry-cdc7b759a1d4e44493378c22d43217d50c40173a.tar
hurrycurry-cdc7b759a1d4e44493378c22d43217d50c40173a.tar.bz2
hurrycurry-cdc7b759a1d4e44493378c22d43217d50c40173a.tar.zst
Add fake walls in kitchen menu to prevent sky from showing
Diffstat (limited to 'client/map/kitchen_background.tscn')
-rw-r--r--client/map/kitchen_background.tscn16
1 files changed, 15 insertions, 1 deletions
diff --git a/client/map/kitchen_background.tscn b/client/map/kitchen_background.tscn
index ed9f1560..5d572f73 100644
--- a/client/map/kitchen_background.tscn
+++ b/client/map/kitchen_background.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=4 format=3 uid="uid://wwu574dq2r8h"]
+[gd_scene load_steps=6 format=3 uid="uid://wwu574dq2r8h"]
[ext_resource type="PackedScene" uid="uid://b4gone8fu53r7" path="res://map/map.tscn" id="1_heqla"]
[ext_resource type="Script" uid="uid://ddpr5p4c6p8pn" path="res://map/kitchen_background.gd" id="1_ppf8f"]
@@ -7,6 +7,12 @@
background_mode = 1
background_color = Color(0.145548, 0.151043, 0.207031, 1)
+[sub_resource type="BoxMesh" id="BoxMesh_ppf8f"]
+size = Vector3(14, 5, 0.3)
+
+[sub_resource type="BoxMesh" id="BoxMesh_xidlh"]
+size = Vector3(7.5, 5, 0.3)
+
[node name="KitchenBackground" type="Node3D"]
script = ExtResource("1_ppf8f")
@@ -14,3 +20,11 @@ script = ExtResource("1_ppf8f")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ex25y")
+
+[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, -3.5)
+mesh = SubResource("BoxMesh_ppf8f")
+
+[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
+transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 7.5, 0.5, -1)
+mesh = SubResource("BoxMesh_xidlh")