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

On Saturday 10 November 2007 10:26 am, Joan Creus wrote:
> 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.

Joan,

Thanks!  (The messages look good to me!)

Randy Kramer


> 
> 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
> Note: This is an HTML message. For security reasons, only the raw HTML code 
is shown. If you trust the sender of this message then you can activate 
formatted HTML display for this message by clicking here.
> 
> 
> <br><br><div><span class="gmail_quote">2007/11/5, Eddie Anderson &lt;<a 
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt;:</span><blockquote 
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 
0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> <br><br>&nbsp;&nbsp;&nbsp;&nbsp; Instead of &quot;certain cities&quot;, how 
about<br><br><br><br>1) &quot;cities with appropriate training 
facilities&quot;,</blockquote><div><br>Sorry about the delay. I think you 
nailed it right here. I have adapted the messages to include Eddie&#39;s and 
Randy&#39;s suggestions, and have added a reference to the Lighthouse.
> <br><br>The messages become, now:<br>For land units, except Diplomats and 
Spies:<br>* 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.
> <br><br>For Diplomats and Spies:<br>* Will be built as a veteran under 
communist governments. May also become veteran after a successful 
mission.<br><br>For sea units:<br>* 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.
> <br><br>Triremes will have an additional line:<br>* May become veteran if it 
survives in the high seas.<br><br>For air units and helicopters:<br>* Will be 
built as a veteran in cities with appropriate training facilities (see 
Airport.) May also become veteran if it defeats an enemy unit.
> <br><br>Does anybody else have a suggestion?<br><br>Joan<br></div></div>
> helpdata.c.diff
>   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



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to