sc2-planner icon indicating copy to clipboard operation
sc2-planner copied to clipboard

Live Version Help

Open opzesty opened this issue 2 months ago • 1 comments

Hey there! I was playing around with the live version of this and I was trying to put in a simple build order just to start testing capabilities, and I ran into a problem. I could not figure out how to make an extractor trick work in the planner. Is this something that is possible? Or is this not implemented?

Happy to chat more and potentially look at helping add the functionality if necessary.

opzesty avatar Oct 27 '25 20:10 opzesty

Duplicate of https://github.com/BurnySc2/sc2-planner/issues/15

  • [ ] I suppose a custom action could be added in https://github.com/BurnySc2/sc2-planner/blob/master/src/constants/customactions.json

  • [ ] would require an additional icon, like an extractor but with a ❌ perhaps.

  • [ ] A custom zerg action for the game logic might have to be added here https://github.com/BurnySc2/sc2-planner/blob/a83e361ac1c61923037b8fec372665d26ad6977b/src/game_logic/execute_action.ts#L855 which will get executed from here https://github.com/BurnySc2/sc2-planner/blob/a83e361ac1c61923037b8fec372665d26ad6977b/src/game_logic/gamelogic.ts#L371

Unsure if somewhere in the game logic it will error because of the supply > max_supply case.

Just laying out my thoughts here where one can start with the solution. When I have time, I can try to add the action, however I don't know when that wil be.

BurnySc2 avatar Oct 27 '25 20:10 BurnySc2