Feature Add Ed restorers (from EUTW) to HP/MP restorer lists

five35

New member
The values used for wrappings are based on the in-game tooltips, even though those values are reported to be wrong, because insufficient information exists on their actual values.

Code:
Index: src/net/sourceforge/kolmafia/moods/HPRestoreItemList.java
===================================================================
--- src/net/sourceforge/kolmafia/moods/HPRestoreItemList.java	(revision 15708)
+++ src/net/sourceforge/kolmafia/moods/HPRestoreItemList.java	(working copy)
@@ -158,7 +158,10 @@
 		new HPRestoreItem( "Notes from the Elfpocalypse, Chapter IV", 35 ),
 		new HPRestoreItem( "Notes from the Elfpocalypse, Chapter V", 35 ),
 		new HPRestoreItem( "Notes from the Elfpocalypse, Chapter VI", 35 ),
-		new HPRestoreItem( "dueling turtle", 15 )
+		new HPRestoreItem( "dueling turtle", 15 ),
+		new HPRestoreItem( "linen bandages", 15 ),
+		new HPRestoreItem( "cotton bandages", 30 ),
+		new HPRestoreItem( "silk bandages", 60 )
 	};
 
 	public static final void setPurchaseBasedSort( final boolean purchaseBasedSort )
Index: src/net/sourceforge/kolmafia/moods/MPRestoreItemList.java
===================================================================
--- src/net/sourceforge/kolmafia/moods/MPRestoreItemList.java	(revision 15708)
+++ src/net/sourceforge/kolmafia/moods/MPRestoreItemList.java	(working copy)
@@ -169,7 +169,10 @@
 		new MPRestoreItem( "Notes from the Elfpocalypse, Chapter V", 35, false ),
 		new MPRestoreItem( "Notes from the Elfpocalypse, Chapter VI", 35, false ),
 		new MPRestoreItem( "dueling turtle", 15, false ),
-		new MPRestoreItem( "unrefined Mountain Stream syrup", 55, true )
+		new MPRestoreItem( "unrefined Mountain Stream syrup", 55, true ),
+		new MPRestoreItem( "holy spring water", 23, true ),
+		new MPRestoreItem( "spirit beer", 45, true ),
+		new MPRestoreItem( "sacramental wine", 90, true )
 	};
 
 	public static final void setPurchaseBasedSort( final boolean purchaseBasedSort )
 

Attachments

  • ed_restorers.patch
    1.7 KB · Views: 34

Darzil

Developer
What we really need is a complete re-write of that panel and system, rather than adding more rare, limited or path only options to an already too long list.

We can get the values from restores.txt, maybe we can do something like add a blacklist to preferences, defaulting to removing the most awkward ones, then building it directly from restores.txt.

Lets open this up for thoughts on how to make such a thing work simply and intuitively for users.
 
Top