This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: consumption-per-build still doesn't work


On Mon, 2004-06-07 at 18:23, Lincoln Peters wrote:
> In my new version of knights.g, conjurers can produce humanoid troops,
> such as goblins, at a much faster rate than most goblin lairs could
> produce them.  However, the conjurer burns a lot of mana in the process
> (the goblin lair does not).
> 
> I used the following to make conjurers and only conjurers require mana
> for building new units:
> 
> (table consumption-per-build
> (conjurer mana 2)
> )
> 
> However, a conjurer is still able to build goblins when it is reduced to
> zero units of mana!

You can prevent this behavior by using the 'material-to-build' table.

Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]