Skip to content

Commit

Permalink
Improvement + Fix: FF exporting (#2194)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
  • Loading branch information
Thunderblade73 and hannibal002 authored Jul 6, 2024
1 parent 7b3ed85 commit b818968
Showing 1 changed file with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,36 @@ enum class CarrolynTable(val crop: CropType, val label: String, completeMessage:
CropType.CARROT,
"Exportable Carrots",
"CARROTS EXPORTATION COMPLETE!",
"[NPC] Carrolyn: Thank you for the carrots."
"[NPC] Carrolyn: Thank you for the carrots.",
),
EXPIRED_PUMPKIN(
CropType.PUMPKIN,
"Expired Pumpkin",
"PUMPKINS EXPORTATION COMPLETE!",
"[NPC] Carrolyn: Thank you for the pumpkins."
"[NPC] Carrolyn: Thank you for the pumpkins.",
),
SUPREME_CHOCOLATE_BAR(
CropType.COCOA_BEANS,
"Supreme Chocolate Bar",
"CHOCOLATE BARS EXPORTATION COMPLETE!",
"[NPC] Carrolyn: Thank you for the chocolate."
"COCOA BEANSS EXPORTATION COMPLETE!",
"[NPC] Carrolyn: Thank you for the chocolate.",
),
FINE_FLOUR(
CropType.WHEAT,
"Fine Flour",
"WHEATS EXPORTATION COMPLETE!",
"[NPC] Carrolyn: Thank you for the flour.", // TODO confirm this, since this is only a estimate
),
;

/** Pattern without colour codes */
val completeMessagePattern by RepoPattern.pattern(
"garden.ff.carrolyn.complete.${crop.patternKeyName}", completeMessage
"garden.ff.carrolyn.complete.${crop.patternKeyName}", completeMessage,
)

/** Pattern without colour codes */
val thxMessagePattern by RepoPattern.pattern(
"garden.ff.carrolyn.thx.${crop.patternKeyName}", thxMessage
"garden.ff.carrolyn.thx.${crop.patternKeyName}", thxMessage,
)

val thxResponse = "§aYou have already given Carrolyn enough $label."
Expand Down

0 comments on commit b818968

Please sign in to comment.