Jump to content

Featured Replies

  • Author

Oh and don't worry, if we can just get the cocaine gum, adding all of those should be easy. But yeah, we won't stop at just cocaine gum. We'll get the booze too!

  • Replies 28
  • Views 8.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • joebeefhash
    joebeefhash

    Hey I'll try to help you out. Give me about an hour or maybe two to get woke up. I think I may can help you with this. But wait, you can't sell those items at a fence already? 

  • joebeefhash
    joebeefhash

    I'm still learning myself but I'm a quick learner and for one thing I try several things out over and over, modifying one value at a time and monitoring changes, rinse and repeat. If you create backup

  • PancakeMaster
    PancakeMaster

    Thanks dude. Yes by default, cocaine gum, chewing tobacco,  cigarettes and premium cigarettes CANNOT be sold. Only bought. Which really was annoying cause buying them is expensive as hell (6 dollars f

Posted Images

Also, if you do manage to make it work, we should make it possible to sell crackers, and biscuits as well as candies and bread chunks besides being able to sell opened items. 🙂 Btw, is it possible to disable the new austin sniper so we could visit as Arthur?

  • 4 months later...

I'm not sure how to accomplish this, but I might have an idea of what needs to be done.

 

 

 

data_0.rpf\data\itemdatabase\catalog_sp.rpf\0xCF8DA776.ymt

this is the item database file that appears to be referenced by catalog_sp.ymt, and I think it just needs to be modified to match the added texts in catalog_sp.ymt

 

The hashes should be able to be relatively easily decoded using <tags> under the item keys in catalog_sp.ymt and by comparing the tags of an nonsell-able item (cigarettes, etc.) with those of an sell-able item (pineapple, etc.). There are 10 consistent key omissions under tags with type 0xC76BC07D that happen to be common for these unsellable items.

 

Some items have many different item variations, these are examples of some that should be the right ones:

<item key="CONSUMABLE_CIGARETTE_BOX_CHEAP">,  

<item key="CONSUMABLE_CIGARETTE_BOX">,

<item key="CONSUMABLE_COCAINE_CHEWING_GUM">

which should include some changes like the following:

Reveal hidden contents
Reveal hidden contents

 

I hope my work will be able to help some more experienced modder figure out how to accomplish this, even if it's not entirely accurate.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...