Wimberton / OriginPalia

A multi-purpose tool for Palia, written in C++. For non-commercial usage, looking for contributors. Features such as ESP, Teleportation, Auto-fishing, and more.
https://www.unknowncheats.me/forum/palia/636934-originpalia-feature-packed-multitool-imagine.html
29 stars 10 forks source link

Fish Selling Loop #40

Closed enigmaquip closed 1 month ago

enigmaquip commented 1 month ago

Instead of trashing waterlogged chests, you might think of adding the option to open them instead. Those people that are working on their Makeshift Furniture achievement may like that.

the chest's id is 2810, so you can do something like this in your loop

if (Item.ItemType->PersistId == 2810) { // open Waterlogged chest
    ValeriaController->ConsumeItem(Slot);
}

and since furniture doesn't take up any storage space, you can definitely send it home instead of trashing it

if (Item.ItemType->Category == EItemCategory::Customization) { // Stash Makeshift Furniture from chest
    ValeriaController->MoveItemSlotToStorage(Slot, 1, EStoragePoolType::Primary);
}
Wimberton commented 1 month ago

This is interesting! I'll look into this for the next patch!

VoidPollo commented 1 month ago

Oooh!! This is easy to integrate with the new stuff I was already working with

VoidPollo commented 1 month ago

Working nicely in my local dev branch so far

VoidPollo commented 1 month ago

Im closing this for now, it's been introduced just needs to be pushed. I like the approach of the persistent id, I took the approach of finding them by name and used it for the decor items instead, I opted with keeping all original items in the inventory, even other furnitures. We are only sending back Makeshift furniture.

Thank you so much :)