I need help with a discount card reward after a quest ?

● ARCHIVED · READ-ONLY
Started by Kupotepo 14 posts View original ↗
  1. If you did a quest for the town mayor, s/he would lower the price, you might want to buy all your potions from the town.

    1. A mayor will give the quest to a hero to defeat a boss monster.
    2. After a hero comes back to report to a mayor, a player gets 15 percents a discount card.
    3. The discount card will lower the prices of potion in that town when a play purchase potions in a store in that town.


    The main problem that I encounter is that I do not how to link a boss killed to a discount card. I have no ideas to use conditional branches, switches, variables, or plugins.

    Thank you for helping or provide me with your insight.
  2. In that case I strongly suggest you follow the link to the starting point in my signature and work through the tutorials on eventing and on variables I linked there.

    conditional branches, conditions, variables and so on are absolutely required to be able to make any form of game that has any quest more complex than a "go there" quest.
    If you have problems with that, then you need to pause working on your game and work through the tutorials until you dream about variables - because otherwise you'll never finish your game on your own, and we simply can't make your game for you for a lot of reasons.

    yes, working through those tutorials usually takes a month (depending on your available time).
    No one, absolutely no one can learn all that is required in a few days - even if you already have a background in logic you would need a week at minimum, and if you had that background you would not have problems with variables at all.
  3. Kupotepo said:
    The main problem that I encounter is that I do not how to link a boss killed to a discount card. I have no ideas to use conditional branches, switches, variables, or plugins.

    Thank you for helping or provide me with your insight.

    Basically echoing what Andar said with my reply, but you MUST learn how to work branches, switches and variables. They are they meat and potatoes of the meat and potatoes of any RPG Maker. Once you figure them out, you'll be able to work wonders you never thought possible before; I tell you this by experience.
  4. @Andar, thank you for advice and concerns for me. I know to use switches, variable, and contional branches. I just have a hard time with the logic when going something complex. However, I will practice your tutorials video and see if I can figure out on my own.
    Urgency: I go to your signature but I do not see the section about a quest.

    I understand that you cannot create a game for me. I am a visual learner, so I see one time I get it. If your example, I would little differently because everyone has individuality and different thought process.


    @Darth Equus, thank you for encouraging me and stopping by.
  5. As everyone else said you will need to learn how branches, variables and how plugins work. If you need help you can hit me up in my PMs.
  6. @Thank you everyone here. I should look around before asking here.
    Here I show you that I did:
    1)Mayor: Show Text
    2)Mayor: Show choice: Yes: Control variable = 0 and No.
    3)Monster: Battle Processing
    4)Monster: Control variable +=1
    5)Monster: Control self-switch on page 1
    6)Shop:Condtion>Check variable >= 1.
    7) Shop Page: Shop Processing.
  7. The only correction I would make there is the store: It's giving you the discount as soon as you start the quest, not when you're done. Also, create an item ("Discount Card" for example) in the database, and use the "item" option in the store's page as the condition for the discount instead of the Mayor's Quest variable.
  8. @Darth Equus, I just wonder why you think that I should give a discount card for a player before he/she finished the quest. Thank you for helping me. :guffaw:their different way to get the same result right which is so funny.

    I am happy with the result if you want to suggest more. I am willing to learn because it is always something new RPG maker that I can learn more.
  9. I mean that it looks like you're giving the discount before the quest is finished, not after. Just make sure you give the card once the player reports back to the Mayor to inform the deed is done.
  10. Kupotepo said:
    I know to use switches, variable, and contional branches. I just have a hard time with the logic when going something complex. However, I will practice your tutorials video and see if I can figure out on my own.
    Urgency: I go to your signature but I do not see the section about a quest.
    that is because there is no section about quests, the tutorials I linked are more basic than making a quest.
    And by looking for a specific answer you're making exactly the mistake that prevents you from really understanding complex logic and variables.
    You cannot learn to run if you don't know how to walk. You cannot learn how to deep dive if you do not know how to swim. You need to really understand the basics instead of skipping ahead to specific advanced solutions without understanding them. even some of your screenshots above show that, because you cut away the event properties and only displayed the contents of an event - but for quests, the properties like the conditions, the triggers and the page numbers are more important than the contents.

    Someone linked a very good topic about the problem you (and a lot of other people) are currently having. You don't need to follow the further link offsite, the excerpt posted here on the forum is enough - and it goes for eventing the same way it's described for programming.
    https://forums.rpgmakerweb.com/index.php?threads/a-good-article-for-you-budding-scripters.5108/

    As I said in my first answer - that will take you weeks to learn. And yes, I understand that a lot of people are too impatient to learn the basics because they want their projects to go on.
    The problem is that they will not be able to complete their projects, their dreams, without learning those basics first. If you look through this forum or any of the other game making forums, you'll find thousands of abandoned projects - even projects with good ideas that were abandoned.
    And while some of those projects were abandoned to real-live-issues, most were abandoned out of frustration because the developers didn't understand how to continue - and they didn't understand that because they never learned the basics (or in terms of the linked article the semantics) of what they really need.

    And never tell us you don't have time to learn the basics - it has been proven time and time again that understanding the basics will speed up your game development by a factor of five or ten.
    If someone takes the month needed to learn the basics, then in three months (one month basics and two months true game development) he'll be at the same point as someone else who doesn't learn the basics will be in ten months - due to the need of waiting for answers here on the forum as well as needing five times the development time to make events in ways that are too complex, simply because he didn't want to learn how to do things easier.
  11. I'll add one thing. You can ignore Andar's advice at your own risk. I did. And what happened is I had to restart my project 4 times due to what I learned by doing things the hard way. That cost me 8 months of development time. So its really either do it now and lose 1 - 2 months, or lose 8 - 10 months later due to all the restarts.
  12. @Darth Equus, you are right that I give a discount card before a player finishes a quest. Thank you for debugging.:LZSangel:

    @Andar, thank you, Andar that you have high expectations and high hope for me. I am just recently a snipping tool exist and many of the previous are page one with different characters.:rhappy:

    I am on and off using RPG maker that why skills can be very rusty sometimes.
    As I said with Darth Equus "I am willing to learn because it is always something new RPG maker that I can learn more." I am still in a learning stage
    I have learned with Uzuki. I understand practice the basic make perfect.

    Could PM you if I have a little question?:ninja:

    @bgillisp, thank you for stopping by. I agree that Andar means well and a caring individual and I will follow his advice. I have RPG maker since 2017 no and off. I do not him to mischaracterize me that so.:aswt:
  13. Right now it will only let you buy with the discount card, as you have nothing in the else column. Also you didn't need that line if (variable) == 1 state this line as you know you are in that condition as you just set it , so why not just state that line?
  14. @bgillisp,thank you for double check for me. First I want to discount percentage, but now instead I lower the price for a player. It is easy for me and easy for a player.
    That is what I satisfy noe and it does its job.
    The standard store charge $50 for a potion, however if a player has a discount card has get $10 off. You see the potion is $40.

    Technically, I should not have variable==1 on that line.
    I might do something more with variable==1 and mixed with switche to decorations, like show animation or moving around.