-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Weapon on sale not installed #5567
Comments
Just looking at the code, for some reason, the (There is no code for swapping, so the proper thing is for the advert to tell the player to first sell the current equipment, before fitting the new). |
OK, I've done some test. The code works if doing it with a ship that only has one weapon slot ( According to @Web-eWorks the slot system is on its way out, and will soon be replaced with hardpoint system, so no point in spending time on code that's about to be replaced within a month or a few. I'll spend that time on writing new code instead. If anyone want to fix their pioneer, just open all json files in data/ships/ and set "laser_rear: 0", meanwhile. I suppose we'll leave this bug report open until the new code is in place. |
Fixed in #5734. |
Observed behaviour
If buying a weapon on sale without selling your current one 1st, it won't install BUT it will subtract the amount from your account.
Since the related part of #5539 didn't take off there, I'm forking it here. The shorter video shows the issue, the longer one is the workaround.
2023-03-06.22-18-37.mp4
2023-03-06.21-37-16.mp4
Expected behaviour
Either
Steps to reproduce
My pioneer version (and OS):
20230203-win
My output.txt (required) and game save (optional, but recommended)
The game save file was simply renamed to go through the upload extension filter, there was no modification to its content.
output.txt
Pioneer-Yoan_Faure-20230203-230425-Large_plasma_accelerator_on_sale_having_enough_money.zip
The text was updated successfully, but these errors were encountered: