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: Tue, 8 Jun 2004 17:36:39 -0700
Reply-to: rt@xxxxxxxxxxx

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

Here's an implementation of startunits as a server string variable.

startunits defaults to "cwx"

Characters and corresponding roles:
c: F_CITIES
w: F_SETTLERS
x: L_EXPLORER
k: F_GAMELOSS
s: F_DIPLOMAT
f: L_FERRYBOAT
d: L_DEFEND_GOOD
a: L_ATTACK_FAST
A: L_ATTACK_STRONG

issues:
-Choosing a unit role for which there is no corresponding unit type
(such as gameloss) will crash the server.  I'm not sure where to put a
check for this.
-A ferryboat can be created in a completely landlocked area.
-There was a minor bug in aidiplomat.c which caused a crash when a
diplomat unit had nothing to do.  This was fixed.

-James Canete

Attachment: server_starting_units.diff
Description: Binary data


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