Files
dreambuilder_game/mods/digistuff/docs/cardreader.txt
VanessaE 4394beec6a Convert the modpack into a standalone game for the Minetest engine
Integrated into the game is most of minetest_game as the stable base
2021-02-24 22:05:32 -05:00

9 lines
625 B
Plaintext

How to use the card reader:
After setting a channel, swiping a card (punch the reader with the card to swipe) will send a message in the following format:
{event = "read",data = "The data that was on the card"}
To write a card, send a command in the following format:
{command = "write",data = "The data to put on the card",description = "A description of what the card is for"}
After sending the write command, swipe the card to be written and the reader will send back the following message:
{event = "write"}
Both blank and previously written cards can be written to. If the card was not blank, it will be overwritten.