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 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-13 02:37:58 +02:00
commit e24d942b9d
2 changed files with 2 additions and 2 deletions

View file

@ -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.");

View file

@ -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.
//