FIXED Added more checks to new battery recharge pricing
Files Affected:
- lua\entities\sprinter_base\init.lua
NEW Ability to charge battery recharge per percentage based on the full recharge price
Files Affected:
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\cl_sprinter.lua
- lua\entities\sprinter_rack\init.lua
- lua\entities\sprinter_base\shared.lua
- lua\entities\sprinter_base\init.lua
NEW Ability to make noisereduction fully silent.
NEW Ability to disable the printer rack fully.
Files Affected:
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\sh_sprinter.lua
- lua\entities\sprinter_base\init.lua
NEW More flexibility to categories, allowing for canSee etc
NEW QOL feature hiding the repair button if it cant be repaired
FIXED The management button going out of the screen when godmode is disabled
FIXED Mini cleanup in code
PM: When updating to this version you will have to do some config changes, specifically you need to create the category so it has one.
This is how it should look:
sPrinter.config["drp_categories"] = { -- This can be used to setup custom categories, for example Premium Printers etc... { name = "Printers", color = Color(200,0,0), canSee = function(ply) return true end, sortOrder = 999, }, // { // name = "Example1", // color = Color(230,0,0), // sortOrder = 20, // }, }
If you need any help with this do not hesitate opening a ticket.
Files Affected:
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\sh_sprinter.lua
- lua\s_printer\screens\cl_rackscreen.lua
NEW Ability to upgrade storage
Files Affected:
- lua\s_printer\sv_sprinter.lua
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\screens\cl_sidescreen.lua
- lua\s_printer\screens\cl_rackscreen.lua
- lua\s_printer\languages\sh_english.lua
- lua\entities\sprinter_base\shared.lua
- lua\entities\sprinter_base\init.lua
NEW Ability to incorporate upgrade prices into the reward
NEW Automatically add the workshop content for clients to download
Files Affected:
- lua\s_printer\sv_sprinter.lua
- lua\s_printer\sh_sprinter_config.lua
- lua\entities\sprinter_base\init.lua
NEW Interface to addMoney and canAfford (Easier to use for other gamemodes)
NEW Ability to define DarkRP categories in the config
NEW Support for custom categories for printers
FIXED Rack translation not being available on serverside
Files Affected:
- lua\s_printer\languages\sh_english.lua
- lua\s_printer\languages\sh_french.lua
- lua\s_printer\languages\sh_german.lua
- lua\s_printer\languages\sh_polish.lua
- lua\s_printer\languages\sh_russian.lua
- lua\s_printer\languages\sh_spanish.lua
FIXED Being able to click printer screens on screen
Files Affected:
- lua\s_printer\cl_sprinter.lua
- lua\s_printer\screens\cl_topscreen.lua
- lua\s_printer\screens\cl_sidescreen.lua
- lua\s_printer\screens\cl_rackscreen.lua
FIXED Panel being invisible on screen
Files Affected:
- lua\s_printer\cl_sprinter.lua
- lua\s_printer\screens\cl_rackscreen.lua
- lua\s_printer\screens\cl_sidescreen.lua
- lua\s_printer\screens\cl_topscreen.lua
NEW Better formatting for the config
NEW Ability to upgrade all the printers in a rack
Files Affected:
- lua\s_printer\sv_sprinter.lua
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\screens\cl_rackscreen.lua
- lua\s_printer\languages\sh_english.lua
- lua\entities\sprinter_rack\cl_init.lua
- lua\entities\sprinter_base\shared.lua
- lua\entities\sprinter_base\init.lua
FIXED Allow any key values for the rack, allows to add any DarkRP CreateEntity variables
Files Affected:
- lua\s_printer\sh_sprinter.lua
- lua\s_printer\sh_sprinter_config.lua
- 1
- Next ›