Aller au contenu

Photo

Why doesn't this work?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Kossith123

Kossith123
  • Members
  • 96 messages

Can someone explain how this isn't working?

 

How it's meant to work;

 

To mine an iron vein, you need to be level 4 and have at least an iron toolbelt. Anything above iron counts as well.

 

If you are level 4 and not the toolbelt, you get asked to have the appropriate toolbelt,

 

If you have the toolbelt and not the level, you get asked to have the appropriate level.

 

If you don't have both, you get asked to get both before mining.

 

--

 

The error I'm getting;

 

It will ask both if you don't have both.

 

I equip a Runite toolbelt (is acceptable), and I'm level 1, and it skips the check_level.

 

To actually mine the ore, I need level 4 and the appropriate toolbelt. But it's allowing me to mine with only 1 out of 2 requirements.

 

--

 

Pics;

 

http://puu.sh/cXMvY/67344e67d3.png

http://puu.sh/cXMwP/093d8b9259.png

http://puu.sh/cXMxU/a4f9389d55.png

http://puu.sh/cXMyA/b46787f480.png



#2
Dann-J

Dann-J
  • Members
  • 3 161 messages

 

If you are level 4 and not the toolbelt, you get asked to have the appropriate toolbelt,

 

If you have the toolbelt and not the level, you get asked to have the appropriate level.

 

If you don't have both, you get asked to get both before mining.

 

 

Those would require multiple AND conditions in each conversation node:

 

[level > 3] AND [has item in slot] = "Mine successfully"

[level > 3] AND [not has item in slot] = "You need a belt"

[level < 4] AND [has item in slot] = "Your level is too low"

[level < 4] AND [not has item in slot] = "Your level is too low, and you need a belt"


  • Kossith123 aime ceci