# Resources

* [Decompiled game scripts](https://codeberg.org/adamsmasher/cyberpunk/src/branch/master): These are the game's scripts decompiled to redscript. Extremely useful for understanding how functions work under the hood, game systems and classes interact with each other and what classes and functions are available. For more information on how to transpile redscript code to .lua code, read up on the [Scripting API](https://wiki.redmodding.org/cyber-engine-tweaks/broken-reference). Works best if downloaded and opened in some IDE like VSCode that lets you search across all files at once.
* [cp2077-cet-kit](https://github.com/psiberx/cp2077-cet-kit): psiberx's github repository with helper functions and scripts
* [NativeDB](https://nativedb.red4ext.com/): This is a database containing all the classes and their functions, their relation to each other, their functions, attributes and all the Enum's. Very useful for quickly looking up what functions a class offers and what parameters it takes. Also helpful for understanding which classes inherit from which. Nativedb has more types than decompiled scripts.
* [CET translation helper](https://github.com/Lgomes-GvizStudio/CET_Translator): A utility that helps you translating your CET mods, by lgomes\_gvizstudio on github
* [CET Kit](https://github.com/psiberx/cp2077-cet-kit): A collection of utility scripts, for tracking game states (In Game etc.), setting up timers and timed actions, storing data per game save and more.
* [Official CET Examples](https://github.com/WolvenKit/cet-examples): A collection of small example mods, such as controlling NPC AI, working with map pins, reading player inputs and more.
* [Cyberpunk 2077 Explorer](https://2077.johnsolo.net/class/IScriptable): Visual overview of the game's classes and structure. Very helpful for understanding the higher level structure.
* [Cyberpunk 2077 Modding Community](https://discord.gg/Epkq79kd96): Discord server with multiple CET related channels, lots of more resources and snippets (Discord search is your best friend)
* [Simple Gameplay Mod Tutorial](https://docs.google.com/document/d/1pPN_RiluE-4PwGWOxdEVOegfBEaEsd5APHndr82FdPo/edit): An extensive tutorial covering how to work with the TweakDB, create a CET mod, override and observe functions and use redscript.
* [LUA code playground](https://onecompiler.com/lua/): An online sandbox to familiarize yourself with LUA and test some code without having to launch Cyberpunk with CET. Note that any CET/Game functions won't work in it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.redmodding.org/cyber-engine-tweaks/resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
