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

Ian Kelly ian.g.kelly at gmail.com
Mon Jun 20 14:31:15 EDT 2011


On Mon, Jun 20, 2011 at 5:57 AM, Mel <mwilson at 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



More information about the Python-list mailing list