mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-20 15:41:01 +00:00
add qsb solanum controller
This commit is contained in:
parent
9ad260c081
commit
e2b5c167be
@ -11,6 +11,7 @@ namespace QSB.Animation.NPC
|
||||
{
|
||||
QSBWorldSync.Init<QSBCharacterAnimController, CharacterAnimController>();
|
||||
QSBWorldSync.Init<QSBTravelerController, TravelerController>();
|
||||
QSBWorldSync.Init<QSBSolanumController, NomaiConversationManager>();
|
||||
|
||||
//MOVE : this is the wrong place to put this... move it to Conversations?
|
||||
QSBWorldSync.OldDialogueTrees.Clear();
|
||||
|
11
QSB/Animation/NPC/WorldObjects/QSBSolanumController.cs
Normal file
11
QSB/Animation/NPC/WorldObjects/QSBSolanumController.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace QSB.Animation.NPC.WorldObjects
|
||||
{
|
||||
internal class QSBSolanumController : NpcAnimController<NomaiConversationManager>
|
||||
{
|
||||
public override CharacterDialogueTree GetDialogueTree()
|
||||
=> AttachedObject._characterDialogueTree;
|
||||
|
||||
public override bool InConversation()
|
||||
=> AttachedObject._solanumAnimController._animator.GetBool("ListeningToPlayer");
|
||||
}
|
||||
}
|
@ -44,6 +44,7 @@
|
||||
<Compile Include="Animation\NPC\WorldObjects\INpcAnimController.cs" />
|
||||
<Compile Include="Animation\NPC\WorldObjects\NpcAnimController.cs" />
|
||||
<Compile Include="Animation\NPC\WorldObjects\QSBCharacterAnimController.cs" />
|
||||
<Compile Include="Animation\NPC\WorldObjects\QSBSolanumController.cs" />
|
||||
<Compile Include="Animation\NPC\WorldObjects\QSBTravelerController.cs" />
|
||||
<Compile Include="Animation\Player\AnimationSync.cs" />
|
||||
<Compile Include="Animation\Player\AnimationType.cs" />
|
||||
@ -425,6 +426,7 @@
|
||||
<Version>2.0.0</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>md "$(OwmlDir)\Mods\$(ProjectName)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user