Jump to content

All characters use Wilson's "I can't do that." quote despite having their own


Electroely
  • Known Issue

Despite each character having their own quote for failing an action, they all use Wilson's. This is particularly jarring with Wormwood - he never refers to himself in his quotes, and rarely ever speaks full sentences at all.

image.png.f9566d1410f82fcc8b156ab9ba3fd10c.png

It's especially common when trying to plant seeds while blooming and bees are flying nearby - if a bee flies over the spot you try to plant a seed on, Wormwood will say "I can't do that." The speech file indicates he should be saying "Nope" instead.


Steps to Reproduce

1. Pick Wormwood
2. Do something that would cause an ongoing action to fail (like have something block seed planting mid-animation)
3. Notice the quote

  • Like 4
  • Big Ups 2
  • GL Happy 1



User Feedback


Third time's a charm, huh?

@ScottHansen 

Spoiler

function GetActionFailString(inst, action, reason)
    local character =
        type(inst) == "string"
        and inst
        or (inst ~= nil and inst.prefab or nil)

    local specialcharacter =
        type(inst) == "table"
        and ((inst:HasTag("playerghost") and "ghost") or
            (inst:HasTag("mime") and "mime"))
        or character

    local ret = GetSpecialCharacterString(specialcharacter)
    if ret ~= nil then
        return ret
    end

    character = string.upper(character)

    return (STRINGS.CHARACTERS[character] ~= nil and getcharacterstring(STRINGS.CHARACTERS[character].ACTIONFAIL, action, reason))
        or getcharacterstring(STRINGS.CHARACTERS.GENERIC.ACTIONFAIL, action, reason)
        or (STRINGS.CHARACTERS[character] ~= nil and STRINGS.CHARACTERS[character].ACTIONFAIL_GENERIC)
        or STRINGS.CHARACTERS.GENERIC.ACTIONFAIL_GENERIC
end

  • Big Ups 2

Share this comment


Link to comment
Share on other sites

2 hours ago, Tykvesh said:

Third time's a charm, huh?

@ScottHansen 

  Hide contents

function GetActionFailString(inst, action, reason)
    local character =
        type(inst) == "string"
        and inst
        or (inst ~= nil and inst.prefab or nil)

    local specialcharacter =
        type(inst) == "table"
        and ((inst:HasTag("playerghost") and "ghost") or
            (inst:HasTag("mime") and "mime"))
        or character

    local ret = GetSpecialCharacterString(specialcharacter)
    if ret ~= nil then
        return ret
    end

    character = string.upper(character)

    return (STRINGS.CHARACTERS[character] ~= nil and getcharacterstring(STRINGS.CHARACTERS[character].ACTIONFAIL, action, reason))
        or getcharacterstring(STRINGS.CHARACTERS.GENERIC.ACTIONFAIL, action, reason)
        or (STRINGS.CHARACTERS[character] ~= nil and STRINGS.CHARACTERS[character].ACTIONFAIL_GENERIC)
        or STRINGS.CHARACTERS.GENERIC.ACTIONFAIL_GENERIC
end

Oh boy finally. Is there a light at the end of the tunnel?

  • Haha 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...