AJohn
2017-05-03 15:27:36 UTC
I have a problem that i have been trying to solve all day with no luck.
This is what i am trying to achieve:
Every time i touch a certain character, he should drop a piece of cheese.
The cheese looks like this:
The plural of cheese is pieces of cheese. cheese is a kind of food. The description of cheese is "A part of the moon.".
Wich allows for placement of an arbitrary amount of cheese anywhere, i.e "one cheese is in the kitchen."
And every time i touch the NPC, Alan, i want him to drop one cheese in the room he is in. To the effect of this: "one cheese is now at the location of Alan."
My whole command is:
Instead of touching Alan:
say "Alan drops some cheese";
one cheese is now at the location of Alan.
The error i get is:
I was trying to match this phrase:
(one cheese is now - rule) at (location of Alan - time)
I recognised:
location of Alan = an instruction to work out a room
But I didn't recognise 'one cheese is now'.
I have been trying every kind of permutation, and scoured the books and internet and i find not even a reference to this. How can i programatically add stuff?
I am at a loss, what am i missing here?
This is what i am trying to achieve:
Every time i touch a certain character, he should drop a piece of cheese.
The cheese looks like this:
The plural of cheese is pieces of cheese. cheese is a kind of food. The description of cheese is "A part of the moon.".
Wich allows for placement of an arbitrary amount of cheese anywhere, i.e "one cheese is in the kitchen."
And every time i touch the NPC, Alan, i want him to drop one cheese in the room he is in. To the effect of this: "one cheese is now at the location of Alan."
My whole command is:
Instead of touching Alan:
say "Alan drops some cheese";
one cheese is now at the location of Alan.
The error i get is:
I was trying to match this phrase:
(one cheese is now - rule) at (location of Alan - time)
I recognised:
location of Alan = an instruction to work out a room
But I didn't recognise 'one cheese is now'.
I have been trying every kind of permutation, and scoured the books and internet and i find not even a reference to this. How can i programatically add stuff?
I am at a loss, what am i missing here?