lanedirt / OGameX

Open-source OGame redesign clone built with Laravel 11.x.
https://main.ogamex.dev
MIT License
59 stars 22 forks source link

[BUG] Hide defense properties that are not relevant in "?" popup #291

Closed lanedirt closed 1 month ago

lanedirt commented 3 months ago

Describe the bug Certain properties do not apply to defense objects, these are: speed, cargo capacity and fuel usage.

To Reproduce Steps to reproduce the behavior:

  1. Go to Defense.
  2. Click on rocket launcher then click on the "?" button.

Expected behavior Expecting the above mentioned properties to not show up for defense objects.

Screenshots

Screenshot 2024-08-19 at 13 38 39

Additional context The template for this popup can be found in resources/views/ingame/techtree/info/properties.blade.php. The additional logic can most likely be added, perhaps in combination with a change in the controller which is located in app/Http/Controllers/TechtreeController.php.

jackbayliss commented 1 month ago

@lanedirt This can now be closed as it's resolved. :)