atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0

Commit 545ad65826dd

tarball

atagen <boss@atagen.co>2026-10-14 11:24 UTC

2 files changed+12-10
game: reprice Pump-Bro's stock by rarity and need, and stop selling the door lock

The ice pack was the cheapest thing in the shop despite being the main burn cure, lubes cost the same whatever their modifier, and a door lock bought on floor 3 or later had no brother left to stop. The ruler now costs about what the drawer's shame does.
Modified file: src/game/items.rs+8 additions−9 deletions
@@ -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::WarmTowel
171+ | Self::DoorLock
173172 | Self::Cage
174173 | Self::Spreadsheet
175174 | Self::TeapotSpout
Modified file: src/tests/floors.rs+4 additions−1 deletions
@@ -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,