Jump to content

Recommended Posts

Does anyone knows the name of the "Search" action in the "actions.lua" file?

The Marotter den was recently added, in order to get things out of there you must use the "Search" action in the den, I wanted to update a version I have of the ActionQueuer making the "Search" action automatable, but I don't know the name of the action in the .lua file to access it.
I would like to know if someone could help me by giving me the name of the action.
since I tried to search for it with the name "search" but it didn't appear, also not having much knowledge of English, I don't know what would be a synonym for searching for the "search" action.
could someone be so kind as to help me by telling me what the "Search" action is called?

1.png

1.png

The "Search" action uses the ACTIONS.PICK action. In the ACTIONS.PICK.fn you can see it checks for the searchable component:

ACTIONS.PICK.fn = function(act)
    if act.target ~= nil then
        if act.target.components.pickable ~= nil then
            act.target.components.pickable:Pick(act.doer)
            return true
        elseif act.target.components.searchable ~= nil then
            return act.target.components.searchable:Search(act.doer)
        end
    end
end
  • Big Ups 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...