Implement Healthtech Melbs to sell trauma kits etc...

This commit is contained in:
Condorra 2023-02-22 22:27:29 +11:00
parent b878f8f95c
commit 9e754881e5
2 changed files with 39 additions and 1 deletions

View File

@ -108,6 +108,7 @@ pub enum PossessionType {
Fangs, // Default weapon for certain animals Fangs, // Default weapon for certain animals
// Real possessions from here on: // Real possessions from here on:
AntennaWhip, AntennaWhip,
MediumTraumaKit,
} }
impl Into<Item> for PossessionType { impl Into<Item> for PossessionType {
@ -226,7 +227,13 @@ pub fn possession_data() -> &'static BTreeMap<PossessionType, PossessionData> {
..Default::default() ..Default::default()
}), }),
..Default::default() ..Default::default()
}) }),
(MediumTraumaKit, PossessionData {
display: "medium trauma kit",
details: "A collection of bandages and and small gadgets that look like they could, in the right hands, make an unhealthy person healthy again. It looks like when brand new, it could be used 5 times.",
aliases: vec!("trauma"),
..Default::default()
}),
).into_iter().collect() ).into_iter().collect()
}) })
} }

View File

@ -2491,10 +2491,41 @@ pub fn room_list() -> Vec<Room> {
target: ExitTarget::UseGPS, target: ExitTarget::UseGPS,
exit_type: ExitType::Free exit_type: ExitType::Free
}, },
Exit {
direction: Direction::NORTH,
target: ExitTarget::UseGPS,
exit_type: ExitType::Free
},
), ),
should_caption: false, should_caption: false,
..Default::default() ..Default::default()
}, },
Room {
zone: "melbs",
secondary_zones: vec!(),
code: "melbs_healthtech",
name: "Healthtech",
short: ansi!("<yellow>HT<reset>"),
description: "A store full of beeping gadgets locked in glass display cabinets, all of which seem to be focused around health and medicine. A tall male technician in a white lab coat stands behind a counter, his eyes following you hoping that you are going to buy something",
description_less_explicit: None,
grid_coords: GridCoords { x: 3, y: 2, z: 0 },
exits: vec!(
Exit {
direction: Direction::SOUTH,
target: ExitTarget::UseGPS,
exit_type: ExitType::Free
},
),
stock_list: vec!(
RoomStock {
possession_type: PossessionType::MediumTraumaKit,
list_price: 80,
..Default::default()
}
),
should_caption: true,
..Default::default()
},
Room { Room {
zone: "melbs", zone: "melbs",
secondary_zones: vec!(), secondary_zones: vec!(),