Skip to content

Refactor inventory item comparison and cleanup#180

Closed
Rico-Rodriguez wants to merge 1 commit into
WaspScripts:mainfrom
Rico-Rodriguez:patch-14
Closed

Refactor inventory item comparison and cleanup#180
Rico-Rodriguez wants to merge 1 commit into
WaspScripts:mainfrom
Rico-Rodriguez:patch-14

Conversation

@Rico-Rodriguez
Copy link
Copy Markdown
Contributor

Refactor item comparison to use SameText for case-insensitivity and remove redundant bank deposit loop.

Fix 1:
Allow case-insensitive comparisons for items.

Fix 2:
Fix to allow withdrawing actual diff of items.

For example:

Before fix:

Open bank -> deposit 12 karambwans -> withdraw 13 karambwans.

After fix:

Open bank -> withdraw 1 karambwan

Refactor item comparison to use SameText for case-insensitivity and remove redundant bank deposit loop.
@Rico-Rodriguez Rico-Rodriguez deleted the patch-14 branch May 13, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant