Bug - Fixed Hero donations not properly parsed with a comma

lostcalpolydude

Developer
Staff member
I went to sneaky pete's statue and gave it 50000 meat, and mafia parsed that just fine, reporting 50000 meat given and the preference went up properly. Then I donated 1,000 meat (note the comma) and mafia detected 1 meat given. I gained 10 moxie, so it must have been 1000 meat donated.

Then for fun I donated ,2,0,0 meat, mafia detected 0 meat donated, and I gained 1 moxie.

It looks like GenericRequest.HOWMUCH_PATTERN needs changing. MoneyMakingGameRequest actually uses its own HOWMUCH_PATTERN value, leaving ShrineRequest as the only file to use the one from GenericRequest .
 
Last edited:
Top