Skip to content

Commit

Permalink
fix door at P-2
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed Mar 13, 2024
1 parent 276ae2a commit e277841
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Jaket/World/World.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ public static void Load()
{
obj.GetComponent<ObjectActivator>().events.toActivateObjects[4] = null;
}),
StaticAction.Find("Level P-2", "FightActivator", new(-102f, -61.25f, -450f), obj =>
{
var act = obj.GetComponent<ObjectActivator>();
act.events.onActivate = new(); // gothic door
act.events.toActivateObjects[2] = null; // wall collider
act.events.toDisActivateObjects[1] = null; // entry collider
act.events.toDisActivateObjects[2] = null; // elevator
}),
// move the death zone, because entities spawn at the origin
StaticAction.Find("Endless", "Cube", new(-40f, 0.5f, 102.5f), obj => obj.transform.position = new(-40f, -10f, 102.5f)),

Expand Down

0 comments on commit e277841

Please sign in to comment.