此程序包按程序生成RPG项目图像
rpg-icon-generator的Python项目详细描述
RPG图标生成器
此包基于BrianMacIntosh Algoritms按程序生成RPG项目图像
项目类型
- [x] 刀片
- [x] 药剂
- [x] 轴线
- [x] 盔甲
- []质量
- 更多信息;)
输出示例
Complexity | Rarity equivalent | Blade Examples | Potion Examples | Axe Examples | Armor Examples |
---|---|---|---|---|---|
0 | Common Low | ||||
40 | Common High | ||||
41 | Uncommon Low | ||||
60 | Uncommon High | ||||
61 | Rare Low | ||||
85 | Rare High | ||||
86 | Epic Low | ||||
95 | Epic High | ||||
96 | Outstanding Low | ||||
100 | Outstanding High |
安装
pip install rpg-icon-generator
您需要为图像部分安装Cairo 签出此https://pypi.org/project/drawSvg/以安装它
使用
^{pr2}$# Same for the other generatorfromrpg_icon_generatorimportPotion_Generator,Axe_Generator,Armor_Generator
- 项目
标签: