Implemented vending machine

This commit is contained in:
MaddoScientisto 2026-03-07 16:49:06 +01:00
commit e5ffb0cf94
32 changed files with 3074 additions and 1992 deletions

View file

@ -1,14 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://bb2pjblwkb7ub"]
[gd_scene format=3 uid="uid://bb2pjblwkb7ub"]
[ext_resource type="PackedScene" uid="uid://cphr15gnmriw3" path="res://3D/BlockbenchModels/VendingMachine/VendingMachine.gltf" id="1_wtma2"]
[ext_resource type="Script" uid="uid://kt08ji546nms" path="res://Scripts/Actors/3D/VendingMachine3D.cs" id="2_script"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(1.0528, 2.01202, 0.990539)
[node name="VendingMachine" type="StaticBody3D"]
[node name="VendingMachine" type="Area3D" unique_id=920711293 groups=["Interactable"]]
collision_layer = 32
collision_mask = 0
script = ExtResource("2_script")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=855169760]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0167541, 0.24654551, 0.00338751)
shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export" parent="." instance=ExtResource("1_wtma2")]
[node name="Body" type="StaticBody3D" parent="." unique_id=1920958687]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body" unique_id=1000054276]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0167541, 0.24654551, 0.00338751)
shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export" parent="." unique_id=1405020962 instance=ExtResource("1_wtma2")]