Adding endpoint to only get locations visible to character
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Locations API / deploy (push) Successful in 44s
k8s smoke test / test (push) Successful in 7s

This commit is contained in:
2026-03-13 10:49:57 -05:00
parent 4ba06bf7e0
commit 84f8087647
16 changed files with 865 additions and 51 deletions
@@ -0,0 +1,31 @@
@tool
extends Node3D
@export_file("*.tscn") var target_scene_path := "res://scenes/Levels/transportation_level.tscn":
set(value):
target_scene_path = value
_sync_teleporter()
@export var target_group: StringName = &"player":
set(value):
target_group = value
_sync_teleporter()
@export var one_shot := true:
set(value):
one_shot = value
_sync_teleporter()
@onready var teleporter: Area3D = $Teleporter
func _ready() -> void:
_sync_teleporter()
func _sync_teleporter() -> void:
if teleporter == null:
return
teleporter.set("target_scene_path", target_scene_path)
teleporter.set("target_group", target_group)
teleporter.set("one_shot", one_shot)
@@ -0,0 +1 @@
uid://1c0reto6vt6m
@@ -0,0 +1,117 @@
[gd_scene load_steps=6 format=3]
[ext_resource type="Script" path="res://scenes/Interaction/prototype_gateway.gd" id="1_gateway_script"]
[ext_resource type="PackedScene" path="res://scenes/Interaction/scene_teleporter.tscn" id="2_teleporter"]
[ext_resource type="Material" path="res://assets/materials/kenney_prototype_gateway_orange.tres" id="3_gateway_mat"]
[sub_resource type="BoxShape3D" id="BoxShape3D_gateway"]
size = Vector3(1, 1, 1)
[sub_resource type="BoxMesh" id="BoxMesh_gateway"]
material = ExtResource("3_gateway_mat")
size = Vector3(1, 1, 1)
[node name="PrototypeGateway" type="Node3D"]
script = ExtResource("1_gateway_script")
[node name="LeftBase" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftBase"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftBase"]
mesh = SubResource("BoxMesh_gateway")
[node name="LeftMidLow" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftMidLow"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftMidLow"]
mesh = SubResource("BoxMesh_gateway")
[node name="LeftMidHigh" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftMidHigh"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftMidHigh"]
mesh = SubResource("BoxMesh_gateway")
[node name="LeftTop" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 3.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftTop"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftTop"]
mesh = SubResource("BoxMesh_gateway")
[node name="RightBase" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightBase"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightBase"]
mesh = SubResource("BoxMesh_gateway")
[node name="RightMidLow" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightMidLow"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightMidLow"]
mesh = SubResource("BoxMesh_gateway")
[node name="RightMidHigh" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightMidHigh"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightMidHigh"]
mesh = SubResource("BoxMesh_gateway")
[node name="RightTop" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 3.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightTop"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightTop"]
mesh = SubResource("BoxMesh_gateway")
[node name="TopLeft" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 4.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="TopLeft"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TopLeft"]
mesh = SubResource("BoxMesh_gateway")
[node name="TopCenter" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="TopCenter"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TopCenter"]
mesh = SubResource("BoxMesh_gateway")
[node name="TopRight" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 4.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="TopRight"]
shape = SubResource("BoxShape3D_gateway")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TopRight"]
mesh = SubResource("BoxMesh_gateway")
[node name="Teleporter" parent="." instance=ExtResource("2_teleporter")]
transform = Transform3D(1.15, 0, 0, 0, 1.33, 0, 0, 0, 0.7, 0, 1.5, 0)