From fde4125a14e321f42dea23f86ea9b91bd6f647e1 Mon Sep 17 00:00:00 2001
From: Migratingcocofruit
<69551563+Migratingcocofruit@users.noreply.github.com>
Date: Tue, 30 Jul 2024 15:32:32 +0300
Subject: [PATCH] Fixes crafting multiples of recipes in a sublist (#26315)
* Fixes crafting multiples of recipes in a sublist
* Reduces some As
* missed one
* But wait there is more.
I think I got them all now.
---
code/game/objects/items/stacks/stack.dm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm
index 8e419170469..8bce1f28d1c 100644
--- a/code/game/objects/items/stacks/stack.dm
+++ b/code/game/objects/items/stacks/stack.dm
@@ -169,7 +169,7 @@
title += "[R.title]"
title += " ([R.req_amount] [src.singular_name]\s)"
if(can_build)
- t1 += "[title] "
+ t1 += "[title] "
else
t1 += "[title]"
continue
@@ -180,9 +180,9 @@
var/list/multipliers = list(5, 10, 25)
for(var/n in multipliers)
if(max_multiplier >= n)
- t1 += " [n * R.res_amount]x"
+ t1 += " [n * R.res_amount]x"
if(!(max_multiplier in multipliers))
- t1 += " [max_multiplier * R.res_amount]x"
+ t1 += " [max_multiplier * R.res_amount]x"
var/datum/browser/popup = new(user, "stack", name, recipe_width, recipe_height)
popup.set_content(t1)