PickupData: gear only (CreateInstance for a consumable throws); the previous commit did not build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5aa989abbf
commit
e7a35135fe
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ public class PickupData : BehaviorData
|
|||
{
|
||||
return new Pickup(this, item);
|
||||
}
|
||||
|
||||
// A beam is a piece of gear the pilot holds on; no consumable carries one.
|
||||
public override Behavior CreateInstance(ConsumableItemEffect item) =>
|
||||
throw new NotSupportedException("pickup: gear only");
|
||||
}
|
||||
|
||||
// Owns this ship's beam power and its one grab. Power is written only here; Zone owns the held item's pose.
|
||||
|
|
|
|||
Loading…
Reference in a new issue