VXAce Any way to have armour that changes state based on really anything workable? Also anyway to make armour that once taken off cannot be worn again?

I've tried looking around online, but these don't seem to be super common needs for other people, but i really need this functionallity.

By "workable" I really just mean anything i can work with since i'm fine building a lot around however i have to get this to work.
"Change State" is vague but if you mean to change its Database entry's data you could drive "anything workable" again vague, via a switch/variable/common event.
I'd probably use a common event, if equipped change to armour variant(copy/edit of Database entry)

For the second one, again you could have a variant of the armour entry, so when taken off it's "destroyed" and the variant(unequippable one) is placed into your inventory.
"Change State" is vague but if you mean to change its Database entry's data you could drive "anything workable" again vague, via a switch/variable/common event.
I'd probably use a common event, if equipped change to armour variant(copy/edit of Database entry)

For the second one, again you could have a variant of the armour entry, so when taken off it's "destroyed" and the variant(unequippable one) is placed into your inventory.
Hey! So, by "anything workable" i really meant that i was ok to use really anything in order to get this to work. Could you clarify how i would do these things? Thanks for the help
Create equipment variants.
Clip1.JPG

Then change them as needed.
Like so,
Clip2.JPG

As for the 'broken' version you can simply change the ArmorType to None, which should disable the ability to equip it.

I do have a custom script that when the player changes equipment the script starts a common event.
Spoiler: Script
Code:
class Game_Actor < Game_Battler
  alias_method :EquipTriggerAlias, :change_equip

  def change_equip(slot_id, item)
    old_item = equips[slot_id]
    result = EquipTriggerAlias(slot_id, item)

    equip_type_id = 3  # Designate your Equip Type ID
    common_event_id = 6  # Assign your Common Event ID

    if slot_id == equip_type_id && $game_party.in_battle == false
      $game_temp.reserve_common_event(common_event_id)
    end

    result
  end
end
I used it to coordinate my sprite's display with the armor and apply a sound when changing equipment.
Basically the common event remembers what is currently equipped(via variable), then checks against it using conditional branches.
Create equipment variants.
View attachment 352571
Then change them as needed.
Like so,
View attachment 352573
As for the 'broken' version you can simply change the ArmorType to None, which should disable the ability to equip it.

I do have a custom script that when the player changes equipment the script starts a common event.
Spoiler: Script
Code:
class Game_Actor < Game_Battler
  alias_method :EquipTriggerAlias, :change_equip

  def change_equip(slot_id, item)
    old_item = equips[slot_id]
    result = EquipTriggerAlias(slot_id, item)

    equip_type_id = 3  # Designate your Equip Type ID
    common_event_id = 6  # Assign your Common Event ID

    if slot_id == equip_type_id && $game_party.in_battle == false
      $game_temp.reserve_common_event(common_event_id)
    end

    result
  end
end
I used it to coordinate my sprite's display with the armor and apply a sound when changing equipment.
Basically the common event remembers what is currently equipped(via variable), then checks against it using conditional branches.
Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-have-armour-that-changes-state-based-on-really-anything-workable-also-anyway-to-make-armour-that-once-taken-off-cannot-be-worn-again.180825/