Skip to content
Snippets Groups Projects
Commit 893ba086 authored by Ed86's avatar Ed86
Browse files

base surgery patch for one day parts morphing with floating menu... hopefully

parent 4688bf22
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@
<Compile Include="Source\Harmony\Patch_PawnGenerator_GenerateNewPawnInternal.cs" />
<Compile Include="Source\Harmony\patch_races.cs" />
<Compile Include="Source\Harmony\patch_selector.cs" />
<Compile Include="Source\Harmony\patch_surgery.cs" />
<Compile Include="Source\Harmony\patch_ui_hero.cs" />
<Compile Include="Source\Harmony\patch_ui_rjw_buttons.cs" />
<Compile Include="Source\Harmony\SocialCardUtilityPatch.cs" />
......
using System;
using System.Reflection;
using Harmony;
using RimWorld;
using Verse;
using Verse.AI;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using UnityEngine;
namespace rjw
{
/// <summary>
/// Patch:
/// recipes
/// </summary>
//erm.. idk ?
//[HarmonyPatch(typeof(HealthCardUtility), "GetTooltip")]
//internal static class PATCH_HealthCardUtility_GetTooltip
//{
// [HarmonyPostfix]
// private static void Postfix(Pawn pawn)
// {
// Log.Message("[RJW]GetTooltip");
// //Log.Message("[RJW]PATCH_HealthCardUtility_recipes list: " + floatMenuOption);
// //foreach (FloatMenuOption recipe in recipeOptionsMaker)
// // {
// // Log.Message("[RJW]PATCH_HealthCardUtility_recipes: " + recipe);
// // }
// return;
// }
//}
//TODO: make toggle/floatmenu for slime/demon parts switching/renaming
//[HarmonyPatch(typeof(HealthCardUtility), "EntryClicked")]
//internal static class PATCH_HealthCardUtility_EntryClicked
//{
// [HarmonyPostfix]
// private static void Postfix(ref IEnumerable<Hediff> diffs, ref Pawn pawn)
// {
// BodyPartRecord part = diffs.First<Hediff>().Part;
// Hediff hed = diffs.First<Hediff>();
// Log.Message("[RJW]EntryClicked: " + part.Label);
// Log.Message("[RJW]EntryClicked: " + hed.Label);
// //Log.Message("[RJW]PATCH_HealthCardUtility_recipes list: " + floatMenuOption);
// //foreach (FloatMenuOption recipe in recipeOptionsMaker)
// // {
// // Log.Message("[RJW]PATCH_HealthCardUtility_recipes: " + recipe);
// // }
// return;
// }
//}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment