Change VariousDefOf to RsDefOf

Fix some IDE messages
This commit is contained in:
amevarashi 2023-04-17 16:34:35 +05:00
parent 8a48d2e463
commit 67c2328ad6
23 changed files with 196 additions and 162 deletions

View file

@ -291,7 +291,7 @@ namespace RJWSexperience.SexHistory
SexPartnerHistoryRecord newRecord = new SexPartnerHistoryRecord(partner, partner.IsIncest(ParentPawn));
histories.Add(partnerId, newRecord);
ParentPawn.records.Increment(VariousDefOf.SexPartnerCount);
ParentPawn.records.Increment(RsDefOf.Record.SexPartnerCount);
return newRecord;
}
@ -442,7 +442,7 @@ namespace RJWSexperience.SexHistory
defaultLabel = Keyed.RS_Sex_History,
icon = HistoryUtility.HistoryIcon,
defaultIconColor = HistoryUtility.HistoryColor,
hotKey = VariousDefOf.OpenSexStatistics,
hotKey = RsDefOf.KeyBinding.OpenSexStatistics,
action = () => UI.SexStatusWindow.ToggleWindow(this)
};
}