Skip to content

Commit

Permalink
Revert "Merge pull request ACF-Team#376 from thecraftianman/scalable-…
Browse files Browse the repository at this point in the history
…fuel"

This reverts commit 420db96, reversing
changes made to d391020.
  • Loading branch information
CheezusChrust committed Dec 1, 2023
1 parent 13ffa9c commit 3e7f945
Show file tree
Hide file tree
Showing 14 changed files with 672 additions and 635 deletions.
4 changes: 0 additions & 4 deletions lua/acf/core/classes/fuel_tanks/registration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ end
function FuelTanks.RegisterItem(ID, ClassID, Data)
local Class = Classes.AddGroupItem(ID, ClassID, Entries, Data)

if Class.Name == nil then
Class.Name = "Fuel Box"
end

if Class.IsExplosive == nil then
Class.IsExplosive = true
end
Expand Down
3 changes: 0 additions & 3 deletions lua/acf/core/globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ do -- ACF global vars
ACF.RequireFuel = true -- Whether or not fuel usage should be required for engines
ACF.FuelRate = 27.8 -- Multiplier for fuel usage, 1.0 is approx real world
ACF.FuelFactor = 1 -- Multiplier for ACF.FuelRate
ACF.FuelMinSize = 6 -- Defines the shortest possible length of fuel tanks for all their axises, in gmu
ACF.FuelMaxSize = 96 -- Defines the highest possible length of fuel tanks for all their axises, in gmu
ACF.FuelArmor = 5 -- How many millimeters of armor fuel tanks have
ACF.TankVolumeMul = 1 -- Multiplier for fuel tank capacity, 1.0 is approx real world
ACF.LiIonED = 0.458 -- li-ion energy density: kw hours / liter
ACF.RefillDistance = 300 -- Distance in which ammo crate starts refilling.
Expand Down
335 changes: 0 additions & 335 deletions lua/acf/entities/fuel_tanks/box.lua

This file was deleted.

Loading

0 comments on commit 3e7f945

Please sign in to comment.