Merge lp:~lcsand/widelands/bug-787508 into lp:~hjd/widelands/remove-strongholds-bug-787508

Proposed by Leif Sandstede
Status: Rejected
Rejected by: Hans Joachim Desserud
Proposed branch: lp:~lcsand/widelands/bug-787508
Merge into: lp:~hjd/widelands/remove-strongholds-bug-787508
Diff against target: 117 lines (+13/-15)
6 files modified
campaigns/emp02.wmf/scripting/starting_conditions.lua (+0/-1)
campaigns/t02.wmf/scripting/mission_thread.lua (+3/-3)
campaigns/t02.wmf/scripting/mission_thread_texts.lua (+1/-1)
campaigns/t02.wmf/scripting/starting_conditions.lua (+1/-2)
campaigns/t03.wmf/scripting/mission_thread.lua (+3/-3)
campaigns/t03.wmf/scripting/starting_conditions.lua (+5/-5)
To merge this branch: bzr merge lp:~lcsand/widelands/bug-787508
Reviewer Review Type Date Requested Status
Hans Joachim Desserud Pending
Review via email: mp+62722@code.launchpad.net

Description of the change

Removed all strongholds from the campaign.

To post a comment you must log in.
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I have now played through the maps in question with your changes, and as far as I can see, they work.

Though I would like to see both in barbarian #2 and empire #2, that the stronghold is replaced with barrier rather than removed all together. This way, the players would still be able to build medium-sized military buildings, and something other than just sentries.
The AI in empire #2 didn't seem like much of a threat and rather repeating with only sentries, and a medium-sized building in barbarian #2 makes it easier to explore the entire map (hint, hint).

Nice work. :)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

This branch was merged to trunk a while back, and as such does not need to be merged with my branch. Though it is still listed among active reviews in Widelands, even though it has been resolved. I know changing status to "Rejected" is a bit misleading, but it seems to be the only status which describes "this branch was not merged into this."

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'campaigns/emp02.wmf/scripting/starting_conditions.lua'
2--- campaigns/emp02.wmf/scripting/starting_conditions.lua 2011-05-10 13:32:28 +0000
3+++ campaigns/emp02.wmf/scripting/starting_conditions.lua 2011-05-27 18:21:14 +0000
4@@ -83,7 +83,6 @@
5 "rangers_hut",
6 "sentry",
7 "lime_kiln",
8- "stronghold",
9 "tavern",
10 "well",
11 }
12
13=== modified file 'campaigns/t02.wmf/scripting/mission_thread.lua'
14--- campaigns/t02.wmf/scripting/mission_thread.lua 2011-03-19 13:40:16 +0000
15+++ campaigns/t02.wmf/scripting/mission_thread.lua 2011-05-27 18:21:14 +0000
16@@ -183,10 +183,10 @@
17 function build_materials_thread()
18 local plr = wl.Game().players[1]
19
20- -- Wait for a barrier or a sentry to be build
21+ -- Wait for a sentry to be build
22 while true do
23- local rv = plr:get_buildings{"sentry", "stronghold"}
24- if #rv.sentry + #rv.stronghold > 0 then
25+ local rv = plr:get_buildings{"sentry"}
26+ if #rv.sentry > 0 then
27 break
28 end
29 sleep(5421)
30
31=== modified file 'campaigns/t02.wmf/scripting/mission_thread_texts.lua'
32--- campaigns/t02.wmf/scripting/mission_thread_texts.lua 2010-11-15 21:23:02 +0000
33+++ campaigns/t02.wmf/scripting/mission_thread_texts.lua 2011-05-27 18:21:14 +0000
34@@ -82,7 +82,7 @@
35 name = "mission quarry",
36 title =_"Expand north-east and build a quarry",
37 body = obj_text(_"Expand north-east to the stones", _
38-[[Build military buildings (like sentries and strongholds) to expand your
39+[[Build military buildings (like sentries) to expand your
40 territory. Get to the rocks northeast from you and build a quarry there.]]
41 ),
42 }
43
44=== modified file 'campaigns/t02.wmf/scripting/starting_conditions.lua'
45--- campaigns/t02.wmf/scripting/starting_conditions.lua 2010-10-24 09:49:23 +0000
46+++ campaigns/t02.wmf/scripting/starting_conditions.lua 2011-05-27 18:21:14 +0000
47@@ -8,8 +8,7 @@
48 "lumberjacks_hut",
49 "quarry",
50 "rangers_hut",
51- "sentry",
52- "stronghold"
53+ "sentry"
54 }
55
56 -- Place hq and fill it with wares
57
58=== modified file 'campaigns/t03.wmf/scripting/mission_thread.lua'
59--- campaigns/t03.wmf/scripting/mission_thread.lua 2010-10-09 21:34:52 +0000
60+++ campaigns/t03.wmf/scripting/mission_thread.lua 2011-05-27 18:21:14 +0000
61@@ -87,7 +87,7 @@
62 send_msg(order_msg_3_explore_further)
63 o = add_obj(obj_explore_further)
64
65- p1:allow_buildings{"sentry", "stronghold", "barrier"}
66+ p1:allow_buildings{"sentry", "barrier"}
67
68 -- Wait till we see the mountain and at least one frontier
69 while true do
70@@ -265,8 +265,8 @@
71 do sleep(6834) end
72
73 prefilled_buildings(p1,
74- {"stronghold", 118, 100, soldiers =
75- {[{0,0,0,0}]=1, [{1,1,0,1}] = 1, [{0,1,0,0}] = 1}
76+ {"barrier", 118, 100, soldiers =
77+ {[{0,0,0,0}]= 1, [{1,1,0,1}] = 1, [{0,1,0,0}] = 1}
78 },
79 {"citadel", 117, 97, soldiers = {
80 [{0,0,0,0}]=3, [{1,1,0,0}]=1, [{0,0,0,1}]=2,
81
82=== modified file 'campaigns/t03.wmf/scripting/starting_conditions.lua'
83--- campaigns/t03.wmf/scripting/starting_conditions.lua 2010-11-16 16:05:08 +0000
84+++ campaigns/t03.wmf/scripting/starting_conditions.lua 2011-05-27 18:21:14 +0000
85@@ -78,11 +78,11 @@
86 {"barrier", 104, 18, soldiers = {[{0,0,0,0}]=4}},
87 {"barrier", 102, 103, soldiers = {[{0,0,0,0}]=2, [{0,1,0,1}]=1}},
88 {"barrier", 103, 96, soldiers = {[{0,0,0,0}]=3}},
89- {"stronghold", 104, 110, soldiers = {[{0,0,0,0}]=2}},
90- {"stronghold", 104, 30, soldiers = {
91+ {"barrier", 104, 110, soldiers = {[{0,0,0,0}]=2}},
92+ {"barrier", 104, 30, soldiers = {
93 [{0,1,0,1}]=1, [{1,0,0,0}]=1, [{0,0,0,0}]=1
94 }},
95- {"stronghold", 102, 90, soldiers = {[{0,0,0,0}]=1}},
96+ {"barrier", 102, 90, soldiers = {[{0,0,0,0}]=1}},
97 {"sentry", 108, 3, soldiers = {[{0,0,0,0}]=2}},
98 {"sentry", 107, 104, soldiers = {[{0,0,0,0}]=1}},
99 {"sentry", 110, 19, soldiers = {[{0,0,0,0}]=2}},
100@@ -101,7 +101,7 @@
101 {"fortress", 135, 85, soldiers = {
102 [{0,0,0,0}]=4, [{1,0,0,0}]=2, [{1,1,0,0}]=2,
103 }},
104- {"stronghold", 132, 78, soldiers = {
105+ {"barrier", 132, 78, soldiers = {
106 [{0,0,0,0}]=1, [{1,1,0,1}]=1, [{0,1,0,0}]=1,
107 }}
108 )
109@@ -125,7 +125,7 @@
110 {"donjon", 132, 7, soldiers = {
111 [{0,0,0,0}]=2, [{1,1,0,0}]=1, [{1,0,0,1}]=1,
112 }},
113- {"stronghold", 132, 3, soldiers = {
114+ {"barrier", 132, 3, soldiers = {
115 [{0,0,0,0}]=1, [{1,0,0,1}]=1, [{0,1,0,1}]=1,
116 }},
117 {"warmill", 135, 7}

Subscribers

People subscribed via source and target branches