Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Equipment TP Reset ACE
#1
Equipment TP Reset ACE

by Kyonides Arkanthes

Introduction

Thinking Did you ever wanted to make your heroes lose all of their TP for changing specific types of equipment?
Shocked Now you can do that!

Here's how you do it:

Leave a note in your favorite Actor's note box like the following:

<equip tp reset: As,Many,Positions,As,Deemed,Necessary>

Translation:

<equip tp reset: 0,2>
<equip tp reset: 0,1,3>

That's it! Grinning

Thinking What happens if an actor has no such note?
Tongue sticking out Nothing. It's business as usual.

Code:
# * Equipment TP Reset ACE - Note Version
#   Scripter : Kyonides Arkanthes
# * Overwritten method: Game_Actor#change_equip

# * Instructions * #

# Leave a note in the Actor's Note Box:
# <equip tp reset: As,Many,Positions,As,Deemed,Necessary>

# Nothing will happen if a given Actor has no such note.

class Game_Actor
  TP_RESET_SLOTS_REGEX = /<equip tp reset: (...)>/i
  def change_equip(slot_id, item)
    return unless trade_item_with_party(item, equips[slot_id])
    return if item && equip_slots[slot_id] != item.etype_id
    @equips[slot_id].object = item
    actor.note[TP_RESET_SLOTS_REGEX]
    slot_ids = $1.to_s.split(/,/).map(&:to_i)
    @tp = 0 if slot_ids.include?(slot_id)
    refresh
  end
end

Terms & Conditions

Free as in Beer beer and as in Shocked speech.
Just don't forget to mention me in your game credits. Winking
"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.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

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! Laughing + Tongue sticking out

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
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   H-Mode7 Visual Equipment Chaotech Games 8 34,531 03-30-2017, 01:58 AM
Last Post: wrathx
   DoubleX RMMV Popularized ATB Reset DoubleX 1 5,168 06-02-2016, 02:05 PM
Last Post: DoubleX
   Edited Paradog's Battle BGM Anti-Reset MicKo 1 5,753 06-27-2014, 06:05 PM
Last Post: Steel Beast 6Beets
   Equipment Upgrade System by Charlie Fleed, Version 1.2 Charlie Fleed 145 181,015 04-11-2014, 01:19 AM
Last Post: Gardesion
   Multi-Slot Equipment Script Guillaume777 3 12,108 05-26-2013, 07:28 PM
Last Post: Pia Carrot
   Equipment Weights DerVVulfman 4 8,232 03-08-2013, 05:18 AM
Last Post: DerVVulfman
   F12 Reset Fix itsacezon 4 11,299 02-12-2013, 03:43 PM
Last Post: itsacezon
   Angie's Equipment Sets DerVVulfman 2 8,448 12-28-2010, 04:15 AM
Last Post: DerVVulfman
   FFIX Skills Learning System aka Equipment Skills, NEW!!! v2.3 (8-8-2010) Charlie Fleed 13 26,720 10-13-2010, 05:17 PM
Last Post: Charlie Fleed
   Multi-Slot Equipment VX DerVVulfman 8 15,098 07-10-2010, 04:36 AM
Last Post: Helladen



Users browsing this thread: