summaryrefslogtreecommitdiff
path: root/npc/re/quests/eden/eden_tutorial.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-18 20:05:20 +0100
committerGitHub <noreply@github.com>2017-11-18 20:05:20 +0100
commit7b2f685d9fa8a2998b424c003d7a1386f76d45db (patch)
treea5f118370396e8168c5aa84b4fb105951157d35c /npc/re/quests/eden/eden_tutorial.txt
parenta63c82c8bd29fd829a5d8cfba7d02d11cf4634c5 (diff)
parent42248822bf5348c7cbf33efbdf12873bea11ff38 (diff)
downloadhercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.gz
hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.bz2
hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.tar.xz
hercules-7b2f685d9fa8a2998b424c003d7a1386f76d45db.zip
Merge pull request #1902 from MishimaHaruna/getiteminfo-fix
getiteminfo() / setiteminfo() fixes
Diffstat (limited to 'npc/re/quests/eden/eden_tutorial.txt')
-rw-r--r--npc/re/quests/eden/eden_tutorial.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/quests/eden/eden_tutorial.txt b/npc/re/quests/eden/eden_tutorial.txt
index 45d7c6f1e..902db7945 100644
--- a/npc/re/quests/eden/eden_tutorial.txt
+++ b/npc/re/quests/eden/eden_tutorial.txt
@@ -290,7 +290,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
close;
} else if (questprogress(9168) == 1) {
if (checkweight(Yggdrasilberry,1) == 0) {
- if (MaxWeight - Weight < getiteminfo(607,6)) {
+ if (MaxWeight - Weight < getiteminfo(Yggdrasilberry, ITEMINFO_WEIGHT)) {
mes "[Tutorial Instructor]";
mes "You seemed to be sluggish with a lot of items";
mes "in your inventory making you heavy...";
@@ -492,7 +492,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
}
}
if (checkweight(Yggdrasilberry,6) == 0) {
- if (MaxWeight - Weight < getiteminfo(607,6)) {
+ if (MaxWeight - Weight < getiteminfo(Yggdrasilberry, ITEMINFO_WEIGHT)) {
mes "[Tutorial Instructor]";
mes "Your inventory seems to be really full";
mes "with various stuff... Do you think";
@@ -591,7 +591,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{
if (checkweight(Seed_Of_Yggdrasil,7) == 0) {
- if (MaxWeight - Weight < getiteminfo(608,7)) {
+ if (MaxWeight - Weight < getiteminfo(Seed_Of_Yggdrasil, ITEMINFO_WEIGHT)) {
mes "[Tutorial Goal]";
mes "You seem to be overweight with items. Go put some stuff away then come back.";
close;