added working vending machine

This commit is contained in:
derek
2024-07-17 17:05:46 -05:00
parent 9a15224df9
commit 4511023fcc
12 changed files with 240 additions and 37 deletions

View File

@@ -734,7 +734,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_hungu")
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_3ftb4"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_1u468"]
points = PackedVector3Array(0.930093, 0.100662, 0.798251, 0.930093, -0.0820646, 0.798251, -0.0290589, 0.100662, -1.94284, -0.166081, -0.127707, -1.94284, -0.303223, 0.146367, 0.204352, -0.211835, -0.173444, 0.204352, -0.303223, 0.0549884, -1.94284, 0.518907, 0.146367, 0.889554, 0.838705, -0.127707, 0.981144, 0.244984, -0.127707, 0.798251, -0.303223, -0.127707, 0.204352, 0.884338, -0.127707, 0.615073, 0.884338, 0.146367, 0.661154, -0.0290589, -0.0820646, -1.94284, 0.153596, -0.173444, 0.113049, 0.290618, 0.146367, -0.435342, 0.884338, 0.100662, 0.569851, -0.303223, -0.0363594, -1.94284, -0.211835, 0.100662, -1.94284, 0.290618, 0.146367, 0.798251, -0.303223, -0.127707, -0.389547, -0.120447, -0.127707, -1.94284, 0.884338, -0.0820646, 0.569851, 0.564661, -0.127707, 0.935349, 0.838705, 0.146367, 0.844046, 0.153596, 0.146367, -0.435342, -0.0290589, -0.127707, 0.524056, -0.257469, -0.0820646, -1.94284, 0.701683, 0.146367, 0.889554, 0.107963, -0.173444, 0.250147, -0.211835, -0.173444, 0.113049, 0.427519, -0.127707, 0.889554)
[sub_resource type="SphereShape3D" id="SphereShape3D_87tum"]
@@ -746,10 +746,10 @@ collision_mask = 6
script = ExtResource("1_8fbqg")
gun_resource = ExtResource("2_qbywk")
pickupType = "weapon"
collision_shape = NodePath("CollisionShape3D")
collision_shape = NodePath("")
[node name="revolver1" type="MeshInstance3D" parent="."]
transform = Transform3D(-2.17199e-06, 0.600001, 0, -0.6, -2.172e-06, 0, 0, 0, 0.6, 0, 0, -0.073)
transform = Transform3D(-1.086e-06, 0.3, 0, -0.3, -1.086e-06, 0, 0, 0, 0.3, 0, 0, -0.073)
mesh = SubResource("ArrayMesh_28d6l")
skeleton = NodePath("")
@@ -874,9 +874,9 @@ spot_range = 7.0
spot_angle = 70.0
spot_angle_attenuation = 0.353554
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(-2.17199e-06, 0.600001, 0, -0.6, -2.172e-06, 0, 0, 0, 0.6, 0, 0, -0.073)
shape = SubResource("ConvexPolygonShape3D_3ftb4")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(-1.086e-06, 0.3, 0, -0.3, -1.086e-06, 0, 0, 0, 0.3, 0, 0, -0.073)
shape = SubResource("ConvexPolygonShape3D_1u468")
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 4