Garry's Mod Leaks
Simple Cigarette Factory
Submitted by Can_I_Cry, 02-02-2023, 06:05 AM, Thread ID: 259138
❓ What is Cigarette Factory?
It's a simple, yet fun script that allows players to make money by selling illegal cigarettes. I think it seems like a really fresh and unique idea, that I haven't seen here before. It fits almost any roleplay server - unlike meth and some other drugs, illegal cigarettes are popular in many countries. The script comes with custom models and sounds (I know these models aren't perfect, but... hey I'm new into that)
😏 How does it actually work?
The main idea is very simple. All you have to do is buy a machine and supply it with both tobacco and paper. If everything goes smoothly, the machine should start producing cigarette packs. Now you can either pack them into a box or use one (if you've enabled compatibility with cigarette swep in the config). Boxes with cigarette packs can be picked up and sold in a nearest export van (default sell mode) or instantly sold by clicking E on them (instant sell mode). If a player fails to deliever held boxes and dies, he drops them.
Machines can also be upgraded, as there are two upgrades: engine upgrade and storage upgrade - Engine upgrade basicly speeds up the entire productions process, while storage upgrade allows you to store more tobacco and paper in the machine.
Considering these machines are illegal they're also destructible. Their health can be tweaked in the config, however police batton destroys them in one hit.
💡 Can you change / add something?
Most of the stuff is tweakable due to the config. If you're really concerned about something then feel free to send me a support ticket. If you have an interesting idea that isn't too demanding just ask me.
This script is also easily translatable. Currently there are 24 phrases that need to be translated.
👨💼 What do I need to know as an admin?
Considering the fact that this script uses vans as a sort of cigarette selling point you need to know they will disappear with server restart like any other entity. To prevent that use cf_save command as an admin (This will make them appear even after server restarts). You can also test already saved vans using the cf_load command.
Bear in mind that every server has a different economy and you'll probably have to tweak the config a little bit. Probably change how much does a cigarette pack cost.
Installation
It's basicly the same as any other script.
Unpack the contents of the .zip file into your /addons folder.
Add this to your server collection.
Restart the server.
(Optional) If you also want to add the ability to pick up and smoke cigarettes download this addon and make sure cf.allowSwep is set to true in the config.
GmodStore : https://www.gmodstore.com/market/view/si...te-factory
Workshop : https://steamcommunity.com/sharedfiles/f...1514815567
Download : https://www.mediafire.com/file/203so55p2...y.zip/file
It's a simple, yet fun script that allows players to make money by selling illegal cigarettes. I think it seems like a really fresh and unique idea, that I haven't seen here before. It fits almost any roleplay server - unlike meth and some other drugs, illegal cigarettes are popular in many countries. The script comes with custom models and sounds (I know these models aren't perfect, but... hey I'm new into that)
😏 How does it actually work?
The main idea is very simple. All you have to do is buy a machine and supply it with both tobacco and paper. If everything goes smoothly, the machine should start producing cigarette packs. Now you can either pack them into a box or use one (if you've enabled compatibility with cigarette swep in the config). Boxes with cigarette packs can be picked up and sold in a nearest export van (default sell mode) or instantly sold by clicking E on them (instant sell mode). If a player fails to deliever held boxes and dies, he drops them.
Machines can also be upgraded, as there are two upgrades: engine upgrade and storage upgrade - Engine upgrade basicly speeds up the entire productions process, while storage upgrade allows you to store more tobacco and paper in the machine.
Considering these machines are illegal they're also destructible. Their health can be tweaked in the config, however police batton destroys them in one hit.
💡 Can you change / add something?
Most of the stuff is tweakable due to the config. If you're really concerned about something then feel free to send me a support ticket. If you have an interesting idea that isn't too demanding just ask me.
This script is also easily translatable. Currently there are 24 phrases that need to be translated.
👨💼 What do I need to know as an admin?
Considering the fact that this script uses vans as a sort of cigarette selling point you need to know they will disappear with server restart like any other entity. To prevent that use cf_save command as an admin (This will make them appear even after server restarts). You can also test already saved vans using the cf_load command.
Bear in mind that every server has a different economy and you'll probably have to tweak the config a little bit. Probably change how much does a cigarette pack cost.
Installation
It's basicly the same as any other script.
Unpack the contents of the .zip file into your /addons folder.
Add this to your server collection.
Restart the server.
(Optional) If you also want to add the ability to pick up and smoke cigarettes download this addon and make sure cf.allowSwep is set to true in the config.
GmodStore : https://www.gmodstore.com/market/view/si...te-factory
Workshop : https://steamcommunity.com/sharedfiles/f...1514815567
Download : https://www.mediafire.com/file/203so55p2...y.zip/file
The link in this hidden content has been reported as down 0 times this month.
1 times in total
Users browsing this thread: 2 Guest(s)