Tsunder / Pardus-Sweetener

A browser extension that enhances the user interface of the online game Pardus
3 stars 3 forks source link

Add non-premium mission storage #35

Closed BartKieviet closed 5 years ago

Tsunder commented 5 years ago

almost there transport missions might not be stacking properly - explosives missions seem to be considered packages.

BartKieviet commented 5 years ago

Explosives and packages are added up by design, only the first type you take is shown. Since it is stored per location instead of per type, only one mission type can be shown, since we don't store it. This could be split up by saving amountPackages and amountExplosives in the object, but we'll have to split the mission up when parsing it on the nav screen. This way we could also remove the explosives when they go boom. Takes quite some coding to do that properly, since we should also split rewards and deposits.

BartKieviet commented 5 years ago

881c82b9c896d71b424cff677560db9ae56535a9