Jump to content




Villager Shopping Mall-COMPUTER CONTROLLED :D

peripheral utility media

3 replies to this topic

#1 steel_toed_boot

  • Members
  • 25 posts

Posted 30 June 2013 - 12:57 PM

This project took me about 2 weeks to do (~20 hours) and finished it about a month ago. I was designing my Screen Designer v1 API at the same time as I was making this system, effectively making the project drag on.

Sorry about the jumpy cuts and awkward demonstrations. The computer never crashed at any time (exception:before demo started) in case you are wondering. The code is completely stable.

View it! :)



Code:
https://github.com/steel-toed-boot/Vi...


CREDITS:
Music:
Bottlesmoker - "PIXEL HEART"
Bottlesmoker - "GLITTER OF SUNRISE"

--
Inspired by Direwolf20. :)
Inspiration video:
http://www.youtube.com/watch?v=n4lZ4DSwR0E




How it all works:
There are really only 16 buttons for all the villagers in the system, plus the send button and config button.
All data is read from a text file labeled "idNames.txt" and thrown into a table.
The page number and button id combined give me the unique villager number.
So villager 17 would be buttonId+(pageSize*(page-1)) where pageSize = 16 and buttonId=1, since the first button is pushed.
[1+(16*(2-1))=17]
It then goes into the table with that number and the button copies the required information and displays it on the button.

It then takes that identifier and sends a wireless redstone signal to the required cart and sends it to you.

#2 Popeye

  • Members
  • 46 posts

Posted 30 June 2013 - 02:21 PM

Wow! This is amazing.

#3 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 02 July 2013 - 01:48 PM

Truly awesome! :)
I could see that this would be useful and awesome on servers too :)

#4 Galactica4

  • Members
  • 44 posts
  • LocationAustralia

Posted 11 July 2013 - 12:33 AM

Really usefull for passive servers!!





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users