Guest User

Untitled

a guest
May 14th, 2021
1,073
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.18 KB | None | 0 0
  1. zmlab2 = zmlab2 or {}
  2. zmlab2.config = zmlab2.config or {}
  3. zmlab2.config.Storage = zmlab2.config.Storage or {}
  4.  
  5. // Here are all the entities which can be bought from the storage
  6. zmlab2.config.Storage.Shop = {
  7.     [1] = {
  8.         name = zmlab2.language["acid_title"],
  9.         desc = zmlab2.language["acid_desc"],
  10.         class = "zmlab2_item_acid",
  11.         model = "models/zerochain/props_methlab/zmlab2_acid.mdl",
  12.         price = 10,
  13.         // Defines how many items of that class the player can spawn
  14.         limit = 5,
  15.  
  16.         // Which rank is allowed to buy this?
  17.         /*
  18.         rank = {
  19.             ["vip"] = true,
  20.         },
  21.         */
  22.  
  23.         // Which job is allowed to buy this?
  24.         /*
  25.         job = {
  26.             [TEAM_ZMLAB2_COOK] = true
  27.         },
  28.         */
  29.  
  30.         // You can use this to restrict this for any other reason
  31.         /*
  32.         customcheck = function(ply)
  33.  
  34.         end,
  35.         */
  36.     },
  37.     [2] = {
  38.         name = zmlab2.language["methylamine_title"],
  39.         desc = zmlab2.language["methylamine_desc"],
  40.         class = "zmlab2_item_methylamine",
  41.         model = "models/zerochain/props_methlab/zmlab2_methylamine.mdl",
  42.         price = 10,
  43.         limit = 3
  44.     },
  45.     [3] = {
  46.         name = zmlab2.language["aluminum_title"],
  47.         desc = zmlab2.language["aluminum_desc"],
  48.         class = "zmlab2_item_aluminium",
  49.         model = "models/zerochain/props_methlab/zmlab2_aluminium.mdl",
  50.         price = 10,
  51.         limit = 10
  52.     },
  53.     [4] = {
  54.         name = zmlab2.language["lox_title"],
  55.         desc = zmlab2.language["lox_desc"],
  56.         class = "zmlab2_item_lox",
  57.         model = "models/zerochain/props_methlab/zmlab2_lox.mdl",
  58.         price = 10,
  59.         limit = 3
  60.     },
  61.     [5] = {
  62.         name = zmlab2.language["crate_title"],
  63.         desc = zmlab2.language["crate_desc"],
  64.         class = "zmlab2_item_crate",
  65.         model = "models/zerochain/props_methlab/zmlab2_crate.mdl",
  66.         price = 10,
  67.         limit = 5
  68.     },
  69.     [6] = {
  70.         name = zmlab2.language["palette_title"],
  71.         desc = zmlab2.language["palette_desc"],
  72.         class = "zmlab2_item_palette",
  73.         model = "models/zerochain/props_methlab/zmlab2_palette.mdl",
  74.         price = 10,
  75.         limit = 1
  76.     },
  77.     [7] = {
  78.         name = zmlab2.language["crusher_title"],
  79.         desc = zmlab2.language["crusher_desc"],
  80.         class = "zmlab2_item_autobreaker",
  81.         model = "models/zerochain/props_methlab/zmlab2_autobreaker.mdl",
  82.         price = 10000,
  83.         limit = 1,
  84.         /*
  85.         rank = {
  86.             ["vip"] = true,
  87.         },
  88.         */
  89.     }
  90. }
  91.  
Advertisement
Add Comment
Please, Sign In to add comment