Advertisement
Guest User

textInput.object

a guest
Feb 25th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. {
  2.   "objectName" : "PStextinput",
  3.   "rarity" : "Rare",
  4.   "description" : "Phoenix Semiconductor text input",
  5.   "shortdescription" : "Text Input",
  6.   "race" : "generic",
  7.  
  8.   "category" : "wire",
  9.   "price" : 1,
  10.   "printable" : false,
  11.  
  12.   "inventoryIcon" : "textInputIcon.png",
  13.   "orientations" :
  14.     [
  15.         {
  16.             "image" : "textInput.png:default.default",
  17.             "imagePosition" : [0, 0],
  18.             "spaceScan" : 0.1,
  19.             "anchors" : ["background"]
  20.         }
  21.     ],
  22.  
  23.   "animation" : "textInput.animation",
  24.   "animationParts" : {
  25.     "switch" : "textInput.png"
  26.   },
  27.   "animationPosition" : [0, 0],
  28.  
  29.   "scripts" : ["/penguinGUI/penguingui/Util.lua", "textInput.lua"],
  30.   "scriptDelta" : 1,
  31.  
  32.   "interactionConfig" :
  33.     {
  34.         "gui" :
  35.             {
  36.             "background" :
  37.                 {
  38.                 "zlevel" : 0,
  39.                 "type" : "background",
  40.                 "fileHeader" : "/textInput/textInputHeader.png",
  41.                 "fileBody" : "/textInput/textInputBackground.png"
  42.                 },
  43.             "scriptCanvas" :
  44.                 {
  45.                 "zlevel" : 1,
  46.                 "type" : "canvas",
  47.                 "rect" : [0, 0, 110, 45],
  48.                 "captureMouseEvents" : true,
  49.                 "captureKeyboardEvents" : true
  50.                 },
  51.             "close" :
  52.                 {
  53.                 "zlevel" : 2,
  54.                 "type" : "button",
  55.                 "base" : "/textInput/closeX.png",
  56.                 "hover" : "/textInput/closeXActive.png",
  57.                 "pressed" : "/textInput/closeX.png",
  58.                 "callback" : "close",
  59.                 "position" : [100, 46],
  60.                 "pressedOffset" : [0, -1]
  61.                 }
  62.             },
  63.         "scripts" : ["/penguinGUI/penguingui.lua", "/textInput/textInputConsole.lua"],
  64.         "scriptDelta" : 1,
  65.         "scriptCanvas" : "scriptCanvas"
  66.     }
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement