Merge lp:~7010622-q-deactivatedaccount/widelands/topple-production-logic-2 into lp:widelands

Proposed by toptopple
Status: Merged
Merged at revision: 8144
Proposed branch: lp:~7010622-q-deactivatedaccount/widelands/topple-production-logic-2
Merge into: lp:widelands
Diff against target: 237 lines (+21/-21)
7 files modified
data/tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua (+1/-1)
data/tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua (+4/-4)
data/tribes/buildings/productionsites/barbarians/ax_workshop/init.lua (+2/-2)
data/tribes/buildings/productionsites/barbarians/helmsmithy/init.lua (+2/-2)
data/tribes/buildings/productionsites/barbarians/warmill/init.lua (+5/-5)
data/tribes/buildings/productionsites/empire/armorsmithy/init.lua (+3/-3)
data/tribes/buildings/productionsites/empire/weaponsmithy/init.lua (+4/-4)
To merge this branch: bzr merge lp:~7010622-q-deactivatedaccount/widelands/topple-production-logic-2
Reviewer Review Type Date Requested Status
Klaus Halfmann testing Approve
Review via email: mp+301477@code.launchpad.net

Commit message

Modified LUA scripts for weapon- and armor smithies of all races to omit all wait times for complex products if their resource constraints are not met.

Description of the change

Modified LUA scripts for weapon- and armour-smithies of all races to omit all wait times for complex products if their resource restraints are not met.

The effect of this is that all products which can be produced in a production run are produced without penalty times for products which cannot be produced due to resource shortage.

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

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1058. State: failed. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1058.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Code llooks +/- equal for all tribes, lets do some testing.

Revision history for this message
SirVer (sirver) wrote :

same as other branch: really good change, but since it affects logic and is not a targetted bug fix, it has to wait till after b19.

https://wl.widelands.org/wiki/ReleasingWidelands/

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Mhh, I have been testing this all the weekend now and found "only" that AI beat me even faster then before. Everything elese was fine for me.

SirVer is correct about that freeze. OTOH if we do not merge it in now,
it may become more difficult wit RC 20.

May the Widelands Gururs ponder abut this merege.

review: Approve (testing)
Revision history for this message
toptopple (7010622-q-deactivatedaccount) wrote :

I don't mind when this branch is merged! I don't think it can be avoided. ;)

Actually it may hold new strategic values, you can try to dedicate a building to certain product types without penalty times. E.g. Empire Armor-Smithy can be set to produce only the Helmet by switching out Cloth and Gold resource. Same holds for Weapon-Smithy and Wooden-Spear, which needs only Planks. So you can dedicate an even larger industry sections to only producing recruitment tools. Formerly this wasn't as easy. I surmise the Barbarians could get further into disadvantage because of their heavy resource consumption for the advanced weapons and armour. Some rebalancing of building times and building costs of products may be required in the aftermath of these new production logic!

Revision history for this message
SirVer (sirver) wrote :

> Actually it may hold new strategic values, you can try to dedicate a building to certain product types without penalty times.

That sounds cool, but is an even stronger argument against merging it before b19. We have a lot of experience with the balance of b19 and while not perfect, it seems to be fine for now. If we merge this, we might completely break the balance of the game which would be a problem for as long as b19 is the main release. So I think this should be first merge after b19 - which is unfortunatel a few months away still :(

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

Running 'bzr pull --overwrite' failed. Output:

bzr: ERROR: Server sent an unexpected error: ('error', 'xmlrpclib.ProtocolError', '<ProtocolError for xmlrpc.lp.internal:8097/codehosting: 504 Gateway Time-out>')
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~7010622-q/widelands/topple-production-logic-2/

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

''

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

Running 'bzr pull --overwrite' failed. Output:

bzr: ERROR: Server sent an unexpected error: ('error', 'xmlrpclib.Fault', "<Fault -1: 'OOPS-aa431c6855f2b0652a68b6c2c848699e'>")
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~7010622-q/widelands/topple-production-logic-2/

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

Running 'bzr pull --overwrite' failed. Output:

ssh_exchange_identification: Connection closed by remote host
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
ssh_exchange_identification: Connection closed by remote host
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~7010622-q/widelands/topple-production-logic-2/

Revision history for this message
bunnybot (widelandsofficial) wrote :

Bunnybot encountered an error while working on this merge proposal:

Running 'bzr pull --overwrite' failed. Output:

ssh_exchange_identification: Connection closed by remote host
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
ssh_exchange_identification: Connection closed by remote host
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~7010622-q/widelands/topple-production-logic-2/

Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 1219. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/148288911.
Appveyor build 1059. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_7010622_q_widelands_topple_production_logic_2-1059.

Revision history for this message
GunChleoc (gunchleoc) wrote :

@bunnybot merge

Revision history for this message
SirVer (sirver) wrote :

Bunnybot is offline for the day. I moved it to another computer to get around the inode starvation issue, but it is not fully operational yet.

> Am 24.10.2016 um 10:12 schrieb GunChleoc <email address hidden>:
>
> @bunnybot merge
> --
> https://code.launchpad.net/~7010622-q/widelands/topple-production-logic-2/+merge/301477
> You are subscribed to branch lp:widelands.

Revision history for this message
toptopple (7010622-q-deactivatedaccount) wrote :

So you have decided to integrate the "production-logic" changes into release 19. Very good, I don't think you will regret it. I have played it in one of my "heavy economy" save-games and it runs very nice, speeding up the relevant because needed product manufacturing. The real bottleneck of economy always tends to lie in raw resources, so the effects of these modifications must not be over-estimated! However, it is nice to see production now functions more intuitively.

To mitigate the speeding of weapon production I suggest to enlarge the production wait-times for weapons and armors. Otherwise the player may sail too easily with only one or two smithies and on top encounter continuous "out-of-resource" states on them. Therefore I suggest to extend production times for all weapons and armors by 1/3 of their current values. Then we can see how it renders. As these enhancements are now in the release, the extended production times should be, too, if possible.

If you agree I can perform the changes.

Revision history for this message
SirVer (sirver) wrote :

> So you have decided to integrate the "production-logic" changes into release 19.

No, that is a misconception. We branched b19 before this was merged, so this will be in b20 as originally planned.

> Therefore I suggest to extend production times for all weapons and armors by 1/3 of their current values.

Now is the time to play around with these balance suggestions - till b20 is still a long time to fix any undesired effects that might come with this.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua'
--- data/tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua 2015-12-11 16:54:00 +0000
+++ data/tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua 2016-07-29 11:40:20 +0000
@@ -76,8 +76,8 @@
76 descname = _"forging an advanced shield",76 descname = _"forging an advanced shield",
77 actions = {77 actions = {
78 "return=skipped unless economy needs shield_advanced",78 "return=skipped unless economy needs shield_advanced",
79 "sleep=32000",
80 "consume=iron:2 coal:2 gold",79 "consume=iron:2 coal:2 gold",
80 "sleep=32000",
81 "animate=working 45000",81 "animate=working 45000",
82 "produce=shield_advanced"82 "produce=shield_advanced"
83 }83 }
8484
=== modified file 'data/tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua'
--- data/tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua 2016-07-07 09:58:30 +0000
+++ data/tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua 2016-07-29 11:40:20 +0000
@@ -87,8 +87,8 @@
87 descname = _"forging a long trident",87 descname = _"forging a long trident",
88 actions = {88 actions = {
89 "return=skipped unless economy needs trident_long",89 "return=skipped unless economy needs trident_long",
90 "sleep=32000",
91 "consume=iron coal planks",90 "consume=iron coal planks",
91 "sleep=32000",
92 "play_sound=sound/smiths smith 192",92 "play_sound=sound/smiths smith 192",
93 "animate=working 36000",93 "animate=working 36000",
94 "play_sound=sound/smiths sharpening 120",94 "play_sound=sound/smiths sharpening 120",
@@ -101,8 +101,8 @@
101 descname = _"forging a steel trident",101 descname = _"forging a steel trident",
102 actions = {102 actions = {
103 "return=skipped unless economy needs trident_steel",103 "return=skipped unless economy needs trident_steel",
104 "sleep=32000",
105 "consume=iron:2 coal planks",104 "consume=iron:2 coal planks",
105 "sleep=32000",
106 "play_sound=sound/smiths smith 192",106 "play_sound=sound/smiths smith 192",
107 "animate=working 36000",107 "animate=working 36000",
108 "play_sound=sound/smiths sharpening 120",108 "play_sound=sound/smiths sharpening 120",
@@ -115,8 +115,8 @@
115 descname = _"forging a double trident",115 descname = _"forging a double trident",
116 actions = {116 actions = {
117 "return=skipped unless economy needs trident_double",117 "return=skipped unless economy needs trident_double",
118 "sleep=32000",
119 "consume=iron coal:2 planks gold",118 "consume=iron coal:2 planks gold",
119 "sleep=32000",
120 "play_sound=sound/smiths smith 192",120 "play_sound=sound/smiths smith 192",
121 "animate=working 36000",121 "animate=working 36000",
122 "play_sound=sound/smiths sharpening 120",122 "play_sound=sound/smiths sharpening 120",
@@ -129,8 +129,8 @@
129 descname = _"forging a heavy double trident",129 descname = _"forging a heavy double trident",
130 actions = {130 actions = {
131 "return=skipped unless economy needs trident_heavy_double",131 "return=skipped unless economy needs trident_heavy_double",
132 "sleep=32000",
133 "consume=iron:2 coal:2 planks gold",132 "consume=iron:2 coal:2 planks gold",
133 "sleep=32000",
134 "play_sound=sound/smiths smith 192",134 "play_sound=sound/smiths smith 192",
135 "animate=working 36000",135 "animate=working 36000",
136 "play_sound=sound/smiths sharpening 120",136 "play_sound=sound/smiths sharpening 120",
137137
=== modified file 'data/tribes/buildings/productionsites/barbarians/ax_workshop/init.lua'
--- data/tribes/buildings/productionsites/barbarians/ax_workshop/init.lua 2016-07-07 09:58:30 +0000
+++ data/tribes/buildings/productionsites/barbarians/ax_workshop/init.lua 2016-07-29 11:40:20 +0000
@@ -89,8 +89,8 @@
89 descname = _"forging a sharp ax",89 descname = _"forging a sharp ax",
90 actions = {90 actions = {
91 "return=skipped unless economy needs ax_sharp",91 "return=skipped unless economy needs ax_sharp",
92 "sleep=26000",
93 "consume=coal iron:2",92 "consume=coal iron:2",
93 "sleep=26000",
94 "play_sound=sound/smiths smith 192",94 "play_sound=sound/smiths smith 192",
95 "animate=working 22000",95 "animate=working 22000",
96 "play_sound=sound/smiths sharpening 120",96 "play_sound=sound/smiths sharpening 120",
@@ -103,8 +103,8 @@
103 descname = _"forging a broad ax",103 descname = _"forging a broad ax",
104 actions = {104 actions = {
105 "return=skipped unless economy needs ax_broad",105 "return=skipped unless economy needs ax_broad",
106 "sleep=26000",
107 "consume=coal:2 iron:2",106 "consume=coal:2 iron:2",
107 "sleep=26000",
108 "play_sound=sound/smiths smith 192",108 "play_sound=sound/smiths smith 192",
109 "animate=working 22000",109 "animate=working 22000",
110 "play_sound=sound/smiths sharpening 120",110 "play_sound=sound/smiths sharpening 120",
111111
=== modified file 'data/tribes/buildings/productionsites/barbarians/helmsmithy/init.lua'
--- data/tribes/buildings/productionsites/barbarians/helmsmithy/init.lua 2015-12-11 16:54:00 +0000
+++ data/tribes/buildings/productionsites/barbarians/helmsmithy/init.lua 2016-07-29 11:40:20 +0000
@@ -89,8 +89,8 @@
89 descname = _"forging a mask",89 descname = _"forging a mask",
90 actions = {90 actions = {
91 "return=skipped unless economy needs helmet_mask",91 "return=skipped unless economy needs helmet_mask",
92 "sleep=32000",
93 "consume=coal iron:2",92 "consume=coal iron:2",
93 "sleep=32000",
94 "animate=working 45000",94 "animate=working 45000",
95 "produce=helmet_mask"95 "produce=helmet_mask"
96 }96 }
@@ -100,8 +100,8 @@
100 descname = _"forging a warhelm",100 descname = _"forging a warhelm",
101 actions = {101 actions = {
102 "return=skipped unless economy needs helmet_warhelm",102 "return=skipped unless economy needs helmet_warhelm",
103 "sleep=32000",
104 "consume=coal gold iron:2",103 "consume=coal gold iron:2",
104 "sleep=32000",
105 "animate=working 55000",105 "animate=working 55000",
106 "produce=helmet_warhelm"106 "produce=helmet_warhelm"
107 }107 }
108108
=== modified file 'data/tribes/buildings/productionsites/barbarians/warmill/init.lua'
--- data/tribes/buildings/productionsites/barbarians/warmill/init.lua 2016-07-08 18:02:28 +0000
+++ data/tribes/buildings/productionsites/barbarians/warmill/init.lua 2016-07-29 11:40:20 +0000
@@ -96,8 +96,8 @@
96 descname = _"forging a sharp ax",96 descname = _"forging a sharp ax",
97 actions = {97 actions = {
98 "return=skipped unless economy needs ax_sharp",98 "return=skipped unless economy needs ax_sharp",
99 "sleep=26000",
100 "consume=coal iron:2",99 "consume=coal iron:2",
100 "sleep=26000",
101 "play_sound=sound/smiths smith 192",101 "play_sound=sound/smiths smith 192",
102 "animate=working 22000",102 "animate=working 22000",
103 "play_sound=sound/smiths sharpening 120",103 "play_sound=sound/smiths sharpening 120",
@@ -110,8 +110,8 @@
110 descname = _"forging a broad ax",110 descname = _"forging a broad ax",
111 actions = {111 actions = {
112 "return=skipped unless economy needs ax_broad",112 "return=skipped unless economy needs ax_broad",
113 "consume=coal:2 iron:2",
113 "sleep=26000",114 "sleep=26000",
114 "consume=coal:2 iron:2",
115 "play_sound=sound/smiths smith 192",115 "play_sound=sound/smiths smith 192",
116 "animate=working 22000",116 "animate=working 22000",
117 "play_sound=sound/smiths sharpening 120",117 "play_sound=sound/smiths sharpening 120",
@@ -124,8 +124,8 @@
124 descname = _"forging a bronze ax",124 descname = _"forging a bronze ax",
125 actions = {125 actions = {
126 "return=skipped unless economy needs ax_bronze",126 "return=skipped unless economy needs ax_bronze",
127 "consume=coal:2 iron:2",
127 "sleep=26000",128 "sleep=26000",
128 "consume=coal:2 iron:2",
129 "play_sound=sound/smiths smith 192",129 "play_sound=sound/smiths smith 192",
130 "animate=working 22000",130 "animate=working 22000",
131 "play_sound=sound/smiths sharpening 120",131 "play_sound=sound/smiths sharpening 120",
@@ -138,8 +138,8 @@
138 descname = _"forging a battle ax",138 descname = _"forging a battle ax",
139 actions = {139 actions = {
140 "return=skipped unless economy needs ax_battle",140 "return=skipped unless economy needs ax_battle",
141 "sleep=26000",
142 "consume=coal gold iron:2",141 "consume=coal gold iron:2",
142 "sleep=26000",
143 "play_sound=sound/smiths smith 192",143 "play_sound=sound/smiths smith 192",
144 "animate=working 22000",144 "animate=working 22000",
145 "play_sound=sound/smiths sharpening 120",145 "play_sound=sound/smiths sharpening 120",
@@ -152,8 +152,8 @@
152 descname = _"forging a warrior’s ax",152 descname = _"forging a warrior’s ax",
153 actions = {153 actions = {
154 "return=skipped unless economy needs ax_warriors",154 "return=skipped unless economy needs ax_warriors",
155 "sleep=26000",
156 "consume=coal:2 gold:2 iron:2",155 "consume=coal:2 gold:2 iron:2",
156 "sleep=26000",
157 "play_sound=sound/smiths smith 192",157 "play_sound=sound/smiths smith 192",
158 "animate=working 22000",158 "animate=working 22000",
159 "play_sound=sound/smiths sharpening 120",159 "play_sound=sound/smiths sharpening 120",
160160
=== modified file 'data/tribes/buildings/productionsites/empire/armorsmithy/init.lua'
--- data/tribes/buildings/productionsites/empire/armorsmithy/init.lua 2015-12-11 16:54:00 +0000
+++ data/tribes/buildings/productionsites/empire/armorsmithy/init.lua 2016-07-29 11:40:20 +0000
@@ -91,8 +91,8 @@
91 descname = _"forging a suit of armor",91 descname = _"forging a suit of armor",
92 actions = {92 actions = {
93 "return=skipped unless economy needs armor",93 "return=skipped unless economy needs armor",
94 "sleep=32000",
95 "consume=iron coal cloth",94 "consume=iron coal cloth",
95 "sleep=32000",
96 "animate=working 45000",96 "animate=working 45000",
97 "produce=armor"97 "produce=armor"
98 }98 }
@@ -102,8 +102,8 @@
102 descname = _"forging a suit of chain armor",102 descname = _"forging a suit of chain armor",
103 actions = {103 actions = {
104 "return=skipped unless economy needs armor_chain",104 "return=skipped unless economy needs armor_chain",
105 "sleep=32000",
106 "consume=iron:2 coal cloth",105 "consume=iron:2 coal cloth",
106 "sleep=32000",
107 "animate=working 45000",107 "animate=working 45000",
108 "produce=armor_chain"108 "produce=armor_chain"
109 }109 }
@@ -113,8 +113,8 @@
113 descname = _"forging a suit of gilded armor",113 descname = _"forging a suit of gilded armor",
114 actions = {114 actions = {
115 "return=skipped unless economy needs armor_gilded",115 "return=skipped unless economy needs armor_gilded",
116 "sleep=32000",
117 "consume=iron:2 coal:2 cloth gold",116 "consume=iron:2 coal:2 cloth gold",
117 "sleep=32000",
118 "animate=working 45000",118 "animate=working 45000",
119 "produce=armor_gilded"119 "produce=armor_gilded"
120 }120 }
121121
=== modified file 'data/tribes/buildings/productionsites/empire/weaponsmithy/init.lua'
--- data/tribes/buildings/productionsites/empire/weaponsmithy/init.lua 2016-06-17 07:41:37 +0000
+++ data/tribes/buildings/productionsites/empire/weaponsmithy/init.lua 2016-07-29 11:40:20 +0000
@@ -92,8 +92,8 @@
92 descname = _"forging a spear",92 descname = _"forging a spear",
93 actions = {93 actions = {
94 "return=skipped unless economy needs spear",94 "return=skipped unless economy needs spear",
95 "sleep=32000",
96 "consume=coal iron planks",95 "consume=coal iron planks",
96 "sleep=32000",
97 "play_sound=sound/smiths smith 192",97 "play_sound=sound/smiths smith 192",
98 "animate=working 36000",98 "animate=working 36000",
99 "play_sound=sound/smiths sharpening 120",99 "play_sound=sound/smiths sharpening 120",
@@ -106,8 +106,8 @@
106 descname = _"forging an advanced spear",106 descname = _"forging an advanced spear",
107 actions = {107 actions = {
108 "return=skipped unless economy needs spear_advanced",108 "return=skipped unless economy needs spear_advanced",
109 "sleep=32000",
110 "consume=coal iron:2 planks",109 "consume=coal iron:2 planks",
110 "sleep=32000",
111 "play_sound=sound/smiths smith 192",111 "play_sound=sound/smiths smith 192",
112 "animate=working 36000",112 "animate=working 36000",
113 "play_sound=sound/smiths sharpening 120",113 "play_sound=sound/smiths sharpening 120",
@@ -120,8 +120,8 @@
120 descname = _"forging a heavy spear",120 descname = _"forging a heavy spear",
121 actions = {121 actions = {
122 "return=skipped unless economy needs spear_heavy",122 "return=skipped unless economy needs spear_heavy",
123 "sleep=32000",
124 "consume=coal:2 gold iron planks",123 "consume=coal:2 gold iron planks",
124 "sleep=32000",
125 "play_sound=sound/smiths smith 192",125 "play_sound=sound/smiths smith 192",
126 "animate=working 36000",126 "animate=working 36000",
127 "play_sound=sound/smiths sharpening 120",127 "play_sound=sound/smiths sharpening 120",
@@ -134,8 +134,8 @@
134 descname = _"forging a war spear",134 descname = _"forging a war spear",
135 actions = {135 actions = {
136 "return=skipped unless economy needs spear_war",136 "return=skipped unless economy needs spear_war",
137 "sleep=32000",
138 "consume=coal:2 gold iron:2 planks",137 "consume=coal:2 gold iron:2 planks",
138 "sleep=32000",
139 "play_sound=sound/smiths smith 192",139 "play_sound=sound/smiths smith 192",
140 "animate=working 36000",140 "animate=working 36000",
141 "play_sound=sound/smiths sharpening 120",141 "play_sound=sound/smiths sharpening 120",

Subscribers

People subscribed via source and target branches

to status/vote changes: