diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-07 22:56:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-07 22:56:48 -0300 |
commit | 0ed07673c0754bc8b07006ed0bab125763a266f3 (patch) | |
tree | 9b465008716aea8c7fac1983e47d6ff25a388db3 /npc/functions/estate.txt | |
parent | 087208123b39766ef3a92d3e831de2fa8a523472 (diff) | |
download | serverdata-0ed07673c0754bc8b07006ed0bab125763a266f3.tar.gz serverdata-0ed07673c0754bc8b07006ed0bab125763a266f3.tar.bz2 serverdata-0ed07673c0754bc8b07006ed0bab125763a266f3.tar.xz serverdata-0ed07673c0754bc8b07006ed0bab125763a266f3.zip |
Unify all Piano codes
Diffstat (limited to 'npc/functions/estate.txt')
-rw-r--r-- | npc/functions/estate.txt | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/npc/functions/estate.txt b/npc/functions/estate.txt index e0290a12d..7bd5679da 100644 --- a/npc/functions/estate.txt +++ b/npc/functions/estate.txt @@ -262,3 +262,72 @@ function script realestate_manage { return true; } + +// Piano Mobilia +// realestate_piano ( {mapname} ) +function script realestate_piano { + .@loc$=getarg(0, getmap()); + mesc l("Do you want to play a song?"); + mesc l("This is not saved."); + select + l("Nothing"), + l("Default"), + l("Indoors 1 (Peace)"), + l("Indoors 2 (Dimonds)"), + l("TMW Adventure"), + l("Sailing Away!"), + l("Magick Real"), + l("The Forest"), + l("Dragons and Toast"), + l("Unforgiving Lands"), + l("Arabesque (Action)"), + l("No Chains (Tulimshar)"), + l("School of Quirks (Candor)"), + l("Cake Town (Hurnscald)"), + l("Steam (LoF Village)"), + l("Woodland Fantasy"), + l("Birds in the Sunrise"); + + mes ""; + .@m$=""; + switch (@menu) { + case 1: + return; break; + case 2: + .@m$="8bit_the_hero.ogg"; break; + case 3: + .@m$="peace.ogg"; break; + case 4: + .@m$="peace2.ogg"; break; + case 5: + .@m$="tmw_adventure.ogg"; break; + case 6: + .@m$="sail_away.ogg"; break; + case 7: + .@m$="magick_real.ogg"; break; + case 8: + .@m$="dariunas_forest.ogg"; break; + case 9: + .@m$="dragon_and_toast.ogg"; break; + case 10: + .@m$="Unforgiving_Lands.ogg"; break; + case 11: + .@m$="Arabesque.ogg"; break; + case 12: + .@m$="mvrasseli_nochains.ogg"; break; + case 13: + .@m$="school_of_quirks.ogg"; break; + case 14: + .@m$="caketown.ogg"; break; + case 15: + .@m$="steam.ogg"; break; + case 16: + .@m$="woodland_fantasy.ogg"; break; + case 17: + .@m$="tws_birds_in_the_sunrise.ogg"; break; + + } + changemusic "ples@"+getcharid(0), .@m$; + return; +} + |