<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39831 >

This transaction appears to have no content
2007/11/5, Eddie Anderson <[EMAIL PROTECTED]>:
>
>
>
>      Instead of "certain cities", how about
>
>
>
> 1) "cities with appropriate training facilities",


Sorry about the delay. I think you nailed it right here. I have adapted the
messages to include Eddie's and Randy's suggestions, and have added a
reference to the Lighthouse.

The messages become, now:
For land units, except Diplomats and Spies:
* Will be built as a veteran in cities with appropriate training facilities
(see Barracks and Sun Tzu.) May also become veteran if it defeats an enemy
unit.

For Diplomats and Spies:
* Will be built as a veteran under communist governments. May also become
veteran after a successful mission.

For sea units:
* Will be built as a veteran in cities with appropriate training facilities
(see Port Facility and Lighthouse). May also become veteran if it defeats an
enemy unit.

Triremes will have an additional line:
* May become veteran if it survives in the high seas.

For air units and helicopters:
* Will be built as a veteran in cities with appropriate training facilities
(see Airport.) May also become veteran if it defeats an enemy unit.

Does anybody else have a suggestion?

Joan


2007/11/5, Eddie Anderson <[EMAIL PROTECTED]>:


     Instead of "certain cities", how about



1) "cities with appropriate training facilities",

Sorry about the delay. I think you nailed it right here. I have adapted the messages to include Eddie's and Randy's suggestions, and have added a reference to the Lighthouse.

The messages become, now:
For land units, except Diplomats and Spies:
* Will be built as a veteran in cities with appropriate training facilities (see Barracks and Sun Tzu.) May also become veteran if it defeats an enemy unit.

For Diplomats and Spies:
* Will be built as a veteran under communist governments. May also become veteran after a successful mission.

For sea units:
* Will be built as a veteran in cities with appropriate training facilities (see Port Facility and Lighthouse). May also become veteran if it defeats an enemy unit.

Triremes will have an additional line:
* May become veteran if it survives in the high seas.

For air units and helicopters:
* Will be built as a veteran in cities with appropriate training facilities (see Airport.) May also become veteran if it defeats an enemy unit.

Does anybody else have a suggestion?

Joan
Index: helpdata.c
===================================================================
--- helpdata.c	(revision 13940)
+++ helpdata.c	(working copy)
@@ -1010,8 +1010,32 @@
     sprintf(buf + strlen(buf),
 	    _("* Will never achieve veteran status.\n"));
   } else {
-    sprintf(buf + strlen(buf),
-	    _("* May become veteran through training or combat.\n"));
+    switch(utype_move_type(utype)) {
+      case AIR_MOVING:
+      case HELI_MOVING:
+          sprintf(buf + strlen(buf),
+	    _("* Will be built as a veteran in cities with appropriate training facilities (see Airport.) May also become veteran if it defeats an enemy unit.\n"));
+          break;
+      case LAND_MOVING:
+        if (utype_has_flag(utype, F_DIPLOMAT)||utype_has_flag(utype, F_SPY)) {
+          sprintf(buf + strlen(buf),
+	    _("* Will be built as a veteran under communist governments. May also become veteran after a successful mission.\n"));
+        } else {
+          sprintf(buf + strlen(buf),
+	    _("* Will be built as a veteran in cities with appropriate training facilities (see Barracks and Sun Tzu.) May also become veteran if it defeats an enemy unit.\n"));
+        }
+        break;
+      case SEA_MOVING:
+        sprintf(buf + strlen(buf),
+	    _("* Will be built as a veteran in cities with appropriate training facilities (see Port Facility and Lighthouse). May also become veteran if it defeats an enemy unit.\n"));
+        if (utype_has_flag(utype, F_TRIREME))
+          sprintf(buf + strlen(buf),
+            _("* May become veteran if it survives in the high seas.\n"));
+        break;
+      default:		/* should never happen in default rulesets */
+          sprintf(buf + strlen(buf),
+	    _("* May become veteran through combat or training\n"));
+    }
   }
   if (utype_has_flag(utype, F_TRIREME)) {
     sprintf(buf + strlen(buf),
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to