Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

seba842005

Uploaded by

seba842005

Virus scan

Safe to use

300 comments

  1. seba842005
    seba842005
    • supporter
    • 19 kudos
    Locked
    Sticky
    I don't have influence on the correct installation and usage Cyber Engine Tweaks!

    https://wiki.cybermods.net/cyber-engine-tweaks/console/scripts

    CET 1.8.3 -  Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\scripts 

    dofile("recip.lua")
  2. eksheen
    eksheen
    • premium
    • 0 kudos
    First follow twistedsheriffs fix to rename the file to init.lua and placing it at Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\Recipe you will need to create the Recipe folder. Once thats done make these edits in the init.lua and it should work when you reload mods in CET.
    ts = Game.GetTransactionSystem()
    gameItemID = GetSingleton("gameItemID")
    player = Game.GetPlayer();
    .
    .
    .
    for index, recipeId in ipairs(recipeIds) do
      local result = ts:GiveItem(player, fromTDBID(recipeId), 1);
    end

    1. danieldcostea
      danieldcostea
      • premium
      • 0 kudos
      Thanks, it works!
    2. JarlWolfe
      JarlWolfe
      • member
      • 0 kudos
      When you say "make these edits" do you mean completely replace all of this..?

      local txsys = Game.GetTransactionSystem();
      local player = Game.GetPlayer();
      local gameItemID = GetSingleton("gameItemID")
      function fromTDBID(tdbid)
        return gameItemID:FromTDBID(tdbid)
      end
      local recipeIds =
      {
    3. 469majp
      469majp
      • member
      • 0 kudos
      Can you share your full init.lua content? thanks
    4. baixiongshijiu
      baixiongshijiu
      • member
      • 9 kudos
      Pretty sure this is not worked. No need to try. (cause I have tried a bunch times, waste of time : \
    5. MysteriousJess
      MysteriousJess
      • member
      • 0 kudos
      did you replace the section JarlWolfe's comment contained?
  3. FEARtheMoose
    FEARtheMoose
    • member
    • 0 kudos
    doesnt work, tried the other folks methods of making a folder and renaming it. that just throws this error in the log

    [2024-01-17 11:09:54 UTC+00:00] [17532] sol: runtime error: init.lua:1: attempt to index global 'Game' (a nil value)
    stack traceback:
    init.lua:1: in main chunk
    [2024-01-17 11:10:26 UTC+00:00] [17532] sol: runtime error: init.lua:563: sol: received nil for 'self' argument (use ':' for accessing member functions, make sure member variables are preceeded by the actual object with '.' syntax)
    stack traceback:
    [C]: in function '__concat'
    init.lua:563: in main chunk
    1. willywonka123
      willywonka123
      • member
      • 0 kudos
      I have the same issue
  4. Nexusmodder419
    Nexusmodder419
    • member
    • 0 kudos
    to reiterate the actul current working method (2.1) 

    For anyone struggling, try creating the folder Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\recip, add the recip.lua file there and rename it to init.lua. Then instead of doing dofile you click on "Reload mods".

    it didnt add a ton of recipes, but it worked.
    1. FEARtheMoose
      FEARtheMoose
      • member
      • 0 kudos
      didnt work for me
  5. WyrmaxRGC
    WyrmaxRGC
    • member
    • 1 kudos
    anyone knows how to get this mod to work after the update?
    1. ZxAsriel
      ZxAsriel
      • member
      • 2 kudos
      wait for the mod author to update it.
  6. gokersahin
    gokersahin
    • member
    • 0 kudos
    After 1.2 update use last version CET. Create Recipes folder in Mods folder. ( C:\Steam\steamapps\common\Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\Recipes) and put recip.lua in Recipes folder (you created) dont change recip.lua . launch game , open console push the reload mods. you will see some init.lua warning there . Alt tab and go here C:\Steam\steamapps\common\Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\mods\Recipes and change the name recip.lua to init.lua . push the reload mods. you will see warning there mods loaded saved or finished something like that. Close console. Check your recipes tab in game for correction. If recipes there, save . close game and delete mods. Go back in game you will see there your recipes.

    ! Today did it again, still working.
    1. totoro0924
      totoro0924
      • member
      • 0 kudos
      Thanks it works !
    2. FacundoLopez
      FacundoLopez
      • member
      • 0 kudos
      Thanks! with this it kind of works, but i get another issue now, it just gives like 12 or 15 recipes, and in Recipies.log i get this message:
      [2023-10-04 20:54:30 UTC-03:00] [13672] sol: runtime error: init.lua:563: sol: received nil for 'self' argument (use ':' for accessing member functions, make sure member variables are preceeded by the actual object with '.' syntax)
      stack traceback:
      [C]: in function '__concat'
      init.lua:563: in main chunk
      Any ideas here? i dont understand much
    3. ferfrynord
      ferfrynord
      • member
      • 0 kudos
      Same here!!!!
  7. Ponnjie1
    Ponnjie1
    • member
    • 0 kudos
    Will this be updated for 2.0?
  8. Twistedsheriff
    Twistedsheriff
    • member
    • 4 kudos
    To all those struggling to get this to work this is how I got it running:
    ?Create a folder inside the mod folder, naming it whatever you want
    ?Place "recip.lua" inside
    ?Rename it "init.lua"
    ?Launch the game, or if launched hit the "reload all mods" button in the console
    Path should look something like this: Cyberpunk 2077/bin/x64/plugins/cyber_engine_tweaks/mods/Recipies
    1. SaberSwan
      SaberSwan
      • supporter
      • 0 kudos
      This worked for me! Thank you so much!
    2. BlueyySkyrim
      BlueyySkyrim
      • supporter
      • 0 kudos
      Thanks man! kudos to you
    3. 1ariel1
      1ariel1
      • premium
      • 0 kudos
      thank you, allways look at post before installing things for this reason. no pain to install and easy steps :* 
    4. AsherShadowstep
      AsherShadowstep
      • premium
      • 0 kudos
      Thank you for the very clear and concise step-by-step instructions. I needed them <3
    5. BalgaBear
      BalgaBear
      • premium
      • 0 kudos
      Outstanding, all the mod brother had to do was make a zip file with the following folders and then the renamed .lua
      bin->x64->plugins->cyber_engine_tweaks->mods->AllRecipes->init.lua and the mod loaded with no additional commands!
      Launch the game, load into the world, open up Cyber Engine Tweaks and click the "Reload all Mods" the mod will load giving you all the recipes!
    6. SupremeKingGaiseric
      SupremeKingGaiseric
      • member
      • 40 kudos
      shagger
    7. kubom11o2
      kubom11o2
      • supporter
      • 0 kudos
      this worked for me ! many thank 
    8. bateters
      bateters
      • premium
      • 0 kudos
      thank you very much.
    9. Nateyyyyyyyyyyy
      Nateyyyyyyyyyyy
      • supporter
      • 0 kudos
      Thanks alot!
    10. kevinzhu
      kevinzhu
      • member
      • 0 kudos
      thx bruh that works
    11. patyasborges
      patyasborges
      • supporter
      • 0 kudos
      worked for me
    12. EternalKaos
      EternalKaos
      • member
      • 0 kudos
      Worked thanks 
    13. imooneei
      imooneei
      • member
      • 0 kudos
      매우 감사합니다
    14. MlodyCzlowiek
      MlodyCzlowiek
      • member
      • 0 kudos
      Shoud be Locked! Thank you
    15. try113
      try113
      • member
      • 0 kudos
      how nice
    16. Tunnfisk
      Tunnfisk
      • member
      • 0 kudos
      Thank you. :)
    17. Kamidel
      Kamidel
      • premium
      • 2 kudos
      You are a beautiful person, thank you.
    18. gamerltd
      gamerltd
      • member
      • 0 kudos
      Thanks bro
  9. ViktorrDeahtdealer
    ViktorrDeahtdealer
    • supporter
    • 0 kudos
    .
  10. duncanaftw
    duncanaftw
    • member
    • 0 kudos
    `dofile` is no longer supported with newer versions of Cyber Engine Tweaks.
  11. ItzMikeWSZ
    ItzMikeWSZ
    • member
    • 0 kudos
    Does this include cyberware mods aswell?