On Thu, 03 Jan 2008, Brett Nash wrote:
> > > Each item adds:
> > > * A list of:
> > >   ...
> > >   * List of Weightings
> > > ...
> > > Then at the end:
> > > * A list of:
> > >   * Maximum weighting (0 for ignored - no limit on this resource)
> > >   * A GRS to the 'resource'.
> > >
> > > So basically instead of a single weight, we get a vector for each item.
> > >
> > > The final list would contain a reference to the resource type in use.
> > >
> > > The result is so the UI can do things like:
> > >   Scouts * 3 (9 Ironium,    3 Germ,  21 Bor, 1128 Resources)
> > >   Destroyer (50 Ironium,   42 Germ, 122 Bor,   29 Resources)
> > > ..
> > >
> > >   Used:      50 Ironium,   45 Germ, 143 Bor, 1157 Res)
> > >   Maximum ( 200 Ironium, 9843 Germ, 145 Bot, 1200 Res)
> > >
> > > Using 0 limits it means full costs can be calculated in games like
> > > Stars!.
> >
> > There is already a resource list in the Order frame to specify what
> > resources will be used in doing the order. So this is already available.
> > Build Fleet order in Minisec uses this already.
>
> Okay, I haven't looked into this, but can you give me an example?

Sure.

Say you are building a fleet. To build the fleet requires 4 units of 
nanoelectronics (resource id 6), 8 units of exoticalloy (id 3) and 2 units of 
fuel (id 1). Then the build order looks like this:

<42> (planet object id)
<0> (slot number)
<5> (build order type)
<3> (number of turns to finish)
<3>    (number of items in the resource list)
   <3><8> (resource id/quantity pair, exoticalloy)
   <6><4> (resource id/quantity pair, nanoelectronics)
   <1><2> (resource id/quantity pair, fuel)
and now the extra data.

So resources are already there as things used in the performing of this order.

Order Parameter that just deals with selecting quantities of resources I think 
would be helpful. A useful UI such as the one in Stars! would be possible in 
this case.

> And does it contain enough information to do this sort of thing?

The resource descriptions includes singular and plural name, singular and 
plural units, volume per unit and mass per unit.

>       Regards,
>       nash

Later
Lee

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to