Complete.Org: Mailing Lists: Archives: freeciv-dev: May 1999:
[Freeciv-Dev] PATCH: Marco Polo's Embassy.
Home

[Freeciv-Dev] PATCH: Marco Polo's Embassy.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] PATCH: Marco Polo's Embassy.
From: rizos@xxxxxxxx
Date: Fri, 14 May 1999 01:52:10 -0500 (CDT)

The following patch activates the Marco Polo's Embassy wonder.
(diff against 1.8.0)

--rizos

Files affected:
        common/player.c
        data/default/buildings.ruleset
        data/helpdata.txt


--- player.c.orig       Thu May 13 18:48:39 1999
+++ player.c    Thu May 13 19:54:34 1999
@@ -150,7 +150,8 @@
 ***************************************************************/
 int player_has_embassy(struct player *pplayer, struct player *pplayer2)
 {
-  return pplayer->embassy & (1<<pplayer2->player_no);
+  return (pplayer->embassy & (1<<pplayer2->player_no)) ||
+         (player_owns_active_wonder(pplayer, B_MARCO) && pplayer != pplayer2);
 }
 
 /****************************************************************



--- buildings.ruleset.orig      Thu May 13 19:36:17 1999
+++ buildings.ruleset   Thu May 13 19:36:54 1999
@@ -95,7 +95,7 @@
 "Lighthouse",              1, "Map Making",          200, 0, 0, "Magnetism"
 "Magellan's Expedition",   1, "Navigation",          400, 0, 0, "None"
 "Manhattan Project",       1, "Nuclear Fission",     600, 0, 0, "None"
-"Marco Polo's Embassy",    1, "Never",               200, 0, 0, "Communism"
+"Marco Polo's Embassy",    1, "Trade",               200, 0, 0, "Communism"
 "Michelangelo's Chapel",   1, "Monotheism",          400, 0, 0, "None"
 "Oracle",                  1, "Mysticism",           300, 0, 0, "Theology"
 "Pyramids",                1, "Masonry",             200, 0, 0, "None"


--- helpdata.txt.orig   Sat Mar 27 23:18:55 1999
+++ helpdata.txt Fri May 14 01:48:29 1999
@@ -1105,7 +1107,7 @@
 %%Allow all players with knowledge of Rocketry to build Nuclear units.
 ---
 # Marco Polo's Embassy
-This wonder has not been implemented.
+The player who owns it gets an embassy with all players.
 ---
 # Michelangelo's Chapel
 Counts as having a Cathedral in each of your cities.


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] PATCH: Marco Polo's Embassy., rizos <=