RideTheCatfish Posted December 15, 2009 Share Posted December 15, 2009 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 More sharing options...
SpeedyB64 Posted December 15, 2009 Share Posted December 15, 2009 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 More sharing options...
pkleiss Posted December 15, 2009 Share Posted December 15, 2009 You will also want to add two (or more) commands to that script to remove the ingredients so the player can't make repeated moonshine withthe same ingredients. player.removeitem Item1ID 1player.removeitem Item2ID 1 (etc) Link to comment Share on other sites More sharing options...
SpeedyB64 Posted December 15, 2009 Share Posted December 15, 2009 Oops :sweat: o_O Ill fix that in my post. Link to comment Share on other sites More sharing options...
Recommended Posts