kafras_izl.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //===== eAthena Script =======================================
  2. //= Izlude Kafras
  3. //===== By: =========================
  4. //= eAthena Dev Team
  5. //===== Current Version: ===================
  6. //= 2.3
  7. //===== Compatible With: =====================
  8. //= eAthena 1.0
  9. //===== Description: ============================================
  10. //= Description of argument settings for callfunc "F_Kafra".
  11. //= arg(0): When set at 0 the default Kafra message is displayed.
  12. //= When set to 1 the Niflhiem Kafra message is displayed.
  13. //= When set to 2 the Guild Kafra message is displayed.
  14. //= arg(1): Set to 1 to disable teleport menu option. Otherwise set to 0.
  15. //= arg(2): Set to 1 to disable info menu. Otherwise set to 0.
  16. //= arg(3): Cost of Storage service
  17. //= arg(4): Cost of Rent a Pushcart service
  18. //===== Additional Comments: ==========================================
  19. //= v1.1 Now using functions :)
  20. //= v2.1b Minor changes to function calls. Using arguments.
  21. //= This version uses arrays .[kobra_k88]
  22. //= 2.2 New teleport destinations, prices [Lupus]
  23. //= 2.21 Warps to Prontera rather than Payon now [Evera]
  24. //= 2.3 Updated function calls with new arguments. [L0ne_W0lf]
  25. //= Added unique Kafra Welcome message2.
  26. //=====================================================================
  27. izlude,134,87,3 script Kafra Employee::kaf_izlude 117,{
  28. cutin "kafra_01",2;
  29. cleararray @wrpC$[0],"",getarraysize(@wrpC$);
  30. setarray @wrpD$[0], "Geffen", "Prontera", "Morroc", "Al De Baran";
  31. setarray @wrpP[0], 1200, 1200, 1200, 1800;
  32. set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0];
  33. set @wrpC$[1], @wrpD$[1]+" -> "+@wrpP[1];
  34. set @wrpC$[2], @wrpD$[2]+" -> "+@wrpP[2];
  35. set @wrpC$[3], @wrpD$[3]+" -> "+@wrpP[3];
  36. set @wrpC$[4], "Cancel";
  37. mes "[Kafra Employee]";
  38. mes "Welcome to the";
  39. mes "Kafra Corporation.";
  40. mes "The Kafra services";
  41. mes "are always on your side.";
  42. mes "How may I assist you?";
  43. callfunc "F_Kafra",5,0,1,40,820;
  44. M_Save:
  45. savepoint "izlude",94,103;
  46. callfunc "F_KafEnd",0,1,"in the city of Izlude";
  47. }