OpenPerpetuum / PerpetuumServer

The Open Perpetuum Project's fork of the Perpetuum Standalone Server
https://openperpetuum.com
Other
44 stars 21 forks source link

NPC zoneeffectemitter/maker #392

Open MikeJeffers opened 3 years ago

MikeJeffers commented 3 years ago

For some reason, there should be NPC definitions that, if present on a zone, an effect should be selected and applied to the zone.

Impl notes: There will be a lookup table of NPC definitions, quantities, and combinations that will/should determine a single zoneeffect to emit. A process should latently/passively observe NPCs on the zone, determine if there is a zone-effect to change, add, remove based on the observed state. (Could be eventful, but thinking more maintainable if its a async process that polls state infrequently should be enough and avoid race conditions - single writer of state).

MikeJeffers commented 3 years ago

Should also include a ranged option