Jump to content

Photo

How do I rewrite the NukaCola Vending Machine code?

nuka cola vending machine code

  • Please log in to reply
No replies to this topic

#1
Tilarta

Tilarta

    Regular

  • Members
  • PipPip
  • 60 posts

I am not up to this point yet with my mod, but since it's going to be tricky to do, I figured I should find out the answer as soon as possible so I can implement it when my mod is ready for the introduction of that object.

 
I am going to convert the Nuka Cola vending machine like this:
NCMconv01_zpswjikgbam.png
Since the FO4 version has a hinged door and the bottles are sitting on a shelf inside that door, I need to rewrite that code so the new version is just a container and it restocks it's inventory at regular intervals, like the FNV version.
 
How do I rewrite the code so that the vending machine is just a restocking container?
 
The last time I tried this, it messed up badly, the code worked, but the inventory items were mismatched, it kept creating different sets of items instead of one kind of item.

Edited by Tilarta, 23 August 2016 - 07:30 AM.






Also tagged with one or more of these keywords: nuka cola, vending machine, code

IPB skins by Skinbox
Page loaded in: 0.950 seconds