summaryrefslogtreecommitdiff
path: root/npc/008-2-16/yannika.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-2-16/yannika.txt')
-rw-r--r--npc/008-2-16/yannika.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/008-2-16/yannika.txt b/npc/008-2-16/yannika.txt
index 05c8a41e..8ee5b9ca 100644
--- a/npc/008-2-16/yannika.txt
+++ b/npc/008-2-16/yannika.txt
@@ -228,6 +228,7 @@
else
{
usecraft .@craft;
+ EXP_COOK+=1; // FIXME
speech
l("@@ skillfully cuts the bread in half, throws the ingredients in air, and they land in the sandwich!", .name$),
l("There you go. Please enjoy yourself! ^.^");
@@ -250,12 +251,12 @@
function teach_cooking
{
// Check if your stats aren't enough (bonuses aren't counted)
- if (readparam(bInt) < 10 ||
- readparam(bDex) < 20)
+ if (readparam2(UDT_INT) < 10 ||
+ readparam2(UDT_DEX) < 20)
{
speech
l("Well, cooking is an art, and thus, you need intelligence and dexterity to learn."),
- l("Please come again with at least 10 INT and 20 DEX. Stat Bonuses aren't counted.");
+ l("Please come again with at least 10 INT and 20 DEX.");
close;
}