rename to deprecated

This commit is contained in:
sanjeed5
2025-03-03 23:40:27 +05:30
parent 7a6f5a704d
commit 7f71c5eaa4
882 changed files with 0 additions and 0 deletions
@@ -0,0 +1,10 @@
---
description: Specifies how to use the custom Drawscape Factorio Python module in Python files.
globs: **/*.py
---
- When working with Python files in this project, always utilize the custom Drawscape Factorio module.
- Use the `createFactorio` and `importFUE5` functions from the `drawscape_factorio` module.
- Ensure the following import statements are present: `from drawscape_factorio import create as createFactorio` and `from drawscape_factorio import importFUE5`.
- When using `importFUE5`, load the exported entities JSON file and pass the data to the function.
- When calling `createFactorio`, provide the imported data and a configuration dictionary with `theme_name`, `color_scheme`, and `show_layers`.
- Write the resulting SVG string to an output file.
@@ -0,0 +1,7 @@
---
description: Defines general Python version and dependency management rules for the project.
globs: **/*.py
---
- Always use UV when installing dependencies.
- Always use Python 3.12.
- Always use classes instead of functions when appropriate.
@@ -0,0 +1,7 @@
---
description: Ensures proper JSON data handling when working with Drawscape Factorio.
globs: **/*.py
---
- When dealing with JSON data for Drawscape Factorio, use the `json` module to load the data from a file.
- Ensure proper error handling and file path management for JSON files.
- Use the loaded JSON data as input for the `importFUE5` function within the Drawscape Factorio module.