mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
offset changer + fix for pawns off map
This commit is contained in:
parent
c13b3d793b
commit
c915b10e54
11 changed files with 163 additions and 21 deletions
|
@ -4,9 +4,10 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
|
||||
namespace Rimworld_Animations {
|
||||
public class Actor {
|
||||
public class Actor : IExposable {
|
||||
public List<string> defNames;
|
||||
public List<string> requiredGenitals;
|
||||
public List<AlienRaceOffset> raceOffsets;
|
||||
|
@ -18,5 +19,11 @@ namespace Rimworld_Animations {
|
|||
public bool controlGenitalAngle = false;
|
||||
public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
|
||||
public Vector3 offset = new Vector2(0, 0);
|
||||
|
||||
public Dictionary<string, Vector2> offsetsByDefName = new Dictionary<string, Vector2>();
|
||||
|
||||
public void ExposeData() {
|
||||
Scribe_Collections.Look(ref offsetsByDefName, "OffsetsSetInOptions", LookMode.Value, LookMode.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue