Skip to content

Commit

Permalink
v2.1.0 - Readying for MH5 beta
Browse files Browse the repository at this point in the history
* Fixed invalid MH recipe group reference
  • Loading branch information
hamstar0 committed Aug 26, 2019
1 parent df6f632 commit b85402e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Items/ColorCartridgeItem_Recipe.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using BetterPaint.Tiles;
using HamstarHelpers.Helpers.Debug;
using HamstarHelpers.Helpers.Items;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
Expand Down Expand Up @@ -95,20 +96,24 @@ public override void OnCraft( Item item ) {




class ColorCartridgePaintRecipe : ModRecipe {
private Color CraftColor;



////////////////

public ColorCartridgePaintRecipe( BetterPaintMod mymod, ColorCartridgeItem myitem ) : base ( mymod ) {
this.AddTile( mymod.TileType<PaintMixerTile>() );

if( mymod.Config.PaintRecipeGels > 0 ) {
this.AddIngredient( ItemID.Gel, mymod.Config.PaintRecipeGels );
}
if( mymod.Config.PaintRecipePaints > 0 ) {
this.AddRecipeGroup( "HamstarHelpers:Paints", mymod.Config.PaintRecipePaints );
this.AddRecipeGroup( "ModHelpers:Paints", mymod.Config.PaintRecipePaints );
}

this.SetResult( myitem, 1 );
}

Expand Down

0 comments on commit b85402e

Please sign in to comment.