[CYBERPUNK 2077] Delete a quest item

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
Ultor
Noobzor
Noobzor
Posts: 7
Joined: Tue Dec 15, 2020 9:30 am
Reputation: 0

[CYBERPUNK 2077] Delete a quest item

Post by Ultor »

Hi, I'm trying to delete a weapon added using the console, out of ignorance I used a quest weapon preset, so it's impossible to destroy it, throw it away or sell it
I used this command to add the weapon:

Code: Select all

player.inventory.addItem(Items.Preset_Q001_Lexington,1)
Of course, I tried with command line:

Code: Select all

player.inventory.removeItem(Items.Preset_Q001_Lexington,1) 
I thought of using the inventory editor in some cheat tables, but the weapon is not referenced, I think it needs the hash, I'm talkink about something like

Code: Select all

dq 000000000181345A // Items.RareMaterial1
But for the "Items.Preset_Q001_Lexington" => Dying Night.

or maybe a way to "restart" the quest to "validate" the item and remove the "quest flag", I dont know...


If someone have an idea :)


Sincerely,
Ultor

User avatar
The Mogician
Table Makers
Table Makers
Posts: 603
Joined: Sat Mar 04, 2017 12:00 am
Reputation: 354

Re: [CYBERPUNK 2077] Delete a quest item

Post by The Mogician »

1. Are you sure you put it in correctly? Because if you did input it in correctly, it wouldn't make sense to not be available for the removal command.

2. Have you tried adding in -1 amount of that item?

3. Alternatively you can just load a save before you executed that command.

stabber
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Dec 17, 2020 1:39 pm
Reputation: 0

Re: [CYBERPUNK 2077] Delete a quest item

Post by stabber »

I'm in the same situation and actually I didn't even mod yet.
Just happened to get two of Johnny's Shoes somehow and I'm stuck with both since a long time ago so going to a previous save is not possible.

Tried the player.inventory.removeItem with -1 but no luck.

Seems silly they don't even let you drop these iconic/quest items.

HellaLegitFoo
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Dec 17, 2020 9:57 pm
Reputation: 0

Re: [CYBERPUNK 2077] Delete a quest item

Post by HellaLegitFoo »

stabber wrote:
Thu Dec 17, 2020 1:41 pm
I'm in the same situation and actually I didn't even mod yet.
Just happened to get two of Johnny's Shoes somehow and I'm stuck with both since a long time ago so going to a previous save is not possible.

Tried the player.inventory.removeItem with -1 but no luck.

Seems silly they don't even let you drop these iconic/quest items.
I'm in the same boat except I crafted the higher tier versions of Johnny's clothes so now I'm stuck with the rare versions even though I can craft the epic versions... I loaded up a previous save because it'll drive me crazy having those items sit in my inventory (-_-;)

Master_Builder
Cheater
Cheater
Posts: 39
Joined: Mon Jan 13, 2020 5:45 pm
Reputation: 34

Re: [CYBERPUNK 2077] Delete a quest item

Post by Master_Builder »

removeItem works perfectly file with money or something static like that.
Weapons can level and don't stack, they're more instanced. I don't think the command can remove items like that at all.

And even if you add the item then immediately try and remove it, removal fails.

It's a pain too since all those 'duplicate' items come from upgrading quest items. This doesn't remove the lower level quest item and so you get both. Like with Johnny's shoes.

If you need a list of quest related items to test with, here you go:

Code: Select all

player.inventory.addItem(Items.Preset_Yukimura_Skippy,1) // Skippy (No legendary upgrade?)
player.inventory.addItem(Items.Preset_Silverhand_3516,1) // Johnny's Gun (Malorian Arms 3516)
player.inventory.addItem(Items.Preset_Overture_River,1) // Crash
player.inventory.addItem(Items.Preset_Overture_Cassidy,1) // Amnesty
player.inventory.addItem(Items.Preset_Q001_Lexington,1) // Dying Night (Use Preset_Lexington_Wilson instead.)

player.inventory.addItem(Items.Q005_Johnny_Glasses,1)
player.inventory.addItem(Items.Q005_Johnny_Shoes,1)
player.inventory.addItem(Items.Q005_Johnny_Shoes,1)
player.inventory.addItem(Items.Q005_Johnny_Shirt,1)

Post Reply

Who is online

Users browsing this forum: No registered users