Skip to content

🎁 Pickups — Extensions

Folder: Runtime/Systems/Pickups/Extensions

This folder contains small helper extensions for working with pickup types.

These are convenience utilities, not core systems.


🎯 Purpose

Extensions provide lightweight helpers for common inspection and usage patterns.

They:

  • do not introduce new behaviour
  • do not modify the pickup pipeline
  • expose existing logic in a more convenient form

📦 Folder Overview

This folder provides:

  • helper methods for inspecting pickup effects
  • thin wrappers over existing system logic

🧩 What Lives Here

  • PickupEffectExtensions → helper methods for PickupEffect

🧠 Usage Guidance

AllowsNullDamageable

bool allows = effect.AllowsNullDamageable();

Returns whether the effect, or any decorator in its chain, implements IEffectAllowsNullDamageable.

This is a wrapper over internal null-damageable inspection logic.


🧪 Diagnostics

  • reflects current effect configuration, including decorator chains
  • does not perform validation or enforcement

⚠️ Important Notes

  • this does not change runtime behaviour
  • enforcement is handled by PickupEffect.ApplyTo(...)
  • results depend on the full effect chain

🚫 Not for Production Use

This folder does not provide:

  • execution logic
  • pipeline control
  • gameplay behaviour

It provides helper methods only.


  • Core
  • Abstractions