RE Menu: "Do not Drop" & "Replace Use" commands addons/edit

● ARCHIVED · READ-ONLY
Started by Otto 4 posts View original ↗
  1. Solved

    Howdy,
    My edited RE Menu was basically done, aside from some very minor visual tweaks, when a new idea (well, two ideas actually) bugged my head, and so - in turn - I decided to bug you guys as well :D

    So, originally I removed the "Discard" commands, because I want the player to manage inventory trough the use of item storage boxes, and also because the menu didn't include an option to prevent discarding important items such as keys or puzzle items.
    However after thinking about it, I concluded that some players are lazy and would sound off at the idea of having to travel all the way to the item box :p and also non-lazy player, may still decide that it's strategically more convenient to sacrifice a small healing item (for example) rather than run trough an enemy-infested area (which would probably still cost them an healing item anyway), and so I decided to reinstate the Discard option (in addition to the storage box).

    Thus brings us to the original problem: is there a way to make some items items undroppables (I'm assuming with a <Undroppable> note tag) ?

    I'm sure it's a silly edit to be done here:

    upload_2018-8-20_16-45-13.png

    put something like "unless" item has <do_not_discard> notetag, but I don't really know how to implement notes tags :(


    Also, not mandatory, just a plus, can I insert a "are you sure you want to discard?" confirmation window for Discard option?

    Also, secondary issue (less important, just visually more pleasing), is there a way, for some items, to replace the "Use" command with something else (that may be "read" "examine" "stick it u- ehm nevermind") for specific items (again with a notes tag I suppose)? Note that the functioning would be the same, it's still the use commands, just has a different name.


    Thanks in advance to anyone who'll look into it :)
  2. just trowing in a bump :D
  3. Time for the weekly bump.

    Well, it's not weekly technically, but... bump :p

    edit: I actually solved by myself the first part, now I can add a <undroppable> tag into an item's note box so it cannot be discarded.

    upload_2018-8-29_0-30-40.png

    this is what I added (it's probably too much unnecessary stuff anyway but I gess it's cool as long as it works), I also added some more stuff here and there to gray-out the Discard command for items that are not discardable, by seeing how the script already did that for files/docs items (like diaries and stuff)... which at one point led me to believe that the script already had a built in "do not drop" function but wasn't applied to normal items, I just had to find a way to flag an item as improtant for it to work.... so basically all the edit I did that you see in the above screenshot was unnecessary, because doing just this was enough:

    upload_2018-8-29_0-53-45.png

    but I'm too lazy to check again at the moment LOL

    anyway, I still need help with adding a "are u sure u want to drop?" confirmation window, and for the second issue (the customized "vocabulary" for the Use command).

    I edited the script in the first post to include my new modifications.

    Solved everything, I'm a beast :D
  4. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.