From e6a37426c4ddf2ed8ab36a6adef55d6a31f44864 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:21:03 -0300 Subject: fnum() is great to save space --- npc/024-15/lilanna.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'npc/024-15') diff --git a/npc/024-15/lilanna.txt b/npc/024-15/lilanna.txt index 3ca331347..180098369 100644 --- a/npc/024-15/lilanna.txt +++ b/npc/024-15/lilanna.txt @@ -78,7 +78,7 @@ function FixCrystal { .@gp=getarg(1); if (Zeny < .@gp) { mesc l("NOT ENOUGH MONEY"), 1; - mesc l("@@/@@ GP", format_number(Zeny), format_number(.@gp)); + mesc l("@@/@@ GP", fnum(Zeny), fnum(.@gp)); next; return; } @@ -108,14 +108,14 @@ function FixSelect { .@kbase=10000; // King Base (incl. Fortress Is.) select l("Don't fix."), - rif(true, l("Candor - @@ GP", format_number(.@cbase))), - rif(TELEPORTERS & TP_TULIM, l("Tulimshar - @@ GP", format_number(.@nbase))), - rif(TELEPORTERS & TP_HURNS, l("Hurnscald - @@ GP", format_number(.@nbase))), - rif(TELEPORTERS & TP_NIVAL, l("Nivalis - @@ GP", format_number(.@nbase))), - rif(TELEPORTERS & TP_FROST|TP_HALIN, l("Land Of Fire - @@ GP", format_number(.@lbase))), - rif(TELEPORTERS & TP_HALIN, l("Halinarzo - @@ GP", format_number(.@fbase))), - rif(TELEPORTERS & TP_FROST, l("Frostia - @@ GP", format_number(.@fbase))), - rif(TELEPORTERS & TP_LILIT, l("Lilit - @@ GP (not exchangeable)", format_number(.@kbase))); + rif(true, l("Candor - @@ GP", fnum(.@cbase))), + rif(TELEPORTERS & TP_TULIM, l("Tulimshar - @@ GP", fnum(.@nbase))), + rif(TELEPORTERS & TP_HURNS, l("Hurnscald - @@ GP", fnum(.@nbase))), + rif(TELEPORTERS & TP_NIVAL, l("Nivalis - @@ GP", fnum(.@nbase))), + rif(TELEPORTERS & TP_FROST|TP_HALIN, l("Land Of Fire - @@ GP", fnum(.@lbase))), + rif(TELEPORTERS & TP_HALIN, l("Halinarzo - @@ GP", fnum(.@fbase))), + rif(TELEPORTERS & TP_FROST, l("Frostia - @@ GP", fnum(.@fbase))), + rif(TELEPORTERS & TP_LILIT, l("Lilit - @@ GP (not exchangeable)", fnum(.@kbase))); mes ""; switch (@menu) { case 1: return; -- cgit v1.2.3-60-g2f50