Jump to content

Scripting Question


Deleted2746547User

Recommended Posts

I am working on a mod and one feature of it includes two aspects that I would like to get some feedback or guidance on.

 

#1 Converting into resources. I have recipes right now to break tin cans, lunchboxes, etc. (a recipe for each one) into a Metal Resource; soda, nuka, vodka, etc. into Glass Resources, and so on. These resources can then be re-fashioned into other products: wine bottles, and so on. What I am curious about - is if this is the best way to handle it? Because that would mean I'd need to make a recipe for every single gun, glass or other item in the game. Is there a better/easier way or is this it?

 

#2 I am looking to have a "Central Storage Container" at the Player Home/Base that you can basically "dump" anything you don't want to carry around with you. And that whenever you go to make/craft anything while on the base - it automatically draws from what you have in the Storage Container and are carrying. That way you don't have to pull from here, add there, micromanage inventory while you are on the base/player home.

 

I will also (eventually) end up using that Container to get updated with products, items NPC's in the game "give" to the player - and some other functions... but the top two things are primary items I need to overcome.

 

Any ideas or suggestions?

Link to comment
Share on other sites

into a Metal Resource; soda, nuka, vodka, etc. into Glass Resources, and so on. These resources can then be re-fashioned into other products: wine bottles, and so on. What I am curious about - is if this is the best way to handle it? .... Is there a better/easier way or is this it?

 

As far as the resources can you pass a formlist to teh recipe? Make a new item glassBottleFLST, with every glass bottle. So whatever you throw in whether a whiskey bottle or sunset bottle as long as it's on the formlist it would be one glass resource produced. I don't know if the recipe will accept it, but it's easy enough to test it out.

 

But for the other half of your question (glass resource to a specific bottle) I think you might have to have a ton of recipes.

 

That way you don't have to pull from here, add there, micromanage inventory while you are on the base/player home.

 

I could be wrong on this, but I think recipes only pull from the player container (ie you).

Link to comment
Share on other sites

into a Metal Resource; soda, nuka, vodka, etc. into Glass Resources, and so on. These resources can then be re-fashioned into other products: wine bottles, and so on. What I am curious about - is if this is the best way to handle it? .... Is there a better/easier way or is this it?

 

As far as the resources can you pass a formlist to teh recipe? Make a new item glassBottleFLST, with every glass bottle. So whatever you throw in whether a whiskey bottle or sunset bottle as long as it's on the formlist it would be one glass resource produced. I don't know if the recipe will accept it, but it's easy enough to test it out.

 

But for the other half of your question (glass resource to a specific bottle) I think you might have to have a ton of recipes.

 

That way you don't have to pull from here, add there, micromanage inventory while you are on the base/player home.

 

I could be wrong on this, but I think recipes only pull from the player container (ie you).

 

 

THANK YOU for replying. I will try to research how to set up the FLST like you mentioned. :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...