DrugLab.png
(0)

Merchant: j1r4
Price: $10.00
Framework: RocketMod
By purchasing this product you agree END-USER AGREEMENT

Drug Lab

A plugin which focuses on more realistic roleplay experience and allows players to "cook" drugs in a more realistic way using a lab. This plugin also allows players to get certain effects after consuming drugs.

Features

  • A lot of customization
  • Support for multiple drug lab types
  • Custom Icons for items (Contact me on discord for help with setting it up)
  • Drug effects
  • Workshop models
  • Limited drug labs placed per player
  • Many customizations for each drug crafting recipe
  • Max usages per lab
  • Repairing labs using an item
  • Fast stacking needed items using a button
  • Saving over restarts
  • Usages on lab saving over restarts
  • Consume recipe item option
  • Increase item amount item option

Dependencies

  • You need to install 0harmony library on your server in order to run this plugin. This can be found in "Libraries" folder.

Workshop

  • You are not allowed to re-upload the workshop assets without direct permission.
  • Workshop is owned by @rageless5 on discord, i have permission to use it and distribute it alongside the plugin.

Contact

If you have issues with the plugin, feel free to DM me on discord: j1r4

repairItem -> Item used for repairing the druglab
maxOutput -> Maximum amount of items crafted at once
increaseAmount -> If the amount of the item should increase with the final item amount
consumeItem -> If the item should be consumed once player crafts the final item
Usages -> How many times the lab can be used before it needs to be repaired

Note: Labs support up to 6 final recipes and up to 8 recipe items in each of them



```
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UIID>33910</UIID>
  <repairItem>68</repairItem>
  <range>10</range>
  <repositoryURL>https://raw.githubusercontent.com/Rageless5/HypnoticRPImages/main/{ITEM_ID}.png</repositoryURL>
  <maxOutput>10</maxOutput>
  <Drugs>
      <DrugBoost>
      <drugID>81</drugID>
      <Duration>15</Duration>
      <Hallucination>true</Hallucination>
      <speedBoost>true</speedBoost>
      <speedMultiplier>1.2</speedMultiplier>
      <jumpBoost>true</jumpBoost>
      <jumpMultiplier>1.2</jumpMultiplier>
      <staminaBoost>true</staminaBoost>
      <staminaIncreasePerSec>5</staminaIncreasePerSec>
      <healthRegen>true</healthRegen>
      <healthIncreasePerSec>10</healthIncreasePerSec>
      <damageReduction>true</damageReduction>
      <damageReductionMultiplier>0.9</damageReductionMultiplier>
      <damageBonus>true</damageBonus>
      <damageBonusMultiplier>1.1</damageBonusMultiplier>
    </DrugBoost>
  </Drugs>
  <DrugLabs>
    <DrugLab>
      <BarricadeID>25411</BarricadeID>
      <LimitPerPlayer>1</LimitPerPlayer>
      <LabName>Cocaine lab</LabName>
      <DrugName>Cocaine</DrugName>
      <Usages>20</Usages>
      <Recipes>
        <Recipe>
          <RecipeName>Cocaine</RecipeName>
          <ProcessingTime>5</ProcessingTime>
          <FinalProduct>25803</FinalProduct>
          <Ingredients>
            <RecipeItem>
              <ID>25514</ID>
              <amount>1</amount>
              <increaseAmount>false</increaseAmount>
              <consumeItem>false</consumeItem>
            </RecipeItem>
            <RecipeItem>
              <ID>25512</ID>
              <amount>1</amount>
              <increaseAmount>true</increaseAmount>
              <consumeItem>true</consumeItem>
            </RecipeItem>
          </Ingredients>
        </Recipe>
        <Recipe>
          <RecipeName>MRE</RecipeName>
          <ProcessingTime>5</ProcessingTime>
          <FinalProduct>81</FinalProduct>
          <Ingredients>
            <RecipeItem>
              <ID>14</ID>
              <amount>1</amount>
              <increaseAmount>true</increaseAmount>
              <consumeItem>true</consumeItem>
            </RecipeItem>
            <RecipeItem>
              <ID>13</ID>
              <amount>1</amount>
              <increaseAmount>true</increaseAmount>
              <consumeItem>true</consumeItem>
            </RecipeItem>
          </Ingredients>
        </Recipe>
      </Recipes>
    </DrugLab>
  </DrugLabs>
</Config>
```
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="lab_processing" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>Lab is processing items, you are not allowed to do this!" />
  <Translation Id="finished_processing" Value="<color=#FFBF00>[Drugs]</color> <color=#50C878>This lab station has finished processing! Open it to receive the product!" />
  <Translation Id="no_repair_item" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>You do not have {0} in your invnetory!" />
  <Translation Id="no_need_for_repair" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>This lab doesn't need repairing!" />
  <Translation Id="repaired_lab" Value="<color=#FFBF00>[Drugs]</color> <color=#50C878>Successfully repaired lab!" />
  <Translation Id="error_crafting" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>Could not find selected LAB !" />
  <Translation Id="missing_item" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>You do not have enough {0} in lab storage!" />
  <Translation Id="max_usages" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>This lab reached maximum usages! Sadly, it exploded! Take better care of your lab next time!" />
  <Translation Id="in_use" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>Someone is already using this lab!" />
  <Translation Id="lab_damaged" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>This LAB isn't fully repaired! Cannot procceed!" />
  <Translation Id="max_labs" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>You already own maximum amount of LABs!" />
  <Translation Id="load_items" Value="<color=#FFBF00>[Drugs]</color> <color=#50C878>Loading items inside lab from your inventory..." />
  <Translation Id="no_more_space" Value="<color=#FFBF00>[Drugs]</color> <color=#DB4F73>Loading items has been stopped! Lab doesn't have enough space inside!" />
</Translations>

Not found

No reviews were found.