Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // admin ranks
- DC_CRAFTSYSTEM.Config.adminRanks = {"superadmin"}
- // Donator groups
- DC_CRAFTSYSTEM.Config.donatorGroups = {"vip"}
- // Default language
- DC_CRAFTSYSTEM.Config.langKey = "en"
- // Item find radius about player
- DC_CRAFTSYSTEM.itemDistance = 200
- // Show item/element class with name ? Example: M4 (entity_m4)
- DC_CRAFTSYSTEM.showClass = false
- // Open menu only from workbench ?
- DC_CRAFTSYSTEM.onlyWorkbench = false
- // The number of seconds that will decrease when pressing buttons on the workbench (in sec.)
- DC_CRAFTSYSTEM.bonusCraftTime = 2
- // Boost craft speed interval
- DC_CRAFTSYSTEM.bonusCraftTimeInterval = 3
- // Slowing down the player when crafting (in %)
- DC_CRAFTSYSTEM.slowPercent = 30
- // Open menu key
- DC_CRAFTSYSTEM.OpenKey = KEY_F7
- // Chat commands for open menu
- DC_CRAFTSYSTEM.OpenCmds = {"!craft", "/craft"}
- // Craft boost speed craft button click sounds
- DC_CRAFTSYSTEM.BoostSounds = {
- "physics/wood/wood_solid_impact_hard1.wav",
- "physics/wood/wood_solid_impact_hard2.wav",
- "physics/wood/wood_solid_impact_hard3.wav"
- }
- // Images Format: ['unical image name'] = "url to image"
- DC_CRAFTSYSTEM.Images = {
- ['default.png'] = "https://i.imgur.com/pYMrNua.png",
- ['addcategory.png'] = "https://i.imgur.com/pCqPdp7.png",
- ['vip.png'] = "https://i.imgur.com/Lma7sH3.png",
- ['time.png'] = "https://i.imgur.com/5vr0uTx.png",
- ['craftprogress.png'] = "https://i.imgur.com/xVodYuf.png",
- ['tools.png'] = "https://i.imgur.com/mRwVWKb.png",
- }
- // For custom playtime module
- DC_CRAFTSYSTEM.CustomTime = function(ply)
- -- return ply:GetUTimeTotalTime() -- Example of utime(ulx) module
- return nil
- end
- if SERVER then return end
- // Colors
- DC_CRAFTSYSTEM.Colors = {
- // Main menu
- ['background'] = Color(20,20,20),
- ['backgroundGradient'] = Color(30, 30, 30,25),
- ['menuTitle'] = Color(40, 40, 40),
- ['menuBottom'] = Color(40, 40, 40),
- // Categorises Menu
- ['categoryBackground'] = Color(40, 40, 40),
- ['categoryBackgroundHovered'] = Color(19, 66, 74),
- // Utility
- ['closeBtnBackground'] = Color(150,0,0,100),
- ['closeBtnHover'] = Color(150,30,30,200),
- ['textColor'] = Color(140,140,140),
- ['textColorTitle'] = Color(160,160,160),
- ['categoryIconColor'] = Color(200,200,200),
- ['btnBackground'] = Color(19, 66, 74),
- ['btnBackgroundHover'] = Color(29, 76, 84),
- ['canCraftBackground'] = Color(0, 100, 0,30),
- ['cantCraftBackground'] = Color(100, 0, 0,30),
- }
Advertisement
Add Comment
Please, Sign In to add comment