The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

Dead Money Vending Machines

General help and troubleshooting.
Post Reply
trooperjess
Posts: 15
Joined: Wed Mar 06, 2013 8:12 pm

Dead Money Vending Machines

Post by trooperjess » Mon Mar 16, 2015 12:38 am

I been kinda working on a mod that adds item to the Sierra Madre vending machines. I know how to make the item show up in the vending machines. But how do I hide the item until someone finds the Holodisk? I have looked into the Recipe and the notes but I cant find where or how to hide them. If someone could help me, I would very happy.



User avatar
Puppettron
Gary
Posts: 1715
Joined: Sat Nov 23, 2013 10:47 pm

make sure the holodisk is a

Post by Puppettron » Mon Mar 16, 2015 1:41 am

make sure the holodisk is a note


change the visibility options on the recipes in question to player.hasnote <note> > 0


perms:  either a full fireworks display spelling out "Puppettron Made This" anytime a user accesses my content in-game, or just give me credit somewhere.

trooperjess
Posts: 15
Joined: Wed Mar 06, 2013 8:12 pm

Thank you.

Post by trooperjess » Tue Mar 17, 2015 9:21 pm

Thank you.



User avatar
Puppettron
Gary
Posts: 1715
Joined: Sat Nov 23, 2013 10:47 pm

yeah, sorry, realized this

Post by Puppettron » Wed Mar 18, 2015 12:45 am

yeah, sorry, realized this goes in a recipe record and not a script and wrote it like a script.


so the function is HasNote, and make sure you use the player as a targeted reference.  everything else is easy to figure out.


perms:  either a full fireworks display spelling out "Puppettron Made This" anytime a user accesses my content in-game, or just give me credit somewhere.

Post Reply