Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#8914) ruleset starting units list
Home

[Freeciv-Dev] (PR#8914) ruleset starting units list

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8914) ruleset starting units list
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Fri, 4 Jun 2004 21:09:43 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8914 >

This patch makes the ruleset (units.ruleset specifically) specify a list
of starting units, instead of using the server variables game.settlers
and game.explorers.

I also changed the civ1 and civ2 rulesets to match their starting
conditions.

Issues:
- Should this be in units.ruleset?
- This specifies unit types instead of unit roles, so it is very ruleset
specific.
- In some ways this is less flexible than server variables for numbers
of settlers and explorers, as the ruleset must be changed to increase
starting settlers or explorers.  Perhaps there should be a selectable
set of starting.rulesets, or a server override?
- game.settlers and game.explorers still exist, they're just ignored.
- There's still the Explorer flag in units.ruleset, which marks off the
initial explorer unit, and is unused now.

-James Canete

Attachment: ruleset_starting_units.diff
Description: Binary data


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