コード例 #1
0
        private static void addPrisonMoodlets(Pawn torturer, Pawn victim)
        {
            victim.records.Increment(Constants.HorrificMemories);
            if (PawnHelper.is_bloodlust(torturer) || PawnHelper.is_psychopath(torturer))
            {
                addMemory(torturer, WoohooColonist);
            }
            else if (PawnHelper.is_kind(torturer))
            {
                addMemory(torturer, WoohooColonistRegret);
            }
            else
            {
                addMemory(torturer, WoohooNeutral);
            }


            if (PawnHelper.is_masochist(victim))
            {
                addMemory(victim, MasochistPrisonerWoohoo);
                addMemoryOfOther(victim, MasochistPrisonerWoohooMemory, torturer);
            }
            else
            {
                addMemory(victim, PrisonerWoohoo);
                if (PawnHelper.is_psychopath(victim) || PawnHelper.is_bloodlust(victim))
                {
                    addMemoryOfOther(victim, WoohooNeutral, torturer);
                }
                else
                {
                    addMemoryOfOther(victim, PrisonerWoohooMemory, torturer);
                }
            }
        }
コード例 #2
0
 private static bool isKinky(Pawn pawn)
 {
     return(PawnHelper.is_bloodlust(pawn) || PawnHelper.is_psychopath(pawn) || PawnHelper.is_masochist(pawn));
 }