Jump to content

Can a thing be worked by different kinds of tools?


Recommended Posts

From what I can tell:

  • A prefab can have only 1 Workable component
  • A Workable component can have only 1 WorkAction
    • Such as CHOP or DIG that can be performed with an Axe or Shovel
  • A Workable component can have only 1 OnFinishCallback
    • Such as spawn a log after choping down a tree, spawn rocks, flint, and nitre after mining a Boulder

I want to make something workable by multiple different kinds of tools and have different results depending on the tool used. Is this possible? I can't think of anything in the game that already does this to look at.

A simple example would be modifying the boulder so that when you mine it, it still functions the way it does today. 6 whacks with a Pickaxe and it's destroyed and you get rocks, flint, and nitre. Or you can equip and work the boulder with a hammer instead and get a new item called "gravel" or something like that.

Edited by HomShaBom
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
 Share

×
  • Create New...