此程序包按程序生成RPG项目图像

rpg-icon-generator的Python项目详细描述


RPG图标生成器

此包基于BrianMacIntosh Algoritms按程序生成RPG项目图像

项目类型

  • [x] 刀片
  • [x] 药剂
  • [x] 轴线
  • [x] 盔甲
  • []质量
  • 更多信息;)

输出示例

ComplexityRarity equivalentBlade ExamplesPotion ExamplesAxe ExamplesArmor Examples
0Common LowBlade_0Potion_0Axe_0Armor_0
40Common HighBlade_40Potion_40Axe_40Armor_40
41Uncommon LowBlade_41Potion_41Axe_41Armor_41
60Uncommon HighBlade_60Potion_60Axe_60Armor_60
61Rare LowBlade_61Potion_61Axe_61Armor_61
85Rare HighBlade_85Potion_85Axe_85Armor_85
86Epic LowBlade_86Potion_86Axe_86Armor_86
95Epic HighBlade_95Potion_95Axe_95Armor_95
96Outstanding LowBlade_96Potion_96Axe_96Armor_96
100Outstanding HighBlade_100Potion_100Axe_100Armor_100

安装

pip install rpg-icon-generator

您需要为图像部分安装Cairo 签出此https://pypi.org/project/drawSvg/以安装它

使用

^{pr2}$
# Same for the other generatorfromrpg_icon_generatorimportPotion_Generator,Axe_Generator,Armor_Generator

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java将Base64转换为png格式的图像文件,而不保存该文件。可能的   java s.select标记呈现空下拉列表   java从arraylist 安卓中删除   java JOOQ store()不返回结果集   已声明对象为的java空指针异常   java JTextpane在不更改滚动窗格的情况下设置插入符号位置   java如何解决Glassfish javax的问题。网ssl。SSLHandshakeException:   java无法在安卓上添加片段   java子Git“内存不足”和“超出GC开销限制”   java按插入顺序获取选定的JTree节点索引   java如何在@DisallowConcurrentExecution情况下取消Quartz作业而不是排队   java Lucene:使用单词搜索查找结果   java为什么我们会在Assertj Swing测试中偶尔失败?   Java安装不正确吗?线程“main”java中出现异常。lang.NoSuchMethodError   java改变了Swing控件的外观   带有spark的java MongoDB在数据帧中提供空值   指向本地谷歌应用程序引擎数据库的java链接   java类不会编译JSP Tomcat   java在JBoss中添加依赖JAR