-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allows jp8 fuel to be found at military helipads #1641
Allows jp8 fuel to be found at military helipads #1641
Conversation
Also @chaosvolt helped me with all this stuff. Thanks man. |
It seems that airport fuel pumps lack of JP8 as well. |
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Fixed! |
Math:
Why? |
They might need the quantity spawned in barrels will be a windfall when it does spawn, otherwise alternatives might include adjusting the weights or other tweaks. Side note, the fuel value of JP8 is actually slightly lower than diesel if I recall, so it's not actually more useful as fuel than diesel. I assume the idea is that it's supposed to be a "infrequent spawn but spawns in bulk when it does spawn, making it a nice windfall" sort of situation. |
This helipads have gas pumps and diesel pumps. Can we add jp8 pumps on military objects as well? |
As to the why, I figured since its a military location and has helicopters, it would make sense it would spawn some fuel barrels of Jp8. As for the math, I figured the military would probably have taken Almost all of their fuel with them, and any fuel left behind would be for the player. For the in-game reason, I didn't want there to be too much fuel spawned as to not rely solely on helicopters to get around. |
I tried to add them, but I could only get them to spawn fuel next to the fuel pump. I'm afraid its past my level of skill to add. |
Don't have to worry about people relying on copters too much. Turrets are still exceptionally dangerous in BN, and tussling with the military dead at the site itself after dealing with the turrets means risk/reward is pretty fair. |
Sorry to nitpick but would it be possible to make a new itemgroup for aircraft fuel? Since they mostly use jp8 and either edit the current fuel_barrel or add air_fuel_barrel. {
"id": "air_fuel_barrel",
"type": "item_group",
"//": "barrel with jp8, gasoline, or diesel like you would find at airport depot",
"subtype": "distribution",
"entries": [
{ "item": "gasoline", "charges": [ 0, 50000 ], "container-item": "30gal_drum", "prob": 10 },
{ "item": "diesel", "charges": [ 0, 50000 ], "container-item": "30gal_drum", "prob": 10 },
{ "item": "jp8", "charges": [0, 50000 ], "container-item": "30gal_drum", "prob": 40 }
]
}, Or this: {
"id": "fuel_barrel",
"type": "item_group",
"//": "barrel with **jp8**, gasoline, diesel or motor oil like you would find at fuel depot",
"subtype": "distribution",
"entries": [
{ "item": "gasoline", "charges": [ 0, 50000 ], "container-item": "30gal_drum", "prob": **20** },
{ "item": "diesel", "charges": [ 0, 50000 ], "container-item": "30gal_drum", "prob": 10 },
{ "item": "motor_oil", "charges": [ 0, 10000 ], "container-item": "jerrycan", "prob": 5 }
{ "item": "motor_oil", "charges": [ 0, 10000 ], "container-item": "jerrycan", "prob": 5 },
{ "item": "jp8", "charges": [ 0, 50000 ], "container-item": "30gal_drum", "prob": **30** }
]
}, Edited description and maybe swap the probability of gasoline with jp8. |
@Krwak protip: you can use triple backtick, followed by language (or nothing), for a multiline code block. For example:
Will become: {
"key": "value"
} Edited your comment to show how it looks. |
Would you like me to increase the amount of Jp8? |
It would be better to have fewer barrels of the "good stuff", but with higher chance of being full or near full. |
Summary
Allowed jp8 to spawn at military helipads
SUMMARY: Balance "Allows jp8 fuel to be found at military helipads"
Purpose of change
I noticed while playing that jp8 fuel is nowhere to be found besides on crashed helicopters or in some helicopters by default. Using any other fuel for helicopters is not efficient, so I added fuel spawns to allow more usage of helicopters!
Describe the solution
Just added a line of code to allow them to spawn!
Describe alternatives you've considered
Making Jp8 pumps, and adding them to airports, private runways, and military locations. Learning how to code better.
Testing
Tested in game, loaded up vanilla world with no mods, spawned in a military helipad, and jp8 fuel spawned.
Additional context