Liquid Fuel

$18.99

Sold by: _senyaa

In short, this plugin turns low grade, crude oil and diesel into a liquid, which forces players to use jugs, bota bags and bottles to interact with fuel. Based on this, we can introduce new features such as fuel splashing, refining crude oil in regular purifiers or building autonomous refining factories using powered water purifiers and pumps! Also players can get their fuel from Oxum’s Gas Station.

oh, and cool flamethrower

Categories: , ,

Description

Introducing Liquid Fuel Rust Plugin

This plugin introduces 3 new liquids: lowgrade.png.4cf7d9a67160381bda69f63a1cf38946.pngLow Grade, crudeoil.png.0d9e0a8da248e0a31f8b1c61cd093c04.pngCrude Oil, and diesel.png.dc18efa7100929b4651672c7aae220ee.pngDiesel. 1 ml of the liquid represents 1 respecting “vanilla” item. Vanilla fuel is completely replaced by its liquid form. All items, vehicles, weapons, and deployables now use liquid fuel. Players need to use liquid containers in order to get and store fuel.

inv.jpg.cb14ff298f24080eccd8af90fc2c5f97.jpg

2. Getting fuel

There are several ways players can get fuel

  • From Oxum’s Gas Station

gas_1.thumb.jpg.e915ac3ef3c20b26ef995d587fd672d8.jpgGas pumps now contain a bit of low grade inside them.

gas_2.thumb.jpg.1b3fe09f0d2e05da06cf899606976755.jpgPlayers can come to gas stations and loot them.

You can modify behavior of this in the configuration file.

  • From Red Oil Barrels

Just like the regular old red barrels, players can get fuel from them, but they need to have free liquid containers inside their inventory. But players should be careful because this plugin introduces gas explosions.

  • From Pump Jacks.

Since pump jacks now only farm crude oil, this plugin adds an option to increase crude oil production rates, see [3. Looting] Aditional Crude Oil in pumpjack configuration option.

All drop rates are configurable.

2.1 Commands

There are several chat and console commands so players, admins and other plugins could give liquid fuel.

Chat commands:

  • /buyxm42gives players XM42 and subtracts configured price.
    • requires liquidfuel.buyxm42 permission
    • liquidfuel.freexm42 permission gives it for free
  • /buylowgrade
  • /buycrudeoil
  • /buydiesel
    • these chat commands require liquidfuel.buyfuel permission
    • liquidfuel.freefuel permission gives fuel for free

Admin console commands:

  • givefuel <1 – LGF , 2 – Crude Oil l, 3 – Diesel > <amount> <player name>
  • givexm42 <player name> 

3. Refining Crude Oil

factory_1.thumb.jpg.c665ae5b4f3ae8b541520b5408b4c4d1.jpg

 

This plugin completely rethinks the way players refine their crude oil. Old oil refineries become non-existent the second you load the plugin, which makes players use purifiers.

 

 

Players are able to refine the fuel at their base almost immediately after starting out. refinery_regular.thumb.jpg.6cb54181237914ed6283dc9847bb1b55.jpgThey use regular water purifiers, that run on campfires, these purifier are slower and refine at a slower pace.

Mid-game way to get fuel is to place a powered water purifier. By default, it refines faster and more efficiently, producing more low-grade.

 

 

 

factory_2.thumb.jpg.4260386c43894fb9fccf09406a12547e.jpgAlso, all purifiers have input/output slots for connecting them to barrels or other purifiers. This allows players to build complicated autonomous fuel refining factories, which I find very interesting.

Remember, speed and refining rates are configurable, so you can balance it the way you see it!

4. Fuel Splashing

burn_2.thumb.jpg.f73ab9c6aee2ce3c7a7d1d7d23188183.jpg

 

 

Now players can splash and then ignite fuel anywhere and in any pattern they wish. This allows players to raid bases, use it in PvP, create interesting trap contraptions, and much more!

 

 

 

 

5. XM42 Flamethrowerxm42.png.c30bf71edf8e8b833eb10c5844e9344d.png

xm42_2.thumb.jpg.7a06d171cce5d4f5e848b01408054e59.jpg

There is an unused model of the military flamethrower in the Rust files for quite a while.

This plugin makes use of it and now it can be used in-game.

This flamethrower has a larger fuel capacity and also deals more damage.

 

And, of course, everything about this flamethrower is configurable.

 

6. Explosions

 

Screenshot2023-10-02231957.thumb.png.c2a78bb16ebec5d0abe0211b4af03b22.png

 

Red fuel barrels now explode when they are ignited or shot. Players should carefully farm oil barrels using tools because one shot can initiate a chain reaction of explosions of other neighboring oil barrels and can easily kill them.

Also, fuel wagons now have a chance of exploding when hit with something flammable. You can change the projectiles and the explosion chance in the configuration file.

 

 

 

7. Crafting

Crafting with liquid fuel is quite easy –

  • to craft low grade you just need to have a liquid container in your inventory to store the crafted fuel inside,
  • to craft something with low grade, you need to have a liquid container with enough fuel inside it.

7.2 Crafting with mixing table

  • mixing low grade is done as before, by placing cloth and fat, players can get fuel, it’s just in liquid form
  • mixing recipes that require low grade is done by placing a liquid container in place of low grade.

Screenshot2023-10-02204505.thumb.png.4b2a7c98a2f7222b7db8e13fb36f7247.pngScreenshot2023-10-02204441.thumb.png.b194ff0ff483cbcbdd13c2e2fbaea86f.pngScreenshot2023-10-02204353.thumb.png.8b28cb6fe84ad9a4b0dc4793ca761de3.png

8. Localization

Built-in localization:

  • English
  • Russian

But you can always add your own or change existing ones by modifying files in /oxide/lang/{your_language}/LiquidFuel.json

9. Configuration

LiquidFuel’s configuration is quite easy to understand and work with. Here is the example of the configuration file.

It is located in /oxide/config/LiquidFuel.json

{
  "[1. Prices] Low Grade Fuel Amount": 300,
  "[1. Prices] Low Grade Fuel Price (set value to 0 to make it free, use ServerRewards or Economics as a shortname to use RP points or Economics balance respectively)"": {
    "ShortName": "scrap",
    "Amount": 50,
    "SkinID": 0
  },
  "[1. Prices] Crude Oil Amount": 150,
  "[1. Prices] Crude Oil Price (set value to 0 to make it free, use ServerRewards or Economics as a shortname to use RP points or Economics balance respectively)"": {
    "ShortName": "scrap",
    "Amount": 75,
    "SkinID": 0
  },
  "[1. Prices] Diesel Amount": 10,
  "[1. Prices] Diesel Price (set value to 0 to make it free, use ServerRewards or Economics as a shortname to use RP points or Economics balance respectively)"": {
    "ShortName": "scrap",
    "Amount": 100,
    "SkinID": 0
  },
  "[2. Entity Fuel Tanks] Max interaction distance (m)": 4.0,
  "[2. Entity Fuel Tanks] Fuel tank stack limits": {
    "fuel_storage_scrapheli": 1000,
    "fuel_storage_attackheli": 1000,
    "fuel_storage": 500,
    "fuelstorage": 20,
    "engine": 20,
    "crudeoutput": 5000,
    "crate_fuel": 100,
    "modular_car_fuel_storage": 250,
    "snowmobilefuelstorage": 250,
    "submarinefuelstorage": 250,
    "tugboat fuel_storage": 250,
    "workcart_fuel_storage": 250,
    "locomotive_fuel_storage": 250,
    "wagon_storage_fuel": 2500,
    "coaling_tower_fuel_storage.entity": 5000,
    "flameturret.deployed": 250,
    "tunalight.deployed": 250,
    "lantern.deployed": 250,
    "carvable.pumpkin": 100,
    "jackolantern.happy": 100,
    "jackolantern.angry": 100,
    "chineselantern.deployed": 250,
    "skylantern.deployed": 250,
    "skylantern.skylantern.red": 250,
    "skylantern.skylantern.green": 250,
    "skylantern.skylantern.orange": 250,
    "skylantern.skylantern.purple": 250,
    "fogmachine": 500,
    "snowmachine": 500
  },
  "[3. Looting] Minumum of Low Grade Fuel in red barrel": 5,
  "[3. Looting] Maximum of Low Grade Fuel in red barrel": 9,
  "[3. Looting] Minumum of Crude Oil in red barrel": 15,
  "[3. Looting] Maximum of Crude Oil in red barrel": 19,
  "[3. Looting] Minumum of Diesel per diesel barrel": 1,
  "[3. Looting] Maximum of Diesel per diesel barrel": 1,
  "[3. Looting] Aditional Crude Oil in pumpjack": 3,
  "[3.1. Looting Oxum's Gas Station] Enable gas pumps in Oxum's Gas Station (true/false)": true,
  "[3.1. Looting Oxum's Gas Station] Max interaction distance": 2.0,
  "[3.1. Looting Oxum's Gas Station] Raycasting interval (higher number results in better performance, but slower UI)": 0.2,
  "[3.1. Looting Oxum's Gas Station] Minimum gas refill time (minutes)": 2.0,
  "[3.1. Looting Oxum's Gas Station] Maximum gas refill time (minutes)": 5.0,
  "[3.1. Looting Oxum's Gas Station] Minimum Low Grade Fuel": 15,
  "[3.1. Looting Oxum's Gas Station] Maximum Low Grade Fuel": 40,
  "[4. Refineries] Regular purifier purification ratio (per 1 crude oil)": 1,
  "[4. Refineries] Powered purifier purification ratio (per 1 crude oil)": 3,
  "[4. Refineries] Regular purifier purification speed (per minute)": 24,
  "[4. Refineries] Powered purifier purification speed (per minute)": 60,
  "[5. Fuel splashing] Enable fuel splashing (true/false)": true,
  "[5. Fuel splashing] Minimum burn time (seconds)": 20.0,
  "[5. Fuel splashing] Maximum burn time (seconds)": 25.0,
  "[5. Fuel splashing] Fire damage radius (m)": 0.2,
  "[5. Fuel splashing] Fire damage (per second)": 5.0,
  "[5. Fuel splashing] Delay between igniting next fuel path node (seconds)": 0.1,
  "[5. Fuel splashing] Fuel spent per second of splashing": 15,
  "[5. Fuel splashing] Fuel path decay time (seconds)": 180.0,
  "[6. XM42 Flamethrower] Price": {
    "ShortName": "scrap",
    "Amount": 500,
    "SkinID": 0
  },
  "[6. XM42 Flamethrower] Item Name": "XM42 Flamethrower",
  "[6. XM42 Flamethrower] Fuel capacity": 150,
  "[6. XM42 Flamethrower] Damage per second": 90,
  "[7. Explosions] Fuel wagon explosion chance": 0.2,
  "[7. Explosions] Projectiles that initiate fuel wagon explosion": [
    "riflebullet_fire",
    "pistolbullet_fire",
    "riflebullet_explosive"
  ],
  "[7. Explosions] Red barrel explosion damage": 60,
  "[8. Misc] Fuel poisoning amount": 15.0
}

10. API

This plugin exposes the following API methods:

 

  •  // Type: 1 - LGF; 2 - Crude Oil; 3 - Diesel 
    Item CreateFuel(int type, int amount) -> Returns the stack of the requested fuel
  • Item CreateX M42() -> Returns XM42 Item

11. Notes

Because this plugin quite drastically changes Rust world and items, it is not recommended to install/uninstall this plugin mid-wipe. Even though it preserves its state after reloads, it’s not recommended to unload the plugin for long periods of time.

12. Credits

Thanks to @Nikita and @kyrich for helping me with testing and video production.

1 review for Liquid Fuel

  1. 1 out of 5

    lechner.wolfgang (verified owner)

    The plugin won’t load.
    Seller hast been informed but no response yet :-(


Only logged in customers who have purchased this product may leave a review.

Version 1.1.0 | Updated June 29, 2024
  • Removed XM42 Flamethrower, since it was added in vanilla Rust
  • Fixed Gas station pumps not opening sometimes
  • Fixed Vanilla Military flamethrower now works with liquid fuel
  • Fixed Compilation fixes
  • Fixed Fuel not transferring to some containers
Version 1.0.5 | Updated November 22, 2023
  • Fixed Inventory stacking issues
Version 1.0.4 | Updated November 22, 2023
  • Fixed LootDistanceChecker fix
Version 1.0.3 | Updated November 20, 2023
  • Fixed Giant excavator fix
  • Fixed Small generators using old fuel UI
Version 1.0.2 | Updated October 15, 2023
  • Added Carbon support

3 thoughts on "Liquid Fuel"

Leave a reply

Your email address will not be published. Required fields are marked *

  1. Hello I bought this plugin a little bit ago and my techs told me it needs updated in order for it to function. When i go to reload on the server it gives me “Error while compiling LiquidFuel: The type or namespace name ‘Harmony’ could not be found (are you missing a using directive or an assembly reference?) | Line: 22, Pos: 11”

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)

Product Enquiry

Please Login to make enquiry about this product