mirror of
https://github.com/FalloutCollaborationProject/FCP-Tools.git
synced 2026-07-27 16:59:37 -07:00
Refactors robot customization from apparel/equipment to hediff-driven body part overlays, adds a reusable upgrade dialog, and expands DefOf support for Protectron, Securitron, Mr. Handy, and Sentry Bot variants. Introduces manual power toggling, robot bed assignment/power-down behavior, new control modes (including Securitron guard point and Mr. Handy role-based work modes), and AI checks that respect fuel/power state and pending upgrade bench calls. Also adds new radiant quest nodes, improves settlement tile fallback logic, updates several workbench sizes/textures, and adds additional trader backstories.
30 lines
658 B
C#
30 lines
658 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace FCP.Core.Robotics
|
|
{
|
|
[DefOf]
|
|
public static class ThingDefOf_Robotics
|
|
{
|
|
[MayRequire("Rick.FCP.Robotics")]
|
|
public static ThingDef FCP_Building_RobotBed;
|
|
|
|
static ThingDefOf_Robotics()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ThingDefOf_Robotics));
|
|
}
|
|
}
|
|
|
|
[DefOf]
|
|
public static class ThingDefOf_SentryBot
|
|
{
|
|
[MayRequire("Rick.FCP.Robotics")]
|
|
public static ThingDef FCP_SentryBot;
|
|
|
|
static ThingDefOf_SentryBot()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ThingDefOf_SentryBot));
|
|
}
|
|
}
|
|
}
|