RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
shops that run on items other than gold

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
Can someone design a script (or show me one that already exists) that opens up a shop that runs on something other than the game's primary currancy? Throughout my game, for instance, the player can earn tickets by winning mini-games, and I want the player to be able to spend these tickets on items in a shop, but to do that I need it scripted so that the shop will only accept the tickets, and will ignore gold. Help will be greatly appreciated, and I'll credit anyone who helps solve this problem.
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

**
Rep:
Level 87
Version? 2003? XP?  2000?

**
Rep:
Level 88
XP. I can't believe I forgot to mention that...
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

********
moew
Rep:
Level 91
Queen Princess
2013 Most Missed Member2012 Most Missed Member;o hee hee <3For being a noted contributor to the RMRK Wiki
It was pretty obvious since you requested for a script. Last time I checked Rm2k/3 didn't support 'em.

Anyway, this can be pulled off with events unless you want a shop screen to be shown.
:taco: :taco: :taco:

**
Rep:
Level 88
Indeed, it can. I thought about that, but in the end I decided that I wanted the shop screen to be shown. It's easier to show how weapons and armor benefit (or don't benefit) your charater before you buy them.
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
Well, unfortunately I am on vacation and so I cannot fulfill this request right now, but in case anybody does want to, my suggestion is to merely copy the default shop script, rename it, and replace the gold requirements with requirements for a global variable you define. A good place to request this would be the Simple Script Shop. It should fill the simple requirement  ;8

**
Rep:
Level 87
Well I just finished figured out how to turn gold into a in-game variable (0007 in my case), I had to edit the shop aswell. but what you want (I'm guessing) is to have a brand NEW shop which would accept only tickets, whilst keeping the old shop.  So the only way I can think of to do that is to copy all the shop scripts and rename it to something (i.e. Scene_Tshop) and change the words in the script to refer to Tshop instead of shop, and then make a secondary currancy as of which I did.  If you reply (im not sure if this is a populated forum or not but ill find out) then I can try and make a script for you.

btw I cant speak the language, only understand it, but this weekend Im going to learn it as well as I can.

EDIT* just fyi, I made all windows think a variable instead of gold so that I could make an event-made bank using conditional branches + variables, works fantastically.  I still dont know how to script a closing window, I want it so that when you're in the bank itll pop up and show you what you have in your account like so:

http://reddawg.freepgs.com/Bank.JPG

but it won't update when a transaction is made and when you go to update it it overlaps the previous window, making it fugly. anyone know the script command to close a window? a window probably called something among the lines of @window_gold = window_bank.new  do I have to type something like close.window_bank or something?

EDIT** ah sweet, I figured it out, it was @gold_window.dispose =p, now the window will be fully update-to-date with transaction changes
« Last Edit: June 29, 2007, 01:42:22 AM by Reddawg »

The song stuck in my head this week is: Aerosmith - Dream On