Errata for Game Mechanics: Advanced Game Design

Chapter 6, page 108
In figure 6.2 the caption on 
the left reads "(x will initially be 8)" this should be "(x will 
initially be 12)"

Chapter 8, page 184
The second line in the script on page 184 currently reads:

"if((Property > Houses / 5) && Money > 6 + steps * 0.04)) fire(Invest)"

it should be the following:

"if((Property > Houses / 5) && (Money > 6 + steps * 0.04)) fire(Invest)"

Chapter 8, page 191
The first script on page 191 currently reads:

if(Defense <= 3 + pregen0 * 3) do(BuyD)
if(Factories <= 2 + pregen1 * 3) do(BuyF)
if(Defense > 6 + pregen2 * 3 && random < 0.2) do(Attack)
if(Resources > pregen3 * 4) do(BuyO)

it should be the following:

if(Defense <= 3 + pregen0 * 3) fire(BuyD)
if(Factories <= 2 + pregen1 * 3) fire(BuyF)
if(Defense > 6 + pregen2 * 3 && random < 0.2) fire(Attack)
if(Resources > pregen3 * 4) fire(BuyO)

Although the command "do" still works and does the same thing "fire" 
does.