Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8024

Re: What's the best way to write this base class?

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 <ian.g.kelly@gmail.com>
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 <itncj3$s1g$1@speranza.aioe.org>
References <142e76c3-b304-43ef-af24-919fa6146369@c9g2000yqp.googlegroups.com> <mailman.122.1308411487.1164.python-list@python.org> <fa2ee2a4-f46f-42c7-846c-b854977f9e38@16g2000yqy.googlegroups.com> <mailman.166.1308534779.1164.python-list@python.org> <5c8be025-2d2c-42fc-a764-bd1ca03ba398@d14g2000yqb.googlegroups.com> <itncj3$s1g$1@speranza.aioe.org>
From Ian Kelly <ian.g.kelly@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.188.1308594707.1164.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Mon, Jun 20, 2011 at 5:57 AM, Mel <mwilson@the-wire.com> wrote:
> Battle for Wesnoth is set up this way.  I 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 injecting
> them into the standard game config files.
>
> AFAIK you are stuck with the attributes the game is programmed for.  I'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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What's the best way to write this base class? John Salerno <johnjsal@gmail.com> - 2011-06-17 21:17 -0700
  Re: What's the best way to write this base class? Chris Angelico <rosuav@gmail.com> - 2011-06-18 14:53 +1000
  Re: What's the best way to write this base class? "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2011-06-18 03:55 -0700
    Re: What's the best way to write this base class? Tim Chase <python.list@tim.thechases.com> - 2011-06-18 06:24 -0500
      Re: What's the best way to write this base class? "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2011-06-18 06:37 -0700
        Re: What's the best way to write this base class? Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-18 08:51 -0600
  Re: What's the best way to write this base class? TheSaint <nobody@nowhere.net.no> - 2011-06-18 19:04 +0800
  Re: What's the best way to write this base class? Mel <mwilson@the-wire.com> - 2011-06-18 10:22 -0400
  Re: What's the best way to write this base class? Ethan Furman <ethan@stoneleaf.us> - 2011-06-18 08:37 -0700
    Re: What's the best way to write this base class? John Salerno <johnjsal@gmail.com> - 2011-06-18 09:26 -0700
      Re: What's the best way to write this base class? Chris Angelico <rosuav@gmail.com> - 2011-06-19 02:34 +1000
      Re: What's the best way to write this base class? Chris Kaynor <ckaynor@zindagigames.com> - 2011-06-19 18:52 -0700
        Re: What's the best way to write this base class? John Salerno <johnjsal@gmail.com> - 2011-06-19 21:04 -0700
          Re: What's the best way to write this base class? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-06-20 00:12 -0700
          Re: What's the best way to write this base class? Mel <mwilson@the-wire.com> - 2011-06-20 07:57 -0400
            Re: What's the best way to write this base class? Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-20 12:31 -0600
          Re: What's the best way to write this base class? Terry Reedy <tjreedy@udel.edu> - 2011-06-20 13:58 -0400

csiph-web