token lever change

mmheo

Member
Joined
Sep 14, 2017
Messages
90
Reaction score
1
anyone can help me in script change token for items
if 3 >>9970 add one items off >> 9971
if 4 >> 9971 add 1 >8310
tfs 0.4

token spot >>>>>>>>>> new items spot

bump

bump

bump

bump

???
if i put 4 items from 9970 change for 1 items 9970
anyone can help ?

?

guys if 5x token {9020} give me 1x token {2435}
 

Attachments

Last edited:

Discovery

Developing myself
Joined
Apr 16, 2010
Messages
387
Reaction score
86
Location
Neverland
Hello @mmheo .

First of all, take a look how to get help using another threads like reference(model).

I will help you when you explain details about your TFS version you're using.
For now:

TFS 1.x+, try to use

Tile(Position):getItemById(TOKEN_ID, -1)
Game.createItem(ITEM_ID_RESULT_OF_TOKEN, ITEM_COUNT, Position(X, Y, Z))


Thank you!
 
OP
mmheo

mmheo

Member
Joined
Sep 14, 2017
Messages
90
Reaction score
1
Hello @mmheo .

First of all, take a look how to get help using another threads like reference(model).

I will help you when you explain details about your TFS version you're using.
For now:

TFS 1.x+, try to use

Tile(Position):getItemById(TOKEN_ID, -1)
Game.createItem(ITEM_ID_RESULT_OF_TOKEN, ITEM_COUNT, Position(X, Y, Z))


Thank you!
im use 0.4
 
Top