diff --git a/worlds/luigismansion/Patching.py b/worlds/luigismansion/Patching.py index c733cc3c0de1..2d9a8c2f3acb 100644 --- a/worlds/luigismansion/Patching.py +++ b/worlds/luigismansion/Patching.py @@ -85,40 +85,39 @@ def update_event_info(event_info, boo_checks: bool): if x["EventNo"] == 65: x["disappear_flag"] = 10 - # Update the Washroom event trigger to be A-pressed based + # Update the Washroom event trigger to be area entry based # Also updates the event disappear trigger to be flag 28 + # Also updates the EventFlag to 0, so this event always plays if boo_checks and x["EventNo"] == 47: - x["pos_x"] = -1300.000000 + x["pos_x"] = -1625.000000 x["pos_y"] = 100.000000 - x["pos_z"] = -4161.000000 + x["pos_z"] = -4150.000000 + x["EventFlag"] = 0 x["disappear_flag"] = 28 - x["EventIf"] = 1 #TODO update to eventif 5 and then shrink the area to be right in front of doors, - #TODO then move the player slightly back the player doesnt meet criteria - x["EventArea"] = 800 + x["EventIf"] = 5 + x["EventArea"] = 380 x["EventLock"] = 1 x["PlayerStop"] = 1 x["EventLoad"] = 0 - # Update the King Boo event trigger to be A-pressed based + # Update the King Boo event trigger to be area entry based if boo_checks and x["EventNo"] == 16: - x["pos_x"] = 2250.000000 + x["pos_x"] = 2260.000000 x["pos_y"] = -450.000000 - x["pos_z"] = -4800.000000 - x["EventIf"] = 1 #TODO update to eventif 5 and then shrink the area to be right in front of doors, - #TODO then move the player slightly back the player doesnt meet criteria - x["EventArea"] = 800 + x["pos_z"] = -5300.000000 + x["EventIf"] = 5 + x["EventArea"] = 200 x["EventLock"] = 1 x["PlayerStop"] = 1 x["EventLoad"] = 0 - # Update the Balcony Boo event trigger to be A-pressed based + # Update the Balcony Boo event trigger to be area entry based if boo_checks and x["EventNo"] == 96: x["pos_x"] = 1800.000000 x["pos_y"] = 1200.000000 - x["pos_z"] = -2300.000000 - x["EventIf"] = 1 #TODO update to eventif 5 and then shrink the area to be right in front of doors, - #TODO then move the player slightly back the player doesnt meet criteria - x["EventArea"] = 800 + x["pos_z"] = -2600.000000 + x["EventIf"] = 5 + x["EventArea"] = 200 x["EventLock"] = 1 x["PlayerStop"] = 1 x["EventLoad"] = 0 @@ -142,9 +141,6 @@ def update_character_info(character_info, output_data): if x["create_name"] == "63_2": x["room_no"] = 63 - #TODO add new luigi spawn points near Washroom, Balcony, and King Boo to prevent doors from opening early. - #TODO update event after to warp luigi after to these new locations. - def update_observer_info(observer_info): for x in observer_info.info_file_field_entries: diff --git a/worlds/luigismansion/data/custom_events/event16.txt b/worlds/luigismansion/data/custom_events/event16.txt index 58a341603767..a317b1238cd0 100644 --- a/worlds/luigismansion/data/custom_events/event16.txt +++ b/worlds/luigismansion/data/custom_events/event16.txt @@ -1,12 +1,23 @@ + + + ({CountOne})({CountTwo})({CountThree})({CountFour})({CountFive}) "not_enough""not_enough""not_enough""not_enough""boos_captured""boos_captured" "not_enough" +(95) (0)(16) (3)You require {CountFive} boo(s) before\nyou can open this door... (0) +(2175.000000)(-550.000000)(-4600.000000)(20) + + + "boos_captured" (77) + + + \ No newline at end of file diff --git a/worlds/luigismansion/data/custom_events/event47.txt b/worlds/luigismansion/data/custom_events/event47.txt index 08a5cc1e2c51..bdc95bb61c74 100644 --- a/worlds/luigismansion/data/custom_events/event47.txt +++ b/worlds/luigismansion/data/custom_events/event47.txt @@ -1,12 +1,23 @@ + + + ({CountOne})({CountTwo})({CountThree})({CountFour})({CountFive}) "not_enough""not_enough""not_enough""not_enough""boos_captured""boos_captured" "not_enough" +(95) (0)(16) (3)You require {CountFive} boo(s) before\nyou can open this door... (0) +(-1040.000000)(100.000000)(-4150.000000)(20) + + + "boos_captured" (28) + + + \ No newline at end of file diff --git a/worlds/luigismansion/data/custom_events/event96.txt b/worlds/luigismansion/data/custom_events/event96.txt index eca1b9d30977..72eb1449d86b 100644 --- a/worlds/luigismansion/data/custom_events/event96.txt +++ b/worlds/luigismansion/data/custom_events/event96.txt @@ -1,12 +1,23 @@ + + + ({CountOne})({CountTwo})({CountThree})({CountFour})({CountFive}) "not_enough""not_enough""not_enough""not_enough""boos_captured""boos_captured" "not_enough" +(95) (0)(16) (3)You require {CountFive} boo(s) before\nyou can open this door... (0) +(1800.000000)(1200.000000)(-2100.000000)(20) + + + "boos_captured" (2) + + +