Drugs
$20.00
Sold by: WrecksAdd some new Items to your server for your players to find, and take them on a trip on use.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
Dependency
REQUIRES IMAGE LIBRARY TO SHOW IMAGES – OPTIONAL – WORKS WITH THE DEALER FOR DRUG SALES
Info
With this plugin, you can create as many “Drug Items” as you like. You aren’t limited to my drug theme, you can create different drinks, medicine and more, Lang is also provided, for your customization needs.
5 base items are provided, Pills, Drink, Syringe, Smokeable, Edible. Each with their own respective base SFX on Use to match its theme.
Each item has configurable metabolism effects, you can heal or damage on use, take calories or give, and much more, see config for more info.
Each item has customizable in game effects, make the player shake, sway, scream, bleed, vomit upon item use. You can even add your own list and combine different effects as well as edit timing, to create your own curated effects.
Each item has the ability to show custom images, maybe you want to make your player “Trip” and flash some Trippy image on screen. You can get as creative as you want, as you can add as many images as you want, you have control on transparency, fade in, stay, and fade out time to make the perfect experience for your players to enjoy.
Items can spawn in specified containers, just add the prefab path you would like it to spawn in. To cancel that out, simply leave the prefab path as “”.
Note
WHILE IMAGES ARE SHOWING, OTHER DRUG USES ARE BLOCKED TO ALLOW IMAGE QUEUE TO HANDLE. THIS OVERRIDES COOLDOWN.
Base Items Used (If selling or Crafting from another Plugin)
BASE ITEM SHORTNAME IN CASE YOU WANT TO USE THEM OR CRAFT THEM FROM ANOTHER PLUGIN
1 – PILLS – ANTI RAD PILLS
2 – DRINK – BASIC SCRAP TEA
3 – SYRINGE – MEDICAL SYRINGE
4 – SMOKEABLES – SMALL LOOT BAG
5 – EDIBLE – MUSHROOM
DRUGS CAN NOW GRANT A TEA BOOST ON USE
Command
Command
ADMIN – /GIVEDRUGS – SPAWNS ALL CUSTOM ITEMS INTO INVENTORY USEFUL FOR TESTING EFFECTS – REQUIRES DRUGS.ADMIN PERMISSION
Demonstrational Videos
Configuration
{
“The Dealer Integration”: {
“Enable Sales Via The Dealer? (The Dealer Plugin Is available Where you Purchased This Plugin)”: false
},
“Drugs”: [
{
“Base Item – 1 (Pills) – 2 (Drink) – 3 (Syringe) – 4 (Smokeables) – 5 (Edible) “: 1,
“Item Name”: “Hydros”,
“Skin ID”: 3027373420,
“Cooldown (Blocks Other Drug Uses)”: 20,
“Hydration Value (Negative Values Reduce)”: -20,
“Caloric Value (Negative Values Reduce)”: -20,
“Healing Value (Negative Values Reduce)”: 20,
“Temperature Value (Negative Values Reduce)”: 0,
“Radiation Value (Negative Values Reduce)”: 0,
“Minimum Amount To Spawn into a Container”: 1,
“Maximum Amount To Spawn into a Container”: 3,
“Chance out of 100% to Spawn into a Container (0 = 0% – 1 = 100%)”: 0.2,
“Container to Spawn this Item in”: “assets/bundled/prefabs/radtown/crate_normal.prefab”,
“Custom Image Setup”: [
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
},
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
}
],
“Effects Setup”: {
“Enable Sway Effects”: true,
“Sway Effect Repeats”: 3,
“Time Between Sway Repeats”: 1,
“Time Before Sway Triggers”: 2,
“Enable Blood Effects”: false,
“Blood Effect Repeats”: 3,
“Time Between Blood Repeats”: 2,
“Time Before Blood Triggers”: 1,
“Enable Vomit Effects”: false,
“Vomit Effect Repeats”: 1,
“Time Between Vomit Repeats”: 0,
“Time Before Vomit Triggers”: 3,
“Enable Damage Effects”: false,
“Damage Effect Repeats”: 2,
“Time Between Damage Repeats”: 2,
“Time Before Damage Triggers”: 0,
“Enable Scream Effects”: false,
“Scream Effect Repeats”: 2,
“Time Between Scream Repeats”: 3,
“Time Before Scream Triggers”: 4
},
“Custom Effects Setup”: [
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 2,
“Time Between Custom Repeats”: 3,
“Time Before Custom Triggers”: 5
},
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 1,
“Time Between Custom Repeats”: 4,
“Time Before Custom Triggers”: 2
}
],
“Tea Effect Setup”: {
“Enable Tea Effects?)”: false,
“Tea Modifier Type? (1 = Wood Yield, 2 = Ore Yield, 3 = Rad Resist, 4 = Rad Exposure Resist, 5 = Max Health, 6 = Scrap Yield)”: 1,
“Tea Duration In Seconds”: 60.0,
“Tea Boost Value (1.2 = 120%)”: 1.2
},
“Send Message to Player on Use?”: true,
“Message to send to the Player”: “Holy!”,
“Enable Commands on Use?”: true,
“Commands to Run on Use (Use {id} to target the Player)”: [
“say Hi”,
“Deposit {id} 100”
],
“Marketable via The Dealer?”: false,
“Market Price”: 0,
“Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)”: 0.0,
“Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)”: 0.0
},
{
“Base Item – 1 (Pills) – 2 (Drink) – 3 (Syringe) – 4 (Smokeables) – 5 (Edible) “: 2,
“Item Name”: “Codeine”,
“Skin ID”: 3027539845,
“Cooldown (Blocks Other Drug Uses)”: 20,
“Hydration Value (Negative Values Reduce)”: 20,
“Caloric Value (Negative Values Reduce)”: 0,
“Healing Value (Negative Values Reduce)”: -20,
“Temperature Value (Negative Values Reduce)”: 0,
“Radiation Value (Negative Values Reduce)”: 0,
“Minimum Amount To Spawn into a Container”: 1,
“Maximum Amount To Spawn into a Container”: 2,
“Chance out of 100% to Spawn into a Container (0 = 0% – 1 = 100%)”: 0.1,
“Container to Spawn this Item in”: “assets/bundled/prefabs/radtown/crate_normal.prefab”,
“Custom Image Setup”: [
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
},
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
}
],
“Effects Setup”: {
“Enable Sway Effects”: true,
“Sway Effect Repeats”: 3,
“Time Between Sway Repeats”: 1,
“Time Before Sway Triggers”: 2,
“Enable Blood Effects”: false,
“Blood Effect Repeats”: 3,
“Time Between Blood Repeats”: 2,
“Time Before Blood Triggers”: 1,
“Enable Vomit Effects”: false,
“Vomit Effect Repeats”: 1,
“Time Between Vomit Repeats”: 0,
“Time Before Vomit Triggers”: 3,
“Enable Damage Effects”: false,
“Damage Effect Repeats”: 2,
“Time Between Damage Repeats”: 2,
“Time Before Damage Triggers”: 0,
“Enable Scream Effects”: false,
“Scream Effect Repeats”: 2,
“Time Between Scream Repeats”: 3,
“Time Before Scream Triggers”: 4
},
“Custom Effects Setup”: [
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 2,
“Time Between Custom Repeats”: 3,
“Time Before Custom Triggers”: 5
},
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 1,
“Time Between Custom Repeats”: 4,
“Time Before Custom Triggers”: 2
}
],
“Tea Effect Setup”: {
“Enable Tea Effects?)”: false,
“Tea Modifier Type? (1 = Wood Yield, 2 = Ore Yield, 3 = Rad Resist, 4 = Rad Exposure Resist, 5 = Max Health, 6 = Scrap Yield)”: 1,
“Tea Duration In Seconds”: 60.0,
“Tea Boost Value (1.2 = 120%)”: 1.2
},
“Send Message to Player on Use?”: false,
“Message to send to the Player”: “”,
“Enable Commands on Use?”: false,
“Commands to Run on Use (Use {id} to target the Player)”: [],
“Marketable via The Dealer?”: false,
“Market Price”: 0,
“Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)”: 0.0,
“Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)”: 0.0
},
{
“Base Item – 1 (Pills) – 2 (Drink) – 3 (Syringe) – 4 (Smokeables) – 5 (Edible) “: 3,
“Item Name”: “Heroin”,
“Skin ID”: 3027374283,
“Cooldown (Blocks Other Drug Uses)”: 20,
“Hydration Value (Negative Values Reduce)”: -20,
“Caloric Value (Negative Values Reduce)”: 0,
“Healing Value (Negative Values Reduce)”: -40,
“Temperature Value (Negative Values Reduce)”: 20,
“Radiation Value (Negative Values Reduce)”: 0,
“Minimum Amount To Spawn into a Container”: 1,
“Maximum Amount To Spawn into a Container”: 2,
“Chance out of 100% to Spawn into a Container (0 = 0% – 1 = 100%)”: 0.3,
“Container to Spawn this Item in”: “assets/bundled/prefabs/radtown/crate_normal.prefab”,
“Custom Image Setup”: [
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
},
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
}
],
“Effects Setup”: {
“Enable Sway Effects”: false,
“Sway Effect Repeats”: 3,
“Time Between Sway Repeats”: 1,
“Time Before Sway Triggers”: 2,
“Enable Blood Effects”: true,
“Blood Effect Repeats”: 3,
“Time Between Blood Repeats”: 2,
“Time Before Blood Triggers”: 1,
“Enable Vomit Effects”: false,
“Vomit Effect Repeats”: 1,
“Time Between Vomit Repeats”: 0,
“Time Before Vomit Triggers”: 3,
“Enable Damage Effects”: true,
“Damage Effect Repeats”: 2,
“Time Between Damage Repeats”: 2,
“Time Before Damage Triggers”: 0,
“Enable Scream Effects”: false,
“Scream Effect Repeats”: 2,
“Time Between Scream Repeats”: 3,
“Time Before Scream Triggers”: 4
},
“Custom Effects Setup”: [
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 2,
“Time Between Custom Repeats”: 3,
“Time Before Custom Triggers”: 5
},
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 1,
“Time Between Custom Repeats”: 4,
“Time Before Custom Triggers”: 2
}
],
“Tea Effect Setup”: {
“Enable Tea Effects?)”: false,
“Tea Modifier Type? (1 = Wood Yield, 2 = Ore Yield, 3 = Rad Resist, 4 = Rad Exposure Resist, 5 = Max Health, 6 = Scrap Yield)”: 1,
“Tea Duration In Seconds”: 60.0,
“Tea Boost Value (1.2 = 120%)”: 1.2
},
“Send Message to Player on Use?”: false,
“Message to send to the Player”: “”,
“Enable Commands on Use?”: false,
“Commands to Run on Use (Use {id} to target the Player)”: [],
“Marketable via The Dealer?”: false,
“Market Price”: 0,
“Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)”: 0.0,
“Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)”: 0.0
},
{
“Base Item – 1 (Pills) – 2 (Drink) – 3 (Syringe) – 4 (Smokeables) – 5 (Edible) “: 4,
“Item Name”: “Bong Hit”,
“Skin ID”: 3386543743,
“Cooldown (Blocks Other Drug Uses)”: 20,
“Hydration Value (Negative Values Reduce)”: 0,
“Caloric Value (Negative Values Reduce)”: -100,
“Healing Value (Negative Values Reduce)”: 30,
“Temperature Value (Negative Values Reduce)”: 0,
“Radiation Value (Negative Values Reduce)”: 0,
“Minimum Amount To Spawn into a Container”: 1,
“Maximum Amount To Spawn into a Container”: 2,
“Chance out of 100% to Spawn into a Container (0 = 0% – 1 = 100%)”: 0.5,
“Container to Spawn this Item in”: “assets/bundled/prefabs/radtown/crate_normal.prefab”,
“Custom Image Setup”: [
{
“Enable Custom Images”: true,
“Custom Image Path”: “https://www.dropbox.com/scl/fi/6qmq7h815yhjx38xqn8g8/dec1.png?rlkey=3rhgv2e6n00y2dvgiw4fjfsrd&st=s3ar804p&dl=1”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 10.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 10.0
},
{
“Enable Custom Images”: true,
“Custom Image Path”: “https://www.dropbox.com/scl/fi/55ub2riuq31s3ap1kv75v/dec2.png?rlkey=h8uc974hqclz1gburbq5gdb1q&st=b8sp2tc2&dl=1”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 10.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 10.0
}
],
“Effects Setup”: {
“Enable Sway Effects”: true,
“Sway Effect Repeats”: 3,
“Time Between Sway Repeats”: 1,
“Time Before Sway Triggers”: 2,
“Enable Blood Effects”: false,
“Blood Effect Repeats”: 3,
“Time Between Blood Repeats”: 2,
“Time Before Blood Triggers”: 1,
“Enable Vomit Effects”: false,
“Vomit Effect Repeats”: 1,
“Time Between Vomit Repeats”: 0,
“Time Before Vomit Triggers”: 3,
“Enable Damage Effects”: false,
“Damage Effect Repeats”: 2,
“Time Between Damage Repeats”: 2,
“Time Before Damage Triggers”: 0,
“Enable Scream Effects”: false,
“Scream Effect Repeats”: 2,
“Time Between Scream Repeats”: 3,
“Time Before Scream Triggers”: 4
},
“Custom Effects Setup”: [
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 2,
“Time Between Custom Repeats”: 3,
“Time Before Custom Triggers”: 5
},
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 1,
“Time Between Custom Repeats”: 4,
“Time Before Custom Triggers”: 2
}
],
“Tea Effect Setup”: {
“Enable Tea Effects?)”: false,
“Tea Modifier Type? (1 = Wood Yield, 2 = Ore Yield, 3 = Rad Resist, 4 = Rad Exposure Resist, 5 = Max Health, 6 = Scrap Yield)”: 1,
“Tea Duration In Seconds”: 60.0,
“Tea Boost Value (1.2 = 120%)”: 1.2
},
“Send Message to Player on Use?”: false,
“Message to send to the Player”: “”,
“Enable Commands on Use?”: false,
“Commands to Run on Use (Use {id} to target the Player)”: [],
“Marketable via The Dealer?”: false,
“Market Price”: 0,
“Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)”: 0.0,
“Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)”: 0.0
},
{
“Base Item – 1 (Pills) – 2 (Drink) – 3 (Syringe) – 4 (Smokeables) – 5 (Edible) “: 5,
“Item Name”: “LSD”,
“Skin ID”: 3027375222,
“Cooldown (Blocks Other Drug Uses)”: 20,
“Hydration Value (Negative Values Reduce)”: -30,
“Caloric Value (Negative Values Reduce)”: 0,
“Healing Value (Negative Values Reduce)”: 25,
“Temperature Value (Negative Values Reduce)”: 0,
“Radiation Value (Negative Values Reduce)”: 0,
“Minimum Amount To Spawn into a Container”: 1,
“Maximum Amount To Spawn into a Container”: 2,
“Chance out of 100% to Spawn into a Container (0 = 0% – 1 = 100%)”: 0.5,
“Container to Spawn this Item in”: “assets/bundled/prefabs/radtown/crate_normal.prefab”,
“Custom Image Setup”: [
{
“Enable Custom Images”: true,
“Custom Image Path”: “https://www.dropbox.com/scl/fi/aem7f55mlz4fa9khwjdu4/deb8.png?rlkey=zmnklt38ils1tycxqq9h2ix7j&st=dv6fgive&dl=1”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 10.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 10.0
},
{
“Enable Custom Images”: false,
“Custom Image Path”: “”,
“Custom Image Alpha”: “1”,
“Time for Custom Image to Fade In”: 1.0,
“Time for Custom Image to Stay”: 1.0,
“Time Before Custom Image to FadeOut”: 3.0
}
],
“Effects Setup”: {
“Enable Sway Effects”: true,
“Sway Effect Repeats”: 3,
“Time Between Sway Repeats”: 1,
“Time Before Sway Triggers”: 2,
“Enable Blood Effects”: false,
“Blood Effect Repeats”: 3,
“Time Between Blood Repeats”: 2,
“Time Before Blood Triggers”: 1,
“Enable Vomit Effects”: false,
“Vomit Effect Repeats”: 1,
“Time Between Vomit Repeats”: 0,
“Time Before Vomit Triggers”: 3,
“Enable Damage Effects”: false,
“Damage Effect Repeats”: 2,
“Time Between Damage Repeats”: 2,
“Time Before Damage Triggers”: 0,
“Enable Scream Effects”: true,
“Scream Effect Repeats”: 2,
“Time Between Scream Repeats”: 3,
“Time Before Scream Triggers”: 4
},
“Custom Effects Setup”: [
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 2,
“Time Between Custom Repeats”: 3,
“Time Before Custom Triggers”: 5
},
{
“Enable Custom Effect”: false,
“Custom Effect Path”: “”,
“Custom Effect Repeats”: 1,
“Time Between Custom Repeats”: 4,
“Time Before Custom Triggers”: 2
}
],
“Tea Effect Setup”: {
“Enable Tea Effects?)”: false,
“Tea Modifier Type? (1 = Wood Yield, 2 = Ore Yield, 3 = Rad Resist, 4 = Rad Exposure Resist, 5 = Max Health, 6 = Scrap Yield)”: 1,
“Tea Duration In Seconds”: 60.0,
“Tea Boost Value (1.2 = 120%)”: 1.2
},
“Send Message to Player on Use?”: false,
“Message to send to the Player”: “”,
“Enable Commands on Use?”: false,
“Commands to Run on Use (Use {id} to target the Player)”: [],
“Marketable via The Dealer?”: false,
“Market Price”: 0,
“Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)”: 0.0,
“Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)”: 0.0
}
]
}
Lang
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Added a Score Field to Marketable Items, So easier to obtain items can have a lesser value than harder to obtain items when sold via The Dealer Plugin.
- Added Toggleable option to run commands to the using player, Target them with {id}. Commands support a list Ex - ["say hi", "deposit {id} 100"] Added Toggleable option to send a message to the player on Drug Use. Ex - Maybe the Item will grant a timed perm perk to make them run faster for x seconds, with this you can notify them.
- Updated Added Options to Grant a Tea Boost on Item use. New config options will populate your entries. Adjust Boost Type, Duration and Value. Set to False By Default. This can be enabled or disabled per item.
- Fixed Corrected Dealer Info, Update both if using integration.
- Updated Made Sways only Effect the Players Client.
- Updated Added integration with The Dealer Plugin, no need to add these Items to your Dealer Config. Added an option to enable this feature. Adds fields for Marketable, Price, Discount, Bonus, When trading drugs with The Dealer NPC, Trades are loggable to Discord, with the Drugs Theme, and Color Scheme.
- Updated Tweaked Image Showing Options to take a Float Value, ex. 1.5
- Updated Added Admin Permission to spawn Items. Added a check to skip image check if images are enabled but ImageLibrary is unloaded. Minor Tweaks.
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.