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.
[RPG Maker VX] - Something on Modern Algebra's Quest Journal

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 81
GAMING IS FUN!!!!!!!!!! *throws ps3 pad at HD tv*
So like I basically was thinking...

You know the Quest Journal Script, while I was using it, I thought of an idea that I might want to incorporate in but wasn't sure if it was actually possible. So, if you don't mind me asking, in a general sense...

Is there anyway to reset the Quest Journal? (For example, after a certain amount of levelling up, the Player Character gets a chance to enter a new world and in the process, his Quest Journal is wiped clean, so as to seem like he/she is starting back from the beginning)
one does not just simply walk into Mordor

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Zero to Hero2013 Biggest Drama WhoreParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
Code: [Select]
reset_quest (quest_id)

quest_id : the integer ID of the quest you want to access.
This will re-initialize the quest, meaning all quest progress to
date will be lost
or
Code: [Select]
remove_quest (quest_id)

Deactivates the quest and resets it
&&&&&&&&&&&&&&&&

**
Rep: +0/-0Level 81
GAMING IS FUN!!!!!!!!!! *throws ps3 pad at HD tv*
Looks simple enough... did you test it out? (sorry to second guess you, just want to be sure...)
one does not just simply walk into Mordor

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best 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
You would have to do that for every quest, but why are you asking him to test it? Can't you do it yourself?

Anyway,

Code: [Select]
$game_party.quests.clear

will do it for every quest. However, it doesn't look like that method is entirely as it should be, look for the following line (around line 262 if you separate configuration from the rest of the script):

Code: [Select]
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Clear
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  def clear
    @data.clear
  end

Change it to:

Code: [Select]
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Clear
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  def clear
    @data.clear
    [@revealed_sort, @alphabet_sort, @id_sort, @level_sort].each { |ary| ary.clear }
  end