mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
display trade volume
This commit is contained in:
parent
57dafea9b4
commit
b144ed42e3
@ -635,6 +635,13 @@ mod tests {
|
||||
}
|
||||
}
|
||||
println!();
|
||||
print!(" Trade: ");
|
||||
for (g, &amt) in site.economy.active_exports.iter() {
|
||||
if amt < -0.1 || amt > 0.1 {
|
||||
print!("{:?}={:.2} ", g, amt);
|
||||
}
|
||||
}
|
||||
println!();
|
||||
// check population (shrinks if economy gets broken)
|
||||
// assert!(site.economy.pop >= env.targets[&id]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user