1 ;; This is the game used by "make check-auto".
2 ;; In the future, individual tests within autotest probably will
3 ;; want to set up game stuff (using designer mode or something similar?),
4 ;; but for the moment this seems easier.
5 (game-module "autotest")
7 (terrain-type plains (char "+"))
11 (area (terrain (by-name "+" plains) "5+" "5+" "5+" "5+" "5+"))
13 (unit-type town (image-name "town20") (char "*"))
14 (unit-type fighter (char "f"))
15 (unit-type bomber (char "b"))
16 (unit-type infantry (char "i"))
18 (add u* acp-per-turn 1)
24 (town (fighter bomber) (10 20))
28 (table unit-size-in-terrain (u* t* 1))
30 (add bomber capacity 1)
31 (add town capacity 50)
32 (table unit-size-as-occupant
33 ;; Disable occupancy by default.
36 ((fighter bomber infantry) town 1)
39 (add u* acp-per-turn 1)