PivityGmodStore

The Cocaine Factory (Custom Models, Blend Sequences & Donator Features)

(48)(704)

You can always read the reviews or discuss this product

Stable1.5.8

UPDATE

  1. Added drying finished and drying failed hooks
  2. CH_Cocaine_DryingFinished (ply, ent)
  3. CH_Cocaine_DryingFailed(ply, ent)

Updated file: lua/entities/cocaine_drying_rack/init.lua

Stable1.5.7

UPDATE

  1. Fixed a rare bug where thermometers would not be removed if pans were removed.
Stable1.5.6

UPDATE

  1. When interacting with extractor, drying rack and stove it will now notify the player directly instead of the owner.
  2. When adding entities to extractor, drying rack and stove it will notify the owner of the entity dropped into it instead of the owner of the main entity.
  3. Fixed blend sequences and button actions only being networked to the person that starts the process.
  4. It now networks properly to everyone.
  5. Removed custom NW vars for health and utilize gmods default SetHealth and Health.
  6. Removed unused code.
  7. Few micro-optimization here and there.
Stable1.5.5

UPDATE

  1. Various QoL and optimization updates to the code.
  2. Removed all uses of table.HasValue
  3. Removed EnableDonatorBonus config and let it auto fall-back to 1 if not defined.
  4. All the supported XP systems are now automatically detected. You will not have to manually enable them in the config anymore.
  5. If you set the XP to give amounts to 0 it will be as if you disable giving XP (in case you have XP systems, but don't want to use it).
  6. More reliable way of initializing the addon and buyer NPC.
  7. Remade structure of TCF.Config.DonatorBonuses table for optimization purpose.
  8. Cocaine box and cocaine packs ownership are now updated on gravgun/physgun pickup to allow players to steal those entities are sell to the NPC.
  9. Police jobs are now able to confiscate single cocaine packs just like they can confiscate cocaine boxes. By pressing E on the entity.
  10. Now using SafeRemoveEntityDelayed to remove entities.
  11. Replaced IsAdmin checks with IsSuperAdmin to spawn/remove cocaine buyer NPCs.
  12. Adjusted alignment of NPC display description.
  13. Outline on NPC 3d2d is now black.
Stable1.5.4

UPDATE

  1. Fixed an error with the cocaine extractor causing it not to work.

Updated file: lua/entities/cocaine_extractor/init.lua

Stable1.5.3

UPDATE

  1. Added a hook when selling cocaine (CH_COCAINE_SellCocaine)

Updated file: lua/entities/cocaine_drugs_buyer/init.lua

Stable1.5.2

UPDATE

  1. Replaced some pairs with ipairs for optimization.
  2. Replaced deprecated function for optimization.
  3. Cached materials for optimization.
  4. Updated some colors for 3d2d.
  5. Added better controls for how much gas is used when cooking and how fast.
  6. Config TCF.Config.GasUsageDuration controls how often gas is adjusted.
  7. Config TCF.Config.GasUsagePerDuration controls how much gas is consumed when adjusted.
  8. Gas is now a float. So you can set TCF.Config.GasUsagePerDuration to 0.2 for example and it will consume a lot less gas than normally.
  9. Added a config to adjust how intensive/visible the smoke effect should be.
  10. Config option TCF.Config.SmokeEffectAlpha
Stable1.5.1

UPDATE

  1. Fixed a missing translation for when drying rack ran out of battery during dry process.

Only the language file has been updated.

Stable1.5.0

UPDATE

  1. Fixed compatibility with GlorifiedLevel support.
Stable1.4.9

UPDATE

  1. Added support for xp systems Sublime Levels - Vrondakis Level System - Elite XP System (EXP2) - GlorifiedLeveling - DarkRP Essentials - Brick's Essentials.
  2. 13 configurations to enable/disable the XP systems individually as well as giving XP in the following situations:
  3. When selling cocaine.
  4. When finished drying cocaine.
  5. When finished cooking a cocaine mixture.
  6. When finished extracting raw cocaine in the extractor.
  7. You can define how much XP per scenario.

Find the XP configurations around line 136 in the configuration or search for XP SUPPORT.

Stable1.4.8

UPDATE

  1. Added missing validation check in some timers.
  2. Removed some globals.
Stable1.4.7

UPDATE

  1. Safely remove entities in Touch hooks to prevent warnings/crashes.
  2. Removed some redundant code.