For example, I have a set of different directions running from my home to city A, b, C:
n, e, s, w, u, d <--- in this format
If I pull a cart north, there are two messages:
i) You pull a cart north <---- When I start
ii) You have pulled a cart north <---- Once I've done pulling and am in the next room.
How might I tackle this, to trigger cart pulling along the set of directions I provide, plus recognize I've moved into a new room and use the next available direction?
Would it be possible to store these dirs in a text file and read from them?
I'm guessing the solution is to somehow use the key order by putting the dirs in a lua table.
=================================
In summary:
-How to pull a cart, following the directions?
-How to switch the set of directions (cities)?
-And a way to stop and start, but still know which dir I'm up to?
================================
I'd also like to express my utmost gratitude for all those helpful people replying to my previous posts, I am very glad mushclient has such great technical support.
n, e, s, w, u, d <--- in this format
If I pull a cart north, there are two messages:
i) You pull a cart north <---- When I start
ii) You have pulled a cart north <---- Once I've done pulling and am in the next room.
How might I tackle this, to trigger cart pulling along the set of directions I provide, plus recognize I've moved into a new room and use the next available direction?
Would it be possible to store these dirs in a text file and read from them?
I'm guessing the solution is to somehow use the key order by putting the dirs in a lua table.
=================================
In summary:
-How to pull a cart, following the directions?
-How to switch the set of directions (cities)?
-And a way to stop and start, but still know which dir I'm up to?
================================
I'd also like to express my utmost gratitude for all those helpful people replying to my previous posts, I am very glad mushclient has such great technical support.