Jump to content

How to create a new action?


Cyde042

Recommended Posts

Title. I'm not asking for the function but how do I make it? Do I need to make a actions.lua in the mod folder? Or something like that. How do I tell the mod to load it after init then?

 

You can look at that mod:

http://steamcommunity.com/sharedfiles/filedetails/?id=250583758

It adds new milk action for beefalos so its possible to make new actions if that what you meant by action that is.

Link to comment
Share on other sites

Its certainly possible, just tricky to do and there many different ways the game handles actions. For example, interacting with an object on the ground, sitting in your inventory or with a new tool you designed will have slightly different implementations. What are you trying to achieve?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...