Jump to content

Photo

Workshop Recipe Conditions - Getting Constructed Item in to Condition?

workshop recipe conditions queshion help list

4 replies to this topic

#1
hruza

hruza

    Journeyman

  • Members
  • Pip
  • 32 posts

I am trying to set up condition in the workshop recipe that prevents item to be constructed (available in the workshop) if that item is in the specific list (where I can add or remove items as I need).

I tried to set up condition with function IsInList but I can't seems to get it work. I am probably setting up wrong target (Run on). I would assume that when used in the workshop recipe, item been constructed is set as either Subject or Target. But neither works.

Here is condition as I set it up:

 

 

7a36d036-a94d-4ec7-a2fc-620c09ee267f.jpg

 

 

Anybody knows how to set it up correctly or what "Run on" is used here for object been constructed?


Edited by hruza, 29 March 2020 - 08:25 PM.


#2
Zorkaz

Zorkaz

    Resident poster

  • Premium Member
  • 2,525 posts

Can you give me an example of what you're trying to do? Maybe there's a workaround



#3
hruza

hruza

    Journeyman

  • Members
  • Pip
  • 32 posts

Can you give me an example of what you're trying to do? Maybe there's a workaround

 

I am adding bunch of items in to workshop and want some of them to be movable by the player if they are already in the cell, but I don't want player to be able to craft new ones. Say for example there is old fridge in the corner of the Red Rocket Station. In vanilla you can scrap it. I want player to be able to move it around, but without been able to construct new ones or store it.

 

By setting condition that fails in the recipe, I can do exactly that. I want to make list of items like this and make every recipe I add to check the list for the item player is trying to construct or store.

 

Now I know the workaround, I can make recipe for such item and set random condition that will always fail. However been able to simply add/remove such items from the single list is much more convenient and elegant. Especially when mod is large and I want to change things. Or I want other people to be able to mod it easily.


Edited by hruza, 29 March 2020 - 09:29 PM.


#4
Zorkaz

Zorkaz

    Resident poster

  • Premium Member
  • 2,525 posts

There's a recipe for the fast travel mattress that should have the condition you need.

It checks if an object with a certain keyword exists in the workshop area.

 

As for making something unscrappable you should apply the keyword "Unscrappable" to the base object



#5
hruza

hruza

    Journeyman

  • Members
  • Pip
  • 32 posts

There's a recipe for the fast travel mattress that should have the condition you need.

It checks if an object with a certain keyword exists in the workshop area.

 

As for making something unscrappable you should apply the keyword "Unscrappable" to the base object

 

Found the same condition on MamaM chair in Sanctuary already. Does not help however because it doesn't use actual item crafted. It just checks workbench for any item with a keyword. In my case I would need to add keyword to every item that I would want to exclude, which would defeat purpose of what I want -ability to control restricted items from a single place (list).

 

The same goes for "Unscrapable".

 

But thanks for trying to help, appreciated.


Edited by hruza, 31 March 2020 - 07:24 AM.




Reply to this topic



  



Also tagged with one or more of these keywords: workshop, recipe, conditions, queshion, help, list

Page loaded in: 1.068 seconds