Sam Gleske

Results 397 comments of Sam Gleske

Something I learned about how random works in endless sky. `!Random::Int(1800)` will roll a random number between 0 and 1800. It has to be 0 for it to succeed. It's...

BaysFree does not appear to work but CanCarry does. CanCarry is more expensive since it iterates across all escorts. I am going to look at why BaysFree does not work.

I have figured out the problem (since I am testing a few PRs there was a bug in another PR). I plan to use CanCarry but only for player escorts....

Pushed a fix where if the player has a large number of excess fighters they do not scramble in circles.

This PR solves some issues discussed in #6329

I think I have addressed all of the feedback. Also, this PR has been pretty thoroughly play tested at this point. I haven't found anything else to fix.

I have been thoroughly testing this standalone and combined with #6669 . Gameplay is smooth. 10 seconds of charge left to go recharge feels reasonable in gameplay.

> Do we really need to exactly calculate the exact amount of energy remaining? Would a heuristic like 25% not work as well? I've been play testing this and it...

# Fighters under heavy battery load Video (side note the video combines the mining pull request #6669 for demonstration purposes of using battery based fighters and drones). https://discord.com/channels/251118043411775489/285540320823869441/968280941564932096 # Fighter/drone...