R3voA3 / 3den-Enhanced

Official 3den Enhanced repository
https://steamcommunity.com/sharedfiles/filedetails/?id=623475643
Other
49 stars 30 forks source link

ESE - Import to Available Items from clipboard #330

Closed Pixelated-Grunt closed 2 months ago

Pixelated-Grunt commented 2 months ago

This change add 2 extra options to the 'Filter' menu strip.

This is a simple change by using existing functions to convert clipboard data to have the same data structure as the 'EHN_ENE_itemsHashMap' hashmap. Then replace the 'EHN_ENE_itemsHashMap' variable with the newly created hashmap.

Existing 'EHN_ENE_itemsHashMap' will be saved for the reset function.

It also adds filters to both 'fn_ESE_lbAdd' and 'fn_ESE_lbnAdd' functions to skip items that are blanks (no Display Text). The ESE list boxes contain blank rows, this behavior exist in the current Steam release as well. See before and after screenshots from the Steam release version.

BEFORE 20240829034628_1

AFTER 20240829034339_1

github-actions[bot] commented 2 months ago

Do not forget to also update the following files: