Patashu / Baba-Is-You-Patashu-s-Mods

A mod for Baba Is You that adds new rules.
3 stars 0 forks source link

anticipating future merge conflicts with cg5's mods #23

Open Patashu opened 5 years ago

Patashu commented 5 years ago

problem 1: portal/wrap re-uses ox/oy as the portal/wrap offset (dx/dy), so it's no longer a reliable source of direction-including-diagonals.

solution 1: I think we just have to store ox/oy AND dx/dy. more parameters ahoy! either that or make dir 'direction-including-diagonals' and make sure it's never interpreted literally by the game. I also have to be aware of the fact that portals adjust your direction.

problem 2: the text parsing mods have their own structure for storing extra information about rules.

solution 2: my own information for sent/received rules will have to be moved to that structure.

problem 3:

4:12 PM] cg5: Also condition stacking and the parser rewrite is nontrivial [4:14 PM] cg5: I can think of a pretty easy way to do it but the operator precedence will be different from what it already is in lily's pack.

solution 3: cg5 helps with this maybe?