-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implement a CarrierDetails() function #2374
Comments
There's a queryable Frontier API endpoint (which I believe would contain somewhat similar information). A I'm honestly not sure how much use I'd get out of the information if the data were available. How would you use it? Are there any secondary events that we could generate (by monitoring changes in carrier stats) which might be worthwhile? |
Related: #1828 |
Hmm, well I was thinking recently about getting EDDI to tell me how much Tritium would be used when a jump was requested. However, for that to be calculated, I'd need to know the jump mass of the carrier, and I can only find that in the Journal event (although I've not thought about the API call, as it's not the kind of thing I'd know about). Now that you've asked, it occurs to me that you could possibly do something similar to existing scripts, like informing of carrier cargo that can be sold in the arrival system, or getting EDDI to say when services have been installed or uninstalled, paused or resumed. I know that last part is pretty obvious when you're doing them in game, but then so are many of EDDI's scripts (buying cargo, repairing, redeeming vouchers, etc). Naming the actual crew member assigned when purchasing services, would be nice too. It would certainly be useful for obtaining your carrier's name, and enabling to use that instead of it's registration code all the time. A report that you've changed the name, as you get for your normal ships, would be another thing too. I'm sure I could come up with some other things, in time. :) |
I've added a top-level |
What happens now
There doesn't appear to be any way to obtain details on your fleet carrier.
What I'd like to happen
Have a CarrierDetails() function to provide these details.
How it can happen
Parse the CarrierStats Journal entry to create the CarrierDetails() function, that would allow all carrier information to be available to EDDI scripting.
Example of the CarrierStats Journal entry:
At the moment, I only have the default services, plus rearm, refuel, and repair installed, so the above example doesn't show what the other services data would look like (Vista Genomics, Redemption Office, Bar, etc).
I notice that the 'Crew' variable under SpaceUsage, is the total space used by the services I have installed.
If you need additional info, I can always go add all services, and get some cargo too, to hopefully fill out the event with complete details.
EDDI Version
v4.0.1
The text was updated successfully, but these errors were encountered: