Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@nmajask
Copy link
Contributor

@nmajask nmajask commented Jul 27, 2021

Github documenting your Pull Request

This PR ports 3 PRs from Beestation

All of these are done by the wonderful PowerfulBacon and most of the changes were to make it work with our code. There are still a few issues that need to be fixed, but you can still build and fly a shuttle.

Whats Different?

The big difference is the icon for the RSD and its interface, using icons I threw together as the current ones on Bee don't fit our art style and the old one doesn't fit its function (it originally worked like an RCD, but now functions as a drone controller). These icons aren't the best, and if someone provides better ones I can replace them with it

New Icon (its animated in game):
RSD

Whats Needs to be Fixed?

I haven't done much testing, but these are a few of the issues I have noticed.

  • Clean up the code
  • Rearrange the tech web to fit the new tech
  • Fix the RSD drone not using its icons
  • Readd the name filter
  • Port "Bluespace Navigation Gigabeacon #44807" by Dennok, as it allows you to make custom docks for ships

After further testing, I found a few more issues

  • Runtime in shuttle_engine.dm,121: Division by zero
  • Runtime in shuttle_creator_console.dm,61: Cannot read null.client (cause of the eye icon issue?)

Jamie informed me of some other fixes that I will look into adding when I can

There are still a ton of things I need to test, but as it is time consuming to make shuttles and test them it may take some time

What Do You Plan on Adding?

There are a few things that I want to try adding, but most of these are just ideas and probably wont be added.

  • Tgui for the shuttle interface
  • More engines, like ones that have different properties depending on the gas mix provided, big engines, or one that runs on dilithium
  • More upgrades (fuel usage reduction, anti-knockdown, DNA locks, ect.)
  • Emaging the computer to allow you to fly to syndicate lab on Lavaland (if it is spawned)
  • Ship weapons (I already looked into adding the weapons from "Making shuttles great(er) again through the power of science! (Bluespace Exploration Core) #2551", but I would need more time to port it)
  • Maybe even FTL-like exploration instead of our current space exploration system (This would take a LONG time to make, would only be a drain on the server if there is no job that uses it, and may not even be fun, but you could do a lot of cool stuff with it. PowerfulBacon has already created something similar too.)
  • The ability to make multi area shuttles (this wouldn't be too hard in theory, as shuttles already store its contained areas as a list, so I would just need to add a way to make different areas in the RSD)

Wiki Documentation

If this gets merged, there are going to be a lot of changes needed. The new tool, boards, machines, and techs will need to be added into their respective pages and many new icons will need to be added. Also, it may be a good idea to make a guide on how to make shuttles at some point, maybe merging it with the one for space pods and renaming it to space vehicle construction or something.

Changelog

🆑 PowerfulBacon, Dennok
rscadd: Added custom shuttles
rscadd: Added in new circuit boards, machines, techs, icons, and a tool for creating custom shuttles
rscadd: Created 2 new config options defining shuttle max size and count of shuttles
/:cl:

@nmajask nmajask requested a review from a team as a code owner July 27, 2021 22:09
@nmajask nmajask requested a review from a team July 27, 2021 22:09
@Yogbot-13 Yogbot-13 added DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Sprites This PR has spriting changes labels Jul 27, 2021
- Removed some unused files
- Fixed a change to a random file
@github-actions github-actions bot added the Config Config files need to be changed on the host for this to work label Jul 27, 2021
nmajask added 3 commits July 27, 2021 18:35
- Added some more important files
- Added the icons I forgot to add
- Should fix this, maybe?
- Added the turf icons
@Anvilman6
Copy link
Contributor

I look at this, and I feel joy that we have such an ambitious featurecoder contributing to our base.
But I also feel fear about how much documentation this is going to need generated.

Your PRs and ports continue to amaze, Nmajask - keep it up!

@maxion12345
Copy link
Contributor

fuckkk we could have this be some sorta progression

we make it so lavaland only has pitiful amounts of diamond/bluespace, and science needs to construct a shuttle for the miners to go to space to miner asteroids that have larger amounts of them

but this will never occur because people already bitch about science having to push a button to get mining tech, having them build a shuttle would make shaft miner mains cry

One down, two to go
- Fixes the name filter by using isnotpetty instead of OOC_FILTER_CHECK, now if you make a shuttle with a bad name, it will message the admins.
@nmajask
Copy link
Contributor Author

nmajask commented Jul 29, 2021

Just fixed the name filter and am currently working on changing the UI for shuttle to use Tgui.

I look at this, and I feel joy that we have such an ambitious featurecoder contributing to our base.
But I also feel fear about how much documentation this is going to need generated.

Your PRs and ports continue to amaze, Nmajask - keep it up!

Thanks for the support, I have many more things that I want to add and port. Also, if you need any help with updating the wiki with changes from my PRs I would be more than happy to help provide information or make edits/guides.

fuckkk we could have this be some sorta progression

we make it so lavaland only has pitiful amounts of diamond/bluespace, and science needs to construct a shuttle for the miners to go to space to miner asteroids that have larger amounts of them

but this will never occur because people already bitch about science having to push a button to get mining tech, having them build a shuttle would make shaft miner mains cry

Yeah, it would be cool to have shuttles be used for progression in mining, but what would more likely happen is miners just wouldn't care and sci would just end up with less resources to work with. The only way you could get that to work is if you either rework mining and made it less focused on fighting bosses and getting loot or add bosses and loot to asteroids.

@JamieD1 JamieD1 marked this pull request as draft August 1, 2021 13:36
- Fixes the tech web
- Adds the new icons for the RSD
@PowerfulBacon
Copy link

Should be noted that the engines and heaters cause hard dels due to not doing anything when deleted.

Should fix most of the runtimes and issues that ive had thanks to Jamie's help. Should bring this from ""functional"" to "functional".
why github desktop, WHY!!
@nmajask
Copy link
Contributor Author

nmajask commented Sep 5, 2021

I have been holding off working on this for WAY too long


/obj/machinery/computer/camera_advanced/shuttle_docker/custom/proc/linkShuttle(var/new_id)
shuttleId = new_id
shuttlePortId = "shuttle[new_id]_custom"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This used to break on bee if you make more than 1 shuttle docker so might want to check it out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This used to break on bee if you make more than 1 shuttle docker so might want to check it out

Was there a PR that fixed it, or did you instead just rework the shuttle system to get around it?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was fixed as a part of the shuttle system rework

Copy link

@PowerfulBacon PowerfulBacon Sep 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the cause was the port ID not being unique for each console. Just adding a static number and sticking _[varname++] on the end should fix it I think. (Actually the shuttles themselves would need to have the custom port added too so maybe its not as easy as it sounds)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was either that or the ports weren't being deleted properly.

why do i do this the way i do
@nmajask nmajask marked this pull request as ready for review September 13, 2021 22:38
@nmajask
Copy link
Contributor Author

nmajask commented Sep 13, 2021

Should be noted that the engines and heaters cause hard dels due to not doing anything when deleted.

Sorry for taking so long to reply, I got burnt out from working on this for a while and just now got back to working on it. I talked with Jamie about this and he said that its not something to worry about.

Ports "Custom shuttle offsets and view range depends on ship size. yogstation13#2685" by Dennok and "Custom transit dir for custom shuttle yogstation13#2689" by Dennok
@SomeguyManperson
Copy link
Contributor

is this ready for testing?

@nmajask
Copy link
Contributor Author

nmajask commented Sep 15, 2021

is this ready for testing?

It should be, I got everything that was vital for it to work done I think

@JamieD1
Copy link
Contributor

JamieD1 commented Sep 17, 2021

Test merging

@JamieD1 JamieD1 added the TESTMERGED This PR is currently live in a test merge. label Sep 17, 2021
JamieD1 and others added 3 commits September 17, 2021 13:25
- Added the Admin RSD, which ignores the shuttle size and area limit, allowing you to turn whole chucks of the station into shuttles
- Renamed the shuttle navigation computer to the shuttle zoning designator to avoid confusion
- Tweaked the designs for the shuttle circuit board design to use the correct name for the boards
- Moved the Bluespace Navigation Gigabeacon board into shuttle machinery
- I forgot to add Bluespace Navigation Gigabeacon to the lists of unlocks for Spacepod Construction, so I fixed that
@SomeguyManperson SomeguyManperson added Merge conflict Files are conflicting with current live changes. Test Merge - Scheduled This PR is waiting to be test merged and removed TESTMERGED This PR is currently live in a test merge. labels Sep 30, 2021
Copy link
Contributor

@SomeguyManperson SomeguyManperson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently has a merge conflict I don't think we've got any bugs or massive issues so

@SomeguyManperson SomeguyManperson enabled auto-merge (squash) October 3, 2021 19:30
@JamieD1
Copy link
Contributor

JamieD1 commented Oct 3, 2021

Fix conflict then dm me

auto-merge was automatically disabled October 4, 2021 00:04

Head branch was pushed to by a user without write access

@JamieD1 JamieD1 merged commit 791f92f into yogstation13:master Oct 6, 2021
Yogbot-13 added a commit that referenced this pull request Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Config Config files need to be changed on the host for this to work DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Merge conflict Files are conflicting with current live changes. Sprites This PR has spriting changes Test Merge - Scheduled This PR is waiting to be test merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants