From 452d821ab98946a0d67359146104e08df248bbca Mon Sep 17 00:00:00 2001 From: Ben H Date: Sun, 15 Feb 2026 09:59:50 -0800 Subject: [PATCH 1/3] forgotten flowerpot --- migrations/2026/02/Version20260215175312.php | 49 +++++++++++++++++++ .../Item/Scroll/FarmerController.php | 12 ++++- 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 migrations/2026/02/Version20260215175312.php diff --git a/migrations/2026/02/Version20260215175312.php b/migrations/2026/02/Version20260215175312.php new file mode 100644 index 00000000..2e9b42fd --- /dev/null +++ b/migrations/2026/02/Version20260215175312.php @@ -0,0 +1,49 @@ +. + */ + +namespace DoctrineMigrations; + +use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\AbstractMigration; + +final class Version20260215175312 extends AbstractMigration +{ + public function getDescription(): string + { + return ''; + } + + public function up(Schema $schema): void + { + $this->addSql(<<getUserOrThrow(); @@ -68,7 +69,14 @@ public function invokeFarmerScroll( } $items = [ - 'Straw Hat', $wheatOrCorn, 'Scythe', 'Creamy Milk', 'Egg', 'Grandparoot', 'Crooked Stick', 'Potato' + $rng->rngNextFromArray([ 'Straw Hat', 'Forgotten Flowerpot' ]), + $wheatOrCorn, + $rng->rngNextFromArray([ 'Scythe', 'Garden Shovel' ]), + $rng->rngNextFromArray([ 'Creamy Milk', 'Cheese', 'Plain Yogurt' ]), + 'Egg', + $rng->rngNextFromArray([ 'Potato', 'Carrot', 'Beans', 'Onion' ]), + 'Grandparoot', + 'Crooked Stick' ]; $newInventory = []; From 276ea682f2f286dbed999222fac2dc12f8c18952 Mon Sep 17 00:00:00 2001 From: Ben H Date: Sun, 15 Feb 2026 14:01:20 -0800 Subject: [PATCH 2/3] moved Pizzaface out of Hat Box, and into Pizza Box. added Duck Pond as potential drop from Nature Box. --- migrations/2026/02/Version20260215175312.php | 13 +++++++++++++ .../Item/Pinata/Box/OpenNatureBoxController.php | 3 +++ src/Controller/Item/Pinata/HatBoxController.php | 1 - .../Item/Pinata/PizzaBoxController.php | 16 +++++++++++----- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/migrations/2026/02/Version20260215175312.php b/migrations/2026/02/Version20260215175312.php index 2e9b42fd..7a847d46 100644 --- a/migrations/2026/02/Version20260215175312.php +++ b/migrations/2026/02/Version20260215175312.php @@ -25,6 +25,7 @@ public function getDescription(): string public function up(Schema $schema): void { + // Forgotten Flowerpot $this->addSql(<<addSql(<<setSpice($spice); } + if($rng->rngNextInt(1, 8) === 8) + $newInventory[] = $inventoryService->receiveItem('Duck Pond', $user, $user, $user->getName() . ' got this from ' . $inventory->getItem()->getNameWithArticle() . '.', $location, $inventory->getLockedToOwner()); + return BoxHelpers::countRemoveFlushAndRespond('Opening the box revealed', $userStatsRepository, $user, $inventory, $newInventory, $responseService, $em); } } diff --git a/src/Controller/Item/Pinata/HatBoxController.php b/src/Controller/Item/Pinata/HatBoxController.php index dd28539f..71e84564 100644 --- a/src/Controller/Item/Pinata/HatBoxController.php +++ b/src/Controller/Item/Pinata/HatBoxController.php @@ -58,7 +58,6 @@ public function openHatBox( 'Merchant\'s Cap', 'Merchant\'s Other Cap', 'Much Too Tall', - 'Pizzaface', 'Propeller Beanie', 'Sombrero', 'Uncommon Blue', diff --git a/src/Controller/Item/Pinata/PizzaBoxController.php b/src/Controller/Item/Pinata/PizzaBoxController.php index 52080d1e..c01e2358 100644 --- a/src/Controller/Item/Pinata/PizzaBoxController.php +++ b/src/Controller/Item/Pinata/PizzaBoxController.php @@ -58,16 +58,22 @@ public function openPizzaBox( ->execute(); $numSlices = $rng->rngNextFromArray([ - 3, 3, 3, 3, 3, 4, 4, 4, 5, 6, // averages 3.8 (slightly less than 4, to avoid an infinite pizza box engine) + 1, 3, 3, 3, 3, 4, 4, 4, 5, 6, // averages less than 4, to avoid an infinite pizza box engine ]); - for($i = 0; $i < $numSlices; $i++) + if($numSlices === 1) + $newInventory[] = $inventoryService->receiveItem('Pizzaface', $user, $user, $description, $location, $locked); + else { - $newInventory[] = $inventoryService->receiveItem($rng->rngNextFromArray($possibleSlices), $user, $user, $description, $location, $locked) - ->setSpice($inventory->getSpice()) - ; + for($i = 0; $i < $numSlices; $i++) + { + $newInventory[] = $inventoryService->receiveItem($rng->rngNextFromArray($possibleSlices), $user, $user, $description, $location, $locked) + ->setSpice($inventory->getSpice()) + ; + } } + return BoxHelpers::countRemoveFlushAndRespond('You open the box, finding', $userStatsRepository, $user, $inventory, $newInventory, $responseService, $em); } From df62bdfc2248e97000430f3a23f422fecd455202 Mon Sep 17 00:00:00 2001 From: Ben H Date: Sun, 15 Feb 2026 15:06:01 -0800 Subject: [PATCH 3/3] bird category --- migrations/2026/02/Version20260215224156.php | 70 ++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 migrations/2026/02/Version20260215224156.php diff --git a/migrations/2026/02/Version20260215224156.php b/migrations/2026/02/Version20260215224156.php new file mode 100644 index 00000000..804b99cb --- /dev/null +++ b/migrations/2026/02/Version20260215224156.php @@ -0,0 +1,70 @@ +. + */ + +namespace DoctrineMigrations; + +use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\AbstractMigration; + +final class Version20260215224156 extends AbstractMigration +{ + public function getDescription(): string + { + return 'what is bird? who can say. this item group claims to be an authority, at any rate.'; + } + + public function up(Schema $schema): void + { + $this->addSql("INSERT INTO `item_group` (`id`, `name`, `is_craving`, `is_gift_shop`) VALUES (62, 'Bird Stuff', '0', '0') ON DUPLICATE KEY UPDATE id = id;"); + + $this->addSql(<<