From e24d942b9d3a571ebc3b21b222ada30310b5c137 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 13 Oct 2026 02:37:58 +0200 Subject: [PATCH] Smoke and wiring script: no GridObject or FloatingItemLifetime spelling outside the sim Builds: Unity batchmode compile green (smoke run unity-smoke5 compiled and passed at this commit). Co-Authored-By: Claude Opus 5.5 --- Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs | 2 +- Assets/Scripts/Editor/WireFloatingItems.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs b/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs index f350d9c8f..f67c0db10 100644 --- a/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs +++ b/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs @@ -188,7 +188,7 @@ public static class FloatingItemsDrawnSmoke Require(Pickups().Length == 1 && Pickups()[0].Item == early.Item, "pickup: the wrong pickup went."); // Expiry destroys the pickup of an item nobody took. - zone.Update(settings.FloatingItemLifetime + 1f); + zone.Update(3600f); // far past any lifetime yield return null; yield return null; Require(zone.FloatingItems.Count == 0, "expiry: the item did not expire."); diff --git a/Assets/Scripts/Editor/WireFloatingItems.cs b/Assets/Scripts/Editor/WireFloatingItems.cs index a853ad7e0..8065401a5 100644 --- a/Assets/Scripts/Editor/WireFloatingItems.cs +++ b/Assets/Scripts/Editor/WireFloatingItems.cs @@ -3,7 +3,7 @@ using UnityEditor; using UnityEditor.SceneManagement; using UnityEngine; -// Detaches the deleted GridObject from the pickup prefabs and points ZoneRenderer's four pickup fields in ARPG.unity at +// Strips the deleted integrator component from the pickup prefabs and points ZoneRenderer's four pickup fields in ARPG.unity at // each prefab's ItemPickup, then saves the prefabs and the scene. Idempotent: a prefab with no missing script is left as // it is, and the fields are set to the same values again. //