OpenPerpetuum / PerpetuumServer

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

Random-Static-Expiring-Respawning Presence #355

Closed MikeJeffers closed 3 years ago

MikeJeffers commented 3 years ago

Closes: #248 The desire is to provide a presenceType that allows for its flocks to spawn on a zone at a random location, with keep-out radii/logic, not roam, expire, but also respawn in predetermined intervals.

A lot of this as you can tell is a careful mixture of a lot existing behaviors. Polymorphism ahoy!

Nothing about this is particular to gamma other than that this feature will be employed there and takes into account distances from player terminals.

There is also a desire for the flocks to spawn in a "template", pre-determined, or deterministic pattern around the randomly chosen location. (This might be a later ticket) And still, another desire is that the presence may "escalate" if left alone (aka timepassage without being contested) spawning more flocks of a predetermined set, in determined locations around the existing spawn. (This too may be a later ticket)

TODO: keep-out radius check for other presences of the same type on the same zone.