PivityGmodStore

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

(48)(704)

You can always read the reviews or discuss this product

Stable1.2.2

UPDATE

  1. Fixed another problem with the itemstore support, sorry!
Stable1.2.1

UPDATE

  1. Fixed ItemStore error if you don't have ItemStore on your server.
  2. Added config to enable the support for it TCF.Config.EnableItemStore (disabled by default).


Updated files in this HOTFIX are: autorun/cocaine_initialize.lua & ch_cocaine/shared/cocaine_config.lua

Stable1.2.0

UPDATE

  1. Optimized sunglasses code/spawning of clientside prop.
  2. Added support for multiply druggie NPC's. Please see description for guide how to set it up.
  3. Multiply druggie NPC's will have different randomized payout. So for each NPC, the payout will be different.
  4. This is based on the configs PayPerPackMin & PayPerPackMax.
  5. The randomized payout still changes after RandomPayoutInterval config.
  6. Added command 'cocainebuyer_removepos uniquename' to delete NPC's via console.
  7. All spawnpoints can be found in data/craphead_scripts/the_cocaine_factory/map_name/*.txt
  8. Changed command 'cocainebuyer_setpos' to take a unique name arguement.
  9. This means you will now need to type 'cocainebuyer_setpos uniquename' to setup an NPC position.
  10. If you do it wrong the console/chat will help you correct it.
  11. Different scaling method for positioning drugs buyer NPC menu.
  12. Fixed a few missing IsValid checks that could have caused errors.
  13. Added support for Vrondakis Leveling System ( https://github.com/vrondakis/Leveling-System )
  14. Added config TCF.Config.DryingRackGiveXP & TCF.Config.DryingRackXPAmount
  15. Added config TCF.Config.FinishCookGiveXP & TCF.Config.FinishCookXPAmount
  16. Added config TCF.Config.ExtractorGiveXP & TCF.Config.ExtractorXPAmount
  17. Added config TCF.Config.OnSellGiveXP & TCF.Config.OnSellXPAmount
  18. All this configuration can be found in the bottom of cocaine_config.lua
  19. Added smoke effect to the stove/pots.
  20. Added config to disable smoke for the server TCF.Config.StoveSmokeEffect (under the stove entity).
  21. Added itemstore support for the cocaine box.
  22. Saves amount of cocaine packs it holds.
  23. Saves open/closed stage when picked up.
  24. New file structure.
  25. Configuration is now located in lua/autorun/ch_cocaine/shared/...


I recommend you completely re-install the script. Save your config file and replace the values one by one if you want to keep the config. This update has a new file structure, making it impossible to just overwrite some files and not everything. The multiply NPC's support also requires you set new positions for NPC's.

If you have trouble with the NPC locations, go to garrysmod/data/the_cocaine_factory and delete that folder. It will require you to reset NPC location(s).

Stable1.1.4

UPDATE

  1. Added CPPISetOwner for all entities. This is to support FPP to physgun the entity as owner.
  2. Added config TCF.Config.BucketHealth.
  3. Added config TCF.Config.CookingPlateHealth.
  4. Fixed a weird duplication issue when entities touched for some users.
Stable1.1.3

UPDATE

  1. Added config TCF.Config.StoveExplosion.
  2. Added config TCF.Config.ExtractorExplosion.
  3. Added config TCF.Config.GasExplosion.
  4. All of these configs allow you to enable/disable explosions from the entity.
  5. Fixed a null entity error for the cocaine buyer npc.
Stable1.1.2

UPDATE

  1. Added French translation.
  2. Fixed sunglasses not being removed when setting a new position for the NPC.
  3. Updated explosive code for stove, gas canister and extractor. Few people had experienced crashes and this should fix it.
  4. Added config TCF.Config.ExtractionTime. It's the amount of seconds it takes for the extractor to finish.
  5. Changed how the NPC finds boxes of cocaine near it. There were some people reporting issues that it wouldn't let you sell. This should fix any issue.


Feel free to suggest more features or additions to the script. Some of the changes from the past updates are ideas I have received in tickets. I hope you all enjoy this!

Stable1.1.1

UPDATE

  1. Added config TCF.Config.GasButtonDelay. Amount of delay when switching gas on/off on the stove.
  2. Added config TCF.Config.RandomPayoutInterval. It randomizes the payout from the NPC based on your other configuration.
  3. Added Spanish translation. Thanks Miquel Barreto
  4. Added Chinese translation. Thanks MrChen
  5. Updated Russian translation.


All suggestions are still welcome to improve the script!

Stable1.1.0

UPDATE

  1. Slightly increased delay on stove switches.
  2. Added config TCF.Config.DryingTime. It's the amount of seconds it takes for the drying rack to finish.
  3. Added multi-line wrapper support for the NPC menu. This works better for the language system.
  4. Added language system. You can change which language your server uses in cocaine_config.lua.
  5. English
  6. Polish
  7. Danish
  8. Russian
  9. German
  10. Added some missing validation checks to explosions caused by gas, stove and extractor.
  11. Fixed a bug where you would only have to fill the extractor once and then you could keep turning it on to get raw cocaine.
  12. Fixed an issue where pots could finish almost instantly if they were re-used.


French & Spanish translations will be added soon. I wanted to push this update to fix some pretty serious bugs (mostly the last two). If you know any other language, just let me know if you want to translate the script.

Make a fresh install of the addon and change your configuration again manually. The workshop has also been updated with a single new picture.

Stable1.0.0

Initial release