Advertisement
Guest User

stuffed_printers_cfg.lua

a guest
Nov 22nd, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.70 KB | None | 0 0
  1. sp = {}
  2.  
  3. -------------------------------------------
  4. --                 MAIN                  --
  5. -------------------------------------------
  6. sp.config = {}
  7. sp.config.printAmount           = 100       -- Amount of cash per print, reduce if people are getting too much cash
  8. sp.config.printHeat             = 10        -- Heat gain per print, leave it at default otherwise you'll have to modify coolers aswell
  9. sp.config.printExp              = 50        -- Exp per print, reduce this if it goes too fast
  10. sp.config.refillCost            = 2         -- Cost to refill 1 energy
  11. sp.config.rarePrinterChance     = 5         -- Chance to get a rare printer on any printers level up (except eco)
  12. sp.config.billTheZombieChance   = 5         -- Chance that a zombie will appear during print using rare printer
  13. sp.config.premiumGroup          = "donator" -- Group that can only spawn premium grade printer and upgrades, set to 'false' if you want others to spawn it
  14. sp.config.npcName               = "Neth The Electronics Seller" -- Name of the NPC, set it at own will
  15. sp.config.useNpc                = true      -- Wheter to spawn the NPC or not
  16. sp.config.npcModel              = "models/odessa.mdl"   -- Obvious ^^
  17.  
  18. -------------------------------------------
  19. --               Printing                --
  20. -------------------------------------------
  21. sp.config.printers = {}
  22. sp.config.printers[ "eco" ]     = { printMul = 0.5,     printDelay = 60 }
  23. sp.config.printers[ "low" ]     = { printMul = 1,       printDelay = 60, energyUse = 5 }
  24. sp.config.printers[ "mid" ]     = { printMul = 1.25,    printDelay = 60, energyUse = 10 }
  25. sp.config.printers[ "high" ]    = { printMul = 1.5,     printDelay = 60, energyUse = 15 }
  26. sp.config.printers[ "premium" ] = { printMul = 2,       printDelay = 60, energyUse = 20 }
  27. sp.config.printers[ "rare" ]    = { printMul = 3,       printDelay = 50, energyUse = 40 }
  28.  
  29. -------------------------------------------
  30. --               Leveling                --
  31. -------------------------------------------
  32. sp.config.levels = {}
  33. sp.config.levels[ 1 ] = { expReq = 0,       printMul = 0 }
  34. sp.config.levels[ 2 ] = { expReq = 250,     printMul = 0.25 }
  35. sp.config.levels[ 3 ] = { expReq = 625,     printMul = 0.5 }
  36. sp.config.levels[ 4 ] = { expReq = 1500,    printMul = 0.75 }
  37. sp.config.levels[ 5 ] = { expReq = 3750,    printMul = 1 }
  38.  
  39. -------------------------------------------
  40. --                Visual                 --
  41. -------------------------------------------
  42. sp.config.rarityColors = {}
  43. sp.config.rarityColors[ "poor" ]    = Color( 255, 130, 201, 255 )
  44. sp.config.rarityColors[ "low" ]     = Color( 252, 96, 66, 255 )
  45. sp.config.rarityColors[ "medium" ]  = Color( 252, 55, 65, 255 )
  46. sp.config.rarityColors[ "high" ]    = Color( 255, 201, 144, 255 )
  47. sp.config.rarityColors[ "premium" ] = Color( 234, 255, 135, 255 )
  48. sp.config.rarityColors[ "rare" ]    = Color( 255, 0, 0, 255 )
  49.  
  50. -------------------------------------------
  51. --               NPC Shop                --
  52. --       Change only prices, names       --
  53. --            and description            --
  54. -------------------------------------------
  55. sp.config.shopItems = {}
  56. sp.config.shopItems[ 1 ]    = { class = "sp_manual", name = "Stuffed Printers for Dummies", cost = 5, camPos = Vector( 10, 20, 5 ), model = "models/props_lab/bindergreen.mdl", descr = "You should read it.. really!" }
  57. sp.config.shopItems[ 2 ]    = { class = "sp_shelf", name = "Workshop Shelf", cost = 250, camPos = Vector( 60, 40, 10 ), model = "models/freeman/moneyPrinters/printer_shelf.mdl", descr = "The best way to keep everything at one place" }
  58.  
  59. sp.config.shopItems[ 3 ]    = { class = "sp_cooler_poor", name = "Cooler - Poor Grade", cost = 100, camPos = Vector( 5, 5, 2 ), model = "models/freeman/moneyPrinters/coolers/cooler_1.mdl", descr = "Oh, look! There is a bit of rust on it's fans" }
  60. sp.config.shopItems[ 4 ]    = { class = "sp_cooler_low", name = "Cooler - Low Grade", cost = 200, camPos = Vector( 5, 5, 2 ), model = "models/freeman/moneyPrinters/coolers/cooler_2.mdl", descr = "Not the best of the bunch" }
  61. sp.config.shopItems[ 5 ]    = { class = "sp_cooler_medium", name = "Cooler - Medium Grade", cost = 300, camPos = Vector( 5, 5, 2 ), model = "models/freeman/moneyPrinters/coolers/cooler_3.mdl", descr = "Well-spent childhood savings" }
  62. sp.config.shopItems[ 6 ]    = { class = "sp_cooler_high", name = "Cooler - High Grade", cost = 500, camPos = Vector( 5, 5, 2 ), model = "models/freeman/moneyPrinters/coolers/cooler_4.mdl", descr = "Where did you get that kind of money?" }
  63. sp.config.shopItems[ 7 ]    = { class = "sp_cooler_premium", name = "Cooler - Premium Grade", cost = 750, camPos = Vector( 5, 5, 2 ), model = "models/freeman/moneyPrinters/coolers/cooler_5.mdl", descr = "It sucks nitrogen from the atmosphere" }
  64.  
  65. sp.config.shopItems[ 8 ]    = { class = "sp_storage_poor", name = "Storage - Poor Grade", cost = 50, camPos = Vector( 15, 15, 10 ), model = "models/freeman/moneyPrinters/storage/storage_tier1.mdl", descr = "I don't know, looks rather cheap" }
  66. sp.config.shopItems[ 9 ]    = { class = "sp_storage_low", name = "Storage - Low Grade", cost = 100, camPos = Vector( 15, 15, 10 ), model = "models/freeman/moneyPrinters/storage/storage_tier2.mdl", descr = "Still looks kinda square-ish" }
  67. sp.config.shopItems[ 10 ]   = { class = "sp_storage_medium", name = "Storage - Medium Grade", cost = 200, camPos = Vector( 15, 15, 10 ), model = "models/freeman/moneyPrinters/storage/storage_tier3.mdl", descr = "Looks rather good" }
  68. sp.config.shopItems[ 11 ]   = { class = "sp_storage_high", name = "Storage - High Grade", cost = 350, camPos = Vector( 15, 15, 10 ), model = "models/freeman/moneyPrinters/storage/storage_tier4.mdl", descr = "Damn, it's golden, sturdy and has a lot of space" }
  69. sp.config.shopItems[ 12 ]   = { class = "sp_storage_premium", name = "Storage - Premium Grade", cost = 500, camPos = Vector( 15, 15, 10 ), model = "models/freeman/moneyPrinters/storage/storage_tier5.mdl", descr = "A humming echo is coming from inside of it" }
  70.  
  71. sp.config.shopItems[ 13 ]   = { class = "sp_supply_poor", name = "Power Supply - Poor Grade", cost = 150, camPos = Vector( 7, 7, 7 ), model = "models/freeman/moneyPrinters/power/psu_tier1.mdl", descr = "I wouldn't touch it with bare hands" }
  72. sp.config.shopItems[ 14 ]   = { class = "sp_supply_low", name = "Power Supply - Low Grade", cost = 300, camPos = Vector( 7, 7, 7 ), model = "models/freeman/moneyPrinters/power/psu_tier2.mdl", descr = "Yay, it's so light, I wonder what that means" }
  73. sp.config.shopItems[ 15 ]   = { class = "sp_supply_medium", name = "Power Supply - Medium Grade", cost = 500, camPos = Vector( 7, 7, 7 ), model = "models/freeman/moneyPrinters/power/psu_tier3.mdl", descr = "Getting started" }
  74. sp.config.shopItems[ 16 ]   = { class = "sp_supply_high", name = "Power Supply - High Grade", cost = 700, camPos = Vector( 7, 7, 7 ), model = "models/freeman/moneyPrinters/power/psu_tier4.mdl", descr = "It's shiny and sparky" }
  75. sp.config.shopItems[ 17 ]   = { class = "sp_supply_premium", name = "Power Supply - Premium Grade", cost = 1000, camPos = Vector( 7, 7, 7 ), model = "models/freeman/moneyPrinters/power/psu_tier5.mdl", descr = "E-E-E-Electro, lasting power" }
  76.  
  77. sp.config.shopItems[ 18 ]   = { class = "sp_overclocker_poor", name = "Overclocker - Poor Grade", cost = 250, model = "models/freeman/moneyPrinters/upgrades/card_tier1.mdl", descr = "It was taken from old Game Boy" }
  78. sp.config.shopItems[ 19 ]   = { class = "sp_overclocker_low", name = "Overclocker - Low Grade", cost = 500, model = "models/freeman/moneyPrinters/upgrades/card_tier2.mdl", descr = "Used to overclock a fridge" }
  79. sp.config.shopItems[ 20 ]   = { class = "sp_overclocker_medium", name = "Overclocker - Medium Grade", cost = 750, model = "models/freeman/moneyPrinters/upgrades/card_tier3.mdl", descr = "Not a bad choice if you ask me" }
  80. sp.config.shopItems[ 21 ]   = { class = "sp_overclocker_high", name = "Overclocker - High Grade", cost = 1000, model = "models/freeman/moneyPrinters/upgrades/card_tier4.mdl", descr = "This will surely take contraband to a higher level" }
  81. sp.config.shopItems[ 22 ]   = { class = "sp_overclocker_premium", name = "Overclocker - Premium Grade", cost = 1500, model = "models/freeman/moneyPrinters/upgrades/card_tier5.mdl", descr = "GOTTA-GO-FAST!" }
  82.  
  83. --sp.config.shopItems[ 23 ]     = { class = "sp_virus_cd", name = "Virus CD", cost = 400, camPos = Vector( 1, 5, 6 ), model = "models/freeman/moneyPrinters/cd.mdl", descr = "Used by the bad people to steal printers" }
  84.  
  85. -------------------------------------------
  86. --             Manual Pages              --
  87. -------------------------------------------
  88. sp.config.manualPages = {}
  89. sp.config.manualPages[1] = {}
  90. sp.config.manualPages[1].text = "Introduction\n\nWelcome to the Stuffed Printers manual.\nAlthough our printers are rather easy to use,\nwe decided to create a manual that will teach\nyou how to use them effectivelly."
  91.  
  92. sp.config.manualPages[2] = {}
  93. sp.config.manualPages[2].text = "Printer Grades\n\nThere are 6 grades of printers.\n- 1 economical (no upgrades required) \n- 1 rare\n- 4 regular"
  94.  
  95. sp.config.manualPages[3] = {}
  96. sp.config.manualPages[3].text = "Power Supply\n\nEach of regular printers requires power supply to work\nThe higher grade of supply - the longer printer will stay online\n\nHint: Each upgrade increases energy usage"
  97.  
  98. sp.config.manualPages[4] = {}
  99. sp.config.manualPages[4].text = "Cooler\n\nPrinters should (althought it's not required) have a cooler.\nCoolers reduce or terminate heat gained per print\n\nIn addition, coolers increase heat loss when printer is offline"
  100.  
  101. sp.config.manualPages[5] = {}
  102. sp.config.manualPages[5].text = "Storage Devices\n\nPrinter requires it to work, \nwithout it the money has nowhere to go"
  103.  
  104. sp.config.manualPages[6] = {}
  105. sp.config.manualPages[6].text = "Overclockers\n\nThese devices are rather fairly easy to use, \nthere is a simple formula one has to remember while using it:\nX grade overclocker requires X grade cooler to not overheat"
  106.  
  107. sp.config.manualPages[7] = {}
  108. sp.config.manualPages[7].text = "Workshop Shelf\n\nThe shelf is the easiest way to get your printers and upgrades tidy"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement