Jump to content

Help with a Brain of Knowledge-esk item.


Recommended Posts

I'm creating an item for a mod character I'm making,
I've already looked into the brainjellyhat files, and tried replicating what I saw, but it doesn't seem to be working.
I was wondering if it was possible to make a hat that would serve as a finite use item that give you access to alchemy engine (scinece3) level recipes when wearing it.
I also plan on making a seperate one for shadow manip, so if it'll be a similar process, lmk!

File below (sorry for spaghetti and some placeholder ingredients) + brainjellyhat code i've been referencing

Screenshot 2024-01-31 205148.png

Screenshot 2024-01-31 205211.png

smartbrain.lua

Link to comment
Share on other sites

You would have to modify builder and builder_replica components for the game to actually give you science level.

You can do this by calling AddComponentPostInit function in modmain.lua

Link to comment
Share on other sites

On 2/6/2024 at 6:10 PM, _zwb said:

You would have to modify builder and builder_replica components for the game to actually give you science level.

You can do this by calling AddComponentPostInit function in modmain.lua

How would I approach this? (sorry still a bit new to modding)

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