veloren/world/economy_testinput2.ron
Christof Petig 6d3ea3172c separate orders by professions and everyone
cleanup and fix
strictly this population growth logic is wrong, but identical to the existing one
standardize on production, remove more dead code
fix example + rustfmt
separate csv logic from tick (intention is to move it into economy)
remove the format call from economy (inactive debugging code)
remove more formatting
rustfmt
small clippy fix
Reduce precision on output
move csv code
move rest of sim2 mod into economy (context)
remove more unused parts
keep things a bit more coherent
remove pub
make more functions and fields private
remove outdated input, fix other, print names, move output to proper abstraction
remove dead code
2022-06-07 18:30:05 +02:00

45 lines
850 B
Rust

[
(
name: "Forest Settlement",
position: (1, 1),
kind: Settlement,
neighbors: [
1,
2,
],
resources: [
(
good: Terrain(Forest),
amount: 1000,
),
],
),
(
name: "Moutain Peak",
position: (10, 10),
kind: Settlement,
neighbors: [
0,
],
resources: [
(
good: Terrain(Mountain),
amount: 1000,
),
],
),
(
name: "Farmer Village",
position: (20, 10),
kind: Settlement,
neighbors: [
0,
],
resources: [
(
good: Terrain(Grassland),
amount: 1000,
),
],
),
]