Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.072 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'attributes': 0.05; 'instance,': 0.05; 'attribute': 0.09; 'roles': 0.09; 'tone.': 0.09; 'files.': 0.10; 'am,': 0.14; 'wrote:': 0.14; 'does,': 0.16; 'mon,': 0.17; 'language': 0.18; 'unknown': 0.19; 'header:In-Reply- To:1': 0.21; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; 'settings': 0.24; 'creating': 0.24; 'code': 0.24; 'classes': 0.26; 'received:209.85.161': 0.26; 'message-id:@mail.gmail.com': 0.28; 'character': 0.29; 'subject:?': 0.29; 'config': 0.30; 'to:addr:python-list': 0.33; 'stuck': 0.35; 'subject:What': 0.35; 'idea': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; '20,': 0.37; 'but': 0.38; 'data': 0.38; 'subject:: ': 0.38; 'said': 0.39; 'received:209': 0.39; 'files,': 0.39; 'to:addr:python.org': 0.39; 'basic': 0.40; 'worth': 0.60; 'url:index': 0.60; 'body': 0.61; 'details': 0.64; 'taking': 0.64; 'virtually': 0.73; 'subject:this': 0.76; 'url:php': 0.81; 'battle': 0.84; 'injecting': 0.84; 'parts,': 0.84; 'regard.': 0.84; 'subject:class': 0.84; 'subject:write': 0.84; 'subject:best': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=U54EhPr7MjTiv7ChhQqcb5Qt2HUWCOf5Ces1aWj2H4U=; b=PfT3PboU4wbycVH4ZIN269TP/d3FRWYy/H5DloHQay9qrMqTuSZ/B7ReFlIRl1krgQ xk/Ey55932rPEh6zl10mTDb4TFMyR5C1n4Bm5TSjfnyzrdtuDRREJ4HEMBBO4Si7+Tw8 oRkGtOT1Ck4HNV0YxCWxiEeJvENu8WCFe16SM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=LrH6biLrSu56ysHQjxuh8MUCQIQYlA36upwQjfGLIUiULrBZuV5nPv1ciW3UBUP0KQ rSAtYKrDYCMelgzH21BLoafKxf8QuFYl5aDbmG+F2sMFqsogeEmhq3MQXpZAEisccLB5 0JM28hyoVOpHBiUWCTe3dTRNtE9iD6l05sqzM= MIME-Version: 1.0 In-Reply-To: References: <142e76c3-b304-43ef-af24-919fa6146369@c9g2000yqp.googlegroups.com> <5c8be025-2d2c-42fc-a764-bd1ca03ba398@d14g2000yqb.googlegroups.com> From: Ian Kelly Date: Mon, 20 Jun 2011 12:31:15 -0600 Subject: Re: What's the best way to write this base class? To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308594707 news.xs4all.nl 49181 [::ffff:82.94.164.166]:58376 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8024 On Mon, Jun 20, 2011 at 5:57 AM, Mel wrote: > Battle for Wesnoth is set up this way. =A0I don't know what the code does= , but > you can go wild creating new classes of character by mixing up new > combinations of attribute settings in new configuration files, and inject= ing > them into the standard game config files. > > AFAIK you are stuck with the attributes the game is programmed for. =A0I'= ve > seen no way to create a new dimension for the game -- Conversation, for > instance, with currently unknown attributes like vocabulary or tone. The Dwarf Fortress data files are also well worth taking a look at in this regard. Virtually everything is configurable, from basic attributes like size and language all the way down to intricate details like types and quantity of body parts, what tissues said body parts are made of and what roles they play. To get an idea of the level of customization possible have a look at: http://df.magmawiki.com/index.php/Modding#Modding_the_creatures