Chum. Do u know if am I that making something wrong or this mod just dont work like this? So... I tried to use this mod to add some cyberwares to some ripperdocs and i put it like this:
{ Sandy_qiant_mkiv, id = "Items.SandevistanC3MK4", store = "Vendors.wbr_hil_ripperdoc_01", setQuality = "Quality.Legendary" },
Yes, it is an OS item. I was trying some script to add the cyberparts that are sold by Ripperdocs Fingers and Charles to other ripperdocs as they may be unavailable depending on our choices. I had managed in the past, but I had to reinstall the game and lost the mods and now I don't remember how I did it, if it was with this mod or another haha.
I got it! I was just getting the ripperdocs base ids wrong, but now I found them.
If you allow me, I would like to leave here the script that I modified based on your mod, in case any fellow with the same idea as me does not need to search more. (I basically added to several different ripperdocs some cyberwares that may be unavailable depending on our choices in the game.
I also added some cyberware that for some reason exists in the game files but is not shown so that we can buy them.
This is the script (sorry for bothering you, but I finally managed to solve it and wanted to contribute with what I got haha):
return { { Mem_boost_epic, id="Items.MemoryBoostEpic", store = "Vendors.wat_kab_ripperdoc_01", setQuality = "Quality.Epic" }, { Sandy_qiant_mkiv, id="Items.SandevistanC3MK4", store = "Vendors.wat_kab_ripperdoc_03", setQuality = "Quality.Legendary" }, { Saka_pain_editor, id="Items.PainReductor", store = "Vendors.wbr_hil_ripdoc_01", setQuality = "Quality.Legendary" }, { Res_booster_legendary, id="Items.ResistancesBoosterLegendary", store = "Vendors.hey_spr_ripperdoc_01", setQuality = "Quality.Legendary" }, { Toxin_cleanser_rare, id="Items.ToxinCleanser", store = "Vendors.std_rcr_ripperdoc_01", setQuality = "Quality.Rare" }, { Syn_acel_epic, id="Items.SynapticAcceleratorEpic", store = "Vendors.cct_dtn_ripdoc_01", setQuality = "Quality.Epic" }, { fort_ankles_epic, id="Items.ReinforcedMusclesEpic", store = "Vendors.pac_wwd_ripperdoc_01", setQuality = "Quality.Epic" }, { Mic_vib_epic, id="Items.MicroVibrationsGeneratorEpic", store = "Vendors.wat_lch_ripperdoc_01", setQuality = "Quality.Epic" }, { Bio_joints_epic, id = "Items.JointLockEpic", store = "Vendors.wat_nid_ripperdoc_01", setQuality = "Quality.Epic" }, { Bio_lungs_epic, id="Items.EnhancedTissueEpic", store = "Vendors.std_arr_ripperdoc_01", setQuality = "Quality.Epic" }, { Dense_marrow_epic, id="Items.DenseMarrowEpic", store = "Vendors.wbr_jpn_ripperdoc_01", setQuality = "Quality.Epic" }, }
In the beginning I tried to add in the same script the cyberware mods and their blueprints too, but for some reason when I did that the mod didn't work, so I decided to leave only the cyberwares.
Tried to add the Militech Clothings to the little China Vendor... but seems not working. I'm not sure if the Item Ids I found are outdated or I made a mistake.
https://pastebin.com/Sev27dwJ That is what I'm having in the Database.txt
I have seen Garrighan's Post about the Cyberwares. I'm Not sure what I made wrong
return { { Militech Neotac Pants, id = "Items.Pants_08_basic_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" }, { Militech Armorfiber Tactical Harness, id = "Items.Vest_06_basic_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Armor-Quilted Aramid Vest, id = "Items.Vest_02_rich_02", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Heavy Tactical Vest, id = "Items.Vest_08_basic_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Jacket (Broken), id = "Items.q005_militech_blazer", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Reinforced Composite Field Jacket, id = "Items.Jacket_04_basic_02", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Ultralight Aramid Breastplate, id = "Items.Vest_13_basic_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Durable Militech Training Jumsuit, id = "Items.Jumpsuit_01_old_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Aramid-Weave Hazmat Suit, id = "Items.Jumpsuit_03_old_03", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Used Militech Training Shoes, id = "Items.CasualShoes_05_old_01", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Blazer, id = "Items.q005_militech_blazer", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Pants, id = "Items.q005_militech_pants", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Shoes, id = "Items.q005_militech_shoes", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Suit, id = "Items.Q005_Militech_Suit", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Suit dirty, id = "Items.Q005_Militech_Suit_Dirty", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" },
{ Militech Suit Filthy, id = "Items.Q005_Militech_Suit_Filthy", store = "Vendors.wat_lch_clothingshop_01", setQuality = "Quality.Rare" }, }
This is what I have in my file? Did you see a misspelling? Or an incorrect Code form? Tbh, I'm not into coding etc and just take your Example and changed it.
@spawn00000: Sooo...worked like a charm when only adding the stuff to the vendors in Kabuki and Badlands for testing purposes, and I was elated that my first ever user experience with modding a game was going so swimmingly. Then I added ALL foodshops and some junkshops (for selling cybershards) to the database.txt and - POOF! None of the vendors would stock any of the items I wanted them to, except for the Trailerpark Foodstall. Bummer.
Cousin threw a laughing fit when I said the mod ain't working right - told me "mod not working equals user error - check your file, then check it again, if you can't figure it out ask the author for help" . So here I am - again, hoping for some advice. I checked from top to bottom, all seems to be in the specified form (as in your example) - except I ordered them differently. Am now wondering if that was wrong? I had a whole lot of shops to cover, so I just went alphabetically through the districts, same as the shops show up in the vendor records under the TweakDB tab on the CET console.
I really want to learn this, so I'd really appreciate if you could have a look-see and tell me if my hunch about the order is right, or if my near-total code illiteracy led to another mistake that keeps the stuff from spawning into ALL the desired vendor's inventory. Here's my file header and the first vendor for an example how I wrote it - and just that list is a huge SOB already! If you think the mistake is further down, I can post the entire thing.
Spoiler:
Show
--[[ stores: BADLANDS 1 "Vendors.bls_ina_se1_foodshop_01" "Vendors.bls_ina_se1_junkshop_01" "Vendors.bls_ina_se1_junkshop_02" BADLANDS 2 "Vendors.bls_ina_se1_foodshop_02" "Vendors.bls_ina_se5_junkshop_01" BADLANDS 3 "Vendors.bls_ina_se1_foodshop_03" BADLANDS 4 "Vendors.bls_ina_se5_foodshop_01" CORPORATE PLAZA 1 "Vendors.cct_cpz_food_01" CORPORATE PLAZA 2 "Vendors.cct_cpz_food_02" DOWNTOWN 1 "Vendors.cct_dtu_food_01" DOWNTOWN 2 "Vendors.cct_dtu_food_02" GLEN 1 "Vendors.hey_gle_foodshop_01" GLEN 2 "Vendors.hey_gle_foodshop_02" VISTA DEL REY 1 "Vendors.hey_rey_foodshop_01" "Vendors.hey_rey_junkshop_01" VISTA DEL REY 2 "Vendors.hey_rey_foodshop_02" VISTA DEL REY 3 "Vendors.hey_rey_foodshop_03" VISTA DEL REY 4 "Vendors.hey_rey_foodshop_04" WELLSPRINGS "Vendors.hey_spr_foodshop_01" "Vendors.hey_spr_junkshop_01" COASTVIEW "Vendors.pac_cvi_foodshop_01" ARROYO 1 "Vendors.std_arr_foodshop_01" ARROYO 2 "Vendors.std_arr_foodshop_01" ARROYO 3 "Vendors.std_arr_foodshop_01" ARROYO 4 "Vendors.std_arr_foodshop_01" RANCHO CORONADO 1 "Vendors.std_rcr_foodshop_01" RANCHO CORONADO 2 "Vendors.std_rcr_foodshop_01" LITTLE CHINA 1 "Vendors.wat_lch_foodshop_01" LITTLE CHINA 1 "Vendors.wat_lch_foodshop_02" LITTLE CHINA 1 "Vendors.wat_lch_foodshop_03" KABUKI 1 "Vendors.wat_kab_foodshop_01" "Vendors.wat_kab_junkshop_02" "Vendors.wat_kab_junkshop_03" "Vendors.wat_kab_junkshop_04" KABUKI 2 "Vendors.wat_kab_foodshop_02" KABUKI 3 "Vendors.wat_kab_foodshop_03" KABUKI 4 "Vendors.wat_kab_foodshop_04" NORTHSIDE 1 "Vendors.wat_nid_foodshop_01" NORTHSIDE 2 "Vendors.wat_nid_foodshop_02" CHARTER HILL 1 "Vendors.wbr_hil_foodshop_01" CHARTER HILL 2 "Vendors.wbr_hil_foodshop_02" JAPANTOWN 1 "Vendors.wbr_jpn_foodshop_01" JAPANTOWN 2 "Vendors.wbr_jpn_foodshop_02" JAPANTOWN 3 "Vendors.wbr_jpn_foodshop_03" JAPANTOWN 4 "Vendors.wbr_jpn_foodshop_04" JAPANTOWN 5 "Vendors.wbr_jpn_foodshop_05" NORTH OAK "Vendors.wbr_nok_foodshop_02" quality: "Quality.Common" "Quality.Uncommon" "Quality.Rare" "Quality.Epic" "Quality.Legendary" --]] return { { id = "Items.Blackmarket_CarryCapacityBooster", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.Blackmarket_HealthBooster", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.Blackmarket_StaminaBooster", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.Blackmarket_MemoryBooster", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.CarFood1", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.CombatFood1", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.CombatFood2", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.CombatFood3", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.HealthFood1", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.HealthFood2", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.HealthFood3", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.NetrunnerFood1", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.NetrunnerFood2", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
{ id = "Items.StealthFood1", store = "Vendors.bls_ina_se1_foodshop_01", setQuality = "Quality.Epic" },
AbsoluteNoob & SemiLuddite here...we're aiming to add all the new food stuffs from Phantom Liberty to ALL the vanilla food vendors. How would the code have to look like -just need one of those 4-liners for an example- and a hint where to find the IDs for the food vendors, bars, etc. Hope we can work it from there.
And also with regards to Phantom Liberty: Tried to reset the inventory of the CDPR-vendor dude in the Dogtown bazaar (the one that sells perk-shards^^)...suppose he and the rest of the bazaar is not yet in your database of vendors, did we understand that right?
That was not nearly as complicated as it appeared at first glance. My dear cousin temporarily moved in here a few weeks back and he suckered me into CP2077 and this whole modding thing. At first I said: I'm too old, I don't understand this, and was very wary of meddling with a game this way, but now he's got me convinced. This here mod alone makes it so much more enjoyable. Just tested it with a few foodie merchants in Kabuki, and it works; only hope my cousin does not get angry when he sees I "klepped" his account to write some comments^^. Thank you so very much for sharing this.
I have two more questions now though: -Is it possible to set a quantity? As is, there's only 1 instance of each food item in the vendor's stock. No problem for clothes, but for consumables it kind of sucks. -And second, is it possible to edit the "spawn-chance" (hope that's the right term) for each item when the vendor re-stocks?
And though I'm new, one thing my cousin taught me - to endorse the stuff I like. So I'll click the button, then finish that monumental text file to include all the vendors. Cheers & nice sunday.
48 comments
{
Sandy_qiant_mkiv,
id = "Items.SandevistanC3MK4",
store = "Vendors.wbr_hil_ripperdoc_01",
setQuality = "Quality.Legendary"
},
Can u tell me if its alright?
{
{
id = "Items.SandevistanC3MK4",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Legendary"
},
}
Try this. Go to Kabuki vendor, use Vendor reset mod and then enter store menu.
Is this game item, Items.SandevistanC3MK4?
But Ill try what you said. Thanks chum!
I was just getting the ripperdocs base ids wrong, but now I found them.
If you allow me, I would like to leave here the script that I modified based on your mod, in case any fellow with the same idea as me does not need to search more. (I basically added to several different ripperdocs some cyberwares that may be unavailable depending on our choices in the game.
I also added some cyberware that for some reason exists in the game files but is not shown so that we can buy them.
This is the script (sorry for bothering you, but I finally managed to solve it and wanted to contribute with what I got haha):
return
{
{
Mem_boost_epic,
id="Items.MemoryBoostEpic",
store = "Vendors.wat_kab_ripperdoc_01",
setQuality = "Quality.Epic"
},
{
Sandy_qiant_mkiv,
id="Items.SandevistanC3MK4",
store = "Vendors.wat_kab_ripperdoc_03",
setQuality = "Quality.Legendary"
},
{
Saka_pain_editor,
id="Items.PainReductor",
store = "Vendors.wbr_hil_ripdoc_01",
setQuality = "Quality.Legendary"
},
{
Res_booster_legendary,
id="Items.ResistancesBoosterLegendary",
store = "Vendors.hey_spr_ripperdoc_01",
setQuality = "Quality.Legendary"
},
{
Toxin_cleanser_rare,
id="Items.ToxinCleanser",
store = "Vendors.std_rcr_ripperdoc_01",
setQuality = "Quality.Rare"
},
{
Syn_acel_epic,
id="Items.SynapticAcceleratorEpic",
store = "Vendors.cct_dtn_ripdoc_01",
setQuality = "Quality.Epic"
},
{
fort_ankles_epic,
id="Items.ReinforcedMusclesEpic",
store = "Vendors.pac_wwd_ripperdoc_01",
setQuality = "Quality.Epic"
},
{
Mic_vib_epic,
id="Items.MicroVibrationsGeneratorEpic",
store = "Vendors.wat_lch_ripperdoc_01",
setQuality = "Quality.Epic"
},
{
Bio_joints_epic,
id = "Items.JointLockEpic",
store = "Vendors.wat_nid_ripperdoc_01",
setQuality = "Quality.Epic"
},
{
Bio_lungs_epic,
id="Items.EnhancedTissueEpic",
store = "Vendors.std_arr_ripperdoc_01",
setQuality = "Quality.Epic"
},
{
Dense_marrow_epic,
id="Items.DenseMarrowEpic",
store = "Vendors.wbr_jpn_ripperdoc_01",
setQuality = "Quality.Epic"
},
}
In the beginning I tried to add in the same script the cyberware mods and their blueprints too, but for some reason when I did that the mod didn't work, so I decided to leave only the cyberwares.
Cheers Chum! Have a nice sunday!
I just can't seem to understand how this isn't working:
{
{
french_secretary_coat_black,
id = "Items.hyst_french_secretary_coat_black",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_red,
id = "Items.hyst_french_secretary_coat_red",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_white,
id = "Items.hyst_french_secretary_coat_white",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_blue,
id = "Items.hyst_french_secretary_coat_blue",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_pink,
id = "Items.hyst_french_secretary_coat_pink",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_black,
id = "Items.hyst_french_secretary_coat_no_stripes_black",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_red,
id = "Items.hyst_french_secretary_coat_no_stripes_red",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_red,
id = "Items.hyst_french_secretary_coat_no_stripes_white",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_blue,
id = "Items.hyst_french_secretary_coat_no_stripes_blue",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_pink,
id = "Items.hyst_french_secretary_coat_no_stripes_pink",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_black,
id = "Items.hyst_french_secretary_shirt_black",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_red,
id = "Items.hyst_french_secretary_shirt_red",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_white,
id = "Items.hyst_french_secretary_shirt_white",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_blue,
id = "Items.hyst_french_secretary_shirt_blue",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_pink,
id = "Items.hyst_french_secretary_shirt_pink",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_black,
id = "Items.hyst_french_secretary_skirt_black",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_red,
id = "Items.hyst_french_secretary_skirt_red",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_white,
id = "Items.hyst_french_secretary_skirt_white",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_blue,
id = "Items.hyst_french_secretary_skirt_blue",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_pink,
id = "Items.hyst_french_secretary_skirt_pink",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_black,
id = "Items.hyst_french_secretary_skirt_nostripes_black",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_red,
id = "Items.hyst_french_secretary_skirt_nostripes_red",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_white,
id = "Items.hyst_french_secretary_skirt_nostripes_white",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_blue,
id = "Items.hyst_french_secretary_skirt_nostripes_blue",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_pink,
id = "Items.hyst_french_secretary_skirt_nostripes_pink",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
french_secretary_coat_black,
id = "Items.hyst_french_secretary_coat_black",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_red,
id = "Items.hyst_french_secretary_coat_red",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_white,
id = "Items.hyst_french_secretary_coat_white",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_blue,
id = "Items.hyst_french_secretary_coat_blue",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_pink,
id = "Items.hyst_french_secretary_coat_pink",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_black,
id = "Items.hyst_french_secretary_coat_no_stripes_black",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_red,
id = "Items.hyst_french_secretary_coat_no_stripes_red",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_red,
id = "Items.hyst_french_secretary_coat_no_stripes_white",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_blue,
id = "Items.hyst_french_secretary_coat_no_stripes_blue",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_coat_no_stripes_pink,
id = "Items.hyst_french_secretary_coat_no_stripes_pink",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_black,
id = "Items.hyst_french_secretary_shirt_black",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_red,
id = "Items.hyst_french_secretary_shirt_red",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_white,
id = "Items.hyst_french_secretary_shirt_white",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_blue,
id = "Items.hyst_french_secretary_shirt_blue",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_shirt_pink,
id = "Items.hyst_french_secretary_shirt_pink",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_black,
id = "Items.hyst_french_secretary_skirt_black",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_red,
id = "Items.hyst_french_secretary_skirt_red",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_white,
id = "Items.hyst_french_secretary_skirt_white",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_blue,
id = "Items.hyst_french_secretary_skirt_blue",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_pink,
id = "Items.hyst_french_secretary_skirt_pink",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_black,
id = "Items.hyst_french_secretary_skirt_nostripes_black",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_red,
id = "Items.hyst_french_secretary_skirt_nostripes_red",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_white,
id = "Items.hyst_french_secretary_skirt_nostripes_white",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_blue,
id = "Items.hyst_french_secretary_skirt_nostripes_blue",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
},
{
french_secretary_skirt_nostripes_pink,
id = "Items.hyst_french_secretary_skirt_nostripes_pink",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Common"
}
Nothing showing up in either store. Any suggestions?
Thanks,
Ian
Tried to add the Militech Clothings to the little China Vendor... but seems not working.
I'm not sure if the Item Ids I found are outdated or I made a mistake.
https://pastebin.com/Sev27dwJ That is what I'm having in the Database.txt
Thanks for any Help :)
return
{
{
Militech Neotac Pants,
id = "Items.Pants_08_basic_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Armorfiber Tactical Harness,
id = "Items.Vest_06_basic_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Armor-Quilted Aramid Vest,
id = "Items.Vest_02_rich_02",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Heavy Tactical Vest,
id = "Items.Vest_08_basic_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Jacket (Broken),
id = "Items.q005_militech_blazer",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Reinforced Composite Field Jacket,
id = "Items.Jacket_04_basic_02",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Ultralight Aramid Breastplate,
id = "Items.Vest_13_basic_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Durable Militech Training Jumsuit,
id = "Items.Jumpsuit_01_old_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Aramid-Weave Hazmat Suit,
id = "Items.Jumpsuit_03_old_03",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Used Militech Training Shoes,
id = "Items.CasualShoes_05_old_01",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Blazer,
id = "Items.q005_militech_blazer",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Pants,
id = "Items.q005_militech_pants",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Shoes,
id = "Items.q005_militech_shoes",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Suit,
id = "Items.Q005_Militech_Suit",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Suit dirty,
id = "Items.Q005_Militech_Suit_Dirty",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
{
Militech Suit Filthy,
id = "Items.Q005_Militech_Suit_Filthy",
store = "Vendors.wat_lch_clothingshop_01",
setQuality = "Quality.Rare"
},
}
This is what I have in my file? Did you see a misspelling? Or an incorrect Code form?
Tbh, I'm not into coding etc and just take your Example and changed it.
Thanks :)
this:
Militech Neotac Pants,
should look like this:
Militech_Neotac_Pants,
I will take a look again, on my third Playtrough when I upgrade my PC.
Cousin threw a laughing fit when I said the mod ain't working right - told me "mod not working equals user error - check your file, then check it again, if you can't figure it out ask the author for help" . So here I am - again, hoping for some advice. I checked from top to bottom, all seems to be in the specified form (as in your example) - except I ordered them differently. Am now wondering if that was wrong? I had a whole lot of shops to cover, so I just went alphabetically through the districts, same as the shops show up in the vendor records under the TweakDB tab on the CET console.
I really want to learn this, so I'd really appreciate if you could have a look-see and tell me if my hunch about the order is right, or if my near-total code illiteracy led to another mistake that keeps the stuff from spawning into ALL the desired vendor's inventory. Here's my file header and the first vendor for an example how I wrote it - and just that list is a huge SOB already! If you think the mistake is further down, I can post the entire thing.
--[[
stores:
BADLANDS 1
"Vendors.bls_ina_se1_foodshop_01"
"Vendors.bls_ina_se1_junkshop_01"
"Vendors.bls_ina_se1_junkshop_02"
BADLANDS 2
"Vendors.bls_ina_se1_foodshop_02"
"Vendors.bls_ina_se5_junkshop_01"
BADLANDS 3
"Vendors.bls_ina_se1_foodshop_03"
BADLANDS 4
"Vendors.bls_ina_se5_foodshop_01"
CORPORATE PLAZA 1
"Vendors.cct_cpz_food_01"
CORPORATE PLAZA 2
"Vendors.cct_cpz_food_02"
DOWNTOWN 1
"Vendors.cct_dtu_food_01"
DOWNTOWN 2
"Vendors.cct_dtu_food_02"
GLEN 1
"Vendors.hey_gle_foodshop_01"
GLEN 2
"Vendors.hey_gle_foodshop_02"
VISTA DEL REY 1
"Vendors.hey_rey_foodshop_01"
"Vendors.hey_rey_junkshop_01"
VISTA DEL REY 2
"Vendors.hey_rey_foodshop_02"
VISTA DEL REY 3
"Vendors.hey_rey_foodshop_03"
VISTA DEL REY 4
"Vendors.hey_rey_foodshop_04"
WELLSPRINGS
"Vendors.hey_spr_foodshop_01"
"Vendors.hey_spr_junkshop_01"
COASTVIEW
"Vendors.pac_cvi_foodshop_01"
ARROYO 1
"Vendors.std_arr_foodshop_01"
ARROYO 2
"Vendors.std_arr_foodshop_01"
ARROYO 3
"Vendors.std_arr_foodshop_01"
ARROYO 4
"Vendors.std_arr_foodshop_01"
RANCHO CORONADO 1
"Vendors.std_rcr_foodshop_01"
RANCHO CORONADO 2
"Vendors.std_rcr_foodshop_01"
LITTLE CHINA 1
"Vendors.wat_lch_foodshop_01"
LITTLE CHINA 1
"Vendors.wat_lch_foodshop_02"
LITTLE CHINA 1
"Vendors.wat_lch_foodshop_03"
KABUKI 1
"Vendors.wat_kab_foodshop_01"
"Vendors.wat_kab_junkshop_02"
"Vendors.wat_kab_junkshop_03"
"Vendors.wat_kab_junkshop_04"
KABUKI 2
"Vendors.wat_kab_foodshop_02"
KABUKI 3
"Vendors.wat_kab_foodshop_03"
KABUKI 4
"Vendors.wat_kab_foodshop_04"
NORTHSIDE 1
"Vendors.wat_nid_foodshop_01"
NORTHSIDE 2
"Vendors.wat_nid_foodshop_02"
CHARTER HILL 1
"Vendors.wbr_hil_foodshop_01"
CHARTER HILL 2
"Vendors.wbr_hil_foodshop_02"
JAPANTOWN 1
"Vendors.wbr_jpn_foodshop_01"
JAPANTOWN 2
"Vendors.wbr_jpn_foodshop_02"
JAPANTOWN 3
"Vendors.wbr_jpn_foodshop_03"
JAPANTOWN 4
"Vendors.wbr_jpn_foodshop_04"
JAPANTOWN 5
"Vendors.wbr_jpn_foodshop_05"
NORTH OAK
"Vendors.wbr_nok_foodshop_02"
quality:
"Quality.Common"
"Quality.Uncommon"
"Quality.Rare"
"Quality.Epic"
"Quality.Legendary"
--]]
return
{
{
id = "Items.Blackmarket_CarryCapacityBooster",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.Blackmarket_HealthBooster",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.Blackmarket_StaminaBooster",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.Blackmarket_MemoryBooster",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.CarFood1",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.CombatFood1",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.CombatFood2",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.CombatFood3",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.HealthFood1",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.HealthFood2",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.HealthFood3",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.NetrunnerFood1",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.NetrunnerFood2",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
{
id = "Items.StealthFood1",
store = "Vendors.bls_ina_se1_foodshop_01",
setQuality = "Quality.Epic"
},
...
}
And also with regards to Phantom Liberty: Tried to reset the inventory of the CDPR-vendor dude in the Dogtown bazaar (the one that sells perk-shards^^)...suppose he and the rest of the bazaar is not yet in your database of vendors, did we understand that right?
{
id = "Items.itemname",
store = " vendorname",
setQuality = "Quality.Common"
},
I will update vendor list in vendor_reset mod tomorrow
I have two more questions now though:
-Is it possible to set a quantity? As is, there's only 1 instance of each food item in the vendor's stock. No problem for clothes, but for consumables it kind of sucks.
-And second, is it possible to edit the "spawn-chance" (hope that's the right term) for each item when the vendor re-stocks?
And though I'm new, one thing my cousin taught me - to endorse the stuff I like. So I'll click the button, then finish that monumental text file to include all the vendors. Cheers & nice sunday.
I tried to add
{
This_is_only_example_replace_or_delete,
id = "Items.CommonMaterial1",
store = "Vendors.wat_kab_clothingshop_01",
setQuality = "Quality.Common"
},
I downloaded both files, reset is installed too,
I tried to reset, but the "window" in cyber tweak do not appear
install all mods to reset <= as i said, the window not appear
There is even image on the decription page showing it was tested with it.
What u want more?!
OMG so much time waste for such discusions.....
but the mod does not work,
I use CP 2.0 and the latest cyber tweak,
if you think I waste your time, just ignore my message