New Content Toy Cupid Bow Preferences

Ignoooooose

New member
Something that would be nice to have for the Toy Cupid Bow:

1) Preference tracking for how many combat turns in a row (including free runs/kills) it's been equipped to a given familiar, capping at 5. Note that this is NOT reset at rollover. Pref should track both familiar and turns.
2) Preference tracking for which familiars (string list? string array?) have gotten familiar equips today, as it's 1/day (does reset on ascension)
 
Do you have any debug HTML for this?

EDIT: the only other familiar-array property I can think of off the dome is _feastedFamiliars, which is delimited by semicolons and uses familiar name strings. So that feels like a good precedent to copy.

According to the wiki, there's one message for successfully obtaining a familiar equip, and one message for successfully obtaining the heart necklace. So we only need to support those two, and we can probably just match on "looks askance at the toy bow you've provided and shoots the plunger-arrow over the horizon" to avoid running into double-spaced periods. But we'll still need debug html to write unit tests.
 
Last edited:
Because I am less than competent, I PR'd this with three prefs instead of two. I didn't include the language for the heart necklace as I don't have an example to write a test.
 
Here is test_fight_cupid_heart_necklace.html.txt
I do not understand why I could not upload the .html file.
I used a golden pet rock because I am in run and that is Standard compliant.
 

Attachments

"looks askance at the toy bow you've provided and shoots the" covers both cases and has no special characters, looks like.
 
Here is test_fight_cupid_heart_necklace.html.txt
I do not understand why I could not upload the .html file.
I used a golden pet rock because I am in run and that is Standard compliant.
For some reason I didn't have HTML allowed as a valid extension for attachments... it does now.
 
Back
Top