From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32481 invoked by alias); 24 Aug 2004 18:12:27 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 32444 invoked from network); 24 Aug 2004 18:12:25 -0000 Received: from unknown (HELO web13123.mail.yahoo.com) (216.136.174.141) by sourceware.org with SMTP; 24 Aug 2004 18:12:25 -0000 Message-ID: <20040824181225.55202.qmail@web13123.mail.yahoo.com> Received: from [68.164.245.93] by web13123.mail.yahoo.com via HTTP; Tue, 24 Aug 2004 11:12:25 PDT Date: Tue, 24 Aug 2004 20:59:00 -0000 From: Elijah Meeks Subject: Re: Three thoughts To: Eric McDonald Cc: Jim Kingdon , xconq7@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004/txt/msg01018.txt.bz2 > Wrt this table, were you thinking in terms of > specific quantities > of certain materials being yielded up by the > captured unit, or > percentages of all materials being yielded up > depending on who > does the capturing and who is being captured? Simply material and quantity if the unit is captured. What I'll do is set a seed unit so that the player destroys it and captures its wrecked-type, like so: (unit gold-chest (image "ang-chest-iron-small") (wrecked-type goldpile)) (table material-if-captured (goldpile gold 50) ) This way I can set a timer on the pile o' gold so that it evaporates after capture, to keep the map clean. I suppose I'd have to set its capture on the 'independent-capture-chance' table, so that it can only be captured when independent, because otherwise you run the risk of other sides capturing the pile of gold (And thus gaining free materials) before it evaporates. The better option may be a 'material-looted-chance' (or some, better-named table) that sets the possibility of gaining material from a unit you've destroyed. In this case, I'd simply set the goldpile unit to have x gold (Or an initial-supply, for random setups) and the table to: (table material-looted-chance (goldpile gold 100) ) I don't know which would be easier. Elijah __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail