-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
feat(equipment): add equipment for all size slots #5993
feat(equipment): add equipment for all size slots #5993
Conversation
34ecd51
to
f902597
Compare
737d6d4
to
b40b22f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! So far everything looks good, other than a few spots where what was prototyped on Notion didn't/doesn't match the intended design.
I've left some comments / change requests on specific points, but overall I'm extremely glad to see this being worked on while I'm stuck in the mire of larger refactors.
b40b22f
to
eef88aa
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything so far looks good to me! I've pushed one commit, which just integrates the display of equipment stock and tech level into the existing stats display mechanism rather than adding a new table; otherwise, so far everything looks good!
@mwerle do you plan on pushing additional changes to this PR (now that I've at long last reviewed what's here) or should this be merged and a new PR created for further equipment changes?
I plan on implementing non-empty slots in the next week or so (independent of this PR), depending on how long the reworked fuel system takes to implement.
Please accept my apologies for the long downtime - I apparently was more burnt-out after the GunManager and EquipSet v2 merges than I anticipated, hence my disappearance during most of the month of December. |
I'm sorry, but since arriving in Australia I've not had a chance to look at Pioneer again. Not sure I'll get much time until I'm back in Japan (Feb10) either.. might be best to merge what we've got so far and add more later. I'll try to find some time to squash the commits in the next couple of days. |
That's perfectly fine, and I hope you enjoy your stay in Australia! Take all the time you need - I'm just glad the PR isn't stuck in limbo entirely 😄 A squash would be lovely; this PR addresses most of the outstanding lack-of-equipment issues, and the rest I think I can clean up over the next few weeks. |
Added some missing translation strings for weapon and pylon hardpoints. All equipment names should start with their location, then their name/type.
The following additional information is now rendered in the equipment card: - equipment stock level - equipment tech level It should be trivial to add more equipment details to the display now, such as weapon damage or firing rates etc. Additionally, out-of-stock items are now rendered instead of hidden. This allows players to see all items which are normally available at a station instead of showing a partial list which could lead to player confusion when they can't find a particular equipment item even at high tech-level stations.
ae0928a
to
a8cc24b
Compare
Thanks, weather has been a bit meh, but overall having a great time with friends and family; good to be back for a bit.
I did some squashing/rebasing, please let me know if I should condense this PR more or if it's ok as-is now. |
If able, I'd appreciate dropping the changes to |
I can drop the changes to The other changes should still be there .. just that I merged all the changes to the equipment outfitter display into a single commit (26c62a2). I compared my final rebased branch to before rebasing and the code was identical, so no changes should have been dropped..? |
a8cc24b
to
d7a3265
Compare
Dropped in the latest force-push. |
I pushed a commit to this branch yesterday - unless you pulled before rebasing I don't think it got included. I looked at the post-rebase diff and didn't see the changes for that commit. As I said earlier, it was mostly cleanup so no issues with recreating the commit - I don't have it locally because the tooling I used got rid of the temporary branch I checked this PR out into. |
And by yesterday I mean 3 days ago with my review approval. |
Oh, I see. Hmm, I did Let me see if I can figure out a way to recover it. Alternatively you should be able to use |
Ok, found got the commit. Let me integrate it and update the PR.. chotto matte okudasai. |
- Use the existing equipment stats list to display stock and tech level information for each equipment item. - Note that both the selected and equipped item must have the same prefix-order of fields in the stats array for comparison to work correctly.
Adds a set of placeholder thrusters for slot sizes 1 through 5: default, improved, optimised, naval. (renamed from default, basic, medium, best) with proposed weight, volume, and price. Each thruster improvement increases the linear and rotational thrust multipliers. Apart from weight and volume, no other statistics are currently taken into account. TODO: - Current game code assumes a ship always has at least "default" thrusters installed, even if the player has sold them. Either ensure the player can't leave ship-outfitting without buying at least default thrusters, or prevent the ship from taking off/flying without thrusters. - Create more diversified thruster types - separate settings for delta-V, thrust, fuel/power-efficiency, etc.
Make S4 and S5 fuel scoops available for purchase.
The Mola Ramsayi, Sinonatrix, and Sinonatrix (police) were missing the "hardpoint" flag for the fuel scoop slot, preventing the slot from being properly translated.
This is to make it consistent with the other missile rack names. Basically the numbering scheme is LH-XY0, X: size of missile, Y: number of slots.
Tech level is the same as the tech level of the missile which can fitted into the missile rack. Price is calculated as the base price of the "111" rack, which is 150, multiplied by the tech-level multiplier (1, 2.5, 3), and multiplied by the number of slots.
Ships like the AC33 Dropstar have slots sizes up to 5 for missile racks, so let's add equipment up to that slot size. After discussion, use "Hydri Defense" as the manufacturer name for missile rails and racks, with the following model names: - Cnida - single-missile rails - Hydra - dual-missile racks - Medusa - quad-missile raccks For the OPLI internal missile racks, add the missing S4 and S4 sizes. Missile capacities were taken from comments in the ship definitions and discussion with sturnclaw; specifically: - the S3 opli_internal missile bay for the Natrix and Nerodia should hold 3x S3 missiles. - the S4 opli_internal missile bay for the Mola Ramsayi is not finalised, but use 5x S3 and 3x S2 for a start. Ignore the comment in the ship definition. Other statistics (volume, mass, price) made up on the spot and may need reviewing during playtesting/balancing.
Add descriptions and flavour text for missiles and missile racks. NOTE: The descriptions are also used for the tooltips. The flavour text is optional additional text which is displayed in the equipment outfitter.
It is no longer true that a passenger cabin is only for a single passenger.
d7a3265
to
cccf9d8
Compare
Ok, added your commit back in and it appears to work. Somewhat confused why it just got silently dropped - the "git push force-with-lease" -should- have warned me.. but "git reflog" to the rescue. Git really is an amazing tool.. |
Thanks! That's one less task on the "to do before release" pile. Will give this a whirl tomorrow and likely merge if no issues arise. Thanks for the work! |
Merged - thanks! |
WIP PR to add (placeholder) equipment and descriptions for all slot sizes.
Fixes #5950 , #5951
(Feel free to reserve a set of equipment, work on it, and push to this PR)
Feature creep
translations: add a bunch of missing weapon hardpoint translation entries
ships: fix fuel-scoop slot for the Sinonatrix (and Police variant) and the Mola Ramsayii; they were missing the "hardpoint":true flag on the slot, preventing it from accessing the correct translation string.
equipment outfitter:
Thrusters
Design : https://www.notion.so/bszlrd/RCS-thrusters-1018c82e283f80a98bf5da0576472191
Adds a set of placeholder thrusters for slot sizes 1 through 5: default, improved, optimised, naval. (renamed from default, basic, medium, best) with proposed weight, volume, and price.
Each thruster improvement increases the linear and rotational thrust multipliers. Apart from weight and volume, no other statistics are currently taken into account.
TODO:
Fuel scoops
DONE: added S4 and S5 fuel scoops.
Missile Racks
TODO : (Micha) Move from PR #5992 ; or merge that PRDesign: https://www.notion.so/bszlrd/Databases-1018c82e283f80d29d30e09a1f72f095
DONE: Merged the commits from #5992 here; that commit should be discarded now, unless people think it's better to keep these separate.
OPLI internal missile racks
Added S3 and S4 sizes to support the Natrix, Nerodia, and Molar Ramsayi.