mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
6d3ea3172c
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
45 lines
850 B
Rust
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,
|
|
),
|
|
],
|
|
),
|
|
] |