Costume Converter: Difference between revisions

From VanRO Ragnarok Online
No edit summary
No edit summary
 
Line 1: Line 1:
[[File:Costume converter2.png|thumb|589x589px]]
== Costume Master ==
== Costume Master ==



Latest revision as of 15:10, 21 November 2024

Costume converter2.png

Costume Master

Location: prt_in, coordinates (95, 66) NPC Sprite: 4_4job_leticia

The Costume Master NPC allows players to: 1. Convert equipped top headgear into a costume. 2. Revert costume items back to their original headgear.

---

Features

  • Convert to Costume:
 - Converts equipped top headgear into a costume.  
 - Requires **100 TCG Cards** (`Item ID: 7227`).  
 - Removes all stats and refinements.  
 - Does not work on items with cards.  
  • Convert Back to Headgear:
 - Reverts costume items to their original form.  
 - Deletes the costume and provides the original headgear.  
  • Cancel:
 - Exits the dialogue without making any changes.  

---

Dialogue Options

1. Convert to Costume 2. Convert Back to Headgear 3. Cancel

---

Conversion Process

1. Convert to Costume

  • Requirements:
 - Top headgear must be equipped.  
 - The headgear must have no cards or refinements.  
 - Player must have at least **100 TCG Cards**.  
  • NPC Process:
 1. Checks if the player meets all requirements.  
 2. Deducts 100 TCG Cards from the player's inventory.  
 3. Converts the equipped headgear into a costume.  
 4. Displays a success or failure message.  
  • Error Messages:
 - "You don't have enough TCG Cards."  
 - "Your headgear contains cards. I cannot convert an item with cards."  
 - "Your headgear is refined. I cannot convert a refined item."  
 - "You do not have a top headgear equipped."

2. Convert Back to Headgear

  • Requirements:
 - Player must have costume items in their inventory.  
  • NPC Process:
 1. Checks the player’s inventory for costume items.  
 2. If valid items are found, a menu is displayed for the player to select the item to revert.  
 3. Deletes the costume item.  
 4. Adds the original headgear to the player’s inventory.  
 5. Displays a success message.  
  • Error Messages:
 - "No valid costume items were found in your inventory."  
 - "An error occurred while selecting the item. Please try again."  

Example NPC Messages

  • Success Messages:
 - "Your top headgear has been successfully converted into a costume!"  
 - "The costume item has been successfully reverted back into a regular headgear!"  
  • Failure Messages:
 - "Failed to convert your top headgear. Returning it to your inventory..."  
 - "You don't have enough TCG Cards."  

---

Developer Notes

  • Uses the following key script functions:
 - `mes`, `select`, `countitem`, `getitem`, `delitem`, `costume()`  
  • Key Conditions Checked:
 - Equipped item is a top headgear.  
 - No cards or refinements on the item.  
 - Player has sufficient TCG Cards.