Jump to content

Scripting a Moonshiner Still


RideTheCatfish

Recommended Posts

As most of you probably know, there's a moonshiner still in Point Lookout that, through a person whose name I cannot recall at the moment, allows you to create moonshine with specific ingredients.

 

I'm in the process of making a small mod right now that adds in another still, but to the Capital Wasteland. I naturally don't want to have that same person there, so I'm wondering how I might go about scripting the still so that you can make moonshine yourself.

 

Thanks in advance.

Link to comment
Share on other sites

You could have a script on the object that checks if you have the proper items with you and then if you do it gives you the item.

 

Like this:

 

scn MoonShineMania


Begin OnActivate

if Player.GetItemCount Item1ID 1 && Player.GetItemCount Item2ID 1

		   player.removeitem Item1ID 1
		   player.removeitem Item2ID 1		
		   
		   player.additem MoonshineID 1

else

	ShowMessage MessageID 

endif

end

 

(More info on the message --> HERE <--)

 

You will have to replace the Item1ID Item2ID MoonshineID MessageID etc. with your own items IDs.

 

Hope that helps.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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