Here's something I threw together so I wouldn't have to write different profiles for each crafting class.
Only takes English names.
View attachment CraftActionByNameTag.cs
Setup:
Now in your profile, you can use <CraftActionByName Name="Basic Touch" /> where you would use <CraftAction ActionId="100002" />. The former will work under any class, the latter only as a carpenter.
Example profile - my profile for HQ Spruce Lumber.
Only takes English names.
View attachment CraftActionByNameTag.cs
Setup:
- Create a directory in the same location as your profile. Name it whatever you want, but I'll be using CustomTags
- In your profile, add the following before your <Order> tag. Replace "CustomTags" with whatever you named your directory in step 1.
Code:<BehaviorDirectory>CustomTags</BehaviorDirectory>
- Drop CraftByNameTag.cs into the directory you created in step 1.
Now in your profile, you can use <CraftActionByName Name="Basic Touch" /> where you would use <CraftAction ActionId="100002" />. The former will work under any class, the latter only as a carpenter.
Example profile - my profile for HQ Spruce Lumber.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Name>2star 40durability</Name>
<Settings>
<NodeDistance>6</NodeDistance>
<ArcDistance>6</ArcDistance>
<Strictness>10</Strictness>
</Settings>
<BehaviorDirectory>../Behaviors</BehaviorDirectory>
<Order>
<While Condition="Core.Player.MaxCP >= 353">
<If Condition="Core.Player.CurrentJob == ClassJobType.Carpenter"><Synthesize RecipeId="1526"/></If> <!-- Spruce Lumber -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Leatherworker"><Synthesize RecipeId="1305"/></If> <!-- Hippogryph Leather -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Weaver"><Synthesize RecipeId="1386"/></If> <!-- Twinthread -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Goldsmith"><Synthesize RecipeId="1471"/></If> <!-- Rose Gold Nugget -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Blacksmith"><Synthesize RecipeId="1207"/></If> <!-- Darksteel Nugget -->
<CraftActionByName Name="Comfort Zone" />
<CraftActionByName Name="Inner Quiet" />
<CraftActionByName Name="Steady Hand II" />
<CraftActionByName Name="Basic Touch" />
<CraftActionByName Name="Basic Touch" />
<CraftActionByName Name="Basic Touch" />
<CraftActionByName Name="Master's Mend" />
<CraftActionByName Name="Basic Touch" />
<CraftActionByName Name="Steady Hand" />
<CraftActionByName Name="Ingenuity II" />
<CraftActionByName Name="Standard Touch" />
<CraftActionByName Name="Great Strides" />
<If Condition="CraftingManager.Condition != CraftingCondition.Excellent">
<CraftActionByName Name="Innovation" />
</If>
<CraftActionByName Name="Byregot's Blessing" />
<CraftActionByName Name="Careful Synthesis II" />
</While>
</Order>
</Profile>
Last edited: