Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Assets/DevTools/CSV/CsvConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ BaseEntry previous
_modifications.Clear();

entry.Key = cells.Key();
entry.Scope = InteractionContext.InteractionScope;
entry.Scope = InteractionContext.GlobalScope;

if (cells.Triggers() != "") {
_triggers.AddRange(ParseReferences(cells.Triggers()));
Expand Down
8 changes: 6 additions & 2 deletions Assets/Interactions/Conversation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ private void Update() {
UpdateInteraction(PlayerType.LT);
UpdateInteraction(PlayerType.RT);
UpdateState();
UpdateBlackboard();
UpdateGizmo();
}

private void UpdateBlackboard() {
Blackboard.Set(InteractionContext.IsLTPresent, IsPresent(Players.LT));
Blackboard.Set(InteractionContext.IsRTPresent, IsPresent(Players.RT));
Blackboard.Set(InteractionContext.Initiator, Initiator);
Blackboard.Set(InteractionContext.Listener, Listener);

UpdateGizmo();
}

private void UpdateInteraction(PlayerType type) {
Expand Down Expand Up @@ -158,6 +160,8 @@ public void OnFocusEnter(PlayerController player) {
} else {
Listener = player.Fact;
}

UpdateBlackboard();
}

public void OnFocusExit(PlayerController player) {
Expand Down
34 changes: 17 additions & 17 deletions Assets/Typewriter/Tables/EntryGate.asset

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading