MV Help disabling elements of Galv's Quest Log?

I'm using Galv's Quest Log and I wanted to remove some elements from its menu.

These elements:

1767106129770.png


I want to keep only the actual quest description. I've tried changing/commenting out lines in the plugin and I've managed to remove the texts and the horizontal line, but their leftover spaces remained... so I actually didn't achieve anything...

Please, could someone help me on this?
If you managed to get rid of the other elements yourself, just change the y where it draws the quest description. So where it says draw quest desc or whatever, change the 'y' to 0 or some small number.
So where it says draw quest desc or whatever, change the 'y' to 0 or some small number.

I'm not sure how 🙁

Spoiler: Description Code
JavaScript:
Window_QuestInfo.prototype.drawQuest = function(quest) {
    if (quest.categoryTitle != undefined) return;
    this.changeTextColor(this.normalColor());
    // quest heading
    var icon = quest._id == $gameSystem._quests.tracked ? Galv.QUEST.icon3 : Galv.QUEST['icon' + quest._status];
    this.drawIcon(icon,0,0);
    var oy = Math.max((28 - this.standardFontSize()) / 2,0);
    this.drawText(quest.name(),40,oy,this.contentsWidth() - 40);
    var lineY = Math.max(32,this.lineHeight());
    this.drawHorzLine(lineY);
  
    var line = this.lineHeight();
    var y = lineY + line;
    var w = this.contentsWidth();

    // quest difficulty
    this.drawText(Galv.QUEST.txtDiff + " " + quest.difficulty(),0,y,w,'right');
  
    // quest desc
    this.changeTextColor(this.systemColor());
    this.drawText(Galv.QUEST.txtDesc,0,y,w);
  
    this.changeTextColor(this.normalColor());
    var desc = quest.desc().slice();;
  
    if (quest.hasResolution()) {
        // if quest has a selected resolution, add it
        desc.push("");
        desc = desc.concat(quest.resoTxtArray()); // add resolution txt
    }
  
    y += 10;
    for (var i = 0; i < desc.length; i++) {
        y += line;
        this.drawTextEx(desc[i], 0, y);
    }
    y += line * 2;
  
    // quest objectives
    var objs = quest.objectives();
    if (objs.length > 0) {
        this.changeTextColor(this.systemColor());
        this.drawText(Galv.QUEST.txtObj,0,y,w);
        this.changeTextColor(this.normalColor());
        y += line + 10;

        // list objectives
        for (var i = 0; i < objs.length; i++) {
            var status = quest._objectives[i] || 0;
            if (status >= 0) {
                var icon = Galv.QUEST['icon' + status];
                this.drawIcon(icon,0,y);
                this.drawTextEx(objs[i],40,y + oy);
                y += line + 8;
            }
        }
    }
};

Changing the 'y' in this.drawTextEx(desc, 0, y) turns the entire description text into one single line with the words on top of eachother:

1767148424591.png
Ok I think the quest desc draws the 'Details', the text is below. Here I quickly edited the draw method and it seemed to work for me (don't you have to put your text on different lines yourself in the text file?)

Window_QuestInfo.prototype.drawQuest = function(quest) {
if (quest.categoryTitle != undefined) return;
this.changeTextColor(this.normalColor());
// quest heading
var icon = quest._id == $gameSystem._quests.tracked ? Galv.QUEST.icon3 : Galv.QUEST['icon' + quest._status];
// this.drawIcon(icon,0,0);
var oy = Math.max((28 - this.standardFontSize()) / 2,0);
// this.drawText(quest.name(),40,oy,this.contentsWidth() - 40);
var lineY = Math.max(32,this.lineHeight());
// this.drawHorzLine(lineY);

var line = this.lineHeight();
var y = lineY + line;
var w = this.contentsWidth();

// quest difficulty
// this.drawText(Galv.QUEST.txtDiff + " " + quest.difficulty(),0,y,w,'right');

// quest desc
this.changeTextColor(this.systemColor());
// this.drawText(Galv.QUEST.txtDesc,0,y,w);

this.changeTextColor(this.normalColor());
var desc = quest.desc().slice();;

if (quest.hasResolution()) {
// if quest has a selected resolution, add it
desc.push("");
desc = desc.concat(quest.resoTxtArray()); // add resolution txt
}
y = 0; // EXTRA
// y += 10;
for (var i = 0; i < desc.length; i++) {
// y += line;
this.drawTextEx(desc[i], 0, y);
y += line;
}
y += line * 2;

// quest objectives
var objs = quest.objectives();
if (objs.length > 0) {
this.changeTextColor(this.systemColor());
this.drawText(Galv.QUEST.txtObj,0,y,w);
this.changeTextColor(this.normalColor());
y += line + 10;

// list objectives
for (var i = 0; i < objs.length; i++) {
var status = quest._objectives[i] || 0;
if (status >= 0) {
var icon = Galv.QUEST['icon' + status];
this.drawIcon(icon,0,y);
this.drawTextEx(objs[i],40,y + oy);
y += line + 8;
}
}
}
};
Thank you, thank you so much! 😀
Have a Happy New Year!

Original thread: https://forums.rpgmakerweb.com/threads/help-disabling-elements-of-galvs-quest-log.181682/