Skip to content

Commit

Permalink
Fix intermitent journal modifier failures.
Browse files Browse the repository at this point in the history
For some reason, this modifier is disabling facing in its own Burger
King type way. This apparently worked before, but, now that angles are
being exported correctly, this breaks things in game. So, don't export
any facing conditions at all.
  • Loading branch information
Hoikas committed Feb 18, 2024
1 parent 86ebb06 commit b67a1a6
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions korman/properties/modifiers/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,9 @@ def _create_pots_nodes(self, clickable_object, nodes, journalnode, age_name):
clickable_region = nodes.new("PlasmaClickableRegionNode")
clickable_region.region_object = self.clickable_region

facing_object = nodes.new("PlasmaFacingTargetNode")
facing_object.directional = False
facing_object.tolerance = math.degrees(-1)

clickable = nodes.new("PlasmaClickableNode")
clickable.find_input_socket("facing").allow_simple = False
clickable.link_input(clickable_region, "satisfies", "region")
clickable.link_input(facing_object, "satisfies", "facing")
clickable.link_output(journalnode, "satisfies", "bookClickable")
clickable.clickable_object = clickable_object

Expand All @@ -287,13 +283,9 @@ def _create_moul_nodes(self, clickable_object, nodes, journalnode, age_name):
clickable_region = nodes.new("PlasmaClickableRegionNode")
clickable_region.region_object = self.clickable_region

facing_object = nodes.new("PlasmaFacingTargetNode")
facing_object.directional = False
facing_object.tolerance = math.degrees(-1)

clickable = nodes.new("PlasmaClickableNode")
clickable.find_input_socket("facing").allow_simple = False
clickable.link_input(clickable_region, "satisfies", "region")
clickable.link_input(facing_object, "satisfies", "facing")
clickable.link_output(journalnode, "satisfies", "actClickableBook")
clickable.clickable_object = clickable_object

Expand Down

0 comments on commit b67a1a6

Please sign in to comment.