Add rescued items spawn to overworld

This commit is contained in:
2025-10-06 22:22:07 -07:00
parent 06608fe435
commit 1545ec73b0
6 changed files with 19 additions and 47 deletions

View File

@@ -1,6 +1,5 @@
using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Zennysoft.Game.Ma;
using Godot;
using System.Collections.Generic;
using System.Linq;
@@ -54,10 +53,4 @@ public partial class RescuedItems : Node3D
Game.RescuedItems.Items.Clear();
}
public void OnSpawnItemsEntered(Node3D body)
{
GD.Print("Spawn items");
SpawnRescuedItems();
}
}

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://tc5kdfoggrng"]
[ext_resource type="Script" path="res://src/item_rescue/RescuedItems.cs" id="1_m08l5"]
[ext_resource type="Script" uid="uid://cav0todblih41" path="res://src/item_rescue/RescuedItems.cs" id="1_m08l5"]
[node name="Rescued Items" type="Node3D"]
script = ExtResource("1_m08l5")