What's new

Drug System

Status
Not open for further replies.

Thekillergreece

Donator
Joined
Jan 28, 2017
Messages
4,840
Location
idek, prolly in Greece

logo.png
Mu9GV4F.png

FEATURE DOCUMENTATION
DRUG SYSTEM


Development OverviewFeature Name: Drug System
Script Author(s): Alec (weed), TommyB (everything else)
Documentation By: Thekillergreece
Special Thanks: dex (Original documentation author), Earl (Mapping and custom object creation), Braindawg (Custom object creation for shrooms and peyote), Mussy (Custom object creation for cocaine bag)
Feature Version: RCRP 3.0


IntroductionFor the longest time, the general RC:RP playerbase has been craving an updated drug system from the old one, which only featured weed, cocaine and moonshine with minimal script effects. The major 3.0 update which had an astonishing 116 lines in the changelog featured the long awaited system and was without a doubt one of the biggest features within the update.
Since the 3.0 version release, 6 drugs were introduced. Weed, Cocaine, Crack, Heroin, Shroom and Peyote.

Certain drugs have different grades / qualities of which they provide slightly different benefits to the users. Ontop of that, certain drugs can be consumed only with medical items such as the needle, joint, rolling paper, bong and pipe.


Weed
enzivhz-png.80275

Weed is one of the two drugs that can be created by the player. Weed has had a slight improvement since the old script, it now features a completely custom object with five stages of growth. The essential items for growing weed are as followed:
  • Weed Seeds - Obtained at any pharmacy.
  • Distilled Water - Obtained at any general store or pharmacy.
  • Special Plant Pot - /buyf > Decorations > Plants > Page two, Special Plant Pot. (or /searchf Special Plant)
  • Fluorescent Light - /buyf > Electronics > Lamps > Page one, Fluorescent Light. (or /searchf Fluorescent)
Process of growing:
Once a Special Plant Pot has been placed, a Fluorescent Light needs to be placed above the pot. You can then select the pot through /selectf and click on the object of which a form will pop up with the following choices: Plant Weed, Check Weed, Harvest Weed and Water Seed.
You will want to choose: Plant Weed > Water Seed (this will use the Distilled Water) and wait several minutes to one hour for it to fully grow.

Once it's fully grown, you can harvest it for a random number gram of weed. To do that, choose the "Harvest Weed" option.
You can check the process of growing by choosing the "Check Weed" option.

NOTE: Once fully watered, you don't have to water it again as it grows.

In order to smoke weed, you need:
  • Lighter - Obtained at any general store.
  • Rolling Paper (Joint) / Pipe / Bong - Obtained at any pharmacy.
You will gain 15 health points if you smoke weed with rolling paper, 20HP with pipe and/or bong. Smoking weed will cause the screen to slightly shake for a few seconds and will not exceed your minimum health points which is 100.

Cocaine
Nxys8R8.png

Cocaine is one of the two drugs that is only available for Official Illegal Factions which received Illegal Item Request privileges for this drug. Players within official illegal factions can sell them to other players. There are three grades / qualities: Low, Medium and High.
The differences are:
  • Low - It will gain you 20 health points. This can exceed your minimum health points up to 120.
  • Medium - It will gain you 35 health points. This can exceed your minimum health points up to 135.
  • High - It will gain you 50 health points. This can exceed your minimum health points up to 150 which is the maximum health points.
All grades can be snorted without the use of medical items. There's a chance of withdrawal of which it will decrease your health back to 50HP.
You cannot consume more than one gram of cocaine in short span of time. Consuming cocaine will cause the screen to slightly shake for several seconds.

Crack
Crack is one of the two drugs that can be created by the player. The essential items to cook crack are as followed:
  • Cocaine of any grade
  • Stove - /searchf Stove.
  • Pot - /searchf pot (needs to be placed on the stove)
  • Baking soda - Obtained at any general store.
  • Distilled Water - Obtained at any general store or pharmacy.
Process of cooking:
Place a stove and place a pot ontop of the stove. Type the command of /createdrug and choose the grade to start cooking a crack. Cocaine High Grade for Crack High Grade, Cocaine Med Grade for Crack Med Grade, etc. This will consume one (1) gram of Cocaine for two (2) grams of Crack.

The cooking time is always 5 minutes. Mixing more grams will add 2 more minutes to the cooking timer for more grams of Crack.
Once the cooking is done, /collectcrack to collect the drugs from the pot.

There are three grades / qualities: Low, Medium and High. The benefits are identical to cocaine's except there is no withdrawal risk and all crack grades require pipe to smoke. Smoking crack will cause the screen to slightly shake for several seconds.

Heroin
Heroin is one of the two drugs that is only available for Official Illegal Factions which received Illegal Item Request privileges for this drug. Players within official illegal factions can sell them to other players.

Unlike any other drugs, Heroin do not cause the screen to shake at all. It can be either snorted or injected with a needle, either method will give you a 21 health points boost. There is no cooldown and no limit from this drug as you can keep snorting heroin and get a boost up to 300 Health Points.
However, the user will always suffer a withdrawal within a few minutes and lose health back to 50 health points.

Shroom
shrooms-png.81099

Shroom or Mushroom, is one of the two drugs that are purely used for recreational purposes. Unlike the other drugs, they do not provide any health boost but they will make the user pass out and get them on a "trip".

The trips are relatively safe and purely hallunications / nightmares that the user is dreaming on. There are 25 different drug trips and they all are selected randomly. If you take shrooms at the same time as a nearby player, both of you will be taken to the same trip. An actor will be spawned in your spot as you are taken on a trip. It will be despawned once you leave the trip.

Shrooms can be found only in the forest in Flint County. They can be picked up by crouching and pushing the button prompt "LALT" (Left Alt). When picked up, a slightly different model will take its place.

Wounded soldiers in a shelled bunker.
sa-mp-442-png.81104

Mysterious individuals.
sa-mp-443-png.81105

Rich in dreams, poor in reality.
sa-mp-444-png.81117
Peyote
peyotes-png.81098

Like the Shroom, Peyote is an another drug that is purely used for recreational purposes and do not provide any health boost. The user will pass out and go on a trip.

Regardless of the drug (shrooms or peyote), the trips are identical. There are 25 different drug trips and they all are selected randomly. If you take peyote at the same time as a nearby player, both of you will be taken to the same trip. An actor will be spawned in your spot as you are taken on a trip. It will be despawned once you leave the trip.

Peyotes can be found only in desert areas of Bone County and can be picked up by crouching and pushing the button prompt "LALT" (Left Alt). When picked up, a slightly different model will take its place.

Related Commands
  • /usedrug - Lists a number of drugs to use.
  • /usedrug weed joint/pipe/bong - Consumes a gram of weed with joint, pipe or bong.
  • /usedrug cocaine low/med/high - Consumes a gram of low/med/high grade cocaine.
  • /usedrug crack low/med/high - Consumes a gram of low/med/high grade crack. Requires a pipe in disposal.
  • /usedrug heroin needle/snort - Consumes a gram of heroin by snorting or with a needle.
  • /usedrug shroom - Consumes a gram of shroom.
  • /usedrug peyote - Consumes a gram of peyote.
  • /createdrug - Cooks a gram of cocaine for two grams of crack. Requires stove, pot, water and baking soda.
  • /mixdrug - Mixes one more gram of cocaine into the pot for more grams of crack. Slightly increases the cooking time as well.
  • /collectcrack - Collects crack from the pot.
  • /leavetrip - This allows you to "wake up" when you are on a drug trip.

 
Last edited by a moderator:
Status
Not open for further replies.
Top