Jump to content

Abigal COMMUNEWITHSUMMONED action not working as before


VMatt013
  • Pending

I am using a mod for Wendy, which makes keybinds for Abigal's flower, this have been working for a while, but we just came back to the game and it is not working anymore.

I am assuming it is because of the rework, but the actions.lua looks the same for me, at least the COMMUNEWITHSUMMONED part

The mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2043109179
 

G.TheInput:AddKeyDownHandler(keybind2, function()
    if not IsInGameplay() then return end
    local flower = GetFlowerFromInventory()
    local abigail = GetAbigail()
    if flower == nil or not G.ThePlayer:HasTag("ghostfriend_summoned") then return end
    if abigail ~= nil then
        act = G.ACTIONS.COMMUNEWITHSUMMONED
        local buffact = G.BufferedAction(G.ThePlayer, target, act, flower)
        if not G.TheWorld.ismastersim then
            local function cb()
                G.SendRPCToServer(G.RPC.ControllerUseItemOnSelfFromInvTile, act.code, flower, target)
            end
            if G.ThePlayer.components.locomotor then
                buffact.preview_cb = cb
            else
                cb()
            end
        end
        G.ThePlayer.components.playercontroller:DoAction(buffact)
    end
end)

This is the action part, which I think works fine, because Wendy gets the flower in her hand and speaks to Abigal, but she is stuck in the action for some time, and then it just suddenly stops and nothing happens.

 

I believe it is an overlook on the developers part, but if something changed in the actions or how they are handled, I am sorry, but would like to ask for some information for the right direction.

Thank you for your time and response

Sincerely,

Matt


Steps to Reproduce

Use COMMUNEWITHSUMMONED in a lua script




User Feedback


There are no comments to display.



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...