Bards and dancers can use the "Compose" skill to play melody for everyone around them, and in addition a donation box is placed next to them, where other passing players can give zeny's to encourage the street musician to continue his work and feed your family! Musicians cannot open a songwriting area in the same view as each other, so it's your chance to grab the best spot to perform your musics!
instance_db.yml
- Id: 1
Name: Endless Tower
TimeLimit: 14400
Enter:
Map: 1@tower
X: 50
Y: 355
NPC script
prontera,155,181,5 script Sample 757,{
.@instance_name$ = "Endless Tower";
if (!is_party_leader()) end;
switch(select(
"Create",
"Enter",
"Destroy"
)) {
case 1:
instance_create(.@instance_name$, IM_PARTY);
break;
case 2:
switch(instance_enter(.@instance_name$)) {
case IE_NOMEMBER:
mes "ERROR: Party not found.";
break;
case IE_NOINSTANCE:
mes "ERROR: Party does not have an instance.";
break;
case IE_OTHER:
mes "ERROR: Unknown error.";
break;
default:
break;
}
break;
case 3:
instance_destroy;
break;
}
close;
}