package schmer //package to overwrite functions{ function Armor::onTrigger(%data, %player, %action, %x) { if(%action == 4) //if the player is right clicking %player.setDataBlock(%x?PlayerVehicleArmor:PlayerStandardArmor); //%x is whether the player is pressing the button or releasing it. If %x is true, then it will return PlayerVehicleArmor, otherwise it will return PlayerStandardArmor. parent::onTrigger(%data, %player, %action, %x); //continue on with the funciton }};activatepackage(schmer);