New Content - Implemented Sugar Sheet crafting changed.

Veracity

Developer
Staff member
September 01 - Sugar sheets now use the standard shop interface, which means you can use /buy to make those items now, Sugar.
I assume this is the same thing they did a long time ago to star chart crafting, and that SugarSheetRequest will need to be adjusted the same we we adjusted StarChartRequest.

I'll take a look at this.
 

Veracity

Developer
Staff member
Revision 14555.

Note that there is a KoL bug associated with this: the "sugar shirt" is not currently available, even for a character with Torso Awaregness. I submitted a bug report, but assumed that it is ROW333, for now.
 
Sugar Sheet Shop Suppot

The following no longer works.
Code:
> make sugar shorts

Verifying ingredients for sugar shorts (1)...
You can't fold that.

> acquire sugar shorts

Verifying ingredients for sugar shorts (1)...
You can't fold that.

> create sugar shorts

Verifying ingredients for sugar shorts (1)...
You can't fold that.

The [fold] link on the sugar sheet in inventory points to shop.php?whichshop=sugarsheets

Here's the html of the shop page.
Code:
<td><center><table width="80%"><tbody><tr><td>You can fold your sugar sheets into a variety of items:</td></tr></tbody></table></center><form name="bigform" action="shop.php" method="post"><input name="pwd" value="b7953a447ed26e2154251de90ee5626f" type="hidden"><input name="whichshop" value="sugarsheets" type="hidden"><input name="action" value="buyitem" type="hidden"><center><table cellpadding="2"><tbody><tr><td></td><td colspan="2" align="center"><b>Item:</b> (click for description)</td><td colspan="10" align="center"><b>Price:</b></td></tr><tr rel="4181"><td valign="center"></td><td><img src="/images/itemimages/sughat.gif" class="hand" onclick="javascript:descitem(779768689)"></td><td valign="center"><a onclick="javascript:descitem(779768689)"><b>sugar chapeau</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=330&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4180"><td valign="center"></td><td><img src="/images/itemimages/sugshiv.gif" class="hand" onclick="javascript:descitem(774021885)"></td><td valign="center"><a onclick="javascript:descitem(774021885)"><b>sugar shank</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=329&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4183"><td valign="center"></td><td><img src="/images/itemimages/sugshield.gif" class="hand" onclick="javascript:descitem(959769145)"></td><td valign="center"><a onclick="javascript:descitem(959769145)"><b>sugar shield</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=332&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4179"><td valign="center"></td><td><img src="/images/itemimages/sugshill.gif" class="hand" onclick="javascript:descitem(994852308)"></td><td valign="center"><a onclick="javascript:descitem(994852308)"><b>sugar shillelagh</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=328&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4191"><td valign="center"></td><td><img src="/images/itemimages/sugshirt.gif" class="hand" onclick="javascript:descitem(851515177)"></td><td valign="center"><a onclick="javascript:descitem(851515177)"><b>sugar shirt</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=333&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4182"><td valign="center"></td><td><img src="/images/itemimages/sugshorts.gif" class="hand" onclick="javascript:descitem(286938389)"></td><td valign="center"><a onclick="javascript:descitem(286938389)"><b>sugar shorts</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=331&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr><tr rel="4178"><td valign="center"></td><td><img src="/images/itemimages/sugshotgun.gif" class="hand" onclick="javascript:descitem(360499180)"></td><td valign="center"><a onclick="javascript:descitem(360499180)"><b>sugar shotgun</b>    </a></td><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td><b>1</b>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td></td><td>  </td><td valign="center"><input class="button doit multibuy" rel="shop.php?whichshop=sugarsheets&action=buyitem&quantity=1&whichrow=327&pwd=b7953a447ed26e2154251de90ee5626f" value="Fold" type="button"></td></tr></tbody></table><div id="ass" style="font-size: .8em; text-align: center; width: 100%">*Right-Click to Multi-Fold</div><p><b>You have:</b><table><tbody><tr><td><img src="/images/itemimages/sugsheet.gif" onclick="javascript:descitem(319769847)" alt="sugar sheet" title="sugar sheet" height="30" width="30"></td><td>175 sugar sheets</td></tr></tbody></table></p><p><a href="inventory.php">Back to your inventory</a></p></center></form></td>

Sugar power!
 

Bale

Minion
Threads merged and I removed the tag for Implemented.

Was the sugar shop improperly implemented by Veracity in r14555? Is Weatherboy using an old version of KoLmafia from almost 2 weeks ago? Or what?
 
From the html I posted:
<b>You have:</b>175 sugar sheets

Also, buy items with tokens at coin masters whenever needed is checked.

I ran into another issue with the Crackpot Mystic. In the Item Manager, Cookable tab, I told mafia to make the 3 available digital key lime pie. Creation of the digital key failed. Because, I already had one in inventory. So mafia should, when receiving a request to cook multiple of those, create or use 1 digital key to make digital klp, then create another digital key, and cook it into a klp, etc, because the CM won't give make you another digital key if you have one in inventory.
 

lostcalpolydude

Developer
Staff member
Do you (or did you) have a text-mangling effect active? Mafia looks for "quickly fold it into a new shape" in the response and displays that error if it doesn't find that. You must be seeing this on a multi, so I can't even look at the character to make a guess at how you're causing this.
 

lostcalpolydude

Developer
Staff member
Actually, can you just make a debug log of creating a sugar item? That would probably take a lot of guesswork out of this process.
 
I"ll have to try it again tomorrow night, cuz, as you might have noticed, I ascended. I tried it on my alt, and it worked fine. Same instance of mafia. *shrug*

ETA 9/15: I can't reproduce it now. Beats me. Sorry.
 
Last edited:
Top