Merge lp:~wl-zocker/widelands/bug571796 into lp:widelands

Proposed by wl-zocker
Status: Merged
Merged at revision: 7060
Proposed branch: lp:~wl-zocker/widelands/bug571796
Merge into: lp:widelands
Diff against target: 1436 lines (+137/-128)
56 files modified
tribes/atlanteans/bakery/conf (+1/-1)
tribes/atlanteans/burners_house/conf (+1/-1)
tribes/atlanteans/coalmine/conf (+1/-1)
tribes/atlanteans/crystalmine/conf (+3/-3)
tribes/atlanteans/goldmine/conf (+1/-1)
tribes/atlanteans/goldweaver/conf (+1/-1)
tribes/atlanteans/horsefarm/conf (+2/-1)
tribes/atlanteans/ironmine/conf (+1/-1)
tribes/atlanteans/mill/conf (+2/-2)
tribes/atlanteans/quarry/conf (+2/-2)
tribes/atlanteans/sawmill/conf (+1/-1)
tribes/atlanteans/smelting_works/conf (+2/-2)
tribes/atlanteans/smokery/conf (+2/-2)
tribes/atlanteans/toolsmithy/conf (+12/-12)
tribes/atlanteans/weaponsmithy/conf (+5/-5)
tribes/atlanteans/weaving-mill/conf (+10/-3)
tribes/barbarians/axfactory/conf (+3/-3)
tribes/barbarians/battlearena/conf (+2/-2)
tribes/barbarians/big_inn/conf (+3/-3)
tribes/barbarians/brewery/conf (+1/-1)
tribes/barbarians/burners_house/conf (+1/-1)
tribes/barbarians/cattlefarm/conf (+2/-1)
tribes/barbarians/deeper_oremine/conf (+1/-1)
tribes/barbarians/granitemine/conf (+1/-1)
tribes/barbarians/hardener/conf (+1/-1)
tribes/barbarians/helmsmithy/conf (+3/-4)
tribes/barbarians/inn/conf (+2/-2)
tribes/barbarians/lime_kiln/conf (+1/-1)
tribes/barbarians/metalworks/conf (+10/-10)
tribes/barbarians/micro-brewery/conf (+1/-1)
tribes/barbarians/quarry/conf (+2/-2)
tribes/barbarians/smelting_works/conf (+2/-2)
tribes/barbarians/tavern/conf (+1/-1)
tribes/barbarians/warmill/conf (+6/-6)
tribes/barbarians/weaving-mill/conf (+2/-1)
tribes/empire/armorsmithy/conf (+4/-5)
tribes/empire/brewery/conf (+1/-1)
tribes/empire/burners_house/conf (+1/-1)
tribes/empire/coalmine/conf (+1/-1)
tribes/empire/deep_coalmine/conf (+1/-1)
tribes/empire/deep_goldmine/conf (+1/-1)
tribes/empire/deep_oremine/conf (+1/-1)
tribes/empire/donkeyfarm/conf (+2/-1)
tribes/empire/goldmine/conf (+1/-1)
tribes/empire/inn/conf (+2/-2)
tribes/empire/mill/conf (+1/-1)
tribes/empire/oremine/conf (+1/-1)
tribes/empire/piggery/conf (+1/-1)
tribes/empire/quarry/conf (+4/-4)
tribes/empire/sawmill/conf (+1/-1)
tribes/empire/smelting_works/conf (+2/-2)
tribes/empire/stonemasons_house/conf (+1/-1)
tribes/empire/tavern/conf (+1/-1)
tribes/empire/toolsmithy/conf (+12/-12)
tribes/empire/weaponsmithy/conf (+5/-5)
tribes/empire/weaving-mill/conf (+1/-1)
To merge this branch: bzr merge lp:~wl-zocker/widelands/bug571796
Reviewer Review Type Date Requested Status
Nasenbaer Approve
SirVer Approve
Nasenbaer Pending
Review via email: mp+225387@code.launchpad.net

Description of the change

Changed ordering in conf files (now sleep comes before consume) to avoid fast dropping of productivity (see bug 571796). The productivity of quarries drops fast on purpose.

To post a comment you must log in.
Revision history for this message
SirVer (sirver) wrote :

looks good in general. One thing to investigate.

review: Needs Information
Revision history for this message
wl-zocker (wl-zocker) :
Revision history for this message
TiborB (tiborb95) wrote :
Download full text (37.0 KiB)

Hi,

this might interfere with AI and the way how it calculates production
statistics. Of course this does not mean I am against it.

I dont understand the logic of the changes, but a question: when the
production is skipped, will the time of this step change? Very roughly if
production is successful or failed - both operations last like 30 seconds,
but skipping lasts only 2 seconds.
I introduced own statistics (very simple and not much accurate) but the one
that considers this skipped time. Or will official statistics (as shown on
buildings) reflects also this "skipped" time?

Tibor

2014-07-02 21:42 GMT+02:00 wl-zocker <email address hidden>:

> wl-zocker has proposed merging lp:~wl-zocker/widelands/bug571796 into
> lp:widelands.
>
> Requested reviews:
> Widelands Developers (widelands-dev)
> Related bugs:
> Bug #571796 in widelands: "Stop the rounding to full 10ths for
> productivity percentages"
> https://bugs.launchpad.net/widelands/+bug/571796
>
> For more details, see:
> https://code.launchpad.net/~wl-zocker/widelands/bug571796/+merge/225387
>
> Changed ordering in conf files (now sleep comes before consume) to avoid
> fast dropping of productivity (see bug 571796). The productivity of
> quarries drops fast on purpose.
> --
> https://code.launchpad.net/~wl-zocker/widelands/bug571796/+merge/225387
> Your team Widelands Developers is requested to review the proposed merge
> of lp:~wl-zocker/widelands/bug571796 into lp:widelands.
>
> === modified file 'tribes/atlanteans/bakery/conf'
> --- tribes/atlanteans/bakery/conf 2014-03-17 17:23:26 +0000
> +++ tribes/atlanteans/bakery/conf 2014-07-02 19:42:10 +0000
> @@ -26,8 +26,8 @@
>
> [work]
> return=skipped unless economy needs bread
> +sleep=35000
> consume=water:2 blackrootflour cornflour
> -sleep=35000
> animate=working 30000
> produce=bread:2
>
>
> === modified file 'tribes/atlanteans/burners_house/conf'
> --- tribes/atlanteans/burners_house/conf 2014-03-17 17:23:26 +0000
> +++ tribes/atlanteans/burners_house/conf 2014-07-02 19:42:10 +0000
> @@ -24,8 +24,8 @@
>
> [work]
> return=skipped unless economy needs coal or not economy needs log
> +sleep=30000
> consume=log:6
> -sleep=30000
> animate=working 90000 # charcoal fires are burning some days in real life
> produce=coal
>
>
> === modified file 'tribes/atlanteans/coalmine/conf'
> --- tribes/atlanteans/coalmine/conf 2014-04-13 19:23:43 +0000
> +++ tribes/atlanteans/coalmine/conf 2014-07-02 19:42:10 +0000
> @@ -27,8 +27,8 @@
> [work]
> return=skipped unless economy needs coal or not economy needs bread
> return=skipped unless economy needs coal or not economy needs smoked_fish
> +sleep=45000
> consume=smoked_fish,smoked_meat:2 bread:2
> -sleep=45000
> animate=working 20000
> mine=coal 4 100 5 2
> produce=coal:2
>
> === modified file 'tribes/atlanteans/crystalmine/conf'
> --- tribes/atlanteans/crystalmine/conf 2014-06-14 14:20:22 +0000
> +++ tribes/atlanteans/crystalmine/conf 2014-07-02 19:42:10 +0000
> @@ -32,8 +32,8 @@
> [mine_stone]
> return=skipped unless economy needs stone or not economy needs bread
> return=skipped unless economy needs stone or not economy needs smoked_fis...

Revision history for this message
wl-zocker (wl-zocker) wrote :

I am not sure if I can answer your questions completely because I am not familiar with the code (I only changed the conf files), but I will try:
Skipping and the check if the wares needed are present needs no time (theoretically, in practice, they need about 0.1 seconds together). This has been the problem when a building had no input: It checked every 0.1 seconds if the wares are present. Of course they could not be delivered that fast, so the productivity dropped from 100% to 0% in 20 (because each checks lowers it by 5% -> 20 checks needed) * 0.1 s = 2 s. Since raising takes some time (the building does not get to 100% immediately, but rather slow to indicate that is has just started working again), this model is no also introduced for dropping productivity by moving the sleep before the consume. The building checks now every e.g. 35 s (time of sleep from the Atlantean bakery) if the wares are present, therefore it takes 20 * 35 s = 11 min 40 s until the productivity reaches 0%. This is mainly to indicate for the player that the problem the building has is not (yet) permanent, but has just started, and to avoid fast changes in the statistic (which make little sense).
The time to produce a ware (productivity raises by 5%) is sleep + animate, the time for failing (productivity drops by 5%) is only the sleep time. When the sum is kept constant, the sleep time can be varied in order to adapt the drop velocity.
As I wrote above, the skipping happens infinitely fast (therefore I do not know what your AI calculates). In his diff comment, SirVer mentioned that this might be a problem, so maybe I have to change it. Skipping would then in fact need a certain time.

Revision history for this message
SirVer (sirver) wrote :

I checked now. After return each site sleeps for 50 ms before acting again - only trainingsites set this arbitrarily to 60000 ms. 50ms is a pretty busy loop, though not dramatic for CPU even on big maps. Still, I think this distinction in the code should be removed and the wait should be done in the conf files alone and before checking for the need.

Agreed?

Revision history for this message
wl-zocker (wl-zocker) wrote :

So I just add a sleep=50 before anything else without changing any other values? I will do that then.
I think it is better to have it in the conf files than in the code. It is the place where I expect it.

Do you know anything about line 632 in the diff (see my inline comment)? Keep, remove, or add to the indiviual programs?

Revision history for this message
SirVer (sirver) wrote :

No, not 50. The sleeptime of the program. Essentially, kill the busy wait.

review: Needs Fixing
Revision history for this message
wl-zocker (wl-zocker) wrote :

Fine. What shall I do with buildings with multiple outputs? Nasenbaer wrote: "so skip should be before sleep so e.g. the smiths don't sleep only because no hamer is needed - the damn worker should produce shovels, so no reason to go to sleep ;)."

Revision history for this message
SirVer (sirver) wrote :

mmh... good question. I think nasenbaer is right there. They have to skip and then sleep.

Revision history for this message
wl-zocker (wl-zocker) wrote :

I hope everything is fine now. Buildings with multiple outputs (including training sites) still have busy waiting, the others not.

Revision history for this message
SirVer (sirver) wrote :

Looks good to me. Nasenbaer, you have more experience tweaking these values. Can you have a quick look? I'll go ahead and merge in a couple of days if you do not object.

review: Approve
Revision history for this message
Nasenbaer (nasenbaer) wrote :

Looks perfectly fine for me. The changes are cosmetical changes anyway - in the way that the visual part is changed - but the time used for the production of a ware is kept the same.

Therefore I vote for direct merging.

review: Approve
Revision history for this message
SirVer (sirver) wrote :

I merged this now, I guess it needs a bunch of test playing to see if it has other problems that we did not anticipate.

wl-zocker, you are not yet in txts/developers [1]. What should I put there for you?

[1] https://wl.widelands.org/developers/

Revision history for this message
SirVer (sirver) wrote :

Oh, and I forgot the most important thing: Thanks for looking into this issue!

Revision history for this message
wl-zocker (wl-zocker) wrote :

No problem. When I find another thing that annoys me and that can be fixed in the conf files, I will do it (this is currently the only way I can contribute to Widelands, except for writing bug reports).
Regarding the list of developers: I would appreciate to stay anonymous if that is fine (so just "wl-zocker")

Revision history for this message
SirVer (sirver) wrote :

Sure.

There is one more thing that would be useful and can fixed with mostly (or maybe even only conf file) changes: terrain affinity for tribe immovables. Maybe you want to work on those?

https://bugs.launchpad.net/widelands/+bug/1338204

I can contribute the c++ changes should any be needed.

On 07.07.2014, at 18:39, wl-zocker <email address hidden> wrote:

> No problem. When I find another thing that annoys me and that can be fixed in the conf files, I will do it (this is currently the only way I can contribute to Widelands, except for writing bug reports).
> Regarding the list of developers: I would appreciate to stay anonymous if that is fine (so just "wl-zocker")
> --
> https://code.launchpad.net/~wl-zocker/widelands/bug571796/+merge/225387
> You are reviewing the proposed merge of lp:~wl-zocker/widelands/bug571796 into lp:widelands.

Revision history for this message
wl-zocker (wl-zocker) wrote :

I think I am not going to have the time to do that. It looks like a lot of work (searching values and testing them). And I do not know how to judge if my work is good. Maybe I will look at it (this may take some months so others can take the task), but I am not going to make any promises.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tribes/atlanteans/bakery/conf'
2--- tribes/atlanteans/bakery/conf 2014-03-17 17:23:26 +0000
3+++ tribes/atlanteans/bakery/conf 2014-07-05 15:25:17 +0000
4@@ -25,9 +25,9 @@
5 work=_Work
6
7 [work]
8+sleep=35000
9 return=skipped unless economy needs bread
10 consume=water:2 blackrootflour cornflour
11-sleep=35000
12 animate=working 30000
13 produce=bread:2
14
15
16=== modified file 'tribes/atlanteans/burners_house/conf'
17--- tribes/atlanteans/burners_house/conf 2014-03-17 17:23:26 +0000
18+++ tribes/atlanteans/burners_house/conf 2014-07-05 15:25:17 +0000
19@@ -23,9 +23,9 @@
20 work=_Work
21
22 [work]
23+sleep=30000
24 return=skipped unless economy needs coal or not economy needs log
25 consume=log:6
26-sleep=30000
27 animate=working 90000 # charcoal fires are burning some days in real life
28 produce=coal
29
30
31=== modified file 'tribes/atlanteans/coalmine/conf'
32--- tribes/atlanteans/coalmine/conf 2014-04-13 19:23:43 +0000
33+++ tribes/atlanteans/coalmine/conf 2014-07-05 15:25:17 +0000
34@@ -25,10 +25,10 @@
35 work=_Work
36
37 [work]
38+sleep=45000
39 return=skipped unless economy needs coal or not economy needs bread
40 return=skipped unless economy needs coal or not economy needs smoked_fish
41 consume=smoked_fish,smoked_meat:2 bread:2
42-sleep=45000
43 animate=working 20000
44 mine=coal 4 100 5 2
45 produce=coal:2
46
47=== modified file 'tribes/atlanteans/crystalmine/conf'
48--- tribes/atlanteans/crystalmine/conf 2014-06-14 14:20:22 +0000
49+++ tribes/atlanteans/crystalmine/conf 2014-07-05 15:25:17 +0000
50@@ -32,8 +32,8 @@
51 [mine_stone]
52 return=skipped unless economy needs stone or not economy needs bread
53 return=skipped unless economy needs stone or not economy needs smoked_fish
54+sleep=45000
55 consume=smoked_fish,smoked_meat:2 bread:2
56-sleep=45000
57 animate=working 20000
58 mine=granite 4 100 5 2
59 produce=stone:2
60@@ -50,8 +50,8 @@
61 [mine_quartz]
62 return=skipped unless economy needs quartz or not economy needs bread
63 return=skipped unless economy needs quartz or not economy needs smoked_fish
64+sleep=45000
65 consume=smoked_fish,smoked_meat:2 bread:2
66-sleep=45000
67 animate=working 20000
68 mine=granite 4 100 5 2
69 produce=stone:2
70@@ -65,8 +65,8 @@
71 [mine_diamond]
72 return=skipped unless economy needs diamond or not economy needs bread
73 return=skipped unless economy needs diamond or not economy needs smoked_fish
74+sleep=45000
75 consume=smoked_fish,smoked_meat:2 bread:2
76-sleep=45000
77 animate=working 20000
78 mine=granite 4 100 5 2
79 produce=diamond
80
81=== modified file 'tribes/atlanteans/goldmine/conf'
82--- tribes/atlanteans/goldmine/conf 2014-04-13 19:23:43 +0000
83+++ tribes/atlanteans/goldmine/conf 2014-07-05 15:25:17 +0000
84@@ -26,10 +26,10 @@
85 work=_Work
86
87 [work]
88+sleep=45000
89 return=skipped unless economy needs goldore or not economy needs bread
90 return=skipped unless economy needs goldore or not economy needs smoked_fish
91 consume=smoked_fish,smoked_meat:2 bread:2
92-sleep=45000
93 animate=working 20000
94 mine=gold 4 100 5 2
95 produce=goldore
96
97=== modified file 'tribes/atlanteans/goldweaver/conf'
98--- tribes/atlanteans/goldweaver/conf 2014-03-17 17:23:26 +0000
99+++ tribes/atlanteans/goldweaver/conf 2014-07-05 15:25:17 +0000
100@@ -23,9 +23,9 @@
101 work=_Work
102
103 [work]
104+sleep=15000
105 return=skipped unless economy needs goldyarn
106 consume=gold
107-sleep=15000
108 animate=working 25000
109 produce=goldyarn
110
111
112=== modified file 'tribes/atlanteans/horsefarm/conf'
113--- tribes/atlanteans/horsefarm/conf 2014-03-17 17:23:26 +0000
114+++ tribes/atlanteans/horsefarm/conf 2014-07-05 15:25:17 +0000
115@@ -25,11 +25,12 @@
116 work=_Work
117
118 [work]
119+sleep=15000
120 return=skipped unless economy needs horse or not economy needs water
121 return=skipped unless economy needs horse or not economy needs corn
122 consume=corn water
123 playFX=../../../sound/farm/horse 192
124-animate=working 30000 # feeding cute little foals ;)
125+animate=working 15000 # feeding cute little foals ;)
126 recruit=horse
127
128 [idle]
129
130=== modified file 'tribes/atlanteans/ironmine/conf'
131--- tribes/atlanteans/ironmine/conf 2014-04-13 19:23:43 +0000
132+++ tribes/atlanteans/ironmine/conf 2014-07-05 15:25:17 +0000
133@@ -26,10 +26,10 @@
134 work=_Work
135
136 [work]
137+sleep=45000
138 return=skipped unless economy needs ironore or not economy needs bread
139 return=skipped unless economy needs ironore or not economy needs smoked_fish
140 consume=smoked_fish,smoked_meat:2 bread:2
141-sleep=45000
142 animate=working 20000
143 mine=iron 4 100 5 2
144 produce=ironore
145
146=== modified file 'tribes/atlanteans/mill/conf'
147--- tribes/atlanteans/mill/conf 2014-03-17 17:23:26 +0000
148+++ tribes/atlanteans/mill/conf 2014-07-05 15:25:17 +0000
149@@ -30,15 +30,15 @@
150 [produce_cornflour]
151 return=skipped when site has blackroot and economy needs blackrootflour and not economy needs cornflour
152 return=skipped unless economy needs cornflour or not economy needs corn
153+sleep=3500
154 consume=corn
155-sleep=3500
156 animate=working 15000
157 produce=cornflour
158
159 [produce_blackrootflour]
160 return=skipped when site has corn and economy needs cornflour and not economy needs blackrootflour
161+sleep=3500
162 consume=blackroot
163-sleep=3500
164 animate=working 15000
165 produce=blackrootflour
166
167
168=== modified file 'tribes/atlanteans/quarry/conf'
169--- tribes/atlanteans/quarry/conf 2014-03-17 17:23:26 +0000
170+++ tribes/atlanteans/quarry/conf 2014-07-05 15:25:17 +0000
171@@ -19,8 +19,8 @@
172 work=_Work
173
174 [work]
175-sleep=25000
176-worker=cut_stone
177+worker=cut_stone # This order is on purpose so that the productivity
178+sleep=25000 # drops fast once all stones are gone.
179
180 [idle]
181 pics=quarry_i_??.png # ???
182
183=== modified file 'tribes/atlanteans/sawmill/conf'
184--- tribes/atlanteans/sawmill/conf 2014-03-17 17:23:26 +0000
185+++ tribes/atlanteans/sawmill/conf 2014-07-05 15:25:17 +0000
186@@ -22,9 +22,9 @@
187 work=_Work
188
189 [work]
190+sleep=16500 # much faster than barbarians hardener
191 return=skipped unless economy needs planks
192 consume=log:2
193-sleep=16500 # much faster than barbarians hardener
194 playFX=../../../sound/sawmill/sawmill 192
195 animate=working 20000 # much more faster than barbarians hardener
196 produce=planks
197
198=== modified file 'tribes/atlanteans/smelting_works/conf'
199--- tribes/atlanteans/smelting_works/conf 2014-03-17 17:23:26 +0000
200+++ tribes/atlanteans/smelting_works/conf 2014-07-05 15:25:17 +0000
201@@ -29,15 +29,15 @@
202
203 [smelt_iron]
204 return=skipped unless economy needs iron
205+sleep=25000
206 consume=ironore coal
207-sleep=25000
208 animate=working 35000
209 produce=iron
210
211 [smelt_gold]
212 return=skipped unless economy needs gold
213+sleep=25000
214 consume=goldore coal
215-sleep=25000
216 animate=working 35000
217 produce=gold
218
219
220=== modified file 'tribes/atlanteans/smokery/conf'
221--- tribes/atlanteans/smokery/conf 2014-06-06 20:27:28 +0000
222+++ tribes/atlanteans/smokery/conf 2014-07-05 15:25:17 +0000
223@@ -32,15 +32,15 @@
224
225 [smoke_meat]
226 return=skipped unless economy needs smoked_meat or not economy needs log
227+sleep=30000
228 consume=meat:2 log
229-sleep=30000
230 animate=working 30000
231 produce=smoked_meat:2
232
233 [smoke_fish]
234 return=skipped unless economy needs smoked_fish or not economy needs log
235+sleep=30000
236 consume=fish:2 log
237-sleep=30000
238 animate=working 30000
239 produce=smoked_fish:2
240
241
242=== modified file 'tribes/atlanteans/toolsmithy/conf'
243--- tribes/atlanteans/toolsmithy/conf 2014-03-17 17:23:26 +0000
244+++ tribes/atlanteans/toolsmithy/conf 2014-07-05 15:25:17 +0000
245@@ -51,85 +51,85 @@
246
247 [produce_bread_paddle]
248 return=skipped unless economy needs bread_paddle
249+sleep=32000
250 consume=iron log
251-sleep=32000
252 animate=working 35000
253 produce=bread_paddle
254
255 [produce_bucket]
256 return=skipped unless economy needs bucket
257+sleep=32000
258 consume=iron log
259-sleep=32000
260 animate=working 35000
261 produce=bucket
262
263 [produce_fire_tongs]
264 return=skipped unless economy needs fire_tongs
265+sleep=32000
266 consume=iron log
267-sleep=32000
268 animate=working 35000
269 produce=fire_tongs
270
271 [produce_fishing_net]
272 return=skipped unless economy needs fishing_net
273+sleep=32000
274 consume=spidercloth:2
275-sleep=32000
276 animate=working 35000
277 produce=fishing_net
278
279 [produce_hammer]
280 return=skipped unless economy needs hammer
281+sleep=32000
282 consume=iron log
283-sleep=32000
284 animate=working 35000
285 produce=hammer
286
287 [produce_hook_pole]
288 return=skipped unless economy needs hook_pole
289+sleep=32000
290 consume=iron log
291-sleep=32000
292 animate=working 35000
293 produce=hook_pole
294
295 [produce_hunting_bow]
296 return=skipped unless economy needs hunting_bow
297+sleep=32000
298 consume=log spidercloth
299-sleep=32000
300 animate=working 35000
301 produce=hunting_bow
302
303 [produce_milking_tongs]
304 return=skipped unless economy needs milking_tongs
305+sleep=32000
306 consume=iron log
307-sleep=32000
308 animate=working 35000
309 produce=milking_tongs
310
311 [produce_pick]
312 return=skipped unless economy needs pick
313+sleep=32000
314 consume=iron log
315-sleep=32000
316 animate=working 35000
317 produce=pick
318
319 [produce_saw]
320 return=skipped unless economy needs saw
321+sleep=32000
322 consume=iron log
323-sleep=32000
324 animate=working 35000
325 produce=saw
326
327 [produce_scythe]
328 return=skipped unless economy needs scythe
329+sleep=32000
330 consume=iron log
331-sleep=32000
332 animate=working 35000
333 produce=scythe
334
335 [produce_shovel]
336 return=skipped unless economy needs shovel
337+sleep=32000
338 consume=iron log
339-sleep=32000
340 animate=working 35000
341 produce=shovel
342
343
344=== modified file 'tribes/atlanteans/weaponsmithy/conf'
345--- tribes/atlanteans/weaponsmithy/conf 2014-03-17 17:23:26 +0000
346+++ tribes/atlanteans/weaponsmithy/conf 2014-07-05 15:25:17 +0000
347@@ -39,8 +39,8 @@
348
349 [produce_light_trident]
350 return=skipped unless economy needs light_trident
351+sleep=20000
352 consume=iron planks
353-sleep=20000
354 playFX=../../../sound/smiths/smith 192
355 animate=working 30000
356 playFX=../../../sound/smiths/sharpening 192
357@@ -48,8 +48,8 @@
358
359 [produce_long_trident]
360 return=skipped unless economy needs long_trident
361+sleep=32000
362 consume=iron coal planks
363-sleep=32000
364 playFX=../../../sound/smiths/smith 192
365 animate=working 45000
366 playFX=../../../sound/smiths/sharpening 192
367@@ -57,8 +57,8 @@
368
369 [produce_steel_trident]
370 return=skipped unless economy needs steel_trident
371+sleep=32000
372 consume=iron:2 coal planks
373-sleep=32000
374 playFX=../../../sound/smiths/smith 192
375 animate=working 45000
376 playFX=../../../sound/smiths/sharpening 192
377@@ -66,8 +66,8 @@
378
379 [produce_double_trident]
380 return=skipped unless economy needs double_trident
381+sleep=32000
382 consume=iron coal:2 planks gold
383-sleep=32000
384 playFX=../../../sound/smiths/smith 192
385 animate=working 45000
386 playFX=../../../sound/smiths/sharpening 192
387@@ -75,8 +75,8 @@
388
389 [produce_heavy_double_trident]
390 return=skipped unless economy needs heavy_double_trident
391+sleep=32000
392 consume=iron:2 coal:2 planks gold
393-sleep=32000
394 playFX=../../../sound/smiths/smith 192
395 animate=working 45000
396 playFX=../../../sound/smiths/sharpening 192
397
398=== modified file 'tribes/atlanteans/weaving-mill/conf'
399--- tribes/atlanteans/weaving-mill/conf 2014-03-17 17:23:26 +0000
400+++ tribes/atlanteans/weaving-mill/conf 2014-07-05 15:25:17 +0000
401@@ -28,20 +28,23 @@
402
403 [produce_spidercloth]
404 return=skipped unless economy needs spidercloth
405+sleep=20000
406 consume=spideryarn
407-sleep=40000
408+animate=working 20000
409 produce=spidercloth
410
411 [produce_tabard]
412 return=skipped unless economy needs tabard
413+sleep=20000
414 consume=spideryarn
415-sleep=40000
416+animate=working 20000
417 produce=tabard
418
419 [produce_golden_tabard]
420 return=skipped unless economy needs golden_tabard
421+sleep=20000
422 consume=spideryarn goldyarn
423-sleep=40000
424+animate=working 20000
425 produce=golden_tabard
426
427 [work]
428@@ -53,3 +56,7 @@
429 [idle]
430 pics=weaving_mill_i_??.png # ???
431 hotspot=65 69
432+
433+[working]
434+pics=weaving_mill_i_??.png # ???
435+hotspot=65 69
436
437=== modified file 'tribes/barbarians/axfactory/conf'
438--- tribes/barbarians/axfactory/conf 2014-03-17 17:23:26 +0000
439+++ tribes/barbarians/axfactory/conf 2014-07-05 15:25:17 +0000
440@@ -36,8 +36,8 @@
441
442 [produce_ax]
443 return=skipped unless economy needs ax
444+sleep=32000
445 consume=coal iron
446-sleep=32000
447 playFX=../../../sound/smiths/smith 192
448 animate=working 25000
449 playFX=../../../sound/smiths/sharpening 192
450@@ -45,8 +45,8 @@
451
452 [produce_sharpax]
453 return=skipped unless economy needs sharpax
454+sleep=32000
455 consume=coal iron:2
456-sleep=32000
457 playFX=../../../sound/smiths/smith 192
458 animate=working 25000
459 playFX=../../../sound/smiths/sharpening 192
460@@ -54,8 +54,8 @@
461
462 [produce_broadax]
463 return=skipped unless economy needs broadax
464+sleep=32000
465 consume=coal:2 iron:2
466-sleep=32000
467 playFX=../../../sound/smiths/smith 192
468 animate=working 25000
469 playFX=../../../sound/smiths/sharpening 192
470
471=== modified file 'tribes/barbarians/battlearena/conf'
472--- tribes/barbarians/battlearena/conf 2014-03-17 17:23:26 +0000
473+++ tribes/barbarians/battlearena/conf 2014-07-05 15:25:17 +0000
474@@ -41,17 +41,17 @@
475 [upgrade_soldier_evade_0]
476 check_soldier=soldier evade 0 # Fails when aren't any soldier of level 0 evade
477 sleep=15000
478-animate=working 15000
479 check_soldier=soldier evade 0 # Because the soldier can be expulsed by the player
480 consume=pittabread fish,meat strongbeer
481+animate=working 15000
482 train=soldier evade 0 1
483
484 [upgrade_soldier_evade_1]
485 check_soldier=soldier evade 1 # Fails when aren't any soldier of level 1 evade
486 sleep=15000
487-animate=working 15000
488 check_soldier=soldier evade 1 # Because the soldier can be expulsed by the player
489 consume=pittabread:2 fish,meat strongbeer
490+animate=working 15000
491 train=soldier evade 1 2
492
493 [build]
494
495=== modified file 'tribes/barbarians/big_inn/conf'
496--- tribes/barbarians/big_inn/conf 2014-03-17 17:23:26 +0000
497+++ tribes/barbarians/big_inn/conf 2014-07-05 15:25:17 +0000
498@@ -31,20 +31,20 @@
499
500 [produce_ration]
501 return=skipped unless economy needs ration
502+sleep=33000
503 consume=fish,pittabread,meat
504-sleep=33000
505 produce=ration
506
507 [produce_snack]
508 return=skipped unless economy needs snack
509+sleep=35000
510 consume=pittabread fish,meat beer
511-sleep=35000
512 produce=snack
513
514 [produce_meal]
515 return=skipped unless economy needs meal
516+sleep=37000
517 consume=pittabread fish,meat strongbeer
518-sleep=37000
519 produce=meal
520
521 [work]
522
523=== modified file 'tribes/barbarians/brewery/conf'
524--- tribes/barbarians/brewery/conf 2014-03-17 17:23:26 +0000
525+++ tribes/barbarians/brewery/conf 2014-07-05 15:25:17 +0000
526@@ -24,10 +24,10 @@
527 work=_Work
528
529 [work]
530+sleep=30000
531 return=skipped unless economy needs strongbeer or not economy needs water
532 return=skipped unless economy needs strongbeer or not economy needs wheat
533 consume=water wheat
534-sleep=30000
535 animate=working 30000
536 produce=strongbeer
537
538
539=== modified file 'tribes/barbarians/burners_house/conf'
540--- tribes/barbarians/burners_house/conf 2014-03-17 17:23:26 +0000
541+++ tribes/barbarians/burners_house/conf 2014-07-05 15:25:17 +0000
542@@ -23,9 +23,9 @@
543 work=_Work
544
545 [work]
546+sleep=30000
547 return=skipped unless economy needs coal or not economy needs log
548 consume=log:6
549-sleep=30000
550 animate=working 90000 # charcoal fires are burning some days in real life
551 produce=coal
552
553
554=== modified file 'tribes/barbarians/cattlefarm/conf'
555--- tribes/barbarians/cattlefarm/conf 2014-03-17 17:23:26 +0000
556+++ tribes/barbarians/cattlefarm/conf 2014-07-05 15:25:17 +0000
557@@ -25,11 +25,12 @@
558 work=_Work
559
560 [work]
561+sleep=15000
562 return=skipped unless economy needs ox or not economy needs wheat
563 return=skipped unless economy needs ox or not economy needs water
564 consume=wheat water
565 playFX=../../../sound/farm/ox 192
566-animate=working 30000 # animation of feeding the cattles
567+animate=working 15000 # animation of feeding the cattles
568 recruit=ox
569
570 [idle]
571
572=== modified file 'tribes/barbarians/deeper_oremine/conf'
573--- tribes/barbarians/deeper_oremine/conf 2014-04-13 19:23:43 +0000
574+++ tribes/barbarians/deeper_oremine/conf 2014-07-05 15:25:17 +0000
575@@ -26,8 +26,8 @@
576 work=_Work
577
578 [work]
579+sleep=40000
580 consume=meal
581-sleep=40000
582 animate=working 16000
583 mine=iron 2 100 10 2
584 produce=ironore
585
586=== modified file 'tribes/barbarians/granitemine/conf'
587--- tribes/barbarians/granitemine/conf 2014-06-14 14:20:22 +0000
588+++ tribes/barbarians/granitemine/conf 2014-07-05 15:25:17 +0000
589@@ -22,8 +22,8 @@
590 work=_Work
591
592 [work]
593+sleep=20000
594 consume=ration
595-sleep=20000
596 animate=working 20000
597 mine=granite 2 100 5 17
598 produce=raw_stone:2
599
600=== modified file 'tribes/barbarians/hardener/conf'
601--- tribes/barbarians/hardener/conf 2014-03-17 17:23:26 +0000
602+++ tribes/barbarians/hardener/conf 2014-07-05 15:25:17 +0000
603@@ -22,9 +22,9 @@
604 work=_Work
605
606 [work]
607+sleep=43000
608 return=skipped unless economy needs blackwood
609 consume=log:2
610-sleep=43000
611 animate=working 24000
612 produce=blackwood
613
614
615=== modified file 'tribes/barbarians/helmsmithy/conf'
616--- tribes/barbarians/helmsmithy/conf 2014-03-17 17:23:26 +0000
617+++ tribes/barbarians/helmsmithy/conf 2014-07-05 15:25:17 +0000
618@@ -35,22 +35,22 @@
619
620 [produce_helm]
621 return=skipped unless economy needs helm
622+sleep=32000
623 consume=coal iron
624-sleep=32000
625 animate=working 35000
626 produce=helm
627
628 [produce_mask]
629 return=skipped unless economy needs mask
630+sleep=32000
631 consume=coal iron:2
632-sleep=32000
633 animate=working 45000
634 produce=mask
635
636 [produce_warhelm]
637 return=skipped unless economy needs warhelm
638+sleep=32000
639 consume=coal gold iron:2
640-sleep=32000
641 animate=working 55000
642 produce=warhelm
643
644@@ -58,7 +58,6 @@
645 call=produce_helm
646 call=produce_mask
647 call=produce_warhelm
648-sleep=20000
649 return=skipped
650
651 [idle]
652
653=== modified file 'tribes/barbarians/inn/conf'
654--- tribes/barbarians/inn/conf 2014-03-17 17:23:26 +0000
655+++ tribes/barbarians/inn/conf 2014-07-05 15:25:17 +0000
656@@ -30,15 +30,15 @@
657
658 [produce_ration]
659 return=skipped unless economy needs ration
660+sleep=14000
661 consume=fish,pittabread,meat
662-sleep=14000
663 animate=working 19000
664 produce=ration
665
666 [produce_snack]
667 return=skipped unless economy needs snack
668+sleep=15000
669 consume=pittabread fish,meat beer
670-sleep=15000
671 animate=working 20000
672 produce=snack
673
674
675=== modified file 'tribes/barbarians/lime_kiln/conf'
676--- tribes/barbarians/lime_kiln/conf 2014-03-17 17:23:26 +0000
677+++ tribes/barbarians/lime_kiln/conf 2014-07-05 15:25:17 +0000
678@@ -22,9 +22,9 @@
679 work=_Work
680
681 [work]
682+sleep=50000
683 return=skipped unless economy needs grout
684 consume=coal raw_stone:2 water:2
685-sleep=50000
686 animate=working 32000
687 produce=grout:2
688
689
690=== modified file 'tribes/barbarians/metalworks/conf'
691--- tribes/barbarians/metalworks/conf 2014-03-17 17:23:26 +0000
692+++ tribes/barbarians/metalworks/conf 2014-07-05 15:25:17 +0000
693@@ -49,80 +49,80 @@
694
695 [produce_felling_ax]
696 return=skipped unless economy needs felling_ax
697+sleep=32000
698 consume=iron log
699-sleep=32000
700 playFX=../../../sound/smiths/toolsmith 192
701 animate=working 35000
702 produce=felling_ax
703
704 [produce_bread_paddle]
705 return=skipped unless economy needs bread_paddle
706+sleep=32000
707 consume=iron log
708-sleep=32000
709 playFX=../../../sound/smiths/toolsmith 192
710 animate=working 35000
711 produce=bread_paddle
712
713 [produce_fire_tongs]
714 return=skipped unless economy needs fire_tongs
715+sleep=32000
716 consume=iron log
717-sleep=32000
718 playFX=../../../sound/smiths/toolsmith 192
719 animate=working 35000
720 produce=fire_tongs
721
722 [produce_fishing_rod]
723 return=skipped unless economy needs fishing_rod
724+sleep=32000
725 consume=iron log
726-sleep=32000
727 playFX=../../../sound/smiths/toolsmith 192
728 animate=working 35000
729 produce=fishing_rod
730
731 [produce_hammer]
732 return=skipped unless economy needs hammer
733+sleep=32000
734 consume=iron log
735-sleep=32000
736 playFX=../../../sound/smiths/toolsmith 192
737 animate=working 35000
738 produce=hammer
739
740 [produce_kitchen_tools]
741 return=skipped unless economy needs kitchen_tools
742+sleep=32000
743 consume=iron log
744-sleep=32000
745 playFX=../../../sound/smiths/toolsmith 192
746 animate=working 35000
747 produce=kitchen_tools
748
749 [produce_pick]
750 return=skipped unless economy needs pick
751+sleep=32000
752 consume=iron log
753-sleep=32000
754 playFX=../../../sound/smiths/toolsmith 192
755 animate=working 35000
756 produce=pick
757
758 [produce_scythe]
759 return=skipped unless economy needs scythe
760+sleep=32000
761 consume=iron log
762-sleep=32000
763 playFX=../../../sound/smiths/toolsmith 192
764 animate=working 35000
765 produce=scythe
766
767 [produce_shovel]
768 return=skipped unless economy needs shovel
769+sleep=32000
770 consume=iron log
771-sleep=32000
772 playFX=../../../sound/smiths/toolsmith 192
773 animate=working 35000
774 produce=shovel
775
776 [produce_hunting_spear]
777 return=skipped unless economy needs hunting_spear
778+sleep=32000
779 consume=iron log
780-sleep=32000
781 playFX=../../../sound/smiths/toolsmith 192
782 animate=working 35000
783 produce=hunting_spear
784
785=== modified file 'tribes/barbarians/micro-brewery/conf'
786--- tribes/barbarians/micro-brewery/conf 2014-03-17 17:23:26 +0000
787+++ tribes/barbarians/micro-brewery/conf 2014-07-05 15:25:17 +0000
788@@ -27,9 +27,9 @@
789 work=_Work
790
791 [work]
792+sleep=30000
793 return=skipped unless economy needs beer or workers need experience
794 consume=water wheat
795-sleep=30000
796 animate=working 30000
797 produce=beer
798
799
800=== modified file 'tribes/barbarians/quarry/conf'
801--- tribes/barbarians/quarry/conf 2014-03-15 11:29:32 +0000
802+++ tribes/barbarians/quarry/conf 2014-07-05 15:25:17 +0000
803@@ -18,8 +18,8 @@
804 work=_Work
805
806 [work]
807-sleep=25000
808-worker=cut
809+worker=cut # This order is on purpose so that the productivity
810+sleep=25000 # drops fast once all stones are gone.
811
812 [idle]
813 pics=b_quarry_i_??.png # ???
814
815=== modified file 'tribes/barbarians/smelting_works/conf'
816--- tribes/barbarians/smelting_works/conf 2014-03-17 17:23:26 +0000
817+++ tribes/barbarians/smelting_works/conf 2014-07-05 15:25:17 +0000
818@@ -32,15 +32,15 @@
819
820 [smelt_iron]
821 return=skipped unless economy needs iron
822+sleep=32000
823 consume=coal ironore
824-sleep=32000
825 animate=working 35000
826 produce=iron
827
828 [smelt_gold]
829 return=skipped unless economy needs gold
830+sleep=32000
831 consume=coal goldore
832-sleep=32000
833 animate=working 35000
834 produce=gold
835
836
837=== modified file 'tribes/barbarians/tavern/conf'
838--- tribes/barbarians/tavern/conf 2014-03-17 17:23:26 +0000
839+++ tribes/barbarians/tavern/conf 2014-07-05 15:25:17 +0000
840@@ -29,9 +29,9 @@
841 work=_Work
842
843 [produce_ration]
844+sleep=14000
845 return=skipped unless economy needs ration
846 consume=fish,pittabread,meat
847-sleep=14000
848 animate=working 19000
849 produce=ration
850
851
852=== modified file 'tribes/barbarians/warmill/conf'
853--- tribes/barbarians/warmill/conf 2014-03-17 17:23:26 +0000
854+++ tribes/barbarians/warmill/conf 2014-07-05 15:25:17 +0000
855@@ -43,8 +43,8 @@
856
857 [produce_ax]
858 return=skipped unless economy needs ax
859+sleep=32000
860 consume=coal iron
861-sleep=32000
862 playFX=../../../sound/smiths/smith 192
863 animate=working 25000
864 playFX=../../../sound/smiths/sharpening 192
865@@ -52,8 +52,8 @@
866
867 [produce_sharpax]
868 return=skipped unless economy needs sharpax
869+sleep=32000
870 consume=coal iron:2
871-sleep=32000
872 playFX=../../../sound/smiths/smith 192
873 animate=working 25000
874 playFX=../../../sound/smiths/sharpening 192
875@@ -61,8 +61,8 @@
876
877 [produce_broadax]
878 return=skipped unless economy needs broadax
879+sleep=32000
880 consume=coal:2 iron:2
881-sleep=32000
882 playFX=../../../sound/smiths/smith 192
883 animate=working 25000
884 playFX=../../../sound/smiths/sharpening 192
885@@ -70,8 +70,8 @@
886
887 [produce_bronzeax]
888 return=skipped unless economy needs bronzeax
889+sleep=32000
890 consume=coal:2 iron:2
891-sleep=32000
892 playFX=../../../sound/smiths/smith 192
893 animate=working 25000
894 playFX=../../../sound/smiths/sharpening 192
895@@ -79,8 +79,8 @@
896
897 [produce_battleax]
898 return=skipped unless economy needs battleax
899+sleep=32000
900 consume=coal gold iron:2
901-sleep=32000
902 playFX=../../../sound/smiths/smith 192
903 animate=working 25000
904 playFX=../../../sound/smiths/sharpening 192
905@@ -88,8 +88,8 @@
906
907 [produce_warriorsax]
908 return=skipped unless economy needs warriorsax
909+sleep=32000
910 consume=coal:2 gold:2 iron:2
911-sleep=32000
912 playFX=../../../sound/smiths/smith 192
913 animate=working 25000
914 playFX=../../../sound/smiths/sharpening 192
915
916=== modified file 'tribes/barbarians/weaving-mill/conf'
917--- tribes/barbarians/weaving-mill/conf 2014-03-17 17:23:26 +0000
918+++ tribes/barbarians/weaving-mill/conf 2014-07-05 15:25:17 +0000
919@@ -23,9 +23,10 @@
920 work=_Work
921
922 [work]
923+sleep=20000
924 return=skipped unless economy needs cloth or not economy needs thatchreed
925-animate=working 45000
926 consume=thatchreed
927+animate=working 25000
928 produce=cloth
929
930 [idle]
931
932=== modified file 'tribes/empire/armorsmithy/conf'
933--- tribes/empire/armorsmithy/conf 2014-03-17 17:23:26 +0000
934+++ tribes/empire/armorsmithy/conf 2014-07-05 15:25:17 +0000
935@@ -36,29 +36,29 @@
936
937 [produce_helm]
938 return=skipped unless economy needs helm
939+sleep=32000
940 consume=iron coal
941-sleep=32000
942 animate=working 35000
943 produce=helm
944
945 [produce_armor]
946 return=skipped unless economy needs armor
947+sleep=32000
948 consume=iron coal cloth
949-sleep=32000
950 animate=working 45000
951 produce=armor
952
953 [produce_chain_armor]
954 return=skipped unless economy needs chain_armor
955+sleep=32000
956 consume=iron:2 coal cloth
957-sleep=32000
958 animate=working 45000
959 produce=chain_armor
960
961 [produce_plate_armor]
962 return=skipped unless economy needs plate_armor
963+sleep=32000
964 consume=iron:2 coal:2 cloth gold
965-sleep=32000
966 animate=working 45000
967 produce=plate_armor
968
969@@ -67,7 +67,6 @@
970 call=produce_armor
971 call=produce_chain_armor
972 call=produce_plate_armor
973-sleep=20000
974 return=skipped
975
976 [unoccupied]
977
978=== modified file 'tribes/empire/brewery/conf'
979--- tribes/empire/brewery/conf 2014-03-17 17:23:26 +0000
980+++ tribes/empire/brewery/conf 2014-07-05 15:25:17 +0000
981@@ -24,10 +24,10 @@
982 work=_Work
983
984 [work]
985+sleep=30000
986 return=skipped unless economy needs beer or not economy needs water
987 return=skipped unless economy needs beer or not economy needs wheat
988 consume=water wheat
989-sleep=30000
990 animate=working 30000
991 produce=beer
992
993
994=== modified file 'tribes/empire/burners_house/conf'
995--- tribes/empire/burners_house/conf 2014-03-17 17:23:26 +0000
996+++ tribes/empire/burners_house/conf 2014-07-05 15:25:17 +0000
997@@ -24,9 +24,9 @@
998 work=_Work
999
1000 [work]
1001+sleep=30000
1002 return=skipped unless economy needs coal or not economy needs log
1003 consume=log:6
1004-sleep=30000
1005 animate=working 90000 # charcoal fires are burning some days in real life
1006 produce=coal
1007
1008
1009=== modified file 'tribes/empire/coalmine/conf'
1010--- tribes/empire/coalmine/conf 2014-04-13 19:23:43 +0000
1011+++ tribes/empire/coalmine/conf 2014-07-05 15:25:17 +0000
1012@@ -25,9 +25,9 @@
1013 work=_Work
1014
1015 [work]
1016+sleep=45000
1017 return=skipped unless economy needs coal or not economy needs ration
1018 return=skipped unless economy needs coal or not economy needs beer
1019-sleep=45000
1020 consume=beer ration
1021 animate=working 20000
1022 mine=coal 2 50 5 17
1023
1024=== modified file 'tribes/empire/deep_coalmine/conf'
1025--- tribes/empire/deep_coalmine/conf 2014-04-13 19:23:43 +0000
1026+++ tribes/empire/deep_coalmine/conf 2014-07-05 15:25:17 +0000
1027@@ -26,9 +26,9 @@
1028 work=_Work
1029
1030 [work]
1031+sleep=42000
1032 return=skipped unless economy needs coal or not economy needs meal
1033 return=skipped unless economy needs coal or not economy needs beer
1034-sleep=42000
1035 consume=beer meal
1036 animate=working 18000
1037 mine=coal 2 100 5 2
1038
1039=== modified file 'tribes/empire/deep_goldmine/conf'
1040--- tribes/empire/deep_goldmine/conf 2014-04-13 19:23:43 +0000
1041+++ tribes/empire/deep_goldmine/conf 2014-07-05 15:25:17 +0000
1042@@ -26,9 +26,9 @@
1043 work=_Work
1044
1045 [work]
1046+sleep=43000
1047 return=skipped unless economy needs goldore or not economy needs meal
1048 return=skipped unless economy needs goldore or not economy needs wine
1049-sleep=43000
1050 consume=meal wine
1051 animate=working 18000
1052 mine=gold 2 100 5 2
1053
1054=== modified file 'tribes/empire/deep_oremine/conf'
1055--- tribes/empire/deep_oremine/conf 2014-04-13 19:23:43 +0000
1056+++ tribes/empire/deep_oremine/conf 2014-07-05 15:25:17 +0000
1057@@ -26,9 +26,9 @@
1058 work=_Work
1059
1060 [work]
1061+sleep=43000
1062 return=skipped unless economy needs ironore or not economy needs meal
1063 return=skipped unless economy needs ironore or not economy needs beer
1064-sleep=43000
1065 consume=meal beer
1066 animate=working 18000
1067 mine=iron 2 100 5 2
1068
1069=== modified file 'tribes/empire/donkeyfarm/conf'
1070--- tribes/empire/donkeyfarm/conf 2014-03-17 17:23:26 +0000
1071+++ tribes/empire/donkeyfarm/conf 2014-07-05 15:25:17 +0000
1072@@ -25,11 +25,12 @@
1073 work=_Work
1074
1075 [work]
1076+sleep=15000
1077 return=skipped unless economy needs donkey or not economy needs wheat
1078 return=skipped unless economy needs donkey or not economy needs water
1079 consume=wheat water
1080 playFX=../../../sound/farm/donkey 192
1081-animate=working 30000 # feeding cute little baby donkeys ;)
1082+animate=working 15000 # feeding cute little baby donkeys ;)
1083 recruit=donkey
1084
1085 [idle]
1086
1087=== modified file 'tribes/empire/goldmine/conf'
1088--- tribes/empire/goldmine/conf 2014-04-13 19:23:43 +0000
1089+++ tribes/empire/goldmine/conf 2014-07-05 15:25:17 +0000
1090@@ -26,9 +26,9 @@
1091 work=_Work
1092
1093 [work]
1094+sleep=45000
1095 return=skipped unless economy needs goldore or not economy needs ration
1096 return=skipped unless economy needs goldore or not economy needs wine
1097-sleep=45000
1098 consume=ration wine
1099 animate=working 20000
1100 mine=gold 2 50 5 17
1101
1102=== modified file 'tribes/empire/inn/conf'
1103--- tribes/empire/inn/conf 2013-07-23 19:04:12 +0000
1104+++ tribes/empire/inn/conf 2014-07-05 15:25:17 +0000
1105@@ -28,15 +28,15 @@
1106
1107 [produce_ration]
1108 return=skipped unless economy needs ration
1109+sleep=14000
1110 consume=bread,fish,meat
1111-sleep=14000
1112 animate=working 19000
1113 produce=ration
1114
1115 [produce_meal]
1116 return=skipped unless economy needs meal
1117+sleep=15000
1118 consume=bread fish,meat
1119-sleep=15000
1120 animate=working 20000
1121 produce=meal
1122
1123
1124=== modified file 'tribes/empire/mill/conf'
1125--- tribes/empire/mill/conf 2014-03-17 17:23:26 +0000
1126+++ tribes/empire/mill/conf 2014-07-05 15:25:17 +0000
1127@@ -24,9 +24,9 @@
1128 work=_Work
1129
1130 [work]
1131+sleep=5000
1132 return=skipped unless economy needs flour or not economy needs wheat
1133 consume=wheat
1134-sleep=5000
1135 playFX=../../../sound/mill/mill_turning 240
1136 animate=working 10000
1137 produce=flour
1138
1139=== modified file 'tribes/empire/oremine/conf'
1140--- tribes/empire/oremine/conf 2014-04-13 19:23:43 +0000
1141+++ tribes/empire/oremine/conf 2014-07-05 15:25:17 +0000
1142@@ -26,9 +26,9 @@
1143 work=_Work
1144
1145 [work]
1146+sleep=45000
1147 return=skipped unless economy needs ironore or not economy needs ration
1148 return=skipped unless economy needs ironore or not economy needs beer
1149-sleep=45000
1150 consume=ration beer
1151 animate=working 20000
1152 mine=iron 2 50 5 17
1153
1154=== modified file 'tribes/empire/piggery/conf'
1155--- tribes/empire/piggery/conf 2014-03-17 17:23:26 +0000
1156+++ tribes/empire/piggery/conf 2014-07-05 15:25:17 +0000
1157@@ -25,9 +25,9 @@
1158 work=_Work
1159
1160 [work]
1161+sleep=25000
1162 return=skipped unless economy needs meat or not economy needs water
1163 return=skipped unless economy needs meat or not economy needs wheat
1164-sleep=25000
1165 consume=water wheat
1166 playFX=../../../sound/farm/farm_animal 180
1167 animate=working 30000
1168
1169=== modified file 'tribes/empire/quarry/conf'
1170--- tribes/empire/quarry/conf 2014-03-17 17:23:26 +0000
1171+++ tribes/empire/quarry/conf 2014-07-05 15:25:17 +0000
1172@@ -22,12 +22,12 @@
1173 work=_Work
1174
1175 [mine_stone]
1176-sleep=25000
1177-worker=cut_stone
1178+worker=cut_stone # This order is on purpose so that the productivity
1179+sleep=25000 # drops fast once all stones are gone.
1180
1181 [mine_marble]
1182-sleep=25000
1183-worker=cut_marble
1184+worker=cut_marble # This order is on purpose so that the productivity
1185+sleep=25000 # drops fast once all stones are gone.
1186
1187 [work]
1188 call=mine_stone
1189
1190=== modified file 'tribes/empire/sawmill/conf'
1191--- tribes/empire/sawmill/conf 2014-03-17 17:23:26 +0000
1192+++ tribes/empire/sawmill/conf 2014-07-05 15:25:17 +0000
1193@@ -23,9 +23,9 @@
1194 work=_Work
1195
1196 [work]
1197+sleep=16500 # much faster than barbarians hardener
1198 return=skipped unless economy needs wood
1199 consume=log:2
1200-sleep=16500 # much faster than barbarians hardener
1201 playFX=../../../sound/sawmill/sawmill 180
1202 animate=working 20000 # much more faster than barbarians hardener
1203 produce=wood
1204
1205=== modified file 'tribes/empire/smelting_works/conf'
1206--- tribes/empire/smelting_works/conf 2014-03-17 17:23:26 +0000
1207+++ tribes/empire/smelting_works/conf 2014-07-05 15:25:17 +0000
1208@@ -29,15 +29,15 @@
1209
1210 [smelt_iron]
1211 return=skipped unless economy needs iron
1212+sleep=25000
1213 consume=ironore coal
1214-sleep=25000
1215 animate=working 35000
1216 produce=iron
1217
1218 [smelt_gold]
1219 return=skipped unless economy needs gold
1220+sleep=25000
1221 consume=goldore coal
1222-sleep=25000
1223 animate=working 35000
1224 produce=gold
1225
1226
1227=== modified file 'tribes/empire/stonemasons_house/conf'
1228--- tribes/empire/stonemasons_house/conf 2014-03-17 17:23:26 +0000
1229+++ tribes/empire/stonemasons_house/conf 2014-07-05 15:25:17 +0000
1230@@ -24,9 +24,9 @@
1231 work=_Work
1232
1233 [work]
1234+sleep=50000
1235 return=skipped unless economy needs marblecolumn
1236 consume=marble:2
1237-sleep=50000
1238 playFX=../../../sound/stonecutting/stonemason 192
1239 animate=working 32000
1240 produce=marblecolumn
1241
1242=== modified file 'tribes/empire/tavern/conf'
1243--- tribes/empire/tavern/conf 2013-07-23 19:04:12 +0000
1244+++ tribes/empire/tavern/conf 2014-07-05 15:25:17 +0000
1245@@ -27,9 +27,9 @@
1246 work=_Work
1247
1248 [work]
1249+sleep=14000
1250 return=skipped unless economy needs ration
1251 consume=bread,fish,meat
1252-sleep=14000
1253 animate=working 19000
1254 produce=ration
1255
1256
1257=== modified file 'tribes/empire/toolsmithy/conf'
1258--- tribes/empire/toolsmithy/conf 2014-03-17 17:23:26 +0000
1259+++ tribes/empire/toolsmithy/conf 2014-07-05 15:25:17 +0000
1260@@ -50,96 +50,96 @@
1261
1262 [produce_bread_paddle]
1263 return=skipped unless economy needs bread_paddle
1264+sleep=32000
1265 consume=iron log
1266-sleep=32000
1267 playFX=../../../sound/smiths/toolsmith 192
1268 animate=working 35000
1269 produce=bread_paddle
1270
1271 [produce_fire_tongs]
1272 return=skipped unless economy needs fire_tongs
1273+sleep=32000
1274 consume=iron log
1275-sleep=32000
1276 playFX=../../../sound/smiths/toolsmith 192
1277 animate=working 35000
1278 produce=fire_tongs
1279
1280 [produce_fishing_rod]
1281 return=skipped unless economy needs fishing_rod
1282+sleep=32000
1283 consume=iron log
1284-sleep=32000
1285 playFX=../../../sound/smiths/toolsmith 192
1286 animate=working 35000
1287 produce=fishing_rod
1288
1289 [produce_hammer]
1290 return=skipped unless economy needs hammer
1291+sleep=32000
1292 consume=iron log
1293-sleep=32000
1294 playFX=../../../sound/smiths/toolsmith 192
1295 animate=working 35000
1296 produce=hammer
1297
1298 [produce_kitchen_tools]
1299 return=skipped unless economy needs kitchen_tools
1300+sleep=32000
1301 consume=iron log
1302-sleep=32000
1303 playFX=../../../sound/smiths/toolsmith 192
1304 animate=working 35000
1305 produce=kitchen_tools
1306
1307 [produce_pick]
1308 return=skipped unless economy needs pick
1309+sleep=32000
1310 consume=iron log
1311-sleep=32000
1312 playFX=../../../sound/smiths/toolsmith 192
1313 animate=working 35000
1314 produce=pick
1315
1316 [produce_scythe]
1317 return=skipped unless economy needs scythe
1318+sleep=32000
1319 consume=iron log
1320-sleep=32000
1321 playFX=../../../sound/smiths/toolsmith 192
1322 animate=working 35000
1323 produce=scythe
1324
1325 [produce_shovel]
1326 return=skipped unless economy needs shovel
1327+sleep=32000
1328 consume=iron log
1329-sleep=32000
1330 playFX=../../../sound/smiths/toolsmith 192
1331 animate=working 35000
1332 produce=shovel
1333
1334 [produce_hunting_spear]
1335 return=skipped unless economy needs hunting_spear
1336+sleep=32000
1337 consume=iron log
1338-sleep=32000
1339 playFX=../../../sound/smiths/toolsmith 192
1340 animate=working 35000
1341 produce=hunting_spear
1342
1343 [produce_basket]
1344 return=skipped unless economy needs basket
1345+sleep=32000
1346 consume=iron log
1347-sleep=32000
1348 playFX=../../../sound/smiths/toolsmith 192
1349 animate=working 35000
1350 produce=basket
1351
1352 [produce_saw]
1353 return=skipped unless economy needs saw
1354+sleep=32000
1355 consume=iron log
1356-sleep=32000
1357 playFX=../../../sound/smiths/toolsmith 192
1358 animate=working 35000
1359 produce=saw
1360
1361 [produce_ax]
1362 return=skipped unless economy needs ax
1363+sleep=32000
1364 consume=iron log
1365-sleep=32000
1366 playFX=../../../sound/smiths/toolsmith 192
1367 animate=working 35000
1368 produce=ax
1369
1370=== modified file 'tribes/empire/weaponsmithy/conf'
1371--- tribes/empire/weaponsmithy/conf 2014-03-15 11:29:32 +0000
1372+++ tribes/empire/weaponsmithy/conf 2014-07-05 15:25:17 +0000
1373@@ -39,8 +39,8 @@
1374
1375 [produce_wood_lance]
1376 return=skipped unless economy needs wood_lance
1377+sleep=20000
1378 consume=wood
1379-sleep=20000
1380 playFX=../../../sound/smiths/smith 192
1381 animate=working 30000
1382 playFX=../../../sound/smiths/sharpening 120
1383@@ -48,8 +48,8 @@
1384
1385 [produce_lance]
1386 return=skipped unless economy needs lance
1387+sleep=32000
1388 consume=coal iron wood
1389-sleep=32000
1390 playFX=../../../sound/smiths/smith 192
1391 animate=working 45000
1392 playFX=../../../sound/smiths/sharpening 120
1393@@ -57,8 +57,8 @@
1394
1395 [produce_advanced_lance]
1396 return=skipped unless economy needs advanced_lance
1397+sleep=32000
1398 consume=coal iron:2 wood
1399-sleep=32000
1400 playFX=../../../sound/smiths/smith 192
1401 animate=working 45000
1402 playFX=../../../sound/smiths/sharpening 120
1403@@ -66,8 +66,8 @@
1404
1405 [produce_heavy_lance]
1406 return=skipped unless economy needs heavy_lance
1407+sleep=32000
1408 consume=coal:2 gold iron wood
1409-sleep=32000
1410 playFX=../../../sound/smiths/smith 192
1411 animate=working 45000
1412 playFX=../../../sound/smiths/sharpening 120
1413@@ -75,8 +75,8 @@
1414
1415 [produce_war_lance]
1416 return=skipped unless economy needs war_lance
1417+sleep=32000
1418 consume=coal:2 gold iron:2 wood
1419-sleep=32000
1420 playFX=../../../sound/smiths/smith 192
1421 animate=working 45000
1422 playFX=../../../sound/smiths/sharpening 120
1423
1424=== modified file 'tribes/empire/weaving-mill/conf'
1425--- tribes/empire/weaving-mill/conf 2014-03-17 17:23:26 +0000
1426+++ tribes/empire/weaving-mill/conf 2014-07-05 15:25:17 +0000
1427@@ -20,8 +20,8 @@
1428 work=_Work
1429
1430 [work]
1431+sleep=25000 # orig 40000
1432 return=skipped unless economy needs cloth
1433-sleep=25000 # orig 40000
1434 consume=wool
1435 animate=working 15000 # unsure of balancing CW
1436 produce=cloth

Subscribers

People subscribed via source and target branches

to status/vote changes: