diff --git a/src/artifacts.rs b/src/artifacts.rs index ed260a2..7eb9a80 100644 --- a/src/artifacts.rs +++ b/src/artifacts.rs @@ -22,9 +22,11 @@ pub struct Chest { impl Chest { pub fn new(position: Position) -> Self { + let level = position.get_level(); Self { position, - gold: 10, + // TODO maybe randomize this? + gold: (level + 1) * 10, } } }