Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
[Freeciv-Dev] Buildings ruleset
Home

[Freeciv-Dev] Buildings ruleset

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Dev <freeciv-dev@xxxxxxxxxxxx>
Subject: [Freeciv-Dev] Buildings ruleset
From: Artur Biesiadowski <abies@xxxxxxxxx>
Date: Sun, 08 Aug 1999 16:23:46 +0200

I would like to ask somebody to change this - I'm still too
inexperienced in freeciv code.

For now could_build_improvement(...) is heavily hardcoded. It would be
good to put some of that things in ruleset, most notably prerequisite
building. I'm not sure about others:
- needed wonder
- obsoleting wonder (only if owned by player ?)
and few others (like 'river or mountain near').
I think that it might be better to use flags for special cases. Even if
the code for checking it would be hardcoded into C, it would allow mods
creators to delete/add flags from predefined set. And as a bonus one can
add some conditions to mainstream freeciv code which are not used in
civ1/2 mode.

Maybe also some effects can be specified inside ruleset - for example
citywall adding 50% to defence. Maybe somebody will want to make many
kinds of fences/walls giving various bonuses (not only to defence -
maybe happines, maybe even food) in ancient modpack - it would be good
to allow him to do this without changes to C code.


Artur



[Prev in Thread] Current Thread [Next in Thread]