Who needs a ChristmasCraft tree when we have ComputerCraft! This program is made for those out there feeling a little generous this holiday
.Using a computer, a player detector, some redwire, and a dispenser, you can easily setup your own Christmas gift-giving stand where players just need to right click
on a player detector to get their present! Once they interact with the detector, their name is logged into a database (including a human-readable 'Christmas List' file) so
they cannot get multiple gifts.
Tutorial:
Step 1 - Setup your computer (usually want this hidden), player detector, and your dispenser. You can do this anyway you want as long as the player detector is touching
the computer, and the redwire is like so:


Note: You can setup the redwire, and player detector on any side of the computer as shown here:

Step 2 - Load the program onto the computer and name it 'startup' then restart. Enter the side that your redwire is on:

Step 3 - Have your people interact with the player detector to get their presents! I would suggest a bag of holding or similar.


Question: Would there be any interest for a naughty/nice list where you can specify who doesn't get a present or where you specify
the only people who can?
Download: pastebin get 2W9BXSKb startup
gist get 7955418
http://hastebin.com/beyigagiwe.js
Credits: Config API by ben657
Happy Holidays, everyone!
Edited by gknova61, 14 December 2013 - 04:00 AM.












