Jump to content

Rhen

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Rhen

  1. Hello and Good day, I need help regarding about adding a restriction to the Quest NPC we are currently working on. The NPC should be able to reject the player once the quest has been done once. (Per account use) Our server is currently running on eATHENA. Thank you so much for the help! Here is the script: /*========================================================= Lighthalzen Aura Quest by Zephy =========================================================== Description: =========================================================== Simple quest NPC to obtain the Lighthalzen Aura item. =========================================================== Additional Notes: =========================================================== Changelog - Edited line 88. Switched the options. - Added more dialogue. - Changed dialogue a little. =========================================================*/ amatsu,97,121,4 script Nekomata 421,{ mes .npc_name$; for(set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1) { // Check if current item fails to meet prerequisite if(countitem(.qitem[.@i]) < .qamt) { mes "I am the Blue Queen's Guardian. I was born to protect and guard the forest... But now I have failed due to my lack of discipline the Queen's dragon died."; next; mes .npc_name$; mes "Do you wish to help me gather the materials needed for the resurrection of the Blue Queen's Dragon?"; next; if(select("I will help you in your holy task.:Sorry, I don't want to help.") == 2) { mes .npc_name$; mes "Stop wasting my time!"; close; } mes .npc_name$; mes "You are quite determined! Ha ha! I like your spirit!"; next; mes .npc_name$; mes "Here are the materials needed for the Blue Queen's Dragon awaited resurrection."; // Loop to print out item requirements for(set .@j,0; .@j < getarraysize(.qitem); set .@j,.@j+1) { mes "^FF0000"+ .qamt[.@j] +"x - "+ getitemname(.qitem[.@j]) +"^000000"; } close; } } // If player meets the required amount of items mes "EXCELLENT! Now we can revive the dragon! Let's make haste and prepare for the revival of the Blue Queen's Dragon!"; next; mes .npc_name$; mes "Show me the materials!"; // change the dialogue next; if(select("No:Yes") == 1) { mes .npc_name$; mes "WHAT?! I told you! STOP WASTING MY TIME!"; close; } mes .npc_name$; mes "I will go get your reward for the hard work and dedication for the Blue Queen."; // Loop to delete all quest items for (set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1) { delitem .qitem[.@i], .qamt[.@i]; } next; mes .npc_name$; mes "......."; next; mes "*CLANK* *CLINK* *CLANK*"; next; mes "......"; next; specialeffect 100; mes .npc_name$; mes "You will not be forgotten Noble wanderer, you name will now be included in the Blue Queen's kingdom history."; getitem .pitem, .pamt; // Get prize item next; close; OnInit: // Configuration // General set .npc_name$,"[^008800Nekomata^000000]"; // NPC's dialogue name // Items set .pitem,21605; // Prize item for completing the quest set .pamt,1; // Prize item amount setarray .qitem[0], 21606, 21607, 21608, 21609, 738, 7510, 7215, 7098, 7125, 7320, 7155, 7009, 7195, 7512, 964, 7317; // Quest items (IDs) setarray .qamt[0], 5, 5, 5, 5, 10, 20, 300, 250, 250, 300, 250, 250, 250, 250, 250, 600; // Quest item amount end; }
  2. I'm trying to convert this image to a transparent one so I could easily slice it off and covert it to .spr but whenever I try to remove the white background it's reducing the image quality of the carts or some parts has been cropped off. :< Can anyone help me? or is there anyway I could remove the background without decreasing its quality ? Thank you so much.
×
×
  • Create New...