Merge lp:~widelands-dev/widelands/bug-1298011 into lp:widelands

Proposed by GunChleoc
Status: Merged
Merged at revision: 6922
Proposed branch: lp:~widelands-dev/widelands/bug-1298011
Merge into: lp:widelands
Diff against target: 991 lines (+162/-162)
9 files modified
campaigns/atl01.wmf/scripting/texts.lua (+30/-53)
campaigns/emp01.wmf/scripting/texts.lua (+25/-23)
campaigns/emp02.wmf/scripting/texts.lua (+24/-21)
campaigns/t01.wmf/scripting/initial_messages.lua (+3/-3)
campaigns/t01.wmf/scripting/texts.lua (+23/-22)
campaigns/t02.wmf/scripting/mission_thread_texts.lua (+31/-28)
campaigns/t03.wmf/scripting/texts.lua (+10/-9)
maps/Plateau.wmf/scripting/texts.lua (+4/-3)
scripting/format_scenario.lua (+12/-0)
To merge this branch: bzr merge lp:~widelands-dev/widelands/bug-1298011
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+214012@code.launchpad.net

Description of the change

Fixed string bug in Atlantean campaign. Improved paragraph formatting in all scenarios.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'campaigns/atl01.wmf/scripting/texts.lua'
2--- campaigns/atl01.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
3+++ campaigns/atl01.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
4@@ -59,7 +59,7 @@
5 [[Food is very important for mines and military training areas. ]] ..
6 [[Establish a well working food environment by building at least one farm, one blackroot farm and a mill. ]] ..
7 [[The two kinds of flour together with water from a well will be baked into bread in a bakery, ]] ..
8-[[so build a bakery and a well, too.]]) .. [[<br><br>]] ..
9+[[so build a bakery and a well, too.]]) .. paragraphdivider() ..
10 _([[The other two important food wares are smoked fish and smoked meat. ]] ..
11 [[Raw meat is delivered from a hunter. ]] ..
12 [[A fisher gets the fish out of the sea while a fish breeder makes sure that a school of fish does not go extinct ]] ..
13@@ -227,13 +227,13 @@
14 [[and without Lutas having smashed our ship. Now, we are out of his reach. ]] ..
15 [[One day later, we sighted an island which seems to have one of these fire spitting mountains on it. ]] ..
16 [[I deemed this a sign from the fire god and we landed on its shore.]])
17- .. "<br><br>" .. _(
18+.. paragraphdivider() .. _(
19 [[We spent the last week building two watchtowers on the mountains close to our landing area; ]] ..
20 [[and, of course, a hall for us all. We have very talented constructors in our group – still, ]] ..
21 [[the buildings do not match the art we had on Atlantis. I hope they will withstand the next rain. ]] ..
22 [[At least, the towers will warn us if a ship from Atlantis follows us and if the island is inhabited, ]] ..
23 [[we will see attackers a long time before they arrive.]])
24- .. "<br><br>" .. _(
25+.. paragraphdivider() .. _(
26 [[We have established ourselves on this island. The next step is now to make it a home. ]] ..
27 [[I reckon we need to establish a sustainable economy and to explore our surroundings. ]] ..
28 [[I called for specialists and will follow their advice.]])
29@@ -298,21 +298,13 @@
30 },
31 {
32 title = _ "Colionder is in Thought",
33- body = colionder(p(_(
34-[[Ahh, but I think this is impossible to change. ]] ..
35-[[The preparing and eating of food is something deeply ingrained in us Atlanteans]] ..
36-[[ – it is a ceremony that we just need for our well-being. ]] ..
37-[[So I guess we cannot take this away from the individuals completely.]])) .. p(_(
38-[[But we might find a compromise in between: for me, making bread is a troublesome task. ]] ..
39-[[Grinding the blackroot and corn to flour and then baking the bread is tedious and boring; ]] ..
40-[[I feel a more industrial approach would be helpful here. ]] ..
41-[[I for one would love to just have fresh bread delivered to my house every day.]])) .. p(_(
42-[[Oooh and even more important: the smoking of fish and meat to cleanse them and improve their taste is terrible. ]] ..
43-[[My house is full of smoke and stinks for weeks afterwards. ]] ..
44-[[Don’t you think that this could be done in a special building were the side effects do not matter? ]] ..
45-[[I think those two things would be accepted by the people ]] ..
46-[[and would reduce the cooking time without taking away the ritual.]]
47- )))
48+ body = colionder(_(
49+[[Ahh, but I think this is impossible to change. The preparing and eating of food is something deeply ingrained in us Atlanteans – it is a ceremony that we just need for our well-being. So I guess we cannot take this away from the individuals completely.]])
50+.. paragraphdivider() .. _(
51+[[But we might find a compromise in between: for me, making bread is a troublesome task. Grinding the blackroot and corn to flour and then baking the bread is tedious and boring; I feel a more industrial approach would be helpful here. I for one would love to just have fresh bread delivered to my house every day.]])
52+.. paragraphdivider() .. _(
53+[[Oooh and even more important: the smoking of fish and meat to cleanse them and improve their taste is terrible. My house is full of smoke and stinks for weeks afterwards. Don’t you think that this could be done in a special building were the side effects do not matter? I think those two things would be accepted by the people and would reduce the cooking time without taking away the ritual.]]
54+ ))
55 },
56 {
57 title = _ "Jundlina Agrees",
58@@ -335,14 +327,10 @@
59 spidercloth_messages = {
60 {
61 title = _"A Man Comes to Jundlina",
62- body = opol(p(_(
63-[[May Satul warm you, Jundlina. ]] ..
64-[[My name is Opol, and I am the highest weaver of the guild abandoning Atlantis and Lutas with you. ]] ..
65-[[I come with sad news indeed: we have no more spidercloth. Not a single piece is to be found in our warehouses. ]] ..
66-[[Could you not help the weavers’ guild by arranging the building of a weaving-mill and a spider farm? ]] ..
67-[[The spiders deliver the finest silk and we will produce the finest spidercloth from it.]])) .. p(_(
68-[[We offer to also produce the tabards for young soldiers and the golden tabards for officers for you in exchange. ]] ..
69-[[You will need them for sure as soon as you want to recruit new soldiers.]])))
70+ body = opol(_(
71+[[May Satul warm you, Jundlina. My name is Opol, and I am the highest weaver of the guild abandoning Atlantis and Lutas with you. I come with sad news indeed: we have no more spidercloth. Not a single piece is to be found in our warehouses. Could you not help the weavers’ guild by arranging the building of a weaving-mill and a spider farm? The spiders deliver the finest silk and we will produce the finest spidercloth from it.]])
72+.. paragraphdivider() .. _(
73+[[We offer to also produce the tabards for young soldiers and the golden tabards for officers for you in exchange. You will need them for sure as soon as you want to recruit new soldiers.]]))
74 },
75 {
76 title = _ "Jundlina Replies",
77@@ -439,14 +427,11 @@
78 horsefarm_and_warehouse_story = {
79 {
80 title = _ "Jundlina Considers the Economy",
81- body = jundlina(_"Jundlina", p(_(
82-[[People are complaining about crowded streets and slow transportation. ]] ..
83-[[We need to help out our carriers on the roads. ]] ..
84-[[I have decided to build a horse farm so that the horses can help with the heavy wares.]])) .. p(_(
85-[[Another way to take load from our roads is to build warehouses. ]] ..
86-[[We have claimed the mountain now, it seems a good idea to have a warehouse on the plateau ]] ..
87-[[to avoid having to transport everything up and down the slopes.]]
88- ))) .. new_objectives(obj_horsefarm_and_warehouse)
89+ body = jundlina(_"Jundlina", _(
90+[[People are complaining about crowded streets and slow transportation. We need to help out our carriers on the roads. I have decided to build a horse farm so that the horses can help with the heavy wares.]])
91+.. paragraphdivider() .. _(
92+[[Another way to take load from our roads is to build warehouses. We have claimed the mountain now, it seems a good idea to have a warehouse on the plateau to avoid having to transport everything up and down the slopes.]]
93+ )) .. new_objectives(obj_horsefarm_and_warehouse)
94 }
95 }
96
97@@ -458,18 +443,12 @@
98 posx = 100000,
99 posy = 0,
100 title = _ "A Dangerous Discovery",
101- body = jundlina(_ "Jundlina is in Thought", p(_(
102-[[We found an old building, destroyed and burned by flames. I am very worried about this discovery. ]] ..
103-[[The building is not of any kind I’ve ever seen. ]] ..
104-[[It is certainly not designed by any Atlantean architect I’ve ever heard about. ]] ..
105-[[The building is crude, the assemblage is sloppy. But the materials are very enduring: ]] ..
106-[[the wood used for it seemed to have been burned in a strange way before it was used as building material]] ..
107-[[ – it is hard as stone.]])) .. p(_(
108-[[The implications frighten me. Are there others on this island? Where are they then? ]] ..
109-[[They work with fire, are they praying to Satul too? Are they friends or foe? ]] ..
110-[[And why is the building burned down? Has this island seen war? Is a war being waged on it right now?]])) .. p(_(
111-[[We must improve our military capabilities. If there are foes on the island, we have to be prepared when we meet them. ]] ..
112-[[We should also enforce the fortification of our borders.]]))
113+ body = jundlina(_ "Jundlina is in Thought", _(
114+[[We found an old building, destroyed and burned by flames. I am very worried about this discovery. The building is not of any kind I’ve ever seen. It is certainly not designed by any Atlantean architect I’ve ever heard about. The building is crude, the assemblage is sloppy. But the materials are very enduring: the wood used for it seemed to have been burned in a strange way before it was used as building material – it is hard as stone.]])
115+.. paragraphdivider() .. _(
116+[[The implications frighten me. Are there others on this island? Where are they then? They work with fire, are they praying to Satul too? Are they friends or foe? And why is the building burned down? Has this island seen war? Is a war being waged on it right now?]])
117+.. paragraphdivider() .. _(
118+[[We must improve our military capabilities. If there are foes on the island, we have to be prepared when we meet them. We should also enforce the fortification of our borders.]])
119 )
120 }
121 }
122@@ -552,13 +531,11 @@
123 },
124 {
125 title = _ "Jundlina Replies",
126- body = jundlina(p(_(
127-[[Your red hair is a signal from the fire god. I will trust you and support your plan. ]] ..
128-[[Our survival lies in your hands now, Ostur.]])) .. p(_(
129-[[Swift now, we need a house for Ostur next to the lake, and we need planks, logs and spidercloth ]] ..
130-[[for the construction there. Forget about everything else, ]] ..
131-[[we need those wares on top of the mountain before our warehouses are all swallowed by the sea.]]
132- ))) .. new_objectives(obj_build_ships)
133+ body = jundlina(_(
134+[[Your red hair is a signal from the fire god. I will trust you and support your plan. Our survival lies in your hands now, Ostur.]])
135+.. paragraphdivider() .. _(
136+[[Swift now, we need a house for Ostur next to the lake, and we need planks, logs and spidercloth for the construction there. Forget about everything else, we need those wares on top of the mountain before our warehouses are all swallowed by the sea.]]
137+ )) .. new_objectives(obj_build_ships)
138 }
139 }
140
141
142=== modified file 'campaigns/emp01.wmf/scripting/texts.lua'
143--- campaigns/emp01.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
144+++ campaigns/emp01.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
145@@ -36,7 +36,8 @@
146 title=_"Build a lumberjack’s house",
147 number = 1,
148 body = objective_text(_"Lumberjack’s House",
149-[[• ]] .. _[[Build a lumberjack’s house at the red house symbol, south of your provisional headquarters.]] .. "<br><br>" ..
150+[[• ]] .. _[[Build a lumberjack’s house at the red house symbol, south of your provisional headquarters.]]
151+.. paragraphdivider() ..
152 [[→ ]] .. _([[Cutting down enough trees for more buildings will take a while. ]] ..
153 [[You can speed the game up by using PAGE UP and slow it down again with PAGE DOWN.]])),
154 }
155@@ -62,7 +63,8 @@
156 title=_"Build a quarry",
157 number = 5,
158 body = objective_text(_"Quarry",
159-[[• ]] .. _[[Build a quarry in the south to cut some stones and marble out of the rocks.]] .. "<br><br>" ..
160+[[• ]] .. _[[Build a quarry in the south to cut some stones and marble out of the rocks.]]
161+.. paragraphdivider() ..
162 [[→ ]] .. _[[These might be used for future buildings.]]),
163 }
164
165@@ -76,19 +78,19 @@
166 body=lutius(_"Diary of Lutius",
167 _([[What has become of our Empire? I really ask this question – why did my king forbid me ]] ..
168 [[from fighting against that monstrous barbarian tribe, who first acted as a peaceful friend ]] ..
169-[[and then attacked my army in the darkest night?]]) .. "<br><br>" ..
170+[[and then attacked my army in the darkest night?]]) .. paragraphdivider() ..
171 _([[With an army of 150 men, I was assigned to patrol on our northern frontier, ]] ..
172 [[which lies near the Galdin Mountains in a great, beautiful and ancient forest. ]] ..
173 [[Soon, we met a barbarian tribe, which at first was friendly. A few of my men even traded with them ]] ..
174-[[and their kids came to us, to admire our clean and tidy uniforms and weapons.]]) .. "<br><br>" ..
175+[[and their kids came to us, to admire our clean and tidy uniforms and weapons.]]) .. paragraphdivider() ..
176 _([[But during our fifth night in that region, they attacked us with no reason. ]] ..
177 [[I lost dozens of good men, and found myself imprisoned and brought to their chieftain. ]] ..
178 [[He spat at me, mocked me and told me to leave this land forever. ]] ..
179 [[He did not want new land and did not want our land, but he told me that THIS forest was their land]] ..
180-[[ – and it would stay theirs until the ghosts took the last man of his folk!]]) .. "<br><br>" ..
181+[[ – and it would stay theirs until the ghosts took the last man of his folk!]]) .. paragraphdivider() ..
182 _([[Three weeks later, I returned to Fremil to speak with our king. ]] ..
183 [[He was furious at the Barbarians, yet forbade any attack on these tribes. ]] ..
184-[[He believed that our army was too weak to survive in a war against the barbarians.]]) .. "<br><br>" ..
185+[[He believed that our army was too weak to survive in a war against the barbarians.]]) .. paragraphdivider() ..
186 _([[Still, I saw no way that I could erase my shame without fighting against these barbarians. ]] ..
187 [[So, I left Fremil by boat to find a new world and a new life for myself, somewhere in the south. ]] ..
188 [[Now I am sailing on the perl-gulf with my family, some of my friends and a few of my best warriors.]])),
189@@ -102,7 +104,7 @@
190 _([[It seems as if sailing on the perl-gulf was one of our biggest mistakes. ]] ..
191 [[Nature was against us and drove us into a dark, wild storm. ]] ..
192 [[I really don’t know how many hours have passed since the waves rose higher than our boat, ]] ..
193-[[but still it would be suicide to go outside.]]) .. "<br><br>" ..
194+[[but still it would be suicide to go outside.]]) .. paragraphdivider() ..
195 _([[Our ship is badly damaged and is taking in more and more water. ]] ..
196 [[We can thank the Gods if we survive this black night with our lives.]])),
197 w=400,
198@@ -112,10 +114,10 @@
199 diary_page_3 = {
200 title=_"Survivor",
201 body= lutius(_"Diary of Lutius",
202- _([[Finally, the Gods were with us!]]) .. "<br><br>" ..
203+ _([[Finally, the Gods were with us!]]) .. paragraphdivider() ..
204 _([[We landed on an unknown coast and found peaceful rest under the palm trees growing at the shore. ]] ..
205 [[But that is about as good as it gets. The truth is: when I woke up this morning, I saw nothing but sand around us.]]) ..
206-"<br><br>" ..
207+paragraphdivider() ..
208 _([[It really seems as if we have landed under the only palm trees existing in this far-away sandy desert. ]] ..
209 [[I fear we won’t find the help we need to get our ship repaired in good time.]])),
210 w=400,
211@@ -127,9 +129,9 @@
212 body= saledus(_"Saledus looks around nervously...",
213 _([[Sire, I fear we are not safe in this foreign land. ]] ..
214 [[Who knows what terrible creatures live beyond this forest, in that mighty desert? ]] ..
215-[[What if these creatures enter the woods and await the time to attack us?]]) .. "<br><br>" ..
216+[[What if these creatures enter the woods and await the time to attack us?]]) .. paragraphdivider() ..
217 _([[Well, perhaps my fear is misguided, but it can’t be wrong to keep watch in the forests]] ..
218-[[ – so that we can be sure to see any potential enemies before they can see us.]]) .. "<br><br>" ..
219+[[ – so that we can be sure to see any potential enemies before they can see us.]]) .. paragraphdivider() ..
220 _([[We really should build a barracks in the eastern portion of the forest. ]] ..
221 [[Then one of us can keep watch in the darkness and keep us safe from these creatures.]]))
222 .. new_objectives(obj_build_barracks),
223@@ -141,7 +143,7 @@
224 title=_"Safe For Now",
225 body= saledus(_"Saledus speaks with a sigh of relief...",
226 _([[Sire, I saw that the construction of the barracks was completed, ]] ..
227-[[so I have assigned one of my best soldiers to it to keep watch on the desert.]]) .. "<br><br>" ..
228+[[so I have assigned one of my best soldiers to it to keep watch on the desert.]]) .. paragraphdivider() ..
229 _([[This is a good step forward. Now we can feel a bit safer and can look forward to repairing our ship.]])),
230 w=400,
231 }
232@@ -149,9 +151,9 @@
233 amalea_1 = {
234 title=_"Young Amalea",
235 body= amalea(_"Amalea smiles...",
236- _([[Hey Lutius, I just met Saledus outside.]]) .. "<br><br>" ..
237+ _([[Hey Lutius, I just met Saledus outside.]]) .. paragraphdivider() ..
238 _([[He told me about the barracks. Well, I am not one of those girls who think we need more barracks]] ..
239-[[ – instead, we might concentrate on other things now.]]) .. "<br><br>" ..
240+[[ – instead, we might concentrate on other things now.]]) .. paragraphdivider() ..
241 _([[It is absolutely clear that we need wood to repair our ship. ]] ..
242 [[So, I walked through the forest yesterday and found a nice place for a lumberjack’s house, ]] ..
243 [[south of our provisional headquarters.]]))
244@@ -164,7 +166,7 @@
245 body= amalea(_"Amalea recommends...",
246 _([[Hey Lutius, I got the message that our first lumberjack has started his work today. ]] ..
247 [[Perhaps it would be a good idea to wait until he cleans enough space for constructing two more lumberjack’s houses, ]] ..
248-[[so that we can harvest the logs faster.]]) .. "<br><br>" ..
249+[[so that we can harvest the logs faster.]]) .. paragraphdivider() ..
250 _([[But unfortunately the logs are useless for repairing our ship – we need refined lumber, ]] ..
251 [[like every ship and every bigger building needs, too. ]] ..
252 [[So we should build a sawmill – as soon as we have enough space for this.]]))
253@@ -175,15 +177,15 @@
254 amalea_3 = {
255 title=_"Young Amalea",
256 body= amalea(_"Amalea comes in...",
257- _([[Hi Lutius, I’ve got two important things to talk about... First the good news:]]) .. "<br><br>" ..
258+ _([[Hi Lutius, I’ve got two important things to talk about... First the good news:]]) .. paragraphdivider() ..
259 _([[I noticed that the construction of the sawmill is complete, ]] ..
260-[[so we can begin to refine the logs that the lumberjacks are harvesting into lumber.]]) .. "<br><br>" ..
261+[[so we can begin to refine the logs that the lumberjacks are harvesting into lumber.]]) .. paragraphdivider() ..
262 _([[But that’s just about the only positive thing I know to talk about. ]] ..
263 [[The bad news is that our lumberjacks harvest at an incredible speed. ]] ..
264-[[There are almost no trees left on this island.]]) .. "<br><br>" ..
265+[[There are almost no trees left on this island.]]) .. paragraphdivider() ..
266 _([[Lutius, these trees provide shelter from the sandstorms that sweep in from the desert ]] ..
267 [[and shade on the hot days, and they are the home of so many gentle animals. ]] ..
268-[[We shouldn’t leave this island a complete desert.]]) .. "<br><br>" ..
269+[[We shouldn’t leave this island a complete desert.]]) .. paragraphdivider() ..
270 _([[Lutius, I beg you: find someone who takes care of planting new trees.]]))
271 .. new_objectives(obj_build_forester),
272 w=400,
273@@ -193,7 +195,7 @@
274 title=_"Thinking About the Future",
275 body= saledus(_"Saledus notes...",
276 _([[Hey, my good old friend. I just thought about the rocks standing on the south shore of this land. ]] ..
277-[[Perhaps we could cut out some useful hard stones and beautiful marble.]]) .. "<br><br>" ..
278+[[Perhaps we could cut out some useful hard stones and beautiful marble.]]) .. paragraphdivider() ..
279 _([[The repair of our ship will take a few weeks, anyway, and the resources we harvest now ]] ..
280 [[might be the base of strong and big buildings in another land.]]))
281 .. new_objectives(obj_build_quarry),
282@@ -204,7 +206,7 @@
283 title=_"A Step Forward",
284 body= saledus(_"Saledus looks promising...",
285 _([[Hey Lutius, today we got a lot closer to our first castle. ]] ..
286-[[The quarry to the south began its work today and will soon provide us with stones and beautiful marble.]]) .. "<br><br>" ..
287+[[The quarry to the south began its work today and will soon provide us with stones and beautiful marble.]]) .. paragraphdivider() ..
288 _([[Now we truly can look forward to settling down on another island.]])),
289 w=400,
290 }
291@@ -214,9 +216,9 @@
292 body= lutius(
293 _([[Today I got the message that our ship is completely repaired. ]] ..
294 [[At the moment, my people are loading everything onto our newly repaired ship, ]] ..
295-[[hoping it will serve us better than last time.]]) .. "<br><br>" ..
296+[[hoping it will serve us better than last time.]]) .. paragraphdivider() ..
297 _([[Tonight will be our last night on this island. ]] ..
298-[[Tomorrow morning we will leave, searching for a new place for our exile.]]) .. "<br><br>" ..
299+[[Tomorrow morning we will leave, searching for a new place for our exile.]]) .. paragraphdivider() ..
300 _([[I still wonder if we will ever see Fremil again.]])) ..
301 objective_text(_"Victory", _
302 [[You have completed this mission. You may continue playing if you wish, otherwise move on to the next mission.]]
303
304=== modified file 'campaigns/emp02.wmf/scripting/texts.lua'
305--- campaigns/emp02.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
306+++ campaigns/emp02.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
307@@ -71,7 +71,7 @@
308 [[• ]] .. _([[To produce some sustaining food for our miners, we could build up a tavern. ]] ..
309 [[To supply them with some good and strong drinks, we could build up a brewery and a winery.]]) .. "<br>" ..
310 [[• ]] .. _([[Of course this means we will need more resources for preparing this food – like fish, meat or bread. To provide these foodstuffs, you would have to build a fisher’s house, a farm, a mill and a bakery.]]) .. "<br>" ..
311-[[• ]] .. _[[Maybe you will also need a hunter’s house, a piggery, a vineyard and some wells.]] .. "<br><br>" ..
312+[[• ]] .. _[[Maybe you will also need a hunter’s house, a piggery, a vineyard and some wells.]] .. paragraphdivider() ..
313 [[→ ]] .. _([[It’s up to you what you want to build. But remember – coal and iron ore mines need beer, ]] ..
314 [[marble and gold mines need wine and all mines need at least rations, which are produced out of bread OR meat OR fish.]])),
315 }
316@@ -82,7 +82,7 @@
317 number = 1,
318 body = objective_text(_"Protect Your Eastern Frontier",
319 [[• ]] .. _[[Build up stronger military buildings, such as an outpost, a barrier or a tower, on the eastern frontier.]] ..
320-"<br><br>" ..
321+paragraphdivider() ..
322 [[→ ]] .. _[[To watch deep inside the enemy territory, build a tower.]]),
323 }
324
325@@ -105,7 +105,7 @@
326 body = lutius(_"Diary of Lutius",
327 _([[Finally! This island appears to have been made for us, it is a gift from the Gods to my people and myself. ]] ..
328 [[Until now, we have only seen a small part of this island, but this part alone is already bringing sunlight to my mind. ]] ..
329-[[I feel as if we have found a priceless treasure, a land like paradise.]]) .. "<br><br>" ..
330+[[I feel as if we have found a priceless treasure, a land like paradise.]]) .. paragraphdivider() ..
331 _([[On this island, we will start our new life. ]] ..
332 [[We will build up an outpost for our exile, which perhaps will become a new, beautiful home for every one of us.]])),
333 }
334@@ -115,9 +115,9 @@
335 posy = 1,
336 body= lutius(_"Diary of Lutius",
337 _([[As Saledus and I walked through these wonderful forests in the north, we felt that our future had just begun. ]] ..
338-[[This land is so peaceful, good and beautiful, I could stay here until the end of my life.]]) .. "<br><br>" ..
339+[[This land is so peaceful, good and beautiful, I could stay here until the end of my life.]]) .. paragraphdivider() ..
340 _([[But until that day, may many years pass! For now, we must concentrate on the present, ]] ..
341-[[and build a few lumberjack’s houses and a sawmill to produce some basic building materials.]]) .. "<br><br>" ..
342+[[and build a few lumberjack’s houses and a sawmill to produce some basic building materials.]]) .. paragraphdivider() ..
343 _([[But we shouldn’t forget to preserve this natural bounty. ]] ..
344 [[These forests should last forever, so we really should build a forester’s house too.]]))
345 .. new_objectives(obj_build_woodeconomy),
346@@ -128,7 +128,7 @@
347 posy = 1,
348 body= lutius(_"Diary of Lutius",
349 _([[Later, I walked down to the rocks in the south and looked for a place where we could build a quarry ]] ..
350-[[to get some hard stone for our larger buildings.]]) .. "<br><br>" ..
351+[[to get some hard stone for our larger buildings.]]) .. paragraphdivider() ..
352 _([[Again, I felt like I was in paradise when I noticed that some marble-like stones were among the rocks. ]] ..
353 [[It seems that we will soon be able to build strong, luxurious buildings, like those we were accustomed to in Fremil.]]))
354 .. new_objectives(obj_build_quarry),
355@@ -157,9 +157,9 @@
356 [[but I found something which gives me a sinking feeling in my stomach and spreads waves of fear in my heart. ]] ..
357 [[As I walked down to the southern shore, I found the remains of another ship. ]] ..
358 [[I don’t know whether these parts are all that is left of that ship. ]] ..
359-[[In any case, these parts do not seem to be old.]]) .. "<br><br>" ..
360+[[In any case, these parts do not seem to be old.]]) .. paragraphdivider() ..
361 _([[Perhaps the people aboard that ship were caught in the same storm which brought us to Malac’ Mor]] ..
362-[[ – and were brought to this island.]]) .. "<br><br>" ..
363+[[ – and were brought to this island.]]) .. paragraphdivider() ..
364 _([[I beg you to be cautious and to build some barracks or sentries around our colony.]]))
365 .. new_objectives(obj_build_military_buildings),
366 }
367@@ -167,10 +167,11 @@
368 saledus_2 = {
369 title =_ "Marble on the Mountain",
370 body= saledus(_"Saledus smiles",
371-_([[Lutius, I’ve got good news for you: As I walked to the east, I found a larger mountain. I am not absolutely sure – a geologist should check if I am right – but I believe we could mine marble from some places on the mountain.]]) .. "<br><br>" ..
372+_([[Lutius, I’ve got good news for you: As I walked to the east, I found a larger mountain. I am not absolutely sure – a geologist should check if I am right – but I believe we could mine marble from some places on the mountain.]])
373+.. paragraphdivider() ..
374 _([[It would be a good source for bolstering our supply of quality marble, ]] ..
375 [[beyond the meager quantities available from the quarry. ]] ..
376-[[Perhaps you were right when you said that this island was like paradise.]]) .. "<br><br>" ..
377+[[Perhaps you were right when you said that this island was like paradise.]]) .. paragraphdivider() ..
378 _([[Let us expand to that mountain and start mining marble.]]))
379 .. new_objectives(obj_build_marblemine),
380 }
381@@ -181,9 +182,9 @@
382 _([[By the Gods, this is an unbelievable stroke of fortune! ]] ..
383 [[There are two more mountains, and it seems that one has a large quantity of coal and the other of iron ore. ]] ..
384 [[We should immediately start to build iron ore and coal mines (or at least charcoal burners), ]] ..
385-[[smelting works, toolsmithies, armor and weapon smithies.]]) .. "<br><br>" ..
386+[[smelting works, toolsmithies, armor and weapon smithies.]]) .. paragraphdivider() ..
387 _([[However: for all these bigger buildings, we need better and more elegant building materials. ]] ..
388-[[So, let’s build a stonemason, who will cut columns from marble.]]) .. "<br><br>" ..
389+[[So, let’s build a stonemason, who will cut columns from marble.]]) .. paragraphdivider() ..
390 _([[After everything, we can now begin to live like we did in Fremil.]]))
391 .. new_objectives(obj_build_mining_infrastructure),
392 }
393@@ -191,10 +192,10 @@
394 amalea_1 = {
395 title =_ "Food for the Miners",
396 body= amalea(_"Amalea comes in...",
397-_([[Hi Lutius, I hope you forgive my criticism, but it seems to me as if you forgot something.]]) .. "<br><br>" ..
398+_([[Hi Lutius, I hope you forgive my criticism, but it seems to me as if you forgot something.]]) .. paragraphdivider() ..
399 _([[It’s nice, and of course a good idea, to build up mines, which will give us a more comfortable life, ]] ..
400 [[but the people working in the mines are unhappy with the current situation. ]] ..
401-[[They have to do hard work and have no time for making their own food.]]) .. "<br><br>" ..
402+[[They have to do hard work and have no time for making their own food.]]) .. paragraphdivider() ..
403 _([[What do you think about helping them out? ]] ..
404 [[I can’t tell you what we need exactly... but here are my recommendations:]]))
405 .. new_objectives(obj_build_Food_infrastructure),
406@@ -205,12 +206,14 @@
407 posy=1,
408 body= lutius(_"Diary of Lutius",
409 _([[By the Gods! This is absolutely terrible. It seems as if we stand close to a test]] ..
410-[[ – and it seems as if Saledus was right with his fear concerning the shipwreck he found.]]) .. "<br><br>" ..
411+[[ – and it seems as if Saledus was right with his fear concerning the shipwreck he found.]]) .. paragraphdivider() ..
412 _([[Today, as I walked down to the eastern shore, I got a shock. ]] ..
413-[[I caught sight of one of those hated, evil, barbarian tribes with whom we have had so many problems before.]]) .. "<br><br>" ..
414+[[I caught sight of one of those hated, evil, barbarian tribes with whom we have had so many problems before.]])
415+.. paragraphdivider() ..
416 _([[At first, I was naive and hoped that they were peaceful, but as soon as one of them saw me, ]] ..
417 [[they charged towards me and started attacking me with their throwing-spears. Thanks be to the Gods ]] ..
418-[[that I was able to flee and hide myself, before retreating back to our colony under cover of darkness.]]) .. "<br><br>" ..
419+[[that I was able to flee and hide myself, before retreating back to our colony under cover of darkness.]])
420+.. paragraphdivider() ..
421 _([[Anyway, we must build up stronger military buildings as soon as possible.]]))
422 .. new_objectives(obj_build_bigger_military_buildings),
423 }
424@@ -228,7 +231,7 @@
425 title =_ "Victory",
426 posy=1,
427 body= lutius(
428-_([[Today is a proud day. We have fought for our new home and risen victorious.]]) .. "<br><br>" ..
429+_([[Today is a proud day. We have fought for our new home and risen victorious.]]) .. paragraphdivider() ..
430 _([[There are still a few barbarians hiding on our island, but I am sure that we will find them soon. Every barbarian who doesn’t attack us will be put in a boat with the other peaceful ones, and sent back to their country.]]))
431 .. objective_text(_"Victory",
432 _[[You have established a working economy, trained new soldiers and driven the barbarians from the island.]]
433@@ -247,11 +250,11 @@
434 posy=1,
435 body= lutius(_"Diary of Lutius",
436 _([[Today a pigeon landed on our island. ]] ..
437-[[It brought a message which fills me with dark thoughts and brings back my fears.]]) .. "<br><br>" ..
438+[[It brought a message which fills me with dark thoughts and brings back my fears.]]) .. paragraphdivider() ..
439 _([[The message was addressed to me, begging me to come back to Fremil.]] ..
440 [[It says that the Empire is at war with the Barbarians. ]] ..
441 [[They were attacked from the north by the tribe that I was forbidden to attack. ]] ..
442-[[It is clear to me what I must do...]]) .. "<br><br>" ..
443+[[It is clear to me what I must do...]]) .. paragraphdivider() ..
444 _([[You have completed this mission. You may continue playing if you wish, otherwise move on to the next mission.]])),
445 }
446
447@@ -259,6 +262,6 @@
448 title =_ "Our New Tavern",
449 body= amalea(_"Amalea smiles",
450 _([[Greetings, my friend, I just visited our new tavern ‘At the palms’. ]] ..
451-[[The beer they serve is really tasty. You really should have a drink there, too.]]) .. "<br><br>" ..
452+[[The beer they serve is really tasty. You really should have a drink there, too.]]) .. paragraphdivider() ..
453 _([[It is good to see that we have now got a warmer and more familiar environment on our island. Thank you, Lutius.]])),
454 }
455
456=== modified file 'campaigns/t01.wmf/scripting/initial_messages.lua'
457--- campaigns/t01.wmf/scripting/initial_messages.lua 2014-03-25 06:18:48 +0000
458+++ campaigns/t01.wmf/scripting/initial_messages.lua 2014-04-03 12:53:25 +0000
459@@ -14,18 +14,18 @@
460 -- Briefing message
461 title = _"The Story Begins"
462 msg = thron(_"Thron sighs...",
463-_[[It’s been months, and we are still hiding where the forests are old and dark.]] .. "<br><br>" ..
464+_[[It’s been months, and we are still hiding where the forests are old and dark.]] .. paragraphdivider() ..
465 _[[My warriors hunt at day and lie awake at night – listening to the sounds of the cruel slaughter echoing from afar amongst the ancient trees.]])
466 show_story_box(title, msg)
467
468 msg =
469 thron(
470-_[[We can see the raging flames that swallow Al’thunran from here, miles away.]] .. "<br><br>" ..
471+_[[We can see the raging flames that swallow Al’thunran from here, miles away.]] .. paragraphdivider() ..
472 _[[The red lights flash in the darkness and dance to the rhythm of the war drums that haunt me even in my nightmares.]])
473 show_story_box(title, msg, al_thunran)
474
475 msg = thron(
476-_[[My father’s bones rest peacefully in the ground on which he once ended the senseless spilling of blood that had arisen amongst us. It pains me that his peace only endured for one generation.]] .. "<br><br>" ..
477+_[[My father’s bones rest peacefully in the ground on which he once ended the senseless spilling of blood that had arisen amongst us. It pains me that his peace only endured for one generation.]] .. paragraphdivider() ..
478 _[[Boldreth, my loyal companion and friend is a source of peace and comfort to me in these dark times. He keeps my spirits high and those of my warriors awake, preventing greed or despair from destroying the bonds between us as well.]])
479 show_story_box(title, msg, grave)
480
481
482=== modified file 'campaigns/t01.wmf/scripting/texts.lua'
483--- campaigns/t01.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
484+++ campaigns/t01.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
485@@ -17,11 +17,11 @@
486 title = _ "Build a lumberjack’s hut",
487 number = 2,
488 body = objective_text(_"Build a lumberjack’s hut",
489-[[• ]] .. _"Press SPACE to see where you can build. The red house symbols show you where a small building – like a lumberjack’s hut – may be built." .. "<br><br>" ..
490-[[• ]] .. _"Build a lumberjack’s hut at the red house symbol just right of your headquarters by clicking on it and selecting a lumberjack’s hut." .. "<br><br>" ..
491-[[• ]] .. _"Build a road between your headquarters and the construction site of the lumberjack’s hut." .. "<br><br>" ..
492-[[→ ]] .. _"When you place the lumberjack’s hut, a flag is created for it. You need to connect it to another flag by building a road between them. If you click on a flag and select to build a road, little symbols will appear around it to show you in which directions you can build it." .. "<br><br>" ..
493-[[→ ]] .. _"The colors of these symbols indicate how steep this part of the road will be. Green is for flat, yellow means steep and red stands for very steep. The steeper the road is, the harder it will be for your people to walk on it (and your wares will be transported more slowly)." .. "<br><br>" ..
494+[[• ]] .. _"Press SPACE to see where you can build. The red house symbols show you where a small building – like a lumberjack’s hut – may be built." .. paragraphdivider() ..
495+[[• ]] .. _"Build a lumberjack’s hut at the red house symbol just right of your headquarters by clicking on it and selecting a lumberjack’s hut." .. paragraphdivider() ..
496+[[• ]] .. _"Build a road between your headquarters and the construction site of the lumberjack’s hut." .. paragraphdivider() ..
497+[[→ ]] .. _"When you place the lumberjack’s hut, a flag is created for it. You need to connect it to another flag by building a road between them. If you click on a flag and select to build a road, little symbols will appear around it to show you in which directions you can build it." .. paragraphdivider() ..
498+[[→ ]] .. _"The colors of these symbols indicate how steep this part of the road will be. Green is for flat, yellow means steep and red stands for very steep. The steeper the road is, the harder it will be for your people to walk on it (and your wares will be transported more slowly)." .. paragraphdivider() ..
499 [[→ ]] .. "You can click on any of the symbols to build the first part of the road there. New symbols will appear to show you where the next part of the road can go, and so on. However, you can also click farther away from the flag to build several steps at once. Click on the flag at the headquarters to finish the road."
500 ),
501 }
502@@ -31,7 +31,7 @@
503 title = _ "Build a lumberjack’s hut",
504 number = 1,
505 body = objective_text(_"Build a lumberjack’s hut",
506-[[• ]] .. _"Press SPACE to see where you can build. The red house symbols show you where a small building – like a lumberjack’s hut – may be built." .. "<br><br>" ..
507+[[• ]] .. _"Press SPACE to see where you can build. The red house symbols show you where a small building – like a lumberjack’s hut – may be built." .. paragraphdivider() ..
508 [[• ]] .. _"Build a lumberjack’s hut at the red house symbol just right of your headquarters by clicking on it and selecting a lumberjack’s hut."
509 ),
510 }
511@@ -41,9 +41,9 @@
512 title = _ "Build a road to the lumberjack’s hut",
513 number = 1,
514 body = objective_text(_"Road to the lumberjack’ hut",
515-[[• ]] .. _"Build a road between your headquarters and the construction site of the lumberjack’s hut." .. "<br><br>" ..
516-[[→ ]] .. _"When you place the lumberjack’s hut, a flag is created for it. You need to connect it to another flag by building a road between them. If you click on a flag and select to build a road, little symbols will appear around it to show you in which directions you can build it." .. "<br><br>" ..
517-[[→ ]] .. _"The colors of these symbols indicate how steep this part of the road will be. Green is for flat, yellow means steep and red stands for very steep. The steeper the road is, the harder it will be for your people to walk on it (and your wares will be transported more slowly)." .. "<br><br>" ..
518+[[• ]] .. _"Build a road between your headquarters and the construction site of the lumberjack’s hut." .. paragraphdivider() ..
519+[[→ ]] .. _"When you place the lumberjack’s hut, a flag is created for it. You need to connect it to another flag by building a road between them. If you click on a flag and select to build a road, little symbols will appear around it to show you in which directions you can build it." .. paragraphdivider() ..
520+[[→ ]] .. _"The colors of these symbols indicate how steep this part of the road will be. Green is for flat, yellow means steep and red stands for very steep. The steeper the road is, the harder it will be for your people to walk on it (and your wares will be transported more slowly)." .. paragraphdivider() ..
521 [[→ ]] .. _"You can click on any of the symbols to build the first part of the road there. New symbols will appear to show you where the next part of the road can go, and so on. However, you can also click farther away from the flag to build several steps at once. Click on the flag at the headquarters to finish the road."
522 ),
523 }
524@@ -53,8 +53,8 @@
525 title = _ "Build a second lumberjack’s hut",
526 number = 2,
527 body = objective_text(_"Build a second lumberjack’s hut",
528-[[• ]] .. _"Place a flag in the middle of the road. There is a flag symbol in the middle of the road you just built. You create a flag there by clicking on the symbol and then choosing the flag button in the menu that opens up. This will divide the road the wood is transported into two parts with one carrier each." .. "<br><br>" ..
529-[[• ]] .. _"Place a lumberjack’s hut just south of the flag you just placed on the road. Connect the flag you just raised with the flag of the new lumberjack’s hut construction site afterwards. Note that instead of building a road step by step, you may also click directly at its destination to build the entire road at once." .. "<br><br>" ..
530+[[• ]] .. _"Place a flag in the middle of the road. There is a flag symbol in the middle of the road you just built. You create a flag there by clicking on the symbol and then choosing the flag button in the menu that opens up. This will divide the road the wood is transported into two parts with one carrier each." .. paragraphdivider() ..
531+[[• ]] .. _"Place a lumberjack’s hut just south of the flag you just placed on the road. Connect the flag you just raised with the flag of the new lumberjack’s hut construction site afterwards. Note that instead of building a road step by step, you may also click directly at its destination to build the entire road at once." .. paragraphdivider() ..
532 [[→ ]] .. _"When many wares are being transported between two points, additional flags in between make them arrive at their destination faster, thus improving your infrastructure."
533 ),
534 }
535@@ -64,7 +64,7 @@
536 title = _ "Build a second lumberjack’s hut",
537 number = 1,
538 body = objective_text(_"Build a second lumberjack’s hut",
539-[[• ]] .. _"Place a flag in the middle of the road. There is a flag symbol in the middle of the road you just built. You create a flag there by clicking on the symbol and then choosing the flag button in the menu that opens up. This will divide the road the wood is transported into two parts with one carrier each." .. "<br><br>" ..
540+[[• ]] .. _"Place a flag in the middle of the road. There is a flag symbol in the middle of the road you just built. You create a flag there by clicking on the symbol and then choosing the flag button in the menu that opens up. This will divide the road the wood is transported into two parts with one carrier each." .. paragraphdivider() ..
541 [[→ ]] .. _"When many wares are being transported between two points, additional flags in between make them arrive at their destination faster, thus improving your infrastructure."
542 ),
543 }
544@@ -104,7 +104,7 @@
545 _[[Hail, chieftain. I am Khantrukh and have seen many winters pass. Please allow me to aid you with my counsel through these darkened days.]])
546
547 khantrukh_2= khantrukh(_"Khantrukh continues...",
548-_[[None but the gods know how long we have to remain hidden here. The warriors hope we may march back gloriously any day now, but I strongly doubt that will happen soon. And the days are already getting shorter and colder...]] .. "<br><br>" ..
549+_[[None but the gods know how long we have to remain hidden here. The warriors hope we may march back gloriously any day now, but I strongly doubt that will happen soon. And the days are already getting shorter and colder...]] .. paragraphdivider() ..
550 _[[We should prepare, in case we have to face the winter in these harsh lands. I believe to the east of our campsite are a few places where we could raise a lumberjack’s hut.]])
551 .. new_objectives(start_lumberjack_01_01)
552
553@@ -113,8 +113,8 @@
554 .. new_objectives(start_lumberjack_01_02)
555
556 khantrukh_4 = khantrukh(_"Khantrukh remembers...",
557-_[[There is an old saying:]] .. "<br><br>" ..
558-_[[‘A burden divided is easier to endure.’]] .. "<br><br>" ..
559+_[[There is an old saying:]] .. paragraphdivider() ..
560+_[[‘A burden divided is easier to endure.’]] .. paragraphdivider() ..
561 _[[A crossroads on the road between our headquarters and the lumberjack’s hut would ease the work of our carriers.]])
562 .. new_objectives(start_lumberjack_02_01)
563
564@@ -123,13 +123,14 @@
565 .. new_objectives(start_lumberjack_02_02)
566
567 khantrukh_6 = khantrukh(_"Khantrukh nods...",
568-_[[Of course, if we intended to build a bigger settlement, many more lumberjack’s huts would be advisable, but this should suffice for now.]] .. "<br><br>" ..
569-_[[But never forget – these forests are our heritage, entrusted upon us by our ancestors. We must always respect and care for them. What we take, we must give back again.]] .. "<br><br>" ..
570+_[[Of course, if we intended to build a bigger settlement, many more lumberjack’s huts would be advisable, but this should suffice for now.]] .. paragraphdivider() ..
571+_[[But never forget – these forests are our heritage, entrusted upon us by our ancestors. We must always respect and care for them. What we take, we must give back again.]] .. paragraphdivider() ..
572 _[[So, in order to replace the trees we chop down, we should build a ranger’s hut, preferably close to the lumberjack’s hut.]])
573 .. new_objectives(start_ranger)
574
575 khantrukh_7 = khantrukh(_"The elder speaks...",
576-_[[I am well aware, chieftain, that neither you nor your warriors have the desire to stay in this forsaken place for long. But even so, our war to reconquer our home might take a long time and it would seem wise to make preparations.]] .. "<br><br>" ..
577+_[[I am well aware, chieftain, that neither you nor your warriors have the desire to stay in this forsaken place for long. But even so, our war to reconquer our home might take a long time and it would seem wise to make preparations.]]
578+.. paragraphdivider() ..
579 _[[I would advise that we obtain stones for the future – who knows what fortifications we might be forced to build very soon. And – like a gift of destiny – there are indeed great rocks just nearby...]])
580 .. new_objectives(start_quarries)
581
582@@ -144,7 +145,7 @@
583 story_msg1 = {
584 title = _"In the Night",
585 msg = thron(_"Thron says...",
586-_[[During another sleepless night, I went up to the hill and gazed towards the north. The fires are still burning, satisfying their hunger upon my father’s legacy.]] .. "<br><br>" ..
587+_[[During another sleepless night, I went up to the hill and gazed towards the north. The fires are still burning, satisfying their hunger upon my father’s legacy.]] .. paragraphdivider() ..
588 _[[They are a constant reminder of why we have to hide here... and why we must return in the end!]]),
589 field = al_thunran,
590 }
591@@ -152,7 +153,7 @@
592 story_msg2= {
593 title = _"At the Tomb",
594 msg = thron(_"Thron says...",
595-_[[Once again, I went up to my father’s tomb, in a sacred grove at the foot of the great spire of Kal’mavrath. I just stood there and felt neither the hours pass nor the cold rain pouring down from the darkened sky...]] .. "<br><br>" ..
596+_[[Once again, I went up to my father’s tomb, in a sacred grove at the foot of the great spire of Kal’mavrath. I just stood there and felt neither the hours pass nor the cold rain pouring down from the darkened sky...]] .. paragraphdivider() ..
597 _[[Somehow, it felt like a farewell. For the first time, I wondered what the future might hold for me...]]),
598 field = grave,
599 }
600@@ -160,13 +161,13 @@
601 story_msg3 = {
602 title=_ "The Other Day",
603 msg = thron(_"Thron says thoughtfully...",
604-_[[Some time ago, Boldreth came to me. His advice was to move to a place closer to home – to strike at the first sign of my brothers’ forces wavering.]] .. "<br><br>" ..
605+_[[Some time ago, Boldreth came to me. His advice was to move to a place closer to home – to strike at the first sign of my brothers’ forces wavering.]] .. paragraphdivider() ..
606 _[[But when I look over the forests I can still see black smoke rising to the sky. I know – it is too early yet, and what he hopes for will not happen any time soon. He might still be right, but I fear the bloodshed that returning too fast would cause both on our and the other side...]])
607 }
608
609 story_msg4 = {
610 title =_ "The Oath",
611 msg = thron(_"Thron looks furious...",
612-_[[Today, my warriors picked up an old man, wandering sick and wounded through the dark forest. We listened in horror as he told us of the atrocities taking place in Al’thunran.]] .. "<br><br>" ..
613+_[[Today, my warriors picked up an old man, wandering sick and wounded through the dark forest. We listened in horror as he told us of the atrocities taking place in Al’thunran.]] .. paragraphdivider() ..
614 _[[I hereby renew my oath – I will stop this madness at any cost!]])
615 }
616
617=== modified file 'campaigns/t02.wmf/scripting/mission_thread_texts.lua'
618--- campaigns/t02.wmf/scripting/mission_thread_texts.lua 2014-03-25 06:18:48 +0000
619+++ campaigns/t02.wmf/scripting/mission_thread_texts.lua 2014-04-03 12:53:25 +0000
620@@ -36,11 +36,11 @@
621 [[Build a coal mine and an iron ore mine. To do so, place a flag up on the mountain’s flank to the east ]] ..
622 [[(on mountain terrain though, not mountain meadow). When you click on the new flag, you can send geologists there. ]] ..
623 [[Because the flag is on a mountain, the geologists will search for ores; otherwise, they would search for water. ]] ..
624-[[Then build a mine for both kinds of resources that he will find, choosing the mine to be built appropriately:]]) .. "<br><br>" ..
625+[[Then build a mine for both kinds of resources that he will find, choosing the mine to be built appropriately:]]) .. paragraphdivider() ..
626 _[[Black – coal]] .. "<br>" ..
627 _[[Red – iron ore]] .. "<br>" ..
628 _[[Yellow – gold]] .. "<br>" ..
629-_[[Grey – granite]] .. "<br><br>" ..
630+_[[Grey – granite]] .. paragraphdivider() ..
631 _[[Mines can only be built on mountain terrain. Suitable places for mines are displayed as orange mine symbols.]]
632 )
633 }
634@@ -50,9 +50,9 @@
635 title=_"Provide your miners with food",
636 number = 3,
637 body= objective_text(_"Build a hunter, a gamekeeper and a tavern", _
638-[[In order to work, your miners need food.]] .. "<br><br>" ..
639+[[In order to work, your miners need food.]] .. paragraphdivider() ..
640 _([[A hunter can hunt down animals, while a gamekeeper prevents them from becoming extinct. ]] ..
641-[[The meat is then processed in a tavern into lunches for your miners.]]) .. "<br><br>" ..
642+[[The meat is then processed in a tavern into lunches for your miners.]]) .. paragraphdivider() ..
643 _([[This is only the first example of a ware which has to be refined before being used in a secondary building]] ..
644 [[ – others will follow.]])
645 )
646@@ -87,10 +87,10 @@
647 buildings respectively. Also build a micro brewery.]], _(
648 [[A normal mine can only dig up about one third of all the resources lying beneath it; ]] ..
649 [[then it must be enhanced to a deep mine in order to keep it working properly. ]] ..
650-[[To enhance a building, choose it and then click the appropriate button in the appearing window.]]) .. "<br><br>" ..
651+[[To enhance a building, choose it and then click the appropriate button in the appearing window.]]) .. paragraphdivider() ..
652 _([[Workers gain experience by successful work. With enough experience, they become more advanced workers, ]] ..
653 [[who are necessary to operate the enhanced buildings. ]] ..
654-[[Do not enhance a building before you have enough advanced workers to operate the advanced building!]]) .. "<br><br>" ..
655+[[Do not enhance a building before you have enough advanced workers to operate the advanced building!]]) .. paragraphdivider() ..
656 _([[Such buildings usually have greater demands than the basic kind of that building]] ..
657 [[ – for instance, deep mines need snacks instead of rations. ]] ..
658 [[You will have to enhance your tavern to an inn in order to produce snacks out of pitta bread AND a second kind of food]] ..
659@@ -116,7 +116,7 @@
660 number = 3,
661 body=objective_text(_"Build a lime kiln, a well and a charcoal burner or coal mine", _(
662 [[Better buildings may also require other improved materials besides blackwood. ]] ..
663-[[One of these is grout, which is produced out of raw stone, water and coal by a lime-burner.]]) .. "<br><br>" ..
664+[[One of these is grout, which is produced out of raw stone, water and coal by a lime-burner.]]) .. paragraphdivider() ..
665 _([[You can obtain water by building a well upon a water source, ]] ..
666 [[which your geologists can discover when you send them to any flag that is not on a mountain. ]] ..
667 [[Coal can be obtained by building a charcoal burner or a coal mine.]]
668@@ -140,7 +140,7 @@
669 body = objective_text(_"Build a cattle farm", _(
670 [[When roads are under heavy load for a long time, one carrier is usually not enough to transport goods swiftly. ]] ..
671 [[Traffic jams are the consequence. Such roads therefore employ a second carrier: ]] ..
672-[[An ox that helps to carry the wares. This doubles the transport capacity.]]) .. "<br><br>" ..
673+[[An ox that helps to carry the wares. This doubles the transport capacity.]]) .. paragraphdivider() ..
674 _[[Oxen are bred in cattle farms out of wheat and water.]]
675 )
676 }
677@@ -153,7 +153,7 @@
678 title =_ "The Story Continues",
679 body = thron(_"Thron is shaking his head...",
680 _([[The war goes on. More and more of our brothers and sisters flee the brutal war raging ]] ..
681-[[in the capital beneath the trees.]]) .. "<br><br>" ..
682+[[in the capital beneath the trees.]]) .. paragraphdivider() ..
683 _([[The stories they tell about the deeds of our kin are sad to hear. ]] ..
684 [[I’ve spent nights lying awake, restless, more tired than I ever believed one could be. ]] ..
685 [[Yet whenever I close my eyes, I see the fortress my father built consumed by flames. ]] ..
686@@ -169,7 +169,7 @@
687 [[when we were no more but wild beasts driven and controlled by instincts. ]] ..
688 [[None of my brothers will ever gain and hold control over the wooden throne, ]] ..
689 [[none of the tribes will be strong enough to subdue the other. T]] ..
690-[[here will be no end to this slaughter, unless... is this it? As father told me?]]) .. "<br><br>" ..
691+[[here will be no end to this slaughter, unless... is this it? As father told me?]]) .. paragraphdivider() ..
692 _([[To rise against whoever threatens our very existence, even tough it may be one of your own blood or mind?]])
693 )
694 }
695@@ -181,7 +181,7 @@
696 _([[Boldreth seems more and more torn as the days go by. ]] ..
697 [[The spirits of my fellows sink as the cold season approaches, and we are still living in no more than huts and barracks. ]] ..
698 [[I never intended to stay out here in the wilderness for so long]] ..
699-[[ – but I never thought my brothers would engage in this senseless battle for so long either.]]) .. "<br><br>" ..
700+[[ – but I never thought my brothers would engage in this senseless battle for so long either.]]) .. paragraphdivider() ..
701 _([[Perhaps it’s time to make ourselves feel a little more at ease here. ]] ..
702 [[Perhaps it’s time to give those who still live and think united a new home, ]] ..
703 [[replacing what is now lost to us? Until we can return to the place we once called our home...]])
704@@ -239,7 +239,7 @@
705 title=_"Your Loyal Companion",
706 body=boldreth(_"Boldreth exclaims...",
707 _([[Just look at that! In the east is the great mountain of Kal’mavrath! ]] ..
708-[[I wonder what treasures nature might have hidden beneath its majestic flanks!]]) .. "<br><br>" ..
709+[[I wonder what treasures nature might have hidden beneath its majestic flanks!]]) .. paragraphdivider() ..
710 _([[Let’s expand to the east. There’s a chance for the elderly to become useful once in a while! ]] ..
711 [[Let us send out some of those who understand the stone’s tongue to unravel the mountain’s secrets!]])
712 ) .. new_objectives(obj_build_mines)
713@@ -248,7 +248,7 @@
714 order_msg_7_mines_up = {
715 title=_"Your Loyal Companion",
716 body=boldreth(_"Boldreth laughs...",
717-_([[By Chat’Karuth’s beard, this is amazing! Just imagine what we can use this coal and iron ore for!]]) .. "<br><br>" ..
718+_([[By Chat’Karuth’s beard, this is amazing! Just imagine what we can use this coal and iron ore for!]]) .. paragraphdivider() ..
719 _([[It might even be enough to...]])
720 )
721 }
722@@ -266,7 +266,7 @@
723 order_msg_9_hunter = {
724 title=_"Your Loyal Companion",
725 body=boldreth(_"Boldreth nods...",
726-_([[I have to hand it to you: you are right here, old man.]]) .. "<br><br>" ..
727+_([[I have to hand it to you: you are right here, old man.]]) .. paragraphdivider() ..
728 _([[There seem to be quite a lot of animals in the forests here – we might just hunt down more of them. ]] ..
729 [[And, of course, the people would cheer a new tavern – hey, we might call it ‘Thron’s Pride’ or so if you want!]])
730 ) .. new_objectives(obj_basic_food)
731@@ -275,7 +275,7 @@
732 order_msg_10_bread = {
733 title=_"The Advisor",
734 body=khantrukh(_"The elder jumps into the air...",
735-_([[Wisdom commands to seek variety.]]) .. "<br><br>" ..
736+_([[Wisdom commands to seek variety.]]) .. paragraphdivider() ..
737 _([[North of the great mountain is a large plain – why don’t we use the space Mother Nature gave us and build a farm? ]] ..
738 [[I sure would enjoy a freshly baked pitta bread for a change...]])
739 ) .. new_objectives(obj_begin_farming)
740@@ -284,7 +284,7 @@
741 order_msg_11_basic_food_began = {
742 title=_"Your Loyal Companion",
743 body=boldreth(_"Boldreth cheers up...",
744-_([[Our hunters are out in the forests, Thron.]]) .. "<br><br>" ..
745+_([[Our hunters are out in the forests, Thron.]]) .. paragraphdivider() ..
746 _([[I promise you, before the sun sets today you will have a magnificent meal fit for the chieftain of all clans!]])
747 )
748 }
749@@ -302,7 +302,8 @@
750 body=thron(_"Thron recognizes...",
751 _([[A tavern opened for our people yesterday. While I am hardly in the mood for celebration, ]] ..
752 [[I noticed how much this tiny bit of home means to my people. ]] ..
753-[[Their songs filled the air until deep in the night, and they were in higher spirits still the day after.]]) .. "<br><br>" ..
754+[[Their songs filled the air until deep in the night, and they were in higher spirits still the day after.]])
755+.. paragraphdivider() ..
756 _([[Maybe we actually are slowly creating a place here which we can... call home.]])
757 )
758 }
759@@ -321,7 +322,7 @@
760 title=_ "The Advisor",
761 body = khantrukh(_"Khantrukh speaks...",
762 _([[Our miners are digging up less and less by the day! We have to go deeper, closer to the mountain’s core, ]] ..
763-[[if we want more of its treasures!]]) .. "<br><br>" ..
764+[[if we want more of its treasures!]]) .. paragraphdivider() ..
765 _([[Of course, it is dark and cold in such depths and only a few venture voluntarily into these places. ]] ..
766 [[We should reward this bravery with greater rations for them. And a pint of beer or two will keep their spirits high.]])
767 ) .. new_objectives(obj_enhance_buildings)
768@@ -331,7 +332,7 @@
769 title=_"Your Loyal Companion",
770 body= boldreth(_"Boldreth seems concerned...",
771 _([[As I just discovered, we are running short on blackwood! We cannot put our warriors into some crumbling huts, ]] ..
772-[[and even less so in times as dangerous as ours!]]) .. "<br><br>" ..
773+[[and even less so in times as dangerous as ours!]]) .. paragraphdivider() ..
774 _([[We need a wood hardener, and we need one now!]])
775 ) .. new_objectives(obj_better_material_1)
776 }
777@@ -340,7 +341,7 @@
778 title=_"Your Loyal Companion",
779 body= boldreth(_"Boldreth smiles...",
780 _([[Well, old friend, this should ensure that our fortifications do not break down with our foes’ first battle cry! ]] ..
781-[[Now we can expand safely!]]) .. "<br><br>" ..
782+[[Now we can expand safely!]]) .. paragraphdivider() ..
783 _([[Still, it would not hurt to accumulate some grout for our further campaign; ]] ..
784 [[thus we could, in times of need, build a fortress such as the world has never seen before!]])
785 ) .. new_objectives(obj_better_material_2)
786@@ -353,7 +354,7 @@
787 [[It is well that we can produce grout for mighty fortifications and great buildings now]] ..
788 [[ – only this does not prevent our roofs from becoming leaky! ]] ..
789 [[Maybe the young ones like spending their nights in the rain, ]] ..
790-[[but I just can’t find any sleep with these raindrops dripping on my face!]]) .. "<br><br>" ..
791+[[but I just can’t find any sleep with these raindrops dripping on my face!]]) .. paragraphdivider() ..
792 _([[Now this is a problem we should do something about!]])
793 ) .. new_objectives(obj_better_material_3)
794 }
795@@ -369,10 +370,11 @@
796 msg_mission_complete = {
797 title=_"Mission Complete",
798 body= thron(
799-_([[The other day Boldreth asked me to accompany him to the new inn. It would cheer me up, he said.]]) .. "<br><br>" ..
800+_([[The other day Boldreth asked me to accompany him to the new inn. It would cheer me up, he said.]])
801+.. paragraphdivider() ..
802 _([[When I looked around, I saw faithful faces, trusting that I could guide them through these dark days. ]] ..
803 [[Yet before I could speak any words of gratitude or encouragement, one of my warriors ran into the inn. ]] ..
804-[[He had been far out in the forest for the past days and I could see how weary he was.]]) .. "<br><br>" ..
805+[[He had been far out in the forest for the past days and I could see how weary he was.]]) .. paragraphdivider() ..
806 _([[The news he brought changed everything...]])
807 ).. objective_text(_"Victory",
808 _[[You have completed this mission. You may continue playing if you wish, otherwise move on to the next mission.]]
809@@ -384,7 +386,7 @@
810 body = khantrukh(_ "Khantrukh speaks...",
811 _([[As our realm is getting bigger and bigger, the traffic on the roads is overwhelming. ]] ..
812 [[Our poor carriers are no longer able to transport the goods as fast as we need them to. ]] ..
813-[[I suggest we give them some support by breeding oxen.]]) .. "<br><br>" ..
814+[[I suggest we give them some support by breeding oxen.]]) .. paragraphdivider() ..
815 _([[They are amazing animals: The ox is as swift as a human being while being much stronger and very frugal: ]] ..
816 [[all we need is wheat and water to breed them and they will do their work on the roads loyally and reliably.]])
817 ) .. new_objectives(obj_build_cattlefarm)
818@@ -393,7 +395,7 @@
819 msg_story_1 = {
820 title=_"One Full Moon Night",
821 body=thron(_"Thron speaks...",
822-_([[One night, when the moon shone brightly, I climbed to the peak of Kal’mavrath.]]) .. "<br><br>" ..
823+_([[One night, when the moon shone brightly, I climbed to the peak of Kal’mavrath.]]) .. paragraphdivider() ..
824 _([[When I gazed at the horizon, I still saw crimson lights flicker in the distance. ]] ..
825 [[It is incredible with how much passion my brethren fight this war. ]] ..
826 [[I fear the moment I will see Al’thunran again]] ..
827@@ -405,8 +407,9 @@
828 title= _"Another Cold Day",
829 body=thron(_"Thron looks worried...",
830 _([[The winter is upon us. Many of us are suffering from the cold, yet we must endure. ]] ..
831-[[The day we may return cannot be far anymore – it must not be far anymore.]]) .. "<br><br>" ..
832-_([[I prayed that it might get warmer again, as I prayed that the war would finally come to an end.]]) .. "<br><br>" ..
833+[[The day we may return cannot be far anymore – it must not be far anymore.]]) .. paragraphdivider() ..
834+_([[I prayed that it might get warmer again, as I prayed that the war would finally come to an end.]])
835+.. paragraphdivider() ..
836 _([[So far, it seems that neither prayer was fulfilled.]])
837 )
838 }
839@@ -414,7 +417,7 @@
840 msg_village = {
841 title=_"A friendly village has joined us!",
842 body= thron(_"Thron speaks...",
843-_([[We have found a village with friendly and productive people, impressed by our wealth, technology and strength.]]) .. "<br><br>" ..
844+_([[We have found a village with friendly and productive people, impressed by our wealth, technology and strength.]]) .. paragraphdivider() ..
845 _([[They have decided to join us!]])
846 )
847 }
848
849=== modified file 'campaigns/t03.wmf/scripting/texts.lua'
850--- campaigns/t03.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
851+++ campaigns/t03.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
852@@ -91,7 +91,7 @@
853 number = 1,
854 body = objective_text(_"Build a warehouse",
855 [[• ]] .. _"Build a warehouse to the west of the mountains." ..
856-"<br><br>" ..
857+paragraphdivider() ..
858 [[→ ]] .. _([[Warehouses are similar to your headquarters, ]] ..
859 [[with the only difference that they aren’t defended by soldiers. ]] ..
860 [[It is often wise to build a warehouse when your territory is growing ]] ..
861@@ -136,7 +136,7 @@
862 number = 2,
863 body = objective_text(_"Destroy Kalitath’s army",
864 [[• ]] .. _"Destroy Kalitath’s army and expand your territory to the east." ..
865-"<br><br>" ..
866+paragraphdivider() ..
867 [[→ ]] .. _([[To attack an enemy, you must click on the door of an adversary’s military building. ]] ..
868 [[A menu will pop up allowing you to select the number of soldiers that should attack. ]] ..
869 [[When you are ready with setting the number, click on the cross (‘Start Attack’).]])),
870@@ -160,7 +160,7 @@
871 _([[These last days, we came closer to our capital. ]] ..
872 [[Many people have already joined us on our march and set their hopes on me. ]] ..
873 [[However, I fear that we are not strong enough to take up the battle against my brothers.]]) ..
874-"<br><br>" ..
875+paragraphdivider() ..
876 _([[For now, we are resting at the borders of the old forest and preparing for the coming days.]])),
877 }
878
879@@ -236,7 +236,7 @@
880 _([[The traitor left his armies dying where they lay when he saw that he would not keep my forces back. ]] ..
881 [[Kalitath disappeared in the confusion of the war, but I don’t care now. ]] ..
882 [[Shall he flee and be forgotten for all times as a tribal leader that would not bow before the wooden throne, ]] ..
883-[[that is mine to take now.]]) .. "<br><br>" ..
884+[[that is mine to take now.]]) .. paragraphdivider() ..
885 _([[Furthermore, his flight brought us a great benefit: ]] ..
886 [[all year, Kalitath was so busy fighting that he did not even care to store enough food for all his men. ]] ..
887 [[Now that he has fled, their hunger has caused some of his younger followers to desert. ]] ..
888@@ -297,7 +297,7 @@
889 [[But Thron is not yet satisfied – and I fully understand his fears: ]] ..
890 [[the forests are deep, and the frontier to Al’thunran is near. ]] ..
891 [[I am sure that there are a thousand greater dangers out there than the unknown tracks.]]) ..
892-"<br><br>" ..
893+paragraphdivider() ..
894 _([[To overlook more of the area around our hall, we should explore further ]] ..
895 [[and set up more guards and scouts to observe the frontier ]] ..
896 [[and keep an eye on the raging wars on our doorstep. ]] ..
897@@ -353,7 +353,7 @@
898 _([[Our mining economy seems to work fine, that is already good news! ]] ..
899 [[Anyway, there are still a lot of men and women waiting in our hall to get a task, ]] ..
900 [[so they can help our soldiers to prepare for the future fights.]]) ..
901-"<br><br>" ..
902+paragraphdivider() ..
903 _([[Our geologists found a lot more deposits of iron ore, coal and even gold. ]] ..
904 [[We should enhance our current mines as soon as our miners are more experienced. ]] ..
905 [[We should build up some more mines, a bigger food infrastructure ]] ..
906@@ -370,7 +370,8 @@
907 body= thron(_"Thron looks worried...",
908 _([[My brothers and their soldiers are dead and left fire and destruction behind. ]] ..
909 [[In none of all the ruins could I find any man or woman of the normal folk, ]] ..
910-[[and so I just may hope that they fled from this cruel battleground and started a better life somewhere else.]]) .. "<br><br>" ..
911+[[and so I just may hope that they fled from this cruel battleground and started a better life somewhere else.]])
912+.. paragraphdivider() ..
913 _([[Nothing is left of that beauty I remember, only ruins remain of the old capital. ]] ..
914 [[I am sorrowful but also relieved. I never hoped to ever see Al’thunran’s old beauty again]] ..
915 [[ – it was only a few months ago that I wondered whether I would ever be able to set my feet in Al’thunran again. ]] ..
916@@ -386,11 +387,11 @@
917 title=_"Military Assault",
918 body= thron(
919 _([[So be it, the generals are out and about arranging my troops, and Boldreth himself will lead the first strike. ]] ..
920-[[I will ride by his side, to free Al’thunran of this war and return peace to our capital.]]) .. "<br><br>" ..
921+[[I will ride by his side, to free Al’thunran of this war and return peace to our capital.]]) .. paragraphdivider() ..
922 _([[When the young sun rises above the trees tomorrow morning, I will order the assault. ]] ..
923 [[By dusk, I will celebrate my victory in the wooden halls of the warlord ]] ..
924 [[and sacrifice a newborn lamb in the honor of my father, whose eyes are set upon me today.]]) ..
925-"<br><br>" ..
926+paragraphdivider() ..
927 _([[So be it!]]))
928 .. new_objectives(obj_military_assault_on_althunran),
929 }
930
931=== modified file 'maps/Plateau.wmf/scripting/texts.lua'
932--- maps/Plateau.wmf/scripting/texts.lua 2014-03-25 06:18:48 +0000
933+++ maps/Plateau.wmf/scripting/texts.lua 2014-04-03 12:53:25 +0000
934@@ -3,6 +3,7 @@
935 -- =======================================================================
936
937 include "scripting/formatting.lua"
938+include "scripting/format_scenario.lua"
939
940 -- Removes whitespace at the beginning or the end and translates
941 -- newlines into spaces.
942@@ -88,7 +89,7 @@
943 body = _msg(_"An Ancient Castle", _(
944 [[By the Gods! One of our scouts has discovered a mighty castle at the center of the old plateau. ]] ..
945 [[The castle must be quite old and seems to have been built in a foreign style. ]] ..
946-[[It’s quite obvious that this is not barbarian craft.]]) .. "<br><br>" ..
947+[[It’s quite obvious that this is not barbarian craft.]]) .. paragraphdivider() ..
948 _([[Let’s hope that Lanissa – the warlord holding sway over that castle – has not discovered our movements yet. ]] ..
949 [[Perhaps we have a chance of conquering that mighty building without a bigger fight! ]] ..
950 [[However, it is essential that we capture it. It will be the key to our reign over this island!]]),
951@@ -101,7 +102,7 @@
952 height = 300,
953 posy = 1,
954 body = _msg(_"Ancient Castle Captured", _(
955-[[Wonderful! Our troops have finally defeated Lanissa and her soldiers. The ancient castle is ours!]]) .. "<br><br>" ..
956+[[Wonderful! Our troops have finally defeated Lanissa and her soldiers. The ancient castle is ours!]]) .. paragraphdivider() ..
957 _([[It is amazing how far one can see from the highest tower of the castle. We can watch the whole island. ]] ..
958 [[So now I wonder why Lanissa did not see us and thus did not prepare. ]] ..
959 [[Be that as it may, some things will never come to the light of day. ]] ..
960@@ -136,7 +137,7 @@
961 height=300,
962 posy=1,
963 body = _msg( _"Victory!", _
964-[[Finally! The island is completely ours. Now we just have to defend it better than the warlords did.]] .. "<br><br>" ..
965+[[Finally! The island is completely ours. Now we just have to defend it better than the warlords did.]] .. paragraphdivider() ..
966 _"Congratulations! You have mastered this scenario. You may play on if you like!"
967 ),
968 }
969
970=== modified file 'scripting/format_scenario.lua'
971--- scripting/format_scenario.lua 2014-02-25 23:14:33 +0000
972+++ scripting/format_scenario.lua 2014-04-03 12:53:25 +0000
973@@ -48,6 +48,18 @@
974
975
976 -- RST
977+-- .. function:: paragraphdivider()
978+--
979+-- Closes a paragraph and opens a new paragraph. Use this when you format a string with the speech function
980+-- and need to divide the speech into multiple paragraphs.
981+--
982+-- :returns: <br></p><p font-size=8><br></p><p line-spacing=3 font-size=12>
983+function paragraphdivider()
984+ return ("<br></p><p font-size=8><br></p><p line-spacing=3 font-size=12>")
985+end
986+
987+
988+-- RST
989 -- .. function:: objective_text(heading, body)
990 --
991 -- Provides nice formatting for objective texts.

Subscribers

People subscribed via source and target branches

to status/vote changes: