Advertisement
Mackan90096

ID

Jan 19th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.13 KB | None | 0 0
  1. local stone = "stone"
  2. local cobblestone = "cobblestone"
  3. local dirt = "dirt"
  4. local grass = "grass"
  5. local planks = "planks"
  6. local sapling = "sapling"
  7. local sand = "sand"
  8. local gravel = "gravel"
  9. local goldore = "gold ore"
  10. local ironore = "iron ore"
  11. local air = "air"
  12. local bedrock = "bedrock"
  13. local water = "water"
  14. local lava = "lava"
  15. local coalore = "coal ore"
  16. local wood = "wood"
  17. local leaves = "leaves"
  18. local sponge = "sponge"
  19. local glass = "glass"
  20. local lapizore = "lapiz lazuli ore"
  21. local lapizblock = "lapiz lazuli block"
  22. local dispenser = "dispenser"
  23. local sandstone = "sandstone"
  24. local noteblock = "note block"
  25. local powerrail = "powered rail"
  26. local detectrail = "detector rail"
  27. local stickypiston = "sticky piston"
  28. local web = "cobweb"
  29. local wool = "wool"
  30. local wool1 = "orange wool"
  31. local wool2 = "magenta wool"
  32. local wool3 = "light blue wool"
  33. local wool4 = "yellow wool"
  34. local wool5 = "light green wool"
  35. local wool6 = "pink wool"
  36. local wool7 = "gray wool"
  37. local wool8 = "light gray wool"
  38. local wool9 = "cyan wool"
  39. local wool10 = "purple wool"
  40. local wool11 = "blue wool"
  41. local wool12 = "brown wool"
  42. local wool13 = "dark green wool"
  43. local wool14 = "red wool"
  44. local wool15 = "black wool"
  45.  
  46. local input = read()
  47. if input == stone then
  48. print("ID of Stone: 1")
  49. else if
  50. input == cobblestone then
  51. print("ID of Cobblestone: 4")
  52. else if
  53. input == dirt then
  54. print("ID of Dirt: 3")
  55. else if
  56. input == grass then
  57. print("ID of Grass: 2")
  58. else if
  59. input == planks then
  60. print("ID of Planks: 5")
  61. else if
  62. input == sapling then
  63. print("ID of Sapling(s): 6")
  64. else if
  65. input == sand then
  66. print("ID of Sand: 12")
  67. else if
  68. input == gravel then
  69. print("ID of Gravel: 13")
  70. else if
  71. input == goldore then
  72. print("ID of Gold Ore: 14")
  73. else if
  74. input == ironore then
  75. print("ID of Iron Ore: 15")
  76. else if
  77. input == air then
  78. print("ID of Air: 0")
  79. else if
  80. input == bedrock then
  81. print("ID of Bedrock: 7")
  82. else if
  83. input == water then
  84. print("ID of Water: 8")
  85. else if
  86. input == lava then
  87. print("ID of Lava: 10")
  88. else if
  89. input == coalore then
  90. print("ID of Coal Ore: 16")
  91. else if
  92. input == wood then
  93. print("ID of Wood: 17")
  94. else if
  95. input == leaves then
  96. print("ID of Leaves: 18")
  97. else if
  98. input == sponge then
  99. print("ID of Sponge: 19")
  100. else if
  101. input == glass then
  102. print("ID of Glass: 20")
  103. else if
  104. input == lapizore then
  105. print("ID of Lapiz Lazuli Ore: 21")
  106. else if
  107. input == lapizblock then
  108. print("ID of Lapiz Lazuli Ore: 22")
  109. else if
  110. input == dispenser then
  111. print("ID of Dispenser: 23")
  112. else if
  113. input == sandstone then
  114. print("ID of Sandstone: 24")
  115. else if
  116. input == noteblock then
  117. print("ID of Note Block: 25")
  118. else if
  119. input == powerrail then
  120. print("ID of Powered Rail: 27")
  121. else if
  122. input == detectrail then
  123. print("ID of Detector Rail: 28")
  124. else if
  125. input == stickypiston then
  126. print("ID of Sticky Piston: 29")
  127. else if
  128. input == web then
  129. print("ID of Cobweb: 30")
  130. else if
  131. input == wool then
  132. print("ID of Wool: 35")
  133. else if
  134. input == wool1 then
  135. print("ID of Orange wool: 35:1")
  136. else if
  137. input == wool2 then
  138. print("ID of Magenta wool: 35:2")
  139. else if
  140. input == wool3 then
  141. print("ID of Light Blue wool: 35:3")
  142. else if
  143. input == wool4 then
  144. print("ID of Yellow wool: 35:4")
  145. else if
  146. input == wool5 then
  147. print("ID of Light Green wool: 35:5")
  148. else if
  149. input == wool6 then
  150. print("ID of Pink wool: 35:6")
  151. else if
  152. input == wool7 then
  153. print("ID of Gray wool: 35:7")
  154. else if
  155. input == wool8 then
  156. print("ID of Light Gray wool: 35:8")
  157. else if
  158. input == wool9 then
  159. print("ID of Cyan wool: 35:9")
  160. else if
  161. input == wool10 then
  162. print("ID of Purple wool: 35:10")
  163. else if
  164. input == wool11 then
  165. print("ID of Blue wool: 35:11")
  166. else if
  167. input == wool12 then
  168. print("ID of Brown wool: 35:12")
  169. else if
  170. input == wool13 then
  171. print("ID of Dark Green wool: 35:13")
  172. else if
  173. input == wool14 then
  174. print("ID of Red wool: 35:14")
  175. else if
  176. input == wool15 then
  177. print("ID of Black wool: 35:15")
  178. else
  179. print("Can't understand")
  180.  
  181. end
  182. end
  183. end
  184. end
  185. end
  186. end
  187. end
  188. end
  189. end
  190. end
  191. end
  192. end
  193. end
  194. end
  195. end
  196. end
  197. end
  198. end
  199. end
  200. end
  201. end
  202. end
  203. end
  204. end
  205. end
  206. end
  207. end
  208. end
  209. end
  210. end
  211. end
  212. end
  213. end
  214. end
  215. end
  216. end
  217. end
  218. end
  219. end
  220. end
  221. end
  222. end
  223. end
  224. end
  225. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement