OpenPerpetuum / PerpetuumServer

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

Add Decon block sell order to PBS market #409

Open MikeJeffers opened 2 years ago

MikeJeffers commented 2 years ago

https://github.com/OpenPerpetuum/PerpetuumServer/blob/Development/src/Perpetuum/Zones/PBS/DockingBases/PBSDockingBase.cs#L172 This adds plasma, among other things. Add decon blocks to this.

Bonus: fix the lookups to be more robust to definition changes or new definitions. Cache/or use EntityDefaults static collections to find and store plasma, blocks, and other orders and find their definition ints to do lookups by - avoid hardcoded values!

MikeJeffers commented 2 years ago

This can be tested by building a PBS docking base on a gamma island and reviewing the orders that get inserted to the market after it is constructed.