Stable1.4.6
UPDATE
- Added functionality to detach cooked pots from stove by pressing E on them.
- Config option to enable/disable this feature is
TCF.Config.DetachFromStoveWithEand it's enabled by default.
Stable1.4.5
UPDATE
- Fixed a glitch with drying rack.
- Use PhysWake to fix error when content was not installed on server workshop collection.
- Replaced depreciated
self.Ownerwithself:GetOwner()for repair wrench weapon. - Added translations for notifications on repair wrench weapon.
Stable1.4.4
UPDATE
- Recoded logic when trying to sell cocaine to NPC that will potentially fix conflicting issue with box being "too far away" while it was not.
Update file: lua/entities/cocaine_drugs_buyer/init.lua
Stable1.4.3
UPDATE
- Fixed being able to kill NPC's after latest GMod update.
Updated file: lua/entities/cocaine_drugs_buyer/init.lua
Stable1.4.2
UPDATE
- Fixed some misleading text for setting up NPC's.
- Using ipairs where possible.
- Removed some table.HasValue and now using faster method.
- Using CPPIGetOwner for removing cocaine entities on OnPlayerChangedTeam and PlayerDisconnected.
- Updated some tables in config.
- TCF.Config.CocaineEntityList and TCF.Config.HealableCocaineEntityList.
Stable1.4.1
UPDATE
- Fixed a minor problem with "out of gas" notification on stove.
Updated file: lua/entities/cocaine_stove/init.lua
Stable1.4.0
UPDATE
- Fixed a problem with the randomizing of cocaine payout for NPC's.
Updated file: the_cocaine_factory/lua/entities/cocaine_drugs_buyer/init.lua
Stable1.3.9
UPDATE
- Fixed not respawning cocaine buyer npc's on clean-up.
- Replaced Distance with DistToSqr
- Updated config option
TCF.Config.SellDistancefor DistToSqr measures
Updated files: lua/entities/cocaine_drugs_buyer/init.lua and lua/ch_cocaine/shared/cocaine_config.lua and lua/ch_cocaine/server/cocaine_setup.lua
Stable1.3.8
UPDATE
- Added Turkish translations thanks to Wolflix
- Added a missing validation check.
- Updated setting owner functionalities. This should fix compatibility with some addons.
- Added support for Vronkadis DarkRP Level System
- Config option
TCF.Config.DarkRPLevelSystemEnabled - Added support for Sublime Levels
- Config option
TCF.Config.SublimeLevelSystemEnabled - Experience points are given upon selling cocaine.
- Config option xp given per cocaine pack
TCF.Config.XPPerCocainePack
Stable1.3.7
UPDATE
- Fixed a nil value error when selling cocaine and giving XP was enabled.
- Fixed a problem with boxes saved via ItemStore not being sell-able after reconnecting.
File to update: the_cocaine_factory/lua/entities/cocaine_drugs_buyer/init.lua
Stable1.3.6
UPDATE
- Fixed transparency issues with cocaine buyer overhead.
Stable1.3.5
UPDATE
- Added Xenin Inventory support.
- Fixed a glitch with explosions that could cause lag.
- Removed unfinished entities that was left in the script.
- Added compatibility with ServerGuard for donator bonuses.
- Added a config to pre-install cooking plates on stove when spawned.
- Config TCF.Config.InstallPlatesDefault.
- If enabled then the cooking plate entity is also not available through the f4 menu.