File: buildtransp.g

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (77 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
;; This is a test of transport construction.

;(include "standard")
;(add aircraft acp-per-turn 0)
;(add aircraft speed 0)

(include "stdunit")
;(define plains land)

(set see-all true)

(area 30 30)

(area (terrain (by-name ".+" sea plains)
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
  "10+10.10+"
))

;; Limit to two players only.

(set sides-min 2)
(set sides-max 2)

;; Two sides, no special properties needed (?).

(side 1)

(side 2)

;;; (no player for one side?)

(infantry 6 15 1)
;(troop-transport 11 19 1)

(city 9 14 1)

;; Two bases, one for each side.

(base 5 15 1)

(base 25 15 2)

(set synthesis-methods ())

;;; This motivates the AI to go chasing after the destination.

(scorekeeper (do last-side-wins))

(add base point-value 1)