2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 * Ken Stevens, Steve McClure
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * See files README, COPYING and CREDITS in the root of the source
23 * tree for related information and legal notices. It is expected
24 * that future projects/authors will amend these files as needed.
28 * news.c: News item characteristics
30 * Known contributors to this file:
35 * News item characteristics; one entry (and two different
36 * strings) per news item. Be sure and increase N_MAX_VERB
37 * in news.h if you add a news item.
39 * Order must correspond to ordering in news.h
46 static char no_news[] = "does nothing in particular to %s";
48 struct rptstr rpt[] = {
50 { 0, 0, 0, { no_news, no_news } },
51 { N_WON_SECT, -4, N_FRONT, { "infantry capture %s territory",
52 "shock troops overrun one of %s's sectors" } },
53 { N_SCT_LOSE, -4, N_FRONT, { "infantry beaten back by %s troops",
54 "shock troops annihilated in failed attack on %s" } },
55 { N_SPY_SHOT, -1, N_SPY, { "spy shot by %s firing squad",
56 "spy captured and shot by %s" } },
57 { N_SENT_TEL, 1, N_TELE, { "sends a telegram to %s",
59 { N_SIGN_TRE, 3, N_FOR, { "diplomats sign a treaty with %s",
60 "ambassador agrees to a treaty with %s" } },
61 { N_MAKE_LOAN, 2, N_ECON, { "bankers make a loan to %s",
62 "Ministry of Finance lends money to %s" } },
63 { N_REPAY_LOAN, 1, N_ECON, { "repays a loan from %s",
64 "makes last payment on loan from %s" } },
65 { N_MAKE_SALE, 0, N_ECON, { "makes a sale to %s",
66 "sells goods to %s" } },
67 { N_OVFLY_SECT, -1, N_SKY, { "violates %s airspace",
68 "overflies %s territory" } },
69 { N_SCT_SHELL, -2, N_ARTY, { "gunners bombard %s territory",
70 "artillery fires on %s sectors" } },
71 { N_SHP_SHELL, -2, N_SEA, { "shells a ship owned by %s",
72 "fires on %s ships" } },
73 { N_TOOK_UNOCC, 0, N_FRONT, { "takes over unoccupied land",
74 "attacks unowned land for some reason" } },
75 { N_TORP_SHIP, 0, N_SEA, { "ships torpedoed by enemy wolf-packs",
76 "ships torpedoed by marauding U-boats" } },
77 { N_FIRE_BACK, 0, N_ARTY, { "gunners fire on %s in self-defense",
78 "gunners decimate %s aggressors" } },
79 { N_BROKE_SANCT, 0, N_FOR, { "breaks sanctuary",
80 "no longer has a sanctuary" } },
81 { N_SCT_BOMB, -2, N_SKY, { "planes divebomb one of %s's sectors",
82 "bombers wreak havoc on %s" } },
83 { N_SHP_BOMB, -2, N_SEA, { "divebombs a ship flying the flag of %s",
84 "airforce bombs %s ships" } },
85 { N_BOARD_SHIP, -2, N_SEA, { "seadogs board one of %s's ships",
86 "pirates board %s ship" } },
87 { N_SHP_LOSE, -3, N_SEA, { "is repelled by %s while attempting to board a ship",
88 "pirates prove inept at boarding %s's ships" } },
89 { 20, 0, 0, { no_news, no_news } },
90 { N_SEIZE_SECT, -2, N_ECON, { "seizes a sector from %s to collect on a loan",
91 "collects one of %s's sectors in repayment of a loan" } },
92 { N_HONOR_TRE, -1, N_FOR, { "considers an action which would violate a treaty with %s",
93 "decides not to violate treaty with %s (yet)" } },
94 { N_VIOL_TRE, -4, N_FOR, { "violates a treaty with %s",
95 "actions violate treaty with %s" } },
96 { 24, 0, 0, { no_news, no_news } },
97 { N_HIT_MINE, 0, N_SEA, { "ship hits a mine",
98 "ship severely damaged in mine field" } },
99 { N_DECL_ALLY, 5, N_FOR, { "announces an alliance with %s",
100 "/ %s alliance declared" } },
101 { 27, 0, 0, { no_news, no_news } },
102 { N_DECL_WAR, -5, N_FOR, { "declares TOTAL WAR on %s",
103 "gets serious with %s and declares WAR" } },
104 { N_DIS_ALLY, 0, N_FOR, { "diplomats disavow former alliance with %s",
105 "is no longer allied with %s" } },
106 { N_DIS_WAR, 5, N_FOR, { "is no longer at war with %s",
107 "Foreign Ministry declares \"No more war with %s\"" } },
108 { N_OUT_PLAGUE, 0, N_HOME, { "reports outbreak of the black plague",
109 "sector infected with bubonic plague" } },
110 { N_DIE_PLAGUE, 0, N_HOME, { "citizens die from bubonic plague",
111 "sector reports plague deaths" } },
112 { N_NAME_CHNG, 0, N_FOR, { "goes through a name change",
113 "adopts a new country name" } },
114 { N_DIE_FAMINE, 0, N_HOME, { "citizens starve in disastrous famine",
115 "loses citizens to mass starvation" } },
116 { 35, 0, 0, { no_news, no_news } },
117 { N_DOWN_PLANE, -3, N_SKY, { "pilots down %s planes",
118 "victorious in air-to-air combat against %s" } },
119 { N_NUKE, -10,N_MISS, { "nuclear device devastates %s sector",
120 "explodes a nuclear device damaging %s territory" } },
121 { N_FREEDOM_FIGHT, 0, N_HOME, { "terrorists shoot it out with %s special forces",
122 "underground rises up against %s occupation" } },
123 { N_SHOOT_CIV, -2, N_HOME, { "execution squads gun down helpless %s civilians",
124 "firing squads massacre defenseless %s workers" } },
125 { N_LAUNCH, 0, N_MISS, { "launches a satellite into orbit",
126 "continues its conquest of space with a successful launch" } },
127 { N_SAT_KILL, -8, N_MISS, { "strikes a %s big bird",
128 "rockets damage a %s satellite" } },
129 { N_GIFT, 4, N_ECON, { "makes a contribution to %s",
131 { N_AIDS, 2, N_HOME, { "aids %s with divine intervention",
132 "smiles upon %s" } },
133 { N_HURTS, -3, N_HOME, { "hurts %s with divine intervention",
134 "frowns upon %s" } },
135 { N_TAKE, -4, N_ECON, { "sacrifices to %s",
136 "makes divine payment to %s" } },
137 { N_NUKE_STOP, -10,N_MISS, { "abms intercept a %s missile",
138 "strategic defense systems destroy a %s missile" } },
139 { N_SCT_MISS, -2, N_MISS, { "missile fired at one of %s's sectors",
140 "missile wreaks havoc on %s" } },
141 { N_SHP_MISS, -2, N_MISS, { "missile fired at a ship flying the flag of %s",
142 "missiles hit %s ships" } },
143 { N_TRADE, 2, N_ECON, { "engages in friendly trade with %s",
144 "profits from a merchant venture with %s" } },
145 { N_PIRATE_TRADE, 0, N_ECON, { "pirates dispose of %s booty in trade",
146 "buccaneers sell their %s goods" } },
147 { N_PIRATE_KEEP, 0, N_ECON, { "pirates keep their %s booty",
148 "buccaneers laugh and bury their %s goods" } },
149 { N_SHIP_TORP, 0, N_SEA, { "ships torpedoed by %s torpedo-boats",
150 "ships sunk by marauding %s torpedo-boats" } },
151 { N_SUB_BOMB, 0, N_SEA, { "planes bomb a skulking %s submarine",
152 "planes drop depth-charges on a %s sub" } },
153 { 54, 0, 0, { no_news, no_news } },
154 { N_UNIT_BOMB, -2, N_SKY, { "divebombs a brave %s unit",
155 "airforce bombs %s units" } },
156 { N_LHIT_MINE, 0, N_FRONT, { "troops run afoul of a landmine",
157 "troops severely damaged in mine field" } },
158 { N_FIRE_F_ATTACK, -2, N_ARTY, { "fortress gunners support troops attacking %s",
159 "fortress artillery massacres %s defenders" } },
160 { N_FIRE_L_ATTACK, -2, N_ARTY, { "gunners support troops attacking %s",
161 "artillery battery massacres %s defenders" } },
162 { N_FIRE_S_ATTACK, -2, N_ARTY, { "naval gunners support troops attacking %s",
163 "naval gunfire massacres %s defenders" } },
164 { N_SACK_CAP, 10, N_FOR, { "sacks %s capital",
165 "captures and pillages %s's capital" } },
166 { N_UP_FRIENDLY, 3, N_FOR, { "announces friendly trade relations with %s",
167 "upgrades %s's trade status to triple-A" } },
168 { N_DOWN_FRIENDLY, 0, N_FOR, { "downgrades relations with %s to friendly",
169 "cools relations with %s to friendly" } },
170 { N_UP_NEUTRAL, 2, N_FOR, { "upgrades relations with %s to neutral",
171 "Foreign Ministry declares \"%s is A-OK.\"" } },
172 { N_DOWN_NEUTRAL, 0, N_FOR, { "downgrades relations with %s to neutral",
173 "gives the cold shoulder to %s and declares neutral relations" } },
174 { N_UP_HOSTILE, 3, N_FOR, { "upgrades relations with %s to hostile",
175 "forgives %s of past war crimes but remains hostile" } },
176 { N_DOWN_HOSTILE, 3, N_FOR, { "downgrades relations with %s to hostile",
177 "is suspicious that %s has hostile intentions" } },
178 { N_SCT_SMISS, 0, N_MISS, { "sector is struck by a sub-launched missile",
179 "sector devastated by missile" } },
180 { N_SHP_SMISS, 0, N_MISS, { "ship is hit by a sub-launched missile",
181 "ship damaged by marine missile" } },
182 { N_START_COL, 0, N_COLONY,{ "pilgrims settle on a new island",
183 "discovers new land and starts a colony" } },
184 { N_NUKE_SSTOP, 0, N_MISS, { "abms intercept an incoming sub-launched missile",
185 "strategic defense systems destroy an incoming sub-launched warhead"}},
186 { N_LND_MISS, 2, N_MISS, { "missile fired at %s ground troops",
187 "missile hits %s troops" } },
188 { N_LND_SMISS, 0, N_MISS, { "regiment struck by sub-launched missile",
189 "ground troops hit by missile" } },
190 { N_AWON_SECT, -4, N_FRONT, { "navy secures a beachhead on %s territory",
191 "sailors take a coastal sector from %s" } },
192 { N_PWON_SECT, -4, N_FRONT, { "paratroopers comandeer a sector from %s",
193 "air force parachutists overwhelm a %s sector" } },
194 { N_PARA_UNOCC, 0, N_COLONY,{ "parachutists grab unoccupied land",
195 "paratroopers break new ground" } },
196 { N_ALOSE_SCT, 4, N_FRONT, { "sailors repelled by %s coast-guard",
197 "naval forces massacred in failed assault of %s" } },
198 { N_PLOSE_SCT, 4, N_FRONT, { "paratroopers destroyed in failed air-assault on %s",
199 "loses parachutists in failed air-assault of %s" } },
200 { 78, 0, 0, { no_news, no_news } },
201 { 79, 0, 0, { no_news, no_news } },
202 { N_WELCH_DEAL, 0, N_ECON, { "is unable to fulfill its financial obligations to %s",
203 "welches on a deal with %s" } },
204 { N_LND_LOSE, -3, N_FRONT, { "is repelled by %s while attempting to board a land unit",
205 "forces prove inept at boarding %s's land unit" } },
206 { N_BOARD_LAND, -2, N_FRONT, { "mercenaries board one of %s's land units",
207 "elite forces board %s land unit" } },
208 { 0, 0, 0, { NULL, NULL } }