Skip to content
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

Offshore Gas Drilling and Pumping #2403

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

whatston3
Copy link
Contributor

@whatston3 whatston3 commented Nov 14, 2024

About the PR

The goals of this PR are as follows:

  1. Enable gas transfer between grids.
  2. Add a source of large amounts of gas on the main map.
  3. Remove the dependence on canister spam to buy and sell gases.

Currently, random gas deposits are created when an asteroid is loaded in (players must be close, ~16 m away). These deposits exist underneath the rock (there's a pinpointer to point to gas deposits, if only for debug purposes).

This also adds a drill that extract a fixed amount of gas from the source per atmosphere update, pushing that out into a pipe at a set temperature and maximum pressure.

A set of docking points with pressure pumps are also added to enable the transfer of gases between grids.

TODOS:

  • Automatically enable a minimal atmospherics setup for gas piping from an asteroid to a ship.
    • Minimal setup (drill to pipe to gas port) works fine. Possible issues with more complicated setup.
  • Add a set of controls to remotely access a gas port's controls (setting the pressure, on/off status, and direction).
    • Needs testing, should work.
  • Disable the gaslocks and clear the outlet ports when undocking (controlling contamination)

Why / Balance

This is a first attempt at more involved atmospherics gameplay: this should enable extracting, moving, filtering and processing large quantities of gas outside of expeditions. This should allow for "gas tanker" gameplay, and may be more suitable for supermatter gameplay without the use of gas miners.

How to test

TBD. Fly around, find gas deposits, pump them.

Media

A simple test case - a player on a Gasbender visits an asteroid, finds a gas deposit, and constructs a scaffold to dock with the host ship and extract the resources back to the shuttle (burn chamber used for storage). This exhibits the deposits, miner, and airlocks in use.
image

Requirements

Breaking changes

Changelog

TBD

Copy link
Contributor

github-actions bot commented Nov 14, 2024

RSI Diff Bot; head commit f0a10c9 merging into 22247a1
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_NF/Objects/Specific/Atmospherics/deposit.rsi

State Old New Status
deposit Added

Resources/Textures/_NF/Objects/Specific/Atmospherics/extractor.rsi

State Old New Status
base-powered Added
base Added
drill-blocked-unlit Added
drill-empty-unlit Added
drill-low-unlit Added
drill-off Added
drill-on-unlit Added
drill Added
pipe Added

Resources/Textures/_NF/Structures/Piping/Atmospherics/gaslock.rsi

State Old New Status
closed Added
closed_unlit Added
frame_struts Added
panel_open Added
pipeStraight Added
pumpPressure Added
pumpPressureOnIn Added
pumpPressureOnOut Added

Resources/Textures/_NF/Structures/Piping/Atmospherics/salepoint.rsi

State Old New Status
base-unlit Added
base Added
docked-unlit Added
on-unlit Added

Edit: diff updated after f0a10c9

@blackknight954
Copy link
Contributor

Atmos eatin good tonight.

You say a player has to be close to the roid when it spawns to have the deposit appear? or am I reading that wrong.

Will every asteroid have these or only certain asteroids?

@whatston3
Copy link
Contributor Author

Atmos eatin good tonight.

You say a player has to be close to the roid when it spawns to have the deposit appear? or am I reading that wrong.

Will every asteroid have these or only certain asteroids?

Currently not on vgroids, I've got them randomly spawning on all sizes of asteroids (might be worth placing them only on particularly large ones, haven't given it too much thought).

You need to be close to actually have it spawn in, yes, think this should be alright, but if we want to give any sort of "divining equipment", you won't be able to pick out an asteroid that has them at 100-200 m, you'd pretty much need to be on it.

@blackknight954
Copy link
Contributor

Atmos eatin good tonight.
You say a player has to be close to the roid when it spawns to have the deposit appear? or am I reading that wrong.
Will every asteroid have these or only certain asteroids?

Currently not on vgroids, I've got them randomly spawning on all sizes of asteroids (might be worth placing them only on particularly large ones, haven't given it too much thought).

You need to be close to actually have it spawn in, yes, think this should be alright, but if we want to give any sort of "divining equipment", you won't be able to pick out an asteroid that has them at 100-200 m, you'd pretty much need to be on it.

Yeah, Just asking because I've seen asteroids spawn around 120-200 meters away from shuttles at minimum, so not sure how you'd get within 16 meters of the grid as it spawns

@Jakumba
Copy link
Contributor

Jakumba commented Nov 15, 2024

Really cool idea, the more gameplay loops that can be done on the main map instead of being locked on expeditions is grand!

@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Nov 16, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict This PR has conflicts that prevent merging label Nov 16, 2024
@whatston3 whatston3 mentioned this pull request Nov 16, 2024
2 tasks
@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Nov 23, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict This PR has conflicts that prevent merging label Nov 27, 2024
Copy link
Contributor

github-actions bot commented Dec 1, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Dec 1, 2024
@github-actions github-actions bot removed the Merge Conflict This PR has conflicts that prevent merging label Dec 1, 2024
@whatston3 whatston3 marked this pull request as ready for review December 20, 2024 16:18
@whatston3
Copy link
Contributor Author

whatston3 commented Dec 20, 2024

Marking this as ready (enough)

I've added gaslock entries to the atmospheric alerts console. A bit of a questionable place for them, honestly, but having a way to look at a particular (edit: gaslock) and control it remotely is useful for on-station gas transfers.

image

That should be the harder parts done. Transfer rate out of deposits, deposit size and composition, sources for the gaslocks themselves, the names of each object, and mapped instances of these could probably use work.

@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Dec 24, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@noldevin
Copy link

This seems really cool, I'm excited to see where this goes.

@github-actions github-actions bot removed the Merge Conflict This PR has conflicts that prevent merging label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants