Watering can failed to fill with ocean water, Action-failed string was not said out. Actually, the action was skipped in mastersim.
No log file as this bug doesn't crash the game
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A Gif may help understanding what I mean.
Before Fixing:
After Fixing:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To fix it:
components/playeractionpicker.lua Line 264:
--function PlayerActionPicker:GetRightClickActions(...) --... Line 264 if actions == nil and target == nil and ispassable then if equipitem ~= nil and equipitem:IsValid() then --can we use our equipped item at the point? actions = self:GetPointActions(position, equipitem) --this is to make it so you don't auto-drop equipped items when you left click the ground. kinda ugly. if actions ~= nil then for i, v in ipairs(actions) do if v.action == ACTIONS.DROP then table.remove(actions, i) break end end end end if actions == nil or #actions <= 0 then actions = self:GetPointSpecialActions(position, useitem, false) end end return actions or {} end
Could be changed to:
if actions == nil and target == nil and equipitem ~= nil and equipitem:IsValid() then if ispassable or equipitem:HasTag("fillable_showoceanaction") --[[ allow action on impassable so that I can click ocean and fill watering can ]] then --can we use our equipped item at the point? actions = self:GetPointActions(position, equipitem) --this is to make it so you don't auto-drop equipped items when you left click the ground. kinda ugly. if actions ~= nil then for i, v in ipairs(actions) do if v.action == ACTIONS.DROP then table.remove(actions, i) break end end end end if actions == nil or #actions <= 0 then actions = self:GetPointSpecialActions(position, useitem, false) end end return actions or {} end
1. Run a server with cave
2. Enable movement prediction
3. Drag an empty watering can on ocean and left click
-
1
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 accountSign in
Already have an account? Sign in here.
Sign In Now