summaryrefslogtreecommitdiff
path: root/npc/025-1/yuko.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/025-1/yuko.txt')
-rw-r--r--npc/025-1/yuko.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/025-1/yuko.txt b/npc/025-1/yuko.txt
new file mode 100644
index 000000000..ad61472d2
--- /dev/null
+++ b/npc/025-1/yuko.txt
@@ -0,0 +1,43 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Yuko Cuf is YuckFou
+
+025-1,143,59,0 script Yuko NPC_PLAYER,{
+ mesn;
+ mesq l("Cuf! Cuf!"); // --TRANSLATORS: NOT A TYPO
+ next;
+ mesn;
+ mesq l("Can I help you somehow today?");
+ next;
+ closeclientdialog;
+ shop .name$;
+ goodbye;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants);
+ setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 17);
+
+ .sex = G_MALE;
+ .distance = 4;
+
+ tradertype(NST_MARKET);
+ sellitem HomunResetPotion, -1, 5;
+ sellitem PurificationPotion, -1, 20;
+ sellitem EmptyBox, -1, 30;
+ end;
+
+OnClock1149:
+OnClock2359:
+ restoreshopitem HomunResetPotion, 5;
+ restoreshopitem PurificationPotion, 20;
+ restoreshopitem EmptyBox, 30;
+ end;
+}
+