Commit 81007653 authored by Rahix's avatar Rahix 🦀

Merge 'CCL ground floor level'

See merge request !36
parents 0dd78c79 650c572c
......@@ -12,10 +12,13 @@ pub struct BottleAngelShift {
impl BottleAngelShift {
pub fn generate(rng: &mut impl rand::Rng) -> BottleAngelShift {
use rand::seq::SliceRandom;
let compatible_levels = ["assembly-hall-1.svg", "ccl-ground-level.svg"];
BottleAngelShift {
hours: rng.gen_range(1, 3),
// TODO: When there are more levels, randomly select one here.
level: "assembly-hall-1.svg".to_owned(),
level: compatible_levels.choose(rng).unwrap().to_string(),
}
}
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment