mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make randoms use green lantern.
This commit is contained in:
parent
188096a20f
commit
083a1b054f
@ -97,13 +97,16 @@ impl Entity {
|
|||||||
_ => None,
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let lantern = match rng.gen_range(0..3) {
|
let lantern = match rng.gen_range(0..4) {
|
||||||
0 => Some(comp::Item::new_from_asset_expect(
|
0 => Some(comp::Item::new_from_asset_expect(
|
||||||
"common.items.lantern.black_0",
|
"common.items.lantern.black_0",
|
||||||
)),
|
)),
|
||||||
1 => Some(comp::Item::new_from_asset_expect(
|
1 => Some(comp::Item::new_from_asset_expect(
|
||||||
"common.items.lantern.blue_0",
|
"common.items.lantern.blue_0",
|
||||||
)),
|
)),
|
||||||
|
2 => Some(comp::Item::new_from_asset_expect(
|
||||||
|
"common.items.lantern.green_0",
|
||||||
|
)),
|
||||||
_ => Some(comp::Item::new_from_asset_expect(
|
_ => Some(comp::Item::new_from_asset_expect(
|
||||||
"common.items.lantern.red_0",
|
"common.items.lantern.red_0",
|
||||||
)),
|
)),
|
||||||
|
Loading…
Reference in New Issue
Block a user