public override void onInventory(ShapeBase obj, int amount) { if (amount != 0 || !obj.isMethod("getMountSlot")) return; int slot = obj.getMountSlot(this["image"]); obj.unmountImage(slot); }