File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,5 @@ let reference_year = 1740
67
67
68
68
let build_industry_mult = 40
69
69
70
+ let chance_destroy_resource = 9 (* 1 in 9 *)
71
+
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ type t =
13
13
14
14
let dirlist = [Up ; UpRight ; Right ; DownRight ; Down ; DownLeft ; Left ; UpLeft ]
15
15
let dirlist_left = [Left ; UpLeft ; Up ; UpRight ; Right ; DownRight ; Down ; DownLeft ]
16
+ let dir_array = Array. of_list dirlist
17
+
18
+ let random r = Random. pick_array dir_array r
16
19
17
20
module Infix = struct
18
21
let (<) x y = compare x y < 0
Original file line number Diff line number Diff line change 1
1
# Tasks
2
+ - Deal with region-based, duplicate tile to pixel mapping
3
+ - Check default state of development_map and block_map
2
4
- Make sure money gets deducted for new engine
3
5
- Also for new train
4
6
- Also for station, upgrade etc
You can’t perform that action at this time.
0 commit comments