an http based roguelike rpg about jelqing
Commit 545ad65826dd
tarball2 files changed+12-10
@@ -22,13 +22,12 @@ pub enum Item {
2222
EnergyDrink,2323
}2424
25
-pub const SHOP: [Item; 15] = [25
+pub const SHOP: [Item; 14] = [2626
Item::Pump,2727
Item::PumpPro,2828
Item::Extender,2929
Item::Ring,3030
Item::Supplement,31
- Item::DoorLock,3231
Item::DndSign,3332
Item::Blinds,3433
Item::Ruler,@@ -143,7 +142,6 @@ impl Item {
143142
Self::PumpPro => "The box says professional. The pump inside is the same pump.",144143
Self::Extender => "It is fitted. It will be noticed when you sit down.",145144
Self::Ring => "It is snug. Pump-Bro still does not discuss the risks.",146
- Self::DoorLock => "One door lock, good for one door, once.",147145
Self::DndSign => "The sign is on the handle. Housekeeping can read.",148146
Self::Blinds => "The blinds are down. Across the street, a lens is lowered.",149147
Self::Ruler => "Pump-Bro looks away while you use it.",@@ -163,13 +161,14 @@ impl Item {
163161
match self {164162
Self::Pump => Some(10),165163
Self::PumpPro | Self::Extender | Self::CageKey => Some(15),166
- Self::Ring => Some(8),167
- Self::Supplement | Self::DoorLock | Self::DndSign | Self::Blinds | Self::Ruler => {168
- Some(5)169
- }170
- Self::BabyOil | Self::CoconutOil | Self::Lotion | Self::Vaseline => Some(4),171
- Self::IcePack => Some(3),164
+ Self::Ring | Self::Ruler => Some(8),165
+ Self::IcePack => Some(7),166
+ Self::CoconutOil => Some(6),167
+ Self::Supplement | Self::Blinds => Some(5),168
+ Self::BabyOil | Self::Vaseline => Some(4),169
+ Self::DndSign | Self::Lotion => Some(3),172170
Self::WarmTowel171
+ | Self::DoorLock173172
| Self::Cage174173
| Self::Spreadsheet175174
| Self::TeapotSpout@@ -2,7 +2,10 @@ use super::*;
22
33
#[tokio::test]44
async fn only_the_key_opens_the_cage() {5
- let app = seeded_with(Floor::ChangingRoom, |run| run.items.kit.cage = true);5
+ let app = seeded_with(Floor::ChangingRoom, |run| {6
+ run.items.kit.cage = true;7
+ run.standing.cash = 30;8
+ });69
send(&app, "POST", "/runs/cafebabe/shop/ice-pack", &[], "").await;710
let still = send(811
&app,