Decompiled source of Tinkaton v1.0.1

Tinkaton.dll

Decompiled a month ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using AncientScepter;
using BepInEx;
using BepInEx.Bootstrap;
using EntityStates;
using EntityStates.Huntress;
using EntityStates.Merc;
using HG;
using JetBrains.Annotations;
using KinematicCharacterController;
using On.RoR2;
using R2API;
using R2API.Utils;
using Rewired.ComponentControls.Effects;
using RoR2;
using RoR2.Achievements;
using RoR2.Audio;
using RoR2.ContentManagement;
using RoR2.Projectile;
using RoR2.Skills;
using RoR2.UI;
using ThreeEyedGames;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Networking;
using UnityEngine.Rendering;
using UnityEngine.Rendering.PostProcessing;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = "")]
[assembly: AssemblyCompany("Tinkaton")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("Tinkaton")]
[assembly: AssemblyTitle("Tinkaton")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Tinkaton;

public static class Achievements
{
	[RegisterAchievement("TINKATON_MASTERY", "ACHIEVEMENT_TINKATON_MASTERY_UNLOCKABLE_ID", null, 10u, null)]
	public class MasteryUnlockable : BasePerSurvivorClearGameMonsoonAchievement
	{
		public override BodyIndex LookUpRequiredBodyIndex()
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000b: Unknown result type (might be due to invalid IL or missing references)
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			return BodyCatalog.FindBodyIndex("TinkatonBody");
		}
	}

	internal static UnlockableDef masteryUnlock;

	public static void RegisterUnlockables()
	{
		masteryUnlock = NewUnlockable<MasteryUnlockable>("MASTERY", Assets.Load<Sprite>("skin1"), "TINKATON: Mastery", "As Tinkaton, beat the game or obliterate on Monsoon.");
	}

	private static UnlockableDef NewUnlockable<T>(string AchievementIdentifier, Sprite Icon, string Title, string Description) where T : BaseAchievement
	{
		string text = "ACHIEVEMENT_TINKATON_";
		UnlockableDef val = ScriptableObject.CreateInstance<UnlockableDef>();
		string langName = text + AchievementIdentifier + "_NAME";
		string langDesc = text + AchievementIdentifier + "_DESCRIPTION";
		LanguageAPI.Add(langName, Title);
		LanguageAPI.Add(langDesc, Description);
		Func<string> func = () => Language.GetStringFormatted("UNLOCKED_FORMAT", new object[2]
		{
			Language.GetString(langName),
			Language.GetString(langDesc)
		});
		Type typeFromHandle = typeof(T);
		val.cachedName = text + AchievementIdentifier + "_UNLOCKABLE_ID";
		val.getHowToUnlockString = func;
		val.getUnlockedString = func;
		val.achievementIcon = Icon;
		val.sortScore = 200;
		val.hidden = false;
		ContentAddition.AddUnlockableDef(val);
		return val;
	}
}
internal class Assets
{
	public static AssetBundle MainAssetBundle;

	public static T Load<T>(string name) where T : Object
	{
		return MainAssetBundle.LoadAsset<T>(name);
	}

	public static void PopulateAssets()
	{
		Assembly executingAssembly = Assembly.GetExecutingAssembly();
		if ((Object)(object)MainAssetBundle == (Object)null)
		{
			using Stream stream = executingAssembly.GetManifestResourceStream("Tinkaton.AssetBundle." + "Tinkaton".ToLower() + "assets");
			MainAssetBundle = AssetBundle.LoadFromStream(stream);
		}
		using Stream stream2 = executingAssembly.GetManifestResourceStream("Tinkaton.Tinkaton.bnk");
		byte[] array = new byte[stream2.Length];
		stream2.Read(array, 0, array.Length);
		SoundBanks.Add(array);
	}
}
internal class eeeee : MonoBehaviour
{
	private Tracer tracer;

	private Vector3 beamPos;

	private Transform beamTransform;

	private Transform beamChildTransform;

	public Vector3 beamScale = new Vector3(0.92f, 0.25f, 0.25f);

	public Vector3 beamChildScale = Vector3.one * 0.35f;

	private void Start()
	{
		//IL_001d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		//IL_0024: Unknown result type (might be due to invalid IL or missing references)
		//IL_002a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0030: Unknown result type (might be due to invalid IL or missing references)
		//IL_003c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0041: Unknown result type (might be due to invalid IL or missing references)
		tracer = ((Component)this).GetComponent<Tracer>();
		Vector3 localPosition = tracer.beamObject.transform.localPosition;
		beamPos = new Vector3(localPosition.x, localPosition.y, localPosition.z + 17f);
		beamTransform = tracer.beamObject.transform;
		beamChildTransform = beamTransform.GetChild(0);
	}

	private void Update()
	{
		//IL_0008: Unknown result type (might be due to invalid IL or missing references)
		//IL_001a: Unknown result type (might be due to invalid IL or missing references)
		beamTransform.localScale = beamScale;
		beamChildTransform.localScale = beamChildScale;
	}
}
internal class ForceFall : MonoBehaviour
{
	private float stopwatch;

	public float speed;

	private HealthComponent health;

	private CharacterBody body;

	public bool xi;

	private void Start()
	{
		float num = 0f;
		RigidbodyMotor component = ((Component)this).GetComponent<RigidbodyMotor>();
		if (Object.op_Implicit((Object)(object)component))
		{
			num = component.mass;
		}
		CharacterMotor component2 = ((Component)this).GetComponent<CharacterMotor>();
		if (Object.op_Implicit((Object)(object)component2))
		{
			num = component2.mass;
		}
		speed = num * 50f;
		health = ((Component)this).GetComponent<HealthComponent>();
		body = ((Component)this).GetComponent<CharacterBody>();
	}

	private void FixedUpdate()
	{
		//IL_0053: Unknown result type (might be due to invalid IL or missing references)
		//IL_0064: Unknown result type (might be due to invalid IL or missing references)
		//IL_006e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		//IL_002d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0037: Unknown result type (might be due to invalid IL or missing references)
		if (!xi && Object.op_Implicit((Object)(object)health))
		{
			health.TakeDamageForce(Vector3.down * speed * Time.fixedDeltaTime, false, false);
		}
		else
		{
			body.rigidbody.velocity = Vector3.down * (speed / 3f) * Time.fixedDeltaTime;
		}
		stopwatch += Time.fixedDeltaTime;
		if (stopwatch >= 3f)
		{
			Object.Destroy((Object)(object)this);
		}
	}
}
internal class TinkatonBehaviour : NetworkBehaviour
{
	public float spawnForce = 1650f;

	public float spawnDuration = 1.55f;

	public float spawnPokeballDuration = 0.62f;

	public float spawnJumpDuration = 0.25f;

	public float spawnUpPos = 0.25f;

	public int passiveIndex;

	private CharacterBody body;

	public float fw = 1.5f;

	private ChildLocator childLocator;

	private GameObject hammer;

	public GameObject effectInstance;

	public float damageCoefficient;

	public float stockDamageCoefficient;

	public float maxDistance = 350f;

	public float baseSpeed = 100f;

	public float travelTime = 1.4f;

	public float hitpointOffset = 180f;

	public float sphereSize = 1f;

	public bool worldOnly = false;

	public bool overrideTravelTime = false;

	public int lastRecordedSpecialStocks { get; set; }

	private void Awake()
	{
		body = ((Component)this).GetComponent<CharacterBody>();
	}

	[Command]
	public void CmdTakeDmg()
	{
		//IL_0001: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Unknown result type (might be due to invalid IL or missing references)
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		//IL_0029: Unknown result type (might be due to invalid IL or missing references)
		//IL_0030: Unknown result type (might be due to invalid IL or missing references)
		//IL_003b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0042: Unknown result type (might be due to invalid IL or missing references)
		//IL_0044: Unknown result type (might be due to invalid IL or missing references)
		//IL_0049: Unknown result type (might be due to invalid IL or missing references)
		//IL_0050: Unknown result type (might be due to invalid IL or missing references)
		//IL_0055: Unknown result type (might be due to invalid IL or missing references)
		//IL_005a: Unknown result type (might be due to invalid IL or missing references)
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0067: Expected O, but got Unknown
		DamageInfo val = new DamageInfo
		{
			damage = body.healthComponent.fullCombinedHealth * 0.05f,
			attacker = null,
			inflictor = null,
			procCoefficient = 0f,
			crit = false,
			damageColorIndex = (DamageColorIndex)2,
			position = body.corePosition,
			damageType = DamageTypeCombo.op_Implicit((DamageType)2)
		};
		body.healthComponent.TakeDamage(val);
	}

	private void Start()
	{
		//IL_0040: Unknown result type (might be due to invalid IL or missing references)
		GenericSkill skill = ((Component)this).GetComponent<GenericSkill>();
		passiveIndex = Array.IndexOf(skill.skillFamily.variants, Array.Find(skill.skillFamily.variants, (Variant x) => (Object)(object)x.skillDef == (Object)(object)skill.skillDef));
		childLocator = ((Component)body.modelLocator.modelTransform).GetComponent<ChildLocator>();
		hammer = ((Component)childLocator.FindChild("hammerMdl")).gameObject;
		body.inventory.onInventoryChanged += UpdateItemDisplay;
		UpdateItemDisplay();
	}

	private void UpdateItemDisplay()
	{
		if (Object.op_Implicit((Object)(object)hammer) && Object.op_Implicit((Object)(object)body))
		{
			hammer.SetActive(body.inventory.GetItemCount(Items.ArmorReductionOnHit) == 0);
		}
	}

	private void OnDisable()
	{
		body.inventory.onInventoryChanged -= UpdateItemDisplay;
	}
}
internal class TinkatonTracker : HuntressTracker
{
	public CharacterBody targetBody;

	public HealthComponent targetHealth;

	public SkillLocator targetSkillLocator;

	public HurtBox target;

	private float stopwatch;

	private void Start()
	{
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		((HuntressTracker)this).Start();
		GenericSkill skill = base.characterBody.skillLocator.utility;
		base.indicator.active = Array.IndexOf(skill.skillFamily.variants, Array.Find(skill.skillFamily.variants, (Variant x) => (Object)(object)x.skillDef == (Object)(object)skill.skillDef)) == 3;
	}

	private void FixedUpdate()
	{
		//IL_0049: Unknown result type (might be due to invalid IL or missing references)
		//IL_0053: Expected O, but got Unknown
		//IL_0053: Unknown result type (might be due to invalid IL or missing references)
		//IL_0058: Unknown result type (might be due to invalid IL or missing references)
		//IL_0061: Unknown result type (might be due to invalid IL or missing references)
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_0090: Unknown result type (might be due to invalid IL or missing references)
		//IL_0095: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
		((HuntressTracker)this).FixedUpdate();
		base.trackerUpdateStopwatch = 0f;
		stopwatch += Time.fixedDeltaTime;
		if (stopwatch >= 0.1f)
		{
			stopwatch = 0f;
			base.search = new BullseyeSearch();
			TeamMask none = TeamMask.none;
			((TeamMask)(ref none)).AddTeam(base.teamComponent.teamIndex);
			base.search.teamMaskFilter = none;
			base.search.filterByLoS = true;
			base.search.searchOrigin = base.inputBank.aimOrigin;
			base.search.searchDirection = base.inputBank.aimDirection;
			base.search.sortMode = (SortMode)1;
			base.search.maxDistanceFilter = base.maxTrackingDistance;
			base.search.maxAngleFilter = base.maxTrackingAngle;
			base.search.RefreshCandidates();
			base.search.FilterOutGameObject(((Component)this).gameObject);
			base.search.FilterOutTinkaton();
			base.trackingTarget = base.search.GetResults().FirstOrDefault();
			base.indicator.targetTransform = (Object.op_Implicit((Object)(object)base.trackingTarget) ? ((Component)base.trackingTarget).transform : null);
			if (Object.op_Implicit((Object)(object)base.trackingTarget))
			{
				target = base.trackingTarget;
				targetHealth = target.healthComponent;
				targetBody = targetHealth.body;
				targetSkillLocator = targetBody.skillLocator;
			}
		}
	}
}
internal class Hook
{
	internal static void Hooks()
	{
		//IL_0008: Unknown result type (might be due to invalid IL or missing references)
		//IL_0012: Expected O, but got Unknown
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0036: Expected O, but got Unknown
		//IL_003e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0048: Expected O, but got Unknown
		//IL_0050: Unknown result type (might be due to invalid IL or missing references)
		//IL_005a: Expected O, but got Unknown
		RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(RecalculateStatsAPI_GetStatCoefficients);
		GlobalEventManager.onCharacterDeathGlobal += GlobalEventManager_onCharacterDeathGlobal;
		HealthComponent.TakeDamage += new hook_TakeDamage(HealthComponent_TakeDamage);
		CharacterBody.AddTimedBuff_BuffIndex_float += new hook_AddTimedBuff_BuffIndex_float(CharacterBody_AddTimedBuff_BuffIndex_float);
		DotController.InflictDot_refInflictDotInfo += new hook_InflictDot_refInflictDotInfo(DotController_InflictDot_refInflictDotInfo);
		ContentManager.onContentPacksAssigned += LateSetup;
	}

	private static void RecalculateStatsAPI_GetStatCoefficients(CharacterBody sender, StatHookEventArgs args)
	{
		if (sender.HasBuff(Prefabs.swordsDance))
		{
			args.damageMultAdd += 1f;
		}
		if (sender.HasBuff(Prefabs.reflect))
		{
			args.armorAdd += 75f;
		}
		if (sender.HasBuff(Prefabs.armorReduction))
		{
			args.armorAdd -= 25f;
		}
	}

	private static void DotController_InflictDot_refInflictDotInfo(orig_InflictDot_refInflictDotInfo orig, ref InflictDotInfo inflictDotInfo)
	{
		TinkatonBehaviour tinkatonBehaviour = (Object.op_Implicit((Object)(object)inflictDotInfo.victimObject) ? inflictDotInfo.victimObject.GetComponent<TinkatonBehaviour>() : null);
		if (Object.op_Implicit((Object)(object)tinkatonBehaviour) && tinkatonBehaviour.passiveIndex == 2)
		{
			inflictDotInfo.duration *= 0.5f;
		}
		orig.Invoke(ref inflictDotInfo);
	}

	private static void CharacterBody_AddTimedBuff_BuffIndex_float(orig_AddTimedBuff_BuffIndex_float orig, CharacterBody self, BuffIndex buffIndex, float duration)
	{
		//IL_0019: Unknown result type (might be due to invalid IL or missing references)
		//IL_0038: Unknown result type (might be due to invalid IL or missing references)
		TinkatonBehaviour component = ((Component)self).GetComponent<TinkatonBehaviour>();
		if (Object.op_Implicit((Object)(object)component) && component.passiveIndex == 2 && BuffCatalog.GetBuffDef(buffIndex).isDebuff)
		{
			duration *= 0.5f;
		}
		orig.Invoke(self, buffIndex, duration);
	}

	private static void GlobalEventManager_onCharacterDeathGlobal(DamageReport damageReport)
	{
		//IL_0093: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ee: Invalid comparison between Unknown and I4
		//IL_00ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_010b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0110: Unknown result type (might be due to invalid IL or missing references)
		//IL_011a: Unknown result type (might be due to invalid IL or missing references)
		//IL_012a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0134: Unknown result type (might be due to invalid IL or missing references)
		//IL_0139: Unknown result type (might be due to invalid IL or missing references)
		TinkatonBehaviour tinkatonBehaviour = (Object.op_Implicit((Object)(object)damageReport.attacker) ? damageReport.attacker.GetComponent<TinkatonBehaviour>() : null);
		if (Object.op_Implicit((Object)(object)damageReport.victimBody) && Object.op_Implicit((Object)(object)tinkatonBehaviour) && tinkatonBehaviour.passiveIndex == 0 && Stage.instance.sceneDef.cachedName != "bazaar" && RoR2Application.rng.RangeFloat(0f, 1f) <= (damageReport.victimBody.isBoss ? 0.1f : 0.015f))
		{
			ItemTier val = (ItemTier)5;
			float num = RoR2Application.rng.RangeFloat(0f, 1f);
			if (num <= 0.05f)
			{
				val = (ItemTier)2;
			}
			else if (num <= 0.25f)
			{
				val = (ItemTier)1;
			}
			else if (num <= 0.7f)
			{
				val = (ItemTier)0;
			}
			if ((int)val != 5)
			{
				PickupDropletController.CreatePickupDroplet(PickupCatalog.FindScrapIndexForItemTier(val), damageReport.victimBody.transform.position, Vector3.up * 20f + damageReport.victimBody.transform.forward * 2f);
			}
		}
	}

	private static void HealthComponent_TakeDamage(orig_TakeDamage orig, HealthComponent self, DamageInfo damageInfo)
	{
		//IL_0015: Unknown result type (might be due to invalid IL or missing references)
		//IL_006d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_0074: Unknown result type (might be due to invalid IL or missing references)
		//IL_0088: Unknown result type (might be due to invalid IL or missing references)
		//IL_008e: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_0182: Unknown result type (might be due to invalid IL or missing references)
		//IL_0188: Unknown result type (might be due to invalid IL or missing references)
		//IL_018d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0192: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
		if (Object.op_Implicit((Object)(object)self.body))
		{
			if (DamageAPI.HasModdedDamageType(damageInfo, Prefabs.armor))
			{
				self.body.AddTimedBuff(Prefabs.armorReduction, 4f);
			}
			if (self.body.HasBuff(Prefabs.protect))
			{
				damageInfo.damage = 0f;
				damageInfo.rejected = true;
			}
			BodyIndex bodyIndex = self.body.bodyIndex;
			if (DamageAPI.HasModdedDamageType(damageInfo, Prefabs.stun))
			{
				bool flag = bodyIndex == BodyCatalog.FindBodyIndex("MegaConstructBody");
				bool flag2 = self.body.isFlying || bodyIndex == BodyCatalog.FindBodyIndex("FlyingVerminBody") || bodyIndex == BodyCatalog.FindBodyIndex("VultureBody") || flag;
				if (Object.op_Implicit((Object)(object)((Component)self).GetComponent<RigidbodyMotor>()) || flag2)
				{
					if (!Object.op_Implicit((Object)(object)((Component)self).GetComponent<ForceFall>()))
					{
						((Component)self).gameObject.AddComponent<ForceFall>().xi = flag;
					}
					SetStateOnHurt component = ((Component)self).GetComponent<SetStateOnHurt>();
					if (Object.op_Implicit((Object)(object)component))
					{
						component.SetStun(3f);
					}
					damageInfo.damage *= 2f;
				}
			}
		}
		TinkatonBehaviour tinkatonBehaviour = (Object.op_Implicit((Object)(object)damageInfo.attacker) ? damageInfo.attacker.GetComponent<TinkatonBehaviour>() : null);
		if (Object.op_Implicit((Object)(object)tinkatonBehaviour) && tinkatonBehaviour.passiveIndex == 1 && damageInfo.procCoefficient > 0f)
		{
			damageInfo.damageType |= DamageTypeCombo.op_Implicit((DamageType)2);
		}
		TinkatonBehaviour component2 = ((Component)self).GetComponent<TinkatonBehaviour>();
		if (Object.op_Implicit((Object)(object)component2))
		{
		}
		orig.Invoke(self, damageInfo);
	}

	private static void LateSetup(ReadOnlyArray<ReadOnlyContentPack> obj)
	{
		ItemDisplays.SetIDRS();
	}
}
internal class ItemDisplays
{
	internal static ItemDisplayRuleSet itemDisplayRuleSet;

	internal static List<KeyAssetRuleGroup> itemDisplayRules;

	private static Dictionary<Object, GameObject> itemDisplayPrefabs = new Dictionary<Object, GameObject>();

	private static Vector3 vec = Vector3.one;

	internal static void PopulateDisplays()
	{
		PopulateFromBody("RoR2/Base/Commando/CommandoBody.prefab");
		PopulateFromBody("RoR2/Base/Croco/CrocoBody.prefab");
		PopulateFromBody("RoR2/Base/Mage/MageBody.prefab");
	}

	private static void PopulateFromBody(string bodyPath)
	{
		ItemDisplayRuleSet val = ((Component)Prefabs.Load<GameObject>(bodyPath).GetComponent<ModelLocator>().modelTransform).GetComponent<CharacterModel>().itemDisplayRuleSet;
		KeyAssetRuleGroup[] keyAssetRuleGroups = val.keyAssetRuleGroups;
		for (int i = 0; i < keyAssetRuleGroups.Length; i++)
		{
			ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules;
			for (int j = 0; j < rules.Length; j++)
			{
				GameObject followerPrefab = rules[j].followerPrefab;
				if (Object.op_Implicit((Object)(object)followerPrefab))
				{
					Object keyAsset = keyAssetRuleGroups[i].keyAsset;
					ItemDef val2 = (ItemDef)(object)((keyAsset is ItemDef) ? keyAsset : null);
					Object keyAsset2 = keyAssetRuleGroups[i].keyAsset;
					EquipmentDef val3 = (EquipmentDef)(object)((keyAsset2 is EquipmentDef) ? keyAsset2 : null);
					if ((Object)(object)val2 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val2))
					{
						itemDisplayPrefabs.Add((Object)(object)val2, followerPrefab);
					}
					if ((Object)(object)val3 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val3))
					{
						itemDisplayPrefabs.Add((Object)(object)val3, followerPrefab);
					}
				}
			}
		}
	}

	public static void RegisterDisplays()
	{
		itemDisplayRuleSet = ScriptableObject.CreateInstance<ItemDisplayRuleSet>();
		((Object)itemDisplayRuleSet).name = "TinkatonIDRS";
		GameObject characterPrefab = MainPlugin.characterPrefab;
		GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren<ModelLocator>().modelTransform).gameObject;
		CharacterModel component = gameObject.GetComponent<CharacterModel>();
		component.itemDisplayRuleSet = itemDisplayRuleSet;
		PopulateDisplays();
	}

	public static void SetIDRS()
	{
		//IL_0015: Unknown result type (might be due to invalid IL or missing references)
		//IL_001a: Unknown result type (might be due to invalid IL or missing references)
		//IL_001f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0044: Unknown result type (might be due to invalid IL or missing references)
		//IL_0058: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0091: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00de: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0106: Unknown result type (might be due to invalid IL or missing references)
		//IL_012b: Unknown result type (might be due to invalid IL or missing references)
		//IL_013f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0153: Unknown result type (might be due to invalid IL or missing references)
		//IL_0178: Unknown result type (might be due to invalid IL or missing references)
		//IL_018c: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a0: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_0212: Unknown result type (might be due to invalid IL or missing references)
		//IL_0226: Unknown result type (might be due to invalid IL or missing references)
		//IL_023a: Unknown result type (might be due to invalid IL or missing references)
		//IL_025f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0273: Unknown result type (might be due to invalid IL or missing references)
		//IL_0287: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ac: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_030d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0321: Unknown result type (might be due to invalid IL or missing references)
		//IL_0346: Unknown result type (might be due to invalid IL or missing references)
		//IL_035a: Unknown result type (might be due to invalid IL or missing references)
		//IL_036e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0393: Unknown result type (might be due to invalid IL or missing references)
		//IL_03a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_03bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0408: Unknown result type (might be due to invalid IL or missing references)
		//IL_042d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0441: Unknown result type (might be due to invalid IL or missing references)
		//IL_0455: Unknown result type (might be due to invalid IL or missing references)
		//IL_047a: Unknown result type (might be due to invalid IL or missing references)
		//IL_048e: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_04c7: Unknown result type (might be due to invalid IL or missing references)
		//IL_04db: Unknown result type (might be due to invalid IL or missing references)
		//IL_04ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_0514: Unknown result type (might be due to invalid IL or missing references)
		//IL_0528: Unknown result type (might be due to invalid IL or missing references)
		//IL_053c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0561: Unknown result type (might be due to invalid IL or missing references)
		//IL_0575: Unknown result type (might be due to invalid IL or missing references)
		//IL_0589: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_05c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_05fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_060f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0623: Unknown result type (might be due to invalid IL or missing references)
		//IL_0648: Unknown result type (might be due to invalid IL or missing references)
		//IL_065c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0670: Unknown result type (might be due to invalid IL or missing references)
		//IL_0695: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_06bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_06e2: Unknown result type (might be due to invalid IL or missing references)
		//IL_06f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_070a: Unknown result type (might be due to invalid IL or missing references)
		//IL_072f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0743: Unknown result type (might be due to invalid IL or missing references)
		//IL_0757: Unknown result type (might be due to invalid IL or missing references)
		//IL_077c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0790: Unknown result type (might be due to invalid IL or missing references)
		//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_07c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_07dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_07f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0816: Unknown result type (might be due to invalid IL or missing references)
		//IL_082a: Unknown result type (might be due to invalid IL or missing references)
		//IL_083e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0863: Unknown result type (might be due to invalid IL or missing references)
		//IL_0877: Unknown result type (might be due to invalid IL or missing references)
		//IL_088b: Unknown result type (might be due to invalid IL or missing references)
		//IL_08b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_08c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_08d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_08fd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0911: Unknown result type (might be due to invalid IL or missing references)
		//IL_0925: Unknown result type (might be due to invalid IL or missing references)
		//IL_094a: Unknown result type (might be due to invalid IL or missing references)
		//IL_095e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0972: Unknown result type (might be due to invalid IL or missing references)
		//IL_0997: Unknown result type (might be due to invalid IL or missing references)
		//IL_09ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_09bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_09e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_09f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a31: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a45: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a59: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a7e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a92: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aa6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0acb: Unknown result type (might be due to invalid IL or missing references)
		//IL_0adf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0af3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b18: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b2c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b40: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b65: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b79: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b8d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ba6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bba: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bce: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bf3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c07: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c1b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c40: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c54: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c68: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c8d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ca1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cb5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cda: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cee: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d02: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d27: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d3b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d4f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d74: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d88: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d9c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dc1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dd5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0de9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e0e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e22: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e36: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e5b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e6f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e83: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ea8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ebc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ed0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ef5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f09: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f1d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f42: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f56: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f6a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f8f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fa3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fb7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fdc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ff0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1004: Unknown result type (might be due to invalid IL or missing references)
		//IL_1029: Unknown result type (might be due to invalid IL or missing references)
		//IL_103d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1051: Unknown result type (might be due to invalid IL or missing references)
		//IL_1076: Unknown result type (might be due to invalid IL or missing references)
		//IL_108a: Unknown result type (might be due to invalid IL or missing references)
		//IL_109e: Unknown result type (might be due to invalid IL or missing references)
		//IL_10c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_10d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_10eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1110: Unknown result type (might be due to invalid IL or missing references)
		//IL_1124: Unknown result type (might be due to invalid IL or missing references)
		//IL_1138: Unknown result type (might be due to invalid IL or missing references)
		//IL_115d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1171: Unknown result type (might be due to invalid IL or missing references)
		//IL_1185: Unknown result type (might be due to invalid IL or missing references)
		//IL_11aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_11be: Unknown result type (might be due to invalid IL or missing references)
		//IL_11d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_11f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_120b: Unknown result type (might be due to invalid IL or missing references)
		//IL_121f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1244: Unknown result type (might be due to invalid IL or missing references)
		//IL_1258: Unknown result type (might be due to invalid IL or missing references)
		//IL_126c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1291: Unknown result type (might be due to invalid IL or missing references)
		//IL_12a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_12b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_12d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_12e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_12fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_131f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1333: Unknown result type (might be due to invalid IL or missing references)
		//IL_1347: Unknown result type (might be due to invalid IL or missing references)
		//IL_136c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1380: Unknown result type (might be due to invalid IL or missing references)
		//IL_1394: Unknown result type (might be due to invalid IL or missing references)
		//IL_13b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_13cd: Unknown result type (might be due to invalid IL or missing references)
		//IL_13e1: Unknown result type (might be due to invalid IL or missing references)
		//IL_1406: Unknown result type (might be due to invalid IL or missing references)
		//IL_141a: Unknown result type (might be due to invalid IL or missing references)
		//IL_142e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1453: Unknown result type (might be due to invalid IL or missing references)
		//IL_1467: Unknown result type (might be due to invalid IL or missing references)
		//IL_147b: Unknown result type (might be due to invalid IL or missing references)
		//IL_14a0: Unknown result type (might be due to invalid IL or missing references)
		//IL_14b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_14c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_14ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_1501: Unknown result type (might be due to invalid IL or missing references)
		//IL_1515: Unknown result type (might be due to invalid IL or missing references)
		//IL_153a: Unknown result type (might be due to invalid IL or missing references)
		//IL_154e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1562: Unknown result type (might be due to invalid IL or missing references)
		//IL_1587: Unknown result type (might be due to invalid IL or missing references)
		//IL_159b: Unknown result type (might be due to invalid IL or missing references)
		//IL_15af: Unknown result type (might be due to invalid IL or missing references)
		//IL_15d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_15e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_15fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1621: Unknown result type (might be due to invalid IL or missing references)
		//IL_1635: Unknown result type (might be due to invalid IL or missing references)
		//IL_1649: Unknown result type (might be due to invalid IL or missing references)
		//IL_166e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1682: Unknown result type (might be due to invalid IL or missing references)
		//IL_1696: Unknown result type (might be due to invalid IL or missing references)
		//IL_16bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_16cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_16e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_1708: Unknown result type (might be due to invalid IL or missing references)
		//IL_171c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1730: Unknown result type (might be due to invalid IL or missing references)
		//IL_1755: Unknown result type (might be due to invalid IL or missing references)
		//IL_1769: Unknown result type (might be due to invalid IL or missing references)
		//IL_177d: Unknown result type (might be due to invalid IL or missing references)
		//IL_17a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_17b6: Unknown result type (might be due to invalid IL or missing references)
		//IL_17ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_17ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_1803: Unknown result type (might be due to invalid IL or missing references)
		//IL_1817: Unknown result type (might be due to invalid IL or missing references)
		//IL_183c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1850: Unknown result type (might be due to invalid IL or missing references)
		//IL_1864: Unknown result type (might be due to invalid IL or missing references)
		//IL_1889: Unknown result type (might be due to invalid IL or missing references)
		//IL_189d: Unknown result type (might be due to invalid IL or missing references)
		//IL_18b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_18d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_18ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_18fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_1923: Unknown result type (might be due to invalid IL or missing references)
		//IL_1937: Unknown result type (might be due to invalid IL or missing references)
		//IL_194b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1970: Unknown result type (might be due to invalid IL or missing references)
		//IL_1984: Unknown result type (might be due to invalid IL or missing references)
		//IL_1998: Unknown result type (might be due to invalid IL or missing references)
		//IL_19bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_19d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_19e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a0a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a1e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a32: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a4b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a5f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a73: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a98: Unknown result type (might be due to invalid IL or missing references)
		//IL_1aac: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ac0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ae5: Unknown result type (might be due to invalid IL or missing references)
		//IL_1af9: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b0d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b32: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b46: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b5a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b7f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b93: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ba7: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bcc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1be0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bf4: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c19: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c41: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c66: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c7a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c8e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cb3: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cc7: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cdb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d00: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d14: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d28: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d4d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d61: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d75: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d9a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dae: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dc2: Unknown result type (might be due to invalid IL or missing references)
		//IL_1de7: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dfb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e0f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e34: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e48: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e5c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e81: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e95: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ea9: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ece: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ee2: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ef6: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f1b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f2f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f43: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f68: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f7c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f90: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fa9: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fbd: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fd1: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ff6: Unknown result type (might be due to invalid IL or missing references)
		//IL_200a: Unknown result type (might be due to invalid IL or missing references)
		//IL_201e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2043: Unknown result type (might be due to invalid IL or missing references)
		//IL_2057: Unknown result type (might be due to invalid IL or missing references)
		//IL_206b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2090: Unknown result type (might be due to invalid IL or missing references)
		//IL_20a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_20b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_20dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_20f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_2105: Unknown result type (might be due to invalid IL or missing references)
		//IL_212a: Unknown result type (might be due to invalid IL or missing references)
		//IL_213e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2152: Unknown result type (might be due to invalid IL or missing references)
		//IL_2177: Unknown result type (might be due to invalid IL or missing references)
		//IL_218b: Unknown result type (might be due to invalid IL or missing references)
		//IL_219f: Unknown result type (might be due to invalid IL or missing references)
		//IL_21c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_21d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_21ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_2211: Unknown result type (might be due to invalid IL or missing references)
		//IL_2225: Unknown result type (might be due to invalid IL or missing references)
		//IL_2239: Unknown result type (might be due to invalid IL or missing references)
		//IL_225e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2272: Unknown result type (might be due to invalid IL or missing references)
		//IL_2286: Unknown result type (might be due to invalid IL or missing references)
		//IL_22ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_22bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_22d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_22f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_230c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2320: Unknown result type (might be due to invalid IL or missing references)
		//IL_2345: Unknown result type (might be due to invalid IL or missing references)
		//IL_2359: Unknown result type (might be due to invalid IL or missing references)
		//IL_236d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2392: Unknown result type (might be due to invalid IL or missing references)
		//IL_23a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_23ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_23df: Unknown result type (might be due to invalid IL or missing references)
		//IL_23f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2407: Unknown result type (might be due to invalid IL or missing references)
		//IL_242c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2440: Unknown result type (might be due to invalid IL or missing references)
		//IL_2454: Unknown result type (might be due to invalid IL or missing references)
		//IL_2479: Unknown result type (might be due to invalid IL or missing references)
		//IL_248d: Unknown result type (might be due to invalid IL or missing references)
		//IL_24a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_24c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_24da: Unknown result type (might be due to invalid IL or missing references)
		//IL_24ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_2513: Unknown result type (might be due to invalid IL or missing references)
		//IL_2527: Unknown result type (might be due to invalid IL or missing references)
		//IL_253b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2560: Unknown result type (might be due to invalid IL or missing references)
		//IL_2574: Unknown result type (might be due to invalid IL or missing references)
		//IL_2588: Unknown result type (might be due to invalid IL or missing references)
		//IL_25ad: Unknown result type (might be due to invalid IL or missing references)
		//IL_25c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_25d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_25fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_260e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2622: Unknown result type (might be due to invalid IL or missing references)
		//IL_2647: Unknown result type (might be due to invalid IL or missing references)
		//IL_265b: Unknown result type (might be due to invalid IL or missing references)
		//IL_266f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2694: Unknown result type (might be due to invalid IL or missing references)
		//IL_26a8: Unknown result type (might be due to invalid IL or missing references)
		//IL_26bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_26e1: Unknown result type (might be due to invalid IL or missing references)
		//IL_26f5: Unknown result type (might be due to invalid IL or missing references)
		//IL_2709: Unknown result type (might be due to invalid IL or missing references)
		//IL_272e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2742: Unknown result type (might be due to invalid IL or missing references)
		//IL_2756: Unknown result type (might be due to invalid IL or missing references)
		//IL_277b: Unknown result type (might be due to invalid IL or missing references)
		//IL_278f: Unknown result type (might be due to invalid IL or missing references)
		//IL_27a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_27c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_27dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_27f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_2815: Unknown result type (might be due to invalid IL or missing references)
		//IL_2829: Unknown result type (might be due to invalid IL or missing references)
		//IL_283d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2862: Unknown result type (might be due to invalid IL or missing references)
		//IL_2876: Unknown result type (might be due to invalid IL or missing references)
		//IL_288a: Unknown result type (might be due to invalid IL or missing references)
		//IL_28af: Unknown result type (might be due to invalid IL or missing references)
		//IL_28c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_28d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_28fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_2910: Unknown result type (might be due to invalid IL or missing references)
		//IL_2924: Unknown result type (might be due to invalid IL or missing references)
		//IL_2949: Unknown result type (might be due to invalid IL or missing references)
		//IL_295d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2971: Unknown result type (might be due to invalid IL or missing references)
		//IL_2996: Unknown result type (might be due to invalid IL or missing references)
		//IL_29aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_29be: Unknown result type (might be due to invalid IL or missing references)
		//IL_29e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_29f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a0b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a30: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a44: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a58: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a71: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a85: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a99: Unknown result type (might be due to invalid IL or missing references)
		//IL_2abe: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ad2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ae6: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b0b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b1f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b33: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b58: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b6c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b80: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ba5: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bb9: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bcd: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bf2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c06: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c1a: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c3f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c53: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c67: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c8c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ca0: Unknown result type (might be due to invalid IL or missing references)
		//IL_2cb4: Unknown result type (might be due to invalid IL or missing references)
		//IL_2cd9: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ced: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d01: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d26: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d3a: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d4e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d73: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d87: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2dc0: Unknown result type (might be due to invalid IL or missing references)
		//IL_2dd4: Unknown result type (might be due to invalid IL or missing references)
		//IL_2de8: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e0d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e21: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e35: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e5a: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e6e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e82: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ea7: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ebb: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ecf: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ef4: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f08: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f1c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f41: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f55: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f69: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f8e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fa2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fb6: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fdb: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fef: Unknown result type (might be due to invalid IL or missing references)
		//IL_3003: Unknown result type (might be due to invalid IL or missing references)
		//IL_3028: Unknown result type (might be due to invalid IL or missing references)
		//IL_303c: Unknown result type (might be due to invalid IL or missing references)
		//IL_3050: Unknown result type (might be due to invalid IL or missing references)
		//IL_3075: Unknown result type (might be due to invalid IL or missing references)
		//IL_3089: Unknown result type (might be due to invalid IL or missing references)
		//IL_309d: Unknown result type (might be due to invalid IL or missing references)
		//IL_30c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_30d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_30ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_310f: Unknown result type (might be due to invalid IL or missing references)
		//IL_3123: Unknown result type (might be due to invalid IL or missing references)
		//IL_3137: Unknown result type (might be due to invalid IL or missing references)
		itemDisplayRules = new List<KeyAssetRuleGroup>();
		NewIDRS((Object)(object)Items.AlienHead, "hammerMuzzle", Vector3.zero, Vector3.zero, Vector3.one, (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorPlate, "hammerMuzzle", new Vector3(-0.36903f, 0.65697f, 0.17961f), new Vector3(358.2481f, 201.2567f, 92.36913f), new Vector3(0.2667f, 0.2667f, 0.2667f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorReductionOnHit, "hammerMuzzle", new Vector3(0.09208f, 0.89318f, 0.01439f), new Vector3(359.5705f, 271.4065f, 93.49295f), new Vector3(0.53433f, 0.52476f, 0.53433f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedAndMoveSpeed, "hammerMuzzle", new Vector3(-0.60297f, 0.87552f, -0.02345f), new Vector3(40.57533f, 61.83055f, 247.0474f), new Vector3(0.33473f, 0.33473f, 0.33473f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedOnCrit, "hammerMuzzle", new Vector3(0.06446f, 1.56838f, 0.02834f), new Vector3(311.1174f, 86.3576f, 12.41252f), new Vector3(0.46891f, 0.46891f, 0.46891f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AutoCastEquipment, "hammerMuzzle", new Vector3(-0.10687f, 0.63135f, -0.32285f), new Vector3(0f, 103.1891f, 0f), new Vector3(0.65063f, 0.65063f, 0.65063f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bandolier, "hammerMuzzle", new Vector3(-0.02435f, 0.45103f, -0.00208f), new Vector3(273.3104f, 310.518f, 49.43478f), new Vector3(0.61048f, 0.93908f, 0.93908f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnKill, "hammerMuzzle", new Vector3(0.54695f, 0.86748f, -0.03807f), new Vector3(5.34731f, 92.44271f, 268.4504f), new Vector3(0.78713f, 0.78713f, 0.78713f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnOverHeal, "hammerMuzzle", new Vector3(-0.1391f, 0.73167f, 0.27917f), new Vector3(6.71648f, 275.3395f, 87.76277f), new Vector3(0.32391f, 0.32391f, 0.32391f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bear, "hammerMuzzle", new Vector3(-0.20912f, -0.08191f, 0.17934f), new Vector3(76.53982f, 328.0948f, 80.0963f), new Vector3(0.35327f, 0.35327f, 0.35327f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BearVoid, "hammerMuzzle", new Vector3(-0.20912f, -0.08191f, 0.17934f), new Vector3(76.53982f, 328.0948f, 80.0963f), new Vector3(0.35327f, 0.35327f, 0.35327f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BeetleGland, "hammerMuzzle", new Vector3(-2E-05f, 0.73498f, 0f), new Vector3(0f, 0f, 36.00142f), new Vector3(0.07437f, 0.07437f, 0.07437f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Behemoth, "hammerMuzzle", new Vector3(-0.79564f, 0.32203f, 0.09797f), new Vector3(0f, 285.9587f, 0f), new Vector3(0.14456f, 0.14456f, 0.14456f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHit, "hammerMuzzle", new Vector3(0.16359f, 0.1765f, -0.51617f), new Vector3(89.11685f, 0f, 0f), new Vector3(0.54416f, 0.54416f, 0.54416f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitAndExplode, "hammerMuzzle", new Vector3(-0.065f, 1.47098f, 0.08303f), new Vector3(0.01204f, 334.3798f, 352.5431f), new Vector3(0.16694f, 0.16694f, 0.16694f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitVoid, "hammerMuzzle", new Vector3(0.16359f, 0.1765f, -0.51617f), new Vector3(89.11685f, 0f, 0f), new Vector3(0.54416f, 0.54416f, 0.54416f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BonusGoldPackOnKill, "hammerMuzzle", new Vector3(0.66935f, 0.86346f, 0.06623f), new Vector3(348.3779f, 1.7503f, 94.69061f), new Vector3(0.07259f, 0.07259f, 0.07259f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BossDamageBonus, "hammerMuzzle", new Vector3(-268f / (273f * MathF.PI), 0.76068f, -0.27347f), new Vector3(273.2302f, 210.9119f, 203.0608f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BounceNearby, "hammerMuzzle", new Vector3(-0.0825f, 1.25301f, 0.02538f), new Vector3(57.4635f, 180f, 180f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightning, "hammerMuzzle", new Vector3(0.01619f, 1.23189f, 0.20545f), new Vector3(352.6452f, 350.7987f, 84.8632f), new Vector3(0.60216f, 0.60216f, 0.60216f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightningVoid, "hammerMuzzle", new Vector3(0.01619f, 1.23189f, 0.20545f), new Vector3(352.6452f, 350.7987f, 84.8632f), new Vector3(0.60216f, 0.60216f, 0.60216f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Clover, "hammerMuzzle", new Vector3(-0.44003f, 0.33881f, -0.07494f), new Vector3(34.10583f, 0f, 0f), new Vector3(0.70587f, 0.70587f, 0.70587f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CloverVoid, "hammerMuzzle", new Vector3(-0.44003f, 0.33881f, -0.07494f), new Vector3(34.10583f, 0f, 0f), new Vector3(0.70587f, 0.70587f, 0.70587f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritDamage, "hammerMuzzle", new Vector3(-0.36573f, 0.14523f, 0.36907f), new Vector3(354.1769f, 46.44373f, 93.7381f), new Vector3(0.15295f, 0.15295f, 0.15295f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlasses, "head", new Vector3(-0.14342f, -0.00043f, 0.18288f), new Vector3(0f, 0f, 87.22137f), new Vector3(0.38678f, 0.38678f, 0.38678f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlassesVoid, "head", new Vector3(-0.14342f, -0.00043f, 0.18288f), new Vector3(0f, 0f, 87.22137f), new Vector3(0.38678f, 0.38678f, 0.38678f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Crowbar, "hammerMuzzle", new Vector3(-0.00579f, 1.25171f, -0.14163f), new Vector3(280.2471f, 136.5903f, 308.4026f), new Vector3(0.45604f, 0.45604f, 0.45604f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Dagger, "hammerMuzzle", new Vector3(-0.12023f, 1.62262f, 0.01439f), new Vector3(-1E-05f, 286.3609f, 339.2581f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.DeathMark, "hammerMuzzle", new Vector3(-0.07805f, 0.89021f, -0.00139f), new Vector3(0f, 0f, 0f), new Vector3(0.0605f, 0.0605f, 0.08597f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ElementalRingVoid, "hair.r", new Vector3(0.02133f, -0.07057f, -0.13889f), new Vector3(350.0657f, 335.28f, 294.9254f), new Vector3(0.52007f, 0.52007f, 0.52007f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EnergizedOnEquipmentUse, "hammerMuzzle", new Vector3(-0.01834f, 0.47458f, 0.20518f), new Vector3(85.96415f, 315.4705f, 101.8105f), new Vector3(0.67312f, 0.67312f, 0.67312f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazine, "hammerMuzzle", new Vector3(-0.40928f, 0.70604f, 0.14973f), new Vector3(272.4176f, 4.11814f, 122.8046f), new Vector3(0.26319f, 0.26319f, 0.26319f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazineVoid, "hammerMuzzle", new Vector3(-0.40928f, 0.70604f, 0.14973f), new Vector3(272.4176f, 4.11814f, 122.8046f), new Vector3(0.26319f, 0.26319f, 0.26319f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExecuteLowHealthElite, "hammerMuzzle", new Vector3(0.16701f, 0.03847f, 0.27204f), new Vector3(276.9471f, 331.7101f, 242.1953f), new Vector3(0.4212f, 0.4212f, 0.4212f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeath, "hammerMuzzle", new Vector3(-0.52205f, 0.96637f, 0.06481f), new Vector3(273.4344f, 115.3866f, 246.8959f), new Vector3(0.11153f, 0.11153f, 0.11153f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeathVoid, "hammerMuzzle", new Vector3(-0.52205f, 0.96637f, 0.06481f), new Vector3(273.4344f, 115.3866f, 246.8959f), new Vector3(0.11153f, 0.11153f, 0.11153f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLife, "hammerMuzzle", new Vector3(-0.12388f, 1.4401f, -0.20134f), new Vector3(3.64477f, 181.0069f, 273.453f), new Vector3(0.231f, 0.231f, 0.231f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLifeVoid, "hammerMuzzle", new Vector3(-0.12388f, 1.4401f, -0.20134f), new Vector3(3.64477f, 181.0069f, 273.453f), new Vector3(0.231f, 0.231f, 0.231f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.FallBoots, "hammerMuzzle", new Vector3(-0.05669f, 1.17661f, 0.00818f), new Vector3(0f, 0f, 0f), new Vector3(0.39925f, 0.39925f, 0.39925f), "hammerMuzzle", new Vector3(-0.0736f, 0.4364f, -0.00255f), new Vector3(356.7997f, 96.54211f, 0.05004f), new Vector3(0.77374f, 0.77374f, 0.77374f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Feather, "hammerMuzzle", new Vector3(-0.03682f, 0.23564f, -0.35047f), new Vector3(335.5788f, 6.60705f, 359.4016f), new Vector3(0.03903f, 0.03903f, 0.03903f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireRing, "hair.l", new Vector3(0.01837f, -0.02617f, -0.03707f), new Vector3(18.98625f, 352.7161f, 4.11006f), new Vector3(0.25503f, 0.25503f, 0.25503f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireballsOnHit, "hammerMuzzle", new Vector3(0.20993f, 0.16603f, 0.47386f), new Vector3(81.30602f, 351.0903f, 328.3592f), new Vector3(0.11712f, 0.11712f, 0.11712f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Firework, "hammerMuzzle", new Vector3(-0.11333f, 1.62685f, 0.12581f), new Vector3(350.2556f, 298.8235f, 353.0148f), new Vector3(0.69965f, 0.69965f, 0.69965f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FlatHealth, "hammerMuzzle", new Vector3(-0.29543f, 1.50405f, -0.10586f), new Vector3(338.6682f, 241.7417f, 91.49071f), new Vector3(0.16701f, 0.16701f, 0.16701f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FocusConvergence, "base", new Vector3(-1.13091f, 1.38752f, 0f), new Vector3(30.55597f, 11.53837f, 5.92527f), new Vector3(0.12162f, 0.12162f, 0.12162f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FragileDamageBonus, "hammerMuzzle", new Vector3(-0.06239f, 1.23214f, 0.10157f), new Vector3(81.22414f, 210.0248f, 209.7334f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FreeChest, "hammerMuzzle", new Vector3(-0.51171f, 0.75934f, 0.05818f), new Vector3(0.58946f, 78.7269f, 91.09177f), new Vector3(0.52243f, 0.52243f, 0.52243f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GhostOnKill, "hammerMuzzle", new Vector3(-0.09244f, 0.87027f, 0.04839f), new Vector3(0f, 0f, 94.91351f), new Vector3(0.91025f, 0.91025f, 0.91025f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHit, "hammerMuzzle", new Vector3(-0.66677f, 0.11328f, 0.35337f), new Vector3(80.49957f, 115.5429f, 178.3934f), new Vector3(0.92917f, 0.92917f, 0.92917f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHurt, "hammerMuzzle", new Vector3(-0.25051f, 0.71936f, 0.275f), new Vector3(2.09016f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfAttackSpeedHalfCooldowns, "hammerMuzzle", new Vector3(-0.04739f, 0.7005f, 0.27332f), new Vector3(359.8767f, 271.2641f, 242.4539f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfSpeedDoubleHealth, "hammerMuzzle", new Vector3(-0.00917f, 0.64862f, -0.34951f), new Vector3(0.08433f, 83.87356f, 207.0373f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HeadHunter, "hammerMuzzle", new Vector3(-0.07547f, -1E-05f, -0.01702f), new Vector3(0f, 179.9771f, 0f), new Vector3(1.80391f, 0.63276f, 0.4958f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealOnCrit, "hammerMuzzle", new Vector3(0.11238f, 0.51202f, 0.19213f), new Vector3(0f, 300.3254f, 0f), new Vector3(0.53049f, 0.53049f, 0.53049f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealWhileSafe, "hammerMuzzle", new Vector3(0.24865f, 0.30886f, -0.04167f), new Vector3(25.67366f, 72.91105f, 333.3919f), new Vector3(0.15336f, 0.15336f, 0.15336f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealingPotion, "hammerMuzzle", new Vector3(0.03477f, 1.26024f, 0.16533f), new Vector3(359.4433f, 355.3624f, 83.17023f), new Vector3(0.10495f, 0.10495f, 0.10495f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Hoof, "hammerMuzzle", new Vector3(1.16477f, 0.82323f, -2E-05f), new Vector3(355.2832f, 270f, 0f), new Vector3(0.08129f, 0.08129f, 0.1202f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IceRing, "hair.r", new Vector3(0.011f, 0.0045f, -0.02079f), new Vector3(333.8199f, 342.4329f, 35.90596f), new Vector3(0.25503f, 0.2593f, 0.25503f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Icicle, "base", new Vector3(-0.49438f, 1.06165f, -0.12707f), new Vector3(282.7556f, 36.50444f, 313.637f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IgniteOnKill, "hammerMuzzle", new Vector3(-0.33496f, 0.89987f, 0.25601f), new Vector3(271.7707f, 9.92067f, 55.26666f), new Vector3(0.67989f, 0.67989f, 0.67989f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ImmuneToDebuff, "hammerMuzzle", new Vector3(-0.07011f, 1.25368f, 0.04565f), new Vector3(5.64099f, 167.2609f, 181.6267f), new Vector3(1.16928f, 1.16928f, 1.33307f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.IncreaseHealing, "hammerMuzzle", new Vector3(-0.10034f, 0.16028f, -0.41859f), new Vector3(330.89f, 184.0555f, 264.801f), new Vector3(0.57609f, 0.57609f, 0.57609f), "hammerMuzzle", new Vector3(0.06878f, 0.19633f, 0.38645f), new Vector3(357.793f, 24.844f, 85.13796f), new Vector3(-0.57609f, 0.57609f, 0.57609f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Infusion, "hammerMuzzle", new Vector3(0.58251f, 0.84758f, 0.04122f), new Vector3(0f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.JumpBoost, "hammerMuzzle", new Vector3(-0.1306f, 0.27701f, 0.01788f), new Vector3(83.5267f, 85.49471f, 145.2641f), new Vector3(1.15159f, 1.15159f, 1.15159f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.KillEliteFrenzy, "hammerMuzzle", new Vector3(-0.23303f, 0.95093f, 0.07091f), new Vector3(359.0743f, 3.85117f, 95.90509f), new Vector3(0.46055f, 0.46055f, 0.46055f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Knurl, "hammerMuzzle", new Vector3(0.4036f, 0.81023f, 0.00419f), new Vector3(0.60814f, 272.1279f, 344.0577f), new Vector3(0.17016f, 0.17016f, 0.17016f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LaserTurbine, "hammerMuzzle", new Vector3(-0.07335f, -0.09819f, 0.03733f), new Vector3(272.1744f, 180f, 180f), new Vector3(0.79751f, 0.79751f, 0.79751f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LightningStrikeOnHit, "hammerMuzzle", new Vector3(-0.26956f, 0.17293f, -0.51559f), new Vector3(16.30713f, 203.1328f, 1.64307f), new Vector3(1.73597f, 1.73597f, 1.73597f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarDagger, "hammerMuzzle", new Vector3(0.39951f, 0.19893f, 0.17847f), new Vector3(359.4961f, 201.7854f, 359.12f), new Vector3(0.76849f, 0.76849f, 0.76849f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarPrimaryReplacement, "hammerMuzzle", new Vector3(-0.02719f, 0f, 0f), new Vector3(0f, 0f, 0f), new Vector3(0.6726f, 0.6726f, 0.6726f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSecondaryReplacement, "hammerMuzzle", new Vector3(0.11528f, 0.84478f, -0.3975f), new Vector3(5.27317f, 231.6356f, 81.58541f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSpecialReplacement, "base", new Vector3(1.35143f, 1.53036f, -0.72537f), new Vector3(5.94803f, 319.5939f, 68.56253f), new Vector3(0.27035f, 0.27035f, 0.27035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSun, "hammerMuzzle", new Vector3(1.10936f, 0.97341f, -0.14741f), new Vector3(0f, 0f, 0f), new Vector3(0.42239f, 0.42239f, 0.42239f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarTrinket, "hammerMuzzle", new Vector3(-0.5971f, 0.14314f, 0.3194f), new Vector3(334.1084f, 111.147f, 260.4128f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarUtilityReplacement, "hammerMuzzle", new Vector3(-0.40091f, 0.76803f, -0.11659f), new Vector3(0f, 331.5046f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Medkit, "hammerMuzzle", new Vector3(0.19286f, 1.25963f, -0.00565f), new Vector3(293.5475f, 272.4183f, 180f), new Vector3(0.69294f, 0.69294f, 0.69294f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MinorConstructOnKill, "base", new Vector3(-0.74269f, 1.05704f, -0.85503f), new Vector3(0f, 0f, 0f), new Vector3(0.41018f, 0.41018f, 0.41018f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Missile, "hammerMuzzle", new Vector3(-0.49458f, 1.90386f, 0.08173f), new Vector3(49.29585f, 267.3925f, 349.715f), new Vector3(0.15579f, 0.15579f, 0.15579f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MissileVoid, "hammerMuzzle", new Vector3(-0.49458f, 1.90386f, 0.08173f), new Vector3(49.29585f, 267.3925f, 349.715f), new Vector3(0.15579f, 0.15579f, 0.15579f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MonstersOnShrineUse, "hammerMuzzle", new Vector3(-0.1962f, 0.49904f, 0.49758f), new Vector3(350.8001f, 47.89593f, 92.97585f), new Vector3(0.2736f, 0.2736f, 0.2736f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoreMissile, "hammerMuzzle", new Vector3(-0.04602f, 1.08185f, 0.36153f), new Vector3(354.2222f, 185.1071f, 266.0228f), new Vector3(0.19692f, 0.19692f, 0.19692f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoveSpeedOnKill, "hammerMuzzle", new Vector3(-0.02709f, 0.2135f, -1E-05f), new Vector3(0f, 0f, 0f), new Vector3(0.53853f, 0.36536f, 0.53853f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Mushroom, "hammerMuzzle", new Vector3(0.16335f, 0.71971f, 0.09933f), new Vector3(277.903f, 6E-05f, 238.4764f), new Vector3(0.14971f, 0.14971f, 0.14971f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MushroomVoid, "hammerMuzzle", new Vector3(0.16335f, 0.71971f, 0.09933f), new Vector3(277.903f, 6E-05f, 238.4764f), new Vector3(0.14971f, 0.14971f, 0.14971f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NearbyDamageBonus, "chest", new Vector3(-0.03068f, -0.05572f, 0.07917f), new Vector3(24.36255f, 323.4161f, 342.9766f), new Vector3(0.05226f, 0.05226f, 0.05226f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.NovaOnHeal, "hammerMuzzle", new Vector3(-0.43546f, 0.2213f, -0.16091f), new Vector3(354.6524f, 294.3204f, 233.1258f), new Vector3(1f, 1f, 1f), "hammerMuzzle", new Vector3(-0.08314f, 0.19684f, 0.37977f), new Vector3(19.44967f, 294.0095f, 158.1836f), new Vector3(-1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NovaOnLowHealth, "hammerMuzzle", new Vector3(-0.1854f, 0.651f, -0.3474f), new Vector3(0f, 0f, 0f), new Vector3(0.38812f, 0.38812f, 0.38812f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.OutOfCombatArmor, "hammerMuzzle", new Vector3(0.39896f, 0.9548f, 0.0067f), new Vector3(68.59138f, 27.7902f, 334.9861f), new Vector3(0.53045f, 0.53045f, 0.53045f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ParentEgg, "hammerMuzzle", new Vector3(-0.03502f, 0.88114f, 0.15225f), new Vector3(0.20153f, 0.78958f, 75.68195f), new Vector3(0.14349f, 0.14349f, 0.14349f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Pearl, "hammerMuzzle", new Vector3(-0.04193f, 0.75595f, 0f), new Vector3(67.55717f, 270f, 270f), new Vector3(0.22751f, 0.22751f, 0.22751f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PermanentDebuffOnHit, "hammerMuzzle", new Vector3(0.03443f, 1.5231f, 1E-05f), new Vector3(40.59065f, 90f, 180f), new Vector3(1.31783f, 1.31783f, 1.31783f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PersonalShield, "hammerMuzzle", new Vector3(-0.40899f, 0.94017f, -0.00236f), new Vector3(285.8869f, 23.91776f, 246.9721f), new Vector3(0.26418f, 0.26418f, 0.26418f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Phasing, "hammerMuzzle", new Vector3(-0.0468f, 1.23951f, -0.17206f), new Vector3(77.81823f, 180f, 180f), new Vector3(0.41832f, 0.41832f, 0.41832f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Plant, "hammerMuzzle", new Vector3(0.27782f, 0.20326f, 0.32667f), new Vector3(356.7744f, 39.80307f, 0f), new Vector3(0.14694f, 0.14694f, 0.14694f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PrimarySkillShuriken, "hammerMuzzle", new Vector3(0.6343f, 0.87154f, 0.00534f), new Vector3(0f, 272.9246f, 0f), new Vector3(0.49938f, 0.49938f, 0.49938f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomDamageZone, "hammerMuzzle", new Vector3(-0.88322f, 0.93297f, 0.00518f), new Vector3(28.51792f, 92.97065f, 182.4314f), new Vector3(0.15437f, 0.15437f, 0.15437f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomEquipmentTrigger, "hammerMuzzle", new Vector3(-0.40878f, 0.52272f, 0.00709f), new Vector3(50.15367f, 77.58765f, 162.164f), new Vector3(0.42054f, 0.42054f, 0.42054f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomlyLunar, "base", new Vector3(-0.73433f, 1.42338f, -0.04651f), new Vector3(80.32096f, 273.8671f, 283.4961f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RegeneratingScrap, "hammerMuzzle", new Vector3(0.08321f, 1.12951f, 0.28114f), new Vector3(20.78149f, 192.3929f, 306.2691f), new Vector3(0.39431f, 0.39431f, 0.39431f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RepeatHeal, "hammerMuzzle", new Vector3(-0.394f, 0.69366f, 0.12283f), new Vector3(62.95924f, 190.386f, 259.6091f), new Vector3(0.3206f, 0.3206f, 0.3206f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SecondarySkillMagazine, "hammerMuzzle", new Vector3(0.67957f, 0.76934f, -0.03229f), new Vector3(306.8863f, 290.6031f, 328.8536f), new Vector3(0.09021f, 0.09021f, 0.09021f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Seed, "hammerMuzzle", new Vector3(0.20417f, 1.1744f, -0.01193f), new Vector3(26.67954f, 64.48136f, 96.97666f), new Vector3(0.07652f, 0.07652f, 0.07652f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.ShieldOnly, "hammerMuzzle", new Vector3(-0.58969f, 0.20817f, -0.18567f), new Vector3(328.0518f, 146.6578f, 290.6933f), new Vector3(0.47613f, 0.47613f, 0.47613f), "hammerMuzzle", new Vector3(-0.63689f, 0.12835f, 0.13754f), new Vector3(19.68196f, 44.8223f, 92.0065f), new Vector3(-0.47613f, 0.47613f, 0.47613f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShinyPearl, "hammerMuzzle", new Vector3(-0.04081f, 1.21474f, -0.00463f), new Vector3(62.38109f, 90.07195f, 95.89555f), new Vector3(0.22751f, 0.22751f, 0.22751f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShockNearby, "hammerMuzzle", new Vector3(-0.02867f, 1.51873f, 0.01085f), new Vector3(0f, 0f, 348.2584f), new Vector3(0.76519f, 0.76519f, 0.76519f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SiphonOnLowHealth, "hammerMuzzle", new Vector3(0.38974f, 0.69829f, 0.03092f), new Vector3(295.6416f, 149.143f, 244.5317f), new Vector3(0.12401f, 0.12401f, 0.12401f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SlowOnHit, "hammerMuzzle", new Vector3(-0.87856f, 1.13394f, 0.83417f), new Vector3(78.53204f, 123.7062f, 31.90831f), new Vector3(-1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SlowOnHitVoid, "hammerMuzzle", new Vector3(-0.87856f, 1.13394f, 0.83417f), new Vector3(78.53204f, 123.7062f, 31.90831f), new Vector3(-1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintArmor, "hammerMuzzle", new Vector3(1.1047f, 0.80936f, -0.0299f), new Vector3(322.831f, 1.40392f, 359.5518f), new Vector3(0.23755f, 0.23411f, -0.23411f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintBonus, "hammerMuzzle", new Vector3(1.22773f, 0.781f, -0.0008f), new Vector3(1.20073f, 270.3047f, 0.13466f), new Vector3(0.4033f, 0.4033f, 0.4033f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintOutOfCombat, "hammerMuzzle", new Vector3(-0.45845f, 0.95179f, 0.01789f), new Vector3(40.95449f, 349.7508f, 0f), new Vector3(0.80649f, 0.80649f, 0.80649f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintWisp, "hammerMuzzle", new Vector3(0.07749f, 1.21094f, -0.22981f), new Vector3(300.5415f, 166.7378f, 272.5819f), new Vector3(0.2103f, 0.2103f, 0.2103f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Squid, "hammerMuzzle", new Vector3(-0.3574f, 0.85906f, -0.14569f), new Vector3(283.6618f, 180f, 238.7049f), new Vector3(0.08855f, 0.08855f, 0.08855f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StickyBomb, "hammerMuzzle", new Vector3(0.31614f, 0.91973f, 0.11663f), new Vector3(85.7765f, 180f, 180f), new Vector3(0.35035f, 0.35035f, 0.35035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StrengthenBurn, "hammerMuzzle", new Vector3(-0.33553f, 1.34616f, 0.0803f), new Vector3(16.75819f, 3.34161f, 11.44775f), new Vector3(0.21423f, 0.21423f, 0.21423f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StunChanceOnHit, "hammerMuzzle", new Vector3(-0.43412f, 1.13593f, -1E-05f), new Vector3(0f, 0f, 39.73417f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Syringe, "hammerMuzzle", new Vector3(1.28506f, 0.8264f, 0.02119f), new Vector3(0.05657f, 155.6433f, 161.597f), new Vector3(0.14763f, 0.14763f, 0.14763f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TPHealingNova, "hammerMuzzle", new Vector3(0.15197f, 0.66148f, 0.23084f), new Vector3(8.4003f, 46.62202f, 194.497f), new Vector3(0.50327f, 0.50327f, 0.50327f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Talisman, "base", new Vector3(0.34819f, 1.1284f, 0.31151f), new Vector3(0f, 0f, 0f), new Vector3(0.57924f, 0.57924f, 0.57924f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Thorns, "hammerMuzzle", new Vector3(0.2228f, 0.85277f, 0.00808f), new Vector3(0f, 71.6479f, 0f), new Vector3(0.83904f, 0.83904f, 0.83904f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TitanGoldDuringTP, "hammerMuzzle", new Vector3(-0.20583f, 1.16523f, -0.10779f), new Vector3(330.8427f, 323.4463f, 199.8609f), new Vector3(0.24274f, 0.24274f, 0.24274f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TreasureCache, "hammerMuzzle", new Vector3(-0.43063f, 1.08869f, 0.00242f), new Vector3(340.4207f, 10.60655f, 90f), new Vector3(1.36737f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TreasureCacheVoid, "hammerMuzzle", new Vector3(-0.43063f, 1.08869f, 0.00242f), new Vector3(340.4207f, 10.60655f, 90f), new Vector3(1.36737f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.UtilitySkillMagazine, "hammerMuzzle", new Vector3(-0.10092f, 1.2086f, 0.00656f), new Vector3(0.00838f, 180f, 190.6414f), new Vector3(1.32691f, 1.32691f, 1.32691f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.VoidMegaCrabItem, "hammerMuzzle", new Vector3(0.25891f, 0.47215f, -0.07968f), new Vector3(80.80938f, 313.8785f, 298.1116f), new Vector3(0.1902f, 0.1902f, 0.1902f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WarCryOnMultiKill, "hammerMuzzle", new Vector3(0.04859f, 1.41452f, -0.2038f), new Vector3(355.9298f, 215.3136f, 99.48335f), new Vector3(0.75515f, 0.75515f, 0.75515f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WardOnLevel, "hammerMuzzle", new Vector3(0.28814f, 0.458f, 0.07673f), new Vector3(0.6125f, 269.6235f, 83.6975f), new Vector3(0.77623f, 0.77623f, 0.77623f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BFG, "hammerMuzzle", new Vector3(-0.18077f, 1.05215f, -0.13498f), new Vector3(66.3382f, 231.8977f, 9.01112f), new Vector3(0.43743f, 0.43743f, 0.43743f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Blackhole, "base", new Vector3(-0.6698f, 1.00514f, -0.88896f), new Vector3(0f, 0f, 0f), new Vector3(0.48812f, 0.48812f, 0.48812f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BossHunter, "hammerMuzzle", new Vector3(-0.3415f, 1.50894f, -2E-05f), new Vector3(72.11478f, 90f, 180f), new Vector3(0.59181f, 0.59181f, 0.59181f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BurnNearby, "hammerMuzzle", new Vector3(0.05033f, 1.15515f, 0.14928f), new Vector3(320.5997f, 16.57671f, 64.87491f), new Vector3(0.0372f, 0.0372f, 0.0372f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Cleanse, "hammerMuzzle", new Vector3(0.13961f, 0.80543f, -0.27385f), new Vector3(5.60993f, 168.8731f, 271.0716f), new Vector3(0.19403f, 0.19403f, 0.19403f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CommandMissile, "hammerMuzzle", new Vector3(-0.03966f, 1.54849f, 0.00769f), new Vector3(14.78703f, 90f, 0f), new Vector3(0.82404f, 0.82404f, 0.82404f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CrippleWard, "hammerMuzzle", new Vector3(0f, -1E-05f, -0.53809f), new Vector3(0f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CritOnUse, "head", new Vector3(-0.11095f, 0.00056f, 0.26534f), new Vector3(356.9514f, 0.43423f, 265.3393f), new Vector3(0.39147f, 0.39147f, 0.39147f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.DeathProjectile, "hammerMuzzle", new Vector3(-0.07328f, 1.16619f, -0.37105f), new Vector3(340.7144f, 177.6105f, 283.6069f), new Vector3(0.10781f, 0.10781f, 0.10781f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.DroneBackup, "hammerMuzzle", new Vector3(0.36425f, 0.73316f, -0.01722f), new Vector3(60.6155f, 164.1719f, 314.5103f), new Vector3(0.56365f, 0.56365f, 0.56365f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Equipment.AffixRed, "hammerMuzzle", new Vector3(-0.57234f, 0.15299f, 0.04512f), new Vector3(313.3088f, 95.78023f, 350.4251f), new Vector3(0.10161f, 0.10161f, 0.10161f), "hammerMuzzle", new Vector3(-0.54953f, 0.13933f, 0.12652f), new Vector3(313.3088f, 95.78023f, 350.4251f), new Vector3(-0.10161f, 0.10161f, 0.10161f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.AffixHaunted, "hammerMuzzle", new Vector3(-0.60659f, 0.10579f, 0.32185f), new Vector3(351.7442f, 117.2704f, 0f), new Vector3(0.04108f, 0.04108f, 0.04108f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.AffixWhite, "hammerMuzzle", new Vector3(-0.62207f, 0.10276f, 0.30319f), new Vector3(352.2677f, 115.1475f, 352.4414f), new Vector3(0.02289f, 0.02289f, 0.02289f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.AffixBlue, "hammerMuzzle", new Vector3(-0.73191f, 0.07238f, 0.38383f), new Vector3(349.8292f, 292.8967f, 3.19262f), new Vector3(0.34409f, 0.34409f, 0.34409f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.AffixLunar, "hammerMuzzle", new Vector3(-0.04157f, -0.05976f, -0.01247f), new Vector3(88.03039f, 90f, 90f), new Vector3(0.71762f, 0.71762f, 0.71762f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.AffixPoison, "hammerMuzzle", new Vector3(0f, 0f, 0f), new Vector3(89.74667f, 180f, 180f), new Vector3(0.11068f, 0.11068f, 0.11068f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.FireBallDash, "hammerMuzzle", new Vector3(0.0522f, 0.78942f, 0.16431f), new Vector3(26.36946f, 278.3725f, 7.51793f), new Vector3(0.32798f, 0.31727f, 0.31727f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Fruit, "hammerMuzzle", new Vector3(-0.01725f, 0.18781f, 0.08118f), new Vector3(-1E-05f, 258.0074f, 23.28607f), new Vector3(0.39767f, 0.39767f, 0.39767f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.GainArmor, "hammerMuzzle", new Vector3(-0.21122f, 0.47708f, -0.2649f), new Vector3(355.5554f, 312.0248f, 92.70108f), new Vector3(0.68014f, 0.68014f, 0.68014f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Gateway, "hammerMuzzle", new Vector3(0.46178f, 0.6045f, 0.29543f), new Vector3(285.3658f, 90.18901f, 153.9255f), new Vector3(0.3646f, 0.3646f, 0.3646f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.GoldGat, "hammerMuzzle", new Vector3(-0.39766f, 0.4494f, 0.643f), new Vector3(6.40156f, 65.8913f, 50.9124f), new Vector3(0.20531f, 0.20531f, 0.20531f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.LifestealOnHit, "hammerMuzzle", new Vector3(0.20872f, 0.31639f, -0.45963f), new Vector3(50.53134f, 316.0043f, 84.3215f), new Vector3(0.12077f, 0.12077f, 0.12077f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Lightning, "hammerMuzzle", new Vector3(0.14913f, 0.81996f, 0.03209f), new Vector3(325.2067f, 132.5176f, 85.69041f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.LunarPortalOnUse, "base", new Vector3(-0.58371f, 0.99509f, -0.51334f), new Vector3(0f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Meteor, "base", new Vector3(-0.83513f, 1.1911f, -0.33644f), new Vector3(0f, 0f, 0f), new Vector3(0.72953f, 0.72953f, 0.72953f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Molotov, "hammerMuzzle", new Vector3(-0.00362f, 0.9822f, 0.19626f), new Vector3(348.3326f, 84.52724f, 352.7432f), new Vector3(0.324f, 0.324f, 0.324f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.MultiShopCard, "hammerMuzzle", new Vector3(-0.04468f, 1.07007f, 0.1861f), new Vector3(83.26997f, 0f, 2.36969f), new Vector3(0.8661f, 0.8661f, 0.8661f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.QuestVolatileBattery, "hammerMuzzle", new Vector3(0.11704f, 1.17665f, -0.0499f), new Vector3(311.6344f, 104.7187f, 264.0217f), new Vector3(0.17218f, 0.17218f, 0.17218f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Recycle, "hammerMuzzle", new Vector3(0.00248f, 1.64756f, 0.0218f), new Vector3(355.1529f, 356.9991f, 84.62344f), new Vector3(0.14695f, 0.14695f, 0.14695f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Saw, "hammerMuzzle", new Vector3(-0.61922f, 0.94103f, 0.06549f), new Vector3(90f, 0f, 0f), new Vector3(0.0787f, 0.0787f, 0.0787f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Scanner, "hammerMuzzle", new Vector3(-0.0509f, 0.87392f, 0.10657f), new Vector3(352.8145f, 335.2834f, 1.09019f), new Vector3(0.35905f, 0.35905f, 0.35905f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.TeamWarCry, "hammerMuzzle", new Vector3(0.13481f, 0.436f, -0.24844f), new Vector3(281.6863f, 305.8692f, 24.64963f), new Vector3(0.0767f, 0.07641f, 0.0767f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Tonic, "hammerMuzzle", new Vector3(0.41719f, 0.78896f, 0.09148f), new Vector3(358.9653f, 354.099f, 141.9327f), new Vector3(0.29678f, 0.29678f, 0.29678f), (LimbFlags)0);
		itemDisplayRuleSet.keyAssetRuleGroups = itemDisplayRules.ToArray();
		itemDisplayRuleSet.GenerateRuntimeValues();
	}

	private static void NewDualIDRS(Object obj, string childName, Vector3 localPos, Vector3 localAngles, Vector3 localScale, string childName2, Vector3 localPos2, Vector3 localAngles2, Vector3 localScale2, LimbFlags flags = 0)
	{
		//IL_0095: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00be: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_00da: Unknown result type (might be due to invalid IL or missing references)
		//IL_00dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_00de: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		//IL_0034: Unknown result type (might be due to invalid IL or missing references)
		//IL_004b: Unknown result type (might be due to invalid IL or missing references)
		//IL_004c: Unknown result type (might be due to invalid IL or missing references)
		//IL_004d: Unknown result type (might be due to invalid IL or missing references)
		//IL_004f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0065: Unknown result type (might be due to invalid IL or missing references)
		//IL_0067: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_006b: Unknown result type (might be due to invalid IL or missing references)
		//IL_006d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0072: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Unknown result type (might be due to invalid IL or missing references)
		//IL_007e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0083: Unknown result type (might be due to invalid IL or missing references)
		ItemDef val = (ItemDef)(object)((obj is ItemDef) ? obj : null);
		EquipmentDef val2 = (EquipmentDef)(object)((obj is EquipmentDef) ? obj : null);
		if ((Object)(object)val != (Object)null)
		{
			itemDisplayRules.Add(new KeyAssetRuleGroup
			{
				keyAsset = (Object)(object)val,
				displayRuleGroup = new DisplayRuleGroup
				{
					rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2]
					{
						newDisplayRule(childName, LoadDisplay((Object)(object)val), localPos, localAngles, localScale, flags),
						newDisplayRule(childName2, LoadDisplay((Object)(object)val), localPos2, localAngles2, localScale2, flags)