philihp / weblabora

Ora et Labora boardgame simulation library
http://kennerspiel.com
Apache License 2.0
11 stars 2 forks source link

L_1,L_2,L_3 buildings are not producing correctly in 2p short mode #111

Closed jhagen1908 closed 11 years ago

jhagen1908 commented 11 years ago

Tested with 2p France.

RED V(Gn)|B(F03,3,0)|U(F03,Pn)* RED U(LR1) GREEN U(LG3)

GREEN U(LG1, Jo)

The three U commands should have produced 1 clay, 1 coin, 2 clay but produced 0 clay, 0 coin, 1 clay instead.

philihp commented 11 years ago

Looking into this. Cut Peat and Fell Trees don't work. Has something to do with the Wheel Token returning "0" on a Take. Don't know why yet...

philihp commented 11 years ago

Wheel was missing a value, so that when you took a value and the token moved past the top of the wheel (making the transition from M to A points), it wasn't wrapping around properly. Instead of thinking the token was at the "1" point, it thought it was at the "0" point instead.

Fixed by adding the missing digit in the list of values on the arm.