Closed docrostov closed 1 year ago
cookbookbat recipe + cooking reminder:
{
description.listAppend(HTMLGenerateSpanFont("Recipe of Before Yore available!", "blue"));
resource_entries.listAppend(ChecklistEntryMake("__familiar cookbookbat", url, ChecklistSubentryMake("Pizza party with the Cookbookbat!", "", description)).ChecklistEntrySetIDTag("Cookbookbat Resource"));
}
int cookings_remaining = clampi(5 - get_property_int("_cookbookbatCrafting"), 0, 5);
if (cookings_remaining > 0)
{
description.listAppend(HTMLGenerateSpanOfClass(cookings_remaining, "r_bold") + " free cookings: Unstable fulminate, potions, and more.");
}
insert this after the homebodyl free_crafts_left part of the crafting tile:
if (lookupFamiliar("Cookbookbat").familiar_is_usable()) {
string [int] description;
free_cooks_left += clampi(5 - get_property_int("_cookbookbatCrafting"), 0, 5);
string title = "free cooking";
if (free_cooks_left > 0) {
craft_entry.subentries.listAppend(ChecklistSubentryMake(pluralise(free_cooks_left, title, title + "s") + " remaining", free_crafts_left > 0 ? "COOKING only" : "", description));
}
}
issue closed, largely resolved in #113 and what isn't resolved is in #115
TES has sent me a ton of changes he integrated in his personal tourguide that he never posted (or got missed) in the discord channel. this is going to be my generic issue i will keep the list in as i work on em
here are the changes i have successfully incorporated in the new PR:
here are ones that are missing still:
here are the ones i am not adding (will explain in PR):