I've just started playing with C#; I did enough INI editing back in the day that XML isn't that scary but C, I'm having troubles with.
Not quite sure what I've done wrong; this is the assembly, did I screw something obvious up that I'm just not seeing? I can upload the XML / C# source file as well if that'll help. Thanks.
The Output Log gave me this: 'Could not resolve cross-reference: No Verse.ResearchProjectDef named MinigunTurret found to give to Verse.ThingDef MinigunTurretGun'
Not quite sure what I've done wrong; this is the assembly, did I screw something obvious up that I'm just not seeing? I can upload the XML / C# source file as well if that'll help. Thanks.
The Output Log gave me this: 'Could not resolve cross-reference: No Verse.ResearchProjectDef named MinigunTurret found to give to Verse.ThingDef MinigunTurretGun'
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine; // Always needed
using RimWorld; // Needed
using Verse; // Needed
namespace Verse
{
public static class ResearchModsSpecial1
{
public static void ElectricLoading()
{
DefDatabase<ThingDef>.GetNamed("Gun_MinigunTurret").verb.burstShotCount = 7;
}
}
}