flyingsnake-3.0.0
توضیحات
A Terraria world map renderer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flyingsnake-3.0.0 |
| نام | flyingsnake |
| نسخه کتابخانه | 3.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stefano Pigozzi |
| ایمیل نویسنده | ste.pigozzi@gmail.com |
| آدرس صفحه اصلی | https://github.com/Steffo99/flyingsnake |
| آدرس اینترنتی | https://pypi.org/project/flyingsnake/ |
| مجوز | AGPL-3.0+ |
#  `flyingsnake` [](https://pypi.org/project/flyingsnake/)
Render Terraria world maps with this easy to use command line utility!

## Requirements
To use `flyingsnake`, you need [Python 3.7 or higher](https://www.python.org/downloads/) installed on your machine and inside your PATH.
## Installing
`flyingsnake` is available on PyPI, so you can download it through `pip`.
### Windows
Open either **Windows PowerShell** (Windows 10) or the **Command Prompt** (other Windows versions) and enter:
```batch
pip install flyingsnake --upgrade
```
### Linux
Enter this in your terminal:
```bash
python3.7 -m pip install flyingsnake --upgrade
```
## Usage
To create a world map image named `Output.png` from the `Small_Example.wld` file present in your current working directory, run in your terminal:
```bash
flyingsnake Small_Example.wld Output.png
```
### Layers
The world map is generated by merging together multiple layers that can be enabled/disabled through flags.
In order, those are:
- Background
- Walls
- Liquids
- Blocks
- Wires
#### Background
The background layer is made by coloring the Overworld, the Underground and the Caverns their respective background color.
It can be selected exclusively with the `--background` flag, or turned off with the `--no-background` flag.

#### Walls
The walls layer contains the colors of the walls present in the world.
It can be selected exclusively with the `--walls` flag, or turned off with the `--no-walls` flag.
If the walls are painted, they will be colored with the paint color.
You can turn off paint colors with the `--no-paints` option.

#### Liquids
The liquids layer contains the colors of the liquids present in the world (water, lava, honey...)
It can be selected exclusively with the `--liquids` flag, or turned off with the `--no-liquids` flag.

#### Blocks
The blocks layer contains the colors of the blocks present in the world.
It can be selected exclusively with the `--blocks` flag, or turned off with the `--no-blocks` flag.
If the blocks are painted, they will be colored with the paint color.
You can turn off paint colors with the `--no-paints` option.

#### Wires
The wires layer is a semi-transparent overlay of the wires present in the world.
It can be selected exclusively with the `--wires` flag, or turned off with the `--no-wires` flag.

### Custom colors
By default, `flyingsnake` uses the colors defined in the [TEdit settings file](https://github.com/TEdit/Terraria-Map-Editor/blob/master/TEditXna/settings.xml).
However, you can use different colors by passing the `--colors colors.json` option to the command.
You can see an example colors file [here](https://github.com/Steffo99/flyingsnake/tree/master/flyingsnake/example_colors.json); the colors are in RGBA format, and go from 0 to 255.
## License
`flyingsnake` is licensed under the [AGPL 3.0](/LICENSE.txt).
Basically, you're allowed to do whatever you want with this program, but you have to publish all modified code, and it has to be published under the same license.
## See also
If you are interested in `flyingsnake`, you might be interested in these other programs too:
- [lihzahrd](https://github.com/Steffo99/lihzahrd), the package used to make this generator
- [TEdit](https://github.com/TEdit/Terraria-Map-Editor), the Terraria map editor from which this package gets its default colors
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0,<8.0 | click |
| >=3.0.1,<4.0.0 | lihzahrd |
| >=6.1.0,<7.0.0 | Pillow |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.2,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl flyingsnake-3.0.0:
pip install flyingsnake-3.0.0.whl
نصب پکیج tar.gz flyingsnake-3.0.0:
pip install flyingsnake-3.0.0.tar.gz