if (checkweight(Knife, 4) == 0) { msgtable(3972); // Failed to set package item!! end; } // List of the items from luafiles514/lua files/selectpackage/selectpackageitem.lub // { boxid, boxindex, itemid, amount, rental time, refine level, has options } switch (@selectpackage_boxidx) { case 0: getitem(Cotton_Shirt, 1); getitem(Shoes, 1); getitem(Muffler, 1); rentitem(Event_Pierrot_Nose, 24 * 60 * 60); break; case 1: getitem(Red_Potion, 100); getitem(Orange_Potion, 50); getitem(White_Potion, 10); getitem(Jellopy, 10); break; case 2: getitem(Hinalle, 1); getitem(Yellow_Gemstone, 3); getitem(Azure_Jewel, 1); getitem(Spore_Doll, 2); break; default: end; } delitem(@selectpackage_itemid, 1);
|