mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-19 02:16:51 +01:00
77 lines
2.8 KiB
XML
77 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CraftRecipe" inherits="Resource" version="3.5">
|
|
<brief_description>
|
|
Recipe data for the crafting system.
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_required_material">
|
|
<return type="CraftRecipeHelper" />
|
|
<argument index="0" name="arg0" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_required_tool">
|
|
<return type="CraftRecipeHelper" />
|
|
<argument index="0" name="arg0" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_required_material">
|
|
<return type="void" />
|
|
<argument index="0" name="mat" type="int" />
|
|
<argument index="1" name="arg1" type="CraftRecipeHelper" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_required_tool">
|
|
<return type="void" />
|
|
<argument index="0" name="value" type="int" />
|
|
<argument index="1" name="arg1" type="CraftRecipeHelper" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="category" type="int" setter="set_category" getter="get_category" enum="CraftRecipe.CraftCategories" default="0">
|
|
</member>
|
|
<member name="id" type="int" setter="set_id" getter="get_id" default="0">
|
|
</member>
|
|
<member name="item" type="CraftRecipeHelper" setter="set_item" getter="get_item">
|
|
</member>
|
|
<member name="required_materials_count" type="int" setter="set_required_materials_count" getter="get_required_materials_count" default="0">
|
|
</member>
|
|
<member name="required_tools_count" type="int" setter="set_required_tools_count" getter="get_required_tools_count" default="0">
|
|
</member>
|
|
<member name="sub_category" type="int" setter="set_sub_category" getter="get_sub_category" enum="CraftRecipe.CraftSubCategories" default="0">
|
|
</member>
|
|
<member name="text_name" type="String" setter="set_name" getter="get_name" default="""">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="MAX_REQUIRED_TOOLS" value="6">
|
|
</constant>
|
|
<constant name="MAX_REQUIRED_MATERIALS" value="6">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_NONE" value="0" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_ALCHEMY" value="1" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_SMITHING" value="2" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_TAILORING" value="3" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_ENCHANTING" value="4" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_CATEGORY_ENGINEERING" value="5" enum="CraftCategories">
|
|
</constant>
|
|
<constant name="CRAFT_SUB_CATEGORY_NONE" value="0" enum="CraftSubCategories">
|
|
</constant>
|
|
<constant name="CRAFT_SUB_CATEGORY_POTIONS" value="1" enum="CraftSubCategories">
|
|
</constant>
|
|
</constants>
|
|
</class>
|