-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
Source/relay/TourGuide/Items of the Month/2021/Short Order Cook.ash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//Shortest-Order Cook | ||
RegisterResourceGenerationFunction("IOTMShortCookGenerateResource"); | ||
void IOTMShortCookGenerateResource(ChecklistEntry [int] resource_entries) | ||
{ | ||
if (!__misc_state["in run"]) return; | ||
int shartCookCharge = get_property_int("_shortOrderCookCharge"); | ||
string [int] description; | ||
string url = "familiar.php"; | ||
string subtitle = "also, use your cook to feed XP to another familiar"; | ||
if (shartCookCharge < 11) | ||
{ | ||
description.listAppend("Use the short cook to get a +10 famwt potion."); | ||
resource_entries.listAppend(ChecklistEntryMake("__familiar shorter-order cook", url, ChecklistSubentryMake(shartCookCharge + "/11 Shorter-Order Cook charge", "", description), 8)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters