Advertisement
Pirnogion

[OC]MagneticCard.lua

Mar 8th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local component = require "component"
  2. local ser = require "serialization"
  3.  
  4. local writer = component.os_cardwriter
  5.  
  6. local cardName = "Reactor access control"
  7. local whitelist = {
  8.     ["tinrion"] = true,
  9.     ["pirnogion"] = true
  10. }
  11.  
  12. writer.write(ser.serialize(whitelist), cardName, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement