Yeah, that. It should look like this: Code: #The Turk: Add Castle to indie/barb Damascus: if iGameTurn == getTurnForYear(1096): pPlot = gc.getMap().plot(22,43) if pPlot.isCity(): pCity = pPlot.getPlotCity() if pCity.getOwner() >= con.iNumPlayers: pCity.setNumRealBuilding(con.iCastle, 1) I'm guessing that this snippet of code holds a number of things that would seem puzzling to you. Take the opportunity to learn more once you actually get it to work, by asking. There is a good reason for everything going on here and there is no good reason for not understanding any of it. edit: Nice illustration, by the way! There is no real need for all the frustration though. You could learn all the basics in a matter of hours or days, if you would just commit to it. I'd help you out. In fact, the time already spent on this one task might had been enough.