how do i change tailcunt color?

JakeFromStateFarm

Well-Known Member
Jan 15, 2016
367
36
Can someone smarter than me help me with my pc's tailcunt?
tailCockColorDesc() { if(!this.hasTailCock()) return "none"; return this.tailCock.cockColor; } tailCuntColorDesc() { if(!this.hasTailCock()) return "none"; return this.tailCock.vaginaColor; } tailGenitalDescript() { if (this.hasTailCock()) return this.tailCockDescript(); if (this.hasTailCunt()) return this.tailVaginaDescript(); Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL GENITALS PRESENT.`); } tailGenitalsDescript() { if (this.hasTailCock()) return this.tailCocksDescript(); if (this.hasTailCunt()) return this.tailVaginasDescript(); Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL GENITALS PRESENT.`); }
I want to fix it so that im not getting a return of ERROR: COULD NOT FIND ATTRIBUTE "tailCuntColor" FOR OBJ "pc" whenever i use my tailcunt. specifically, i would like the tailcunt to be black
 

Attachments

  • Erin (H) - 13Hrs 17Mins, 45 Days - Mhen’ga, Ara Ara.json
    587.6 KB · Views: 1

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
This isn't a problem with your save it's just coded wrong and this should probably be posted to the bug report forum.

Problem #1:
tailCuntColorDesc() is wrong because it tries looking for a tailcock and therefore always returns "none" if you have no tail cock .
None folds.png
And even if you do have a tailcock it actually calls this.tailCock.vaginaColor instead of this.tailCunt.vaginaColor (this is probably why you're getting the COULD NOT FIND ATTRIBUTE error)
JavaScript:
tailCuntColorDesc()
{
    if(!this.hasTailCock()) return "none";
    return this.tailCock.vaginaColor;
}
JavaScript:
tailCuntColorDesc()
{
    if(!this.hasTailCunt()) return "none";
    return this.tailCunt.vaginaColor;
}

Problem #2
tailGenitalDescript() and tailGenitalsDescript() only returns the tail cock description because it calls return so it doesn't check for anything else.
JavaScript:
tailGenitalDescript(genital="cock")
{
    if (this.hasTailCock() && genital == "cock") return this.tailCockDescript();
    if (this.hasTailCunt() && ["cunt", "vagina"].includes(genital)) return this.tailVaginaDescript(); // I don't know which one the devs use so why not both?
    Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL ` + genital + `s PRESENT.`);
}
JavaScript:
tailGenitalsDescript()
{
    if (this.hasTailCock())
    {
        return (this.tailCocksDescript() + (this.hasTailCunt() ? "and a " + this.tailVaginasDescript() : "");
    } // Might wanna check this they might be some errors here.

    if (this.hasTailCunt())
    {
        return this.tailVaginasDescript();
    }
    Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL GENITALS PRESENT.`);
}
 
Last edited:
  • Like
Reactions: JakeFromStateFarm

JakeFromStateFarm

Well-Known Member
Jan 15, 2016
367
36
This isn't a problem with your save it's just coded wrong and this should probably be posted to the bug report forum.

Problem #1:
tailCuntColorDesc() is wrong because it tries looking for a tailcock and therefore always returns "none" if you have no tail cock .
And even if you do have a tailcock it actually calls this.tailCock.vaginaColor instead of this.tailCunt.vaginaColor (this is probably why you're getting the COULD NOT FIND ATTRIBUTE error)
JavaScript:
tailCuntColorDesc()
{
    if(!this.hasTailCock()) return "none";
    return this.tailCock.vaginaColor;
}
JavaScript:
tailCuntColorDesc()
{
    if(!this.hasTailCunt()) return "none";
    return this.tailCunt.vaginaColor;
}

Problem #2
tailGenitalDescript() and tailGenitalsDescript() only returns the tail cock description because it calls return so it doesn't check for anything else.
JavaScript:
tailGenitalDescript(genital="cock")
{
    if (this.hasTailCock() && genital == "cock") return this.tailCockDescript();
    if (this.hasTailCunt() && ["cunt", "vagina"].includes(genital)) return this.tailVaginaDescript(); // I don't know which one the devs use so why not both?
    Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL ` + genital + `s PRESENT.`);
}
JavaScript:
tailGenitalsDescript()
{
    if (this.hasTailCock())
    {
        return (this.tailCocksDescript() + (this.hasTailCunt() ? "and a " + this.tailVaginasDescript() : "");
    } // Might wanna check this they might be some errors here.

    if (this.hasTailCunt())
    {
        return this.tailVaginasDescript();
    }
    Log(LogCategory.Creature, LotDetail.Error, `ERROR: TAIL GENITAL DESCRIPT CALLED WITH NO TAIL GENITALS PRESENT.`);
}
what if i have both a tailcock and a tailcunt? (which i do) i remember in the previous system, (SWF legacy, that is) it didnt really matter if you had both. certain scenes checked whether you had one or the other, and ignored the opposite type when it found the relevant plumbing. will still post in bug reports and reference this thread though.
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
what if i have both a tailcock and a tailcunt? i remember in the previous system, (SWF legacy, that is) it didnt really matter if you had both. certain scenes checked whether you had one or the other, and ignored the opposite type when it found the relevant plumbing. will still post in bug reports and reference this thread though.
Honestly, I don't know.
I'd say it'll be based on how the scene calls the tail genital descriptions.

The scene should work correctly if it directly calls the tail gential description instead of using those functions.
e.g. If the scene directly calls pc.tailVaginaDescript() it should work even if you also have a tailcock but if the scene calls tailGenitalsDescript() it would only display the tailcock's description even if you actually have both.