If you don't mind about getting suggestions here, I'd like to ask you to make a change in how your script determines if HiddenChest is in use in any given project.
For example in RPG::Config class you included a line in the reset method that says:
And somewhere else you defined / reopened the System module included in HiddenChest.
(Defined alias declared if it's not in use because it never existed in the first place, reopened if it has been stuffed with constants by the engine.)
It'd be easier to just check for the engine's own global variable $HiddenChest than for that specific module that might have been defined by any other scripter on another script for a different purpose. So if that variable is true, you're good to go!
Or you could just check for this module:
For example in RPG::Config class you included a line in the reset method that says:
Code:
@fs_hc_detect = true if System.const_defined? :NAME
And somewhere else you defined / reopened the System module included in HiddenChest.
(Defined alias declared if it's not in use because it never existed in the first place, reopened if it has been stuffed with constants by the engine.)
It'd be easier to just check for the engine's own global variable $HiddenChest than for that specific module that might have been defined by any other scripter on another script for a different purpose. So if that variable is true, you're good to go!
Or you could just check for this module:
Code:
Object.const_defined?(:HiddenChest)
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE