Jump to content
  • 0

Turn in Cards for Points/Reward


JoshDJX

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  10/26/15
  • Last Seen:  

Hello,

 

I'm looking for an NPC script that will take a card (of their choosing) from a player and award some sort of points to redeem for item(s).

Just a way to turn in useless cards for items like an OCA, etc.

 

 

For example:

I have 5 Poring Cards I want to turn in for 1 Card Point each.

I talk to the NPC and it asks if I would like to turn them in for Card Points. It checks my inventory for cards that I can choose from to sell/exchange for points. Asks "are you sure?" Yes/No then awards the card points. 

Or I can choose to redeem an item from points, such as 5 Card Points for an Old Card Album.

 

 

Ideal NPC layout/example:

 

In inventory: 2 Poring Cards, 2 Lunatic Cards, 2 Fabre Cards

 

NPC

-"HI there, I can take your random and useless cards for 1 Card Point each that you can redeem for items such as OCAs"

-"You currently have ___ Card Points."

-"What would you like to do?"

Choice:

- Turn in Cards for Points

---   "Which card would you like to turn in for Card Points?"

---   Choice(checks inventory for cards and lists them): Poring Card, Lunatic Card, Fabre Card, (or Take All - Are you sure? - rewards points accordingly)

------ I pick Poring Cards "You would like to turn in <Poring Card>? (if > 1): You have more than one. Would you like to turn in just One or All?"

------  Choice Just One/All and rewards Card Points accordingly

- Use Card Points

--- "You can spend your Card Points on the following item(s):"

--- Choice - Old Card Album <cost>(5 Points), etc 

--- "Are you sure you'd like to spend <cost> Points on Old Card Album?"

----- Yes/No

-----   "Here you go!"

End

 

Thank you for your time!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

maybe you can try this out?

 npc/re/merchants/card_exchange.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...