Guest User

Untitled

a guest
Dec 24th, 2021
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. zpiz = zpiz or {}
  2. zpiz.config = zpiz.config or {}
  3.  
  4. zpiz.config.Pizza = {}
  5. local function AddPizza(data) return table.insert(zpiz.config.Pizza,data) end
  6.  
  7. AddPizza({
  8. // The name of the Pizza
  9. name = "Magarita",
  10.  
  11. // The Ingredients needed.
  12. recipe = {
  13. [ZPIZ_ING_TOMATO] = 1,
  14. [ZPIZ_ING_CHEESE] = 1
  15. },
  16.  
  17. // The Time in seconds the Pizza needs do be Baked
  18. time = 10,
  19.  
  20. // The desciption of the Pizza
  21. desc = "A basic Pizza!",
  22.  
  23. // The price of the Pizza (The ingredient cost gets later added to this value)
  24. price = 150,
  25.  
  26. // How should the Pizza look when its done
  27. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_magarita.png", "smooth"),
  28.  
  29. // How high is the Chance that this Pizza gets choosen by a Customer (1-100)
  30. chance = 50,
  31.  
  32. // How much Health gets the Player if he eats the Pizza
  33. health = 5,
  34.  
  35. // Here you can define the custom health_cap
  36. health_cap = 100
  37. })
  38.  
  39. AddPizza({
  40. name = "Spinat Pizza",
  41. recipe = {
  42. [ZPIZ_ING_TOMATO] = 1,
  43. [ZPIZ_ING_CHEESE] = 1,
  44. [ZPIZ_ING_SPINAT] = 2,
  45. },
  46. time = 15,
  47. desc = "A really Green Pizza!",
  48. price = 200,
  49. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_spinat.png", "smooth"),
  50. chance = 25,
  51. health = 15,
  52. health_cap = 100
  53. })
  54.  
  55. AddPizza({
  56. name = "Salami Pizza",
  57. recipe = {
  58. [ZPIZ_ING_TOMATO] = 1,
  59. [ZPIZ_ING_CHEESE] = 1,
  60. [ZPIZ_ING_SALAMI] = 2,
  61. },
  62. time = 15,
  63. desc = "A Donkey Pizza!",
  64. price = 250,
  65. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_salami.png", "smooth"),
  66. chance = 10,
  67. health = 15,
  68. health_cap = 100
  69. })
  70.  
  71. AddPizza({
  72. name = "Olive Pizza",
  73. recipe = {
  74. [ZPIZ_ING_TOMATO] = 1,
  75. [ZPIZ_ING_CHEESE] = 1,
  76. [ZPIZ_ING_OLIVES] = 3,
  77. },
  78. time = 20,
  79. desc = "A Italiano Pizza!",
  80. price = 250,
  81. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_olivia.png", "smooth"),
  82. chance = 10,
  83. health = 15,
  84. health_cap = 100
  85. })
  86.  
  87. AddPizza({
  88. name = "Grande Pizza",
  89. recipe = {
  90. [ZPIZ_ING_TOMATO] = 1,
  91. [ZPIZ_ING_CHEESE] = 1,
  92. [ZPIZ_ING_SALAMI] = 1,
  93. [ZPIZ_ING_OLIVES] = 1,
  94. [ZPIZ_ING_EGGPLANT] = 1,
  95. [ZPIZ_ING_SPINAT] = 1,
  96. [ZPIZ_ING_PICKLE] = 1,
  97. },
  98. time = 120,
  99. desc = "A Big Pizza!",
  100. price = 1000,
  101. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_grande.png", "smooth"),
  102. chance = 5,
  103. health = 60,
  104. health_cap = 200
  105. })
  106.  
  107. AddPizza({
  108. name = "Bacon Pizza",
  109. recipe = {
  110. [ZPIZ_ING_TOMATO] = 1,
  111. [ZPIZ_ING_CHEESE] = 1,
  112. [ZPIZ_ING_BACON] = 2,
  113. },
  114. time = 25,
  115. desc = "Bacon!",
  116. price = 250,
  117. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_bacon.png", "smooth"),
  118. chance = 10,
  119. health = 15,
  120. health_cap = 100
  121. })
  122.  
  123. AddPizza({
  124. name = "Egg Pizza",
  125. recipe = {
  126. [ZPIZ_ING_TOMATO] = 1,
  127. [ZPIZ_ING_CHEESE] = 1,
  128. [ZPIZ_ING_EGG] = 1,
  129. [ZPIZ_ING_CHILLI] = 1,
  130. [ZPIZ_ING_BACON] = 1,
  131. },
  132. time = 25,
  133. desc = "Eggs and more Eggs.",
  134. price = 250,
  135. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_egg.png", "smooth"),
  136. chance = 10,
  137. health = 15,
  138. health_cap = 100
  139. })
  140.  
  141. AddPizza({
  142. name = "Mushroom Pizza",
  143. recipe = {
  144. [ZPIZ_ING_TOMATO] = 1,
  145. [ZPIZ_ING_CHEESE] = 1,
  146. [ZPIZ_ING_SPINAT] = 1,
  147. [ZPIZ_ING_CHILLI] = 1,
  148. [ZPIZ_ING_MUSHROOM] = 1,
  149. },
  150. time = 25,
  151. desc = "Dont gets you High.",
  152. price = 250,
  153. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_mushroom.png", "smooth"),
  154. chance = 10,
  155. health = 15,
  156. health_cap = 100
  157. })
  158.  
  159. AddPizza({
  160. name = "Hawai Pizza",
  161. recipe = {
  162. [ZPIZ_ING_TOMATO] = 1,
  163. [ZPIZ_ING_CHEESE] = 2,
  164. [ZPIZ_ING_PINEAPPLE] = 1,
  165. },
  166. time = 30,
  167. desc = "Tropical Taste!",
  168. price = 250,
  169. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_hawai.png", "smooth"),
  170. chance = 10,
  171. health = 15,
  172. health_cap = 100
  173. })
  174.  
  175. AddPizza({
  176. name = "Cheese Pizza",
  177. recipe = {
  178. [ZPIZ_ING_TOMATO] = 1,
  179. [ZPIZ_ING_CHEESE] = 3,
  180. },
  181. time = 30,
  182. desc = "A cheese Pizza!",
  183. price = 200,
  184. icon = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_cheese.png", "smooth"),
  185. chance = 10,
  186. health = 5,
  187. health_cap = 100
  188. })
  189.  
Advertisement
Add Comment
Please, Sign In to add comment