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.
-"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?"
Question
JoshDJX
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.