Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Multiple item cost?


Doodman
 Share

Recommended Posts

Hey there, im a complete noob at coding (hoping to change that soon) so ive just been making tiles for a new game

So to the point, i was wondering if there was a way to instead of having a certain item ( lets say a potion) from costing X amount of coins, have it like Potion A costs X coins, but also 3 rocks

or something like that
I need this because i was gonna make a kind of enchant/ upgrade system, where you take a sword, and some kinda upgrade stone and use them to buy the upgraded sword from some kinda shop.

If theres some kind of tutorial i would appreciate it greatly if you could supply the link.
And if not, just tell me in a kind of vague sense how i would do this, and then i can try and figure out the coding after ive learned a buttload of it ;D
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...