Retire the Unity mine: Mine, MineManager, the Mine Launcher prefab and ShieldManager's mine branch
Operator ruling mines-back-in-sim-asap: delete now, return as a simulation body. Mesh, materials and BigExplosion stay for the sim-mines presenter. GridObject stays for the pickups until loot-1 r2. Comments in FireControl.Detonate and HullCollider drop the deleted callers. Builds not yet verified at this commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3035230bf9
commit
17f5eb7d8c
9 changed files with 4 additions and 500 deletions
|
|
@ -38,7 +38,6 @@ public class ShieldManager : MonoBehaviour
|
|||
if (gridObject)
|
||||
{
|
||||
var itemPickup = other.collider.GetComponent<ItemPickup>();
|
||||
var mine = other.collider.GetComponent<Mine>();
|
||||
if (itemPickup)
|
||||
{
|
||||
if (Entity.CargoBays.Any(c => c.TryStore(itemPickup.Item)))
|
||||
|
|
@ -54,13 +53,9 @@ public class ShieldManager : MonoBehaviour
|
|||
Debug.Log("Attempted item pickup, but no space in cargo bay!");
|
||||
}
|
||||
}
|
||||
else if (mine)
|
||||
{
|
||||
mine.Explode();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("Shield collision occurred with grid object, but other collider isn't a mine or an item pickup!");
|
||||
Debug.Log("Shield collision occurred with grid object, but other collider isn't an item pickup!");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue