It is full of unintended code duplications. ...Menu works all the same all the time, it could just use different arguments.
get slice of something (inventory, equipment, game options, etc), then use that list to print menu, then handle input (check if input is not out of slice bounds, then call specific function)
It is full of unintended code duplications. ...Menu works all the same all the time, it could just use different arguments.
get slice of something (inventory, equipment, game options, etc), then use that list to print menu, then handle input (check if input is not out of slice bounds, then call specific function)