lua command question
Posted: Sat Mar 05, 2016 12:21 am
not sure where this question belongs, hope this is the right forum.
i recently found out about the lua command and that you can spawn items in your inventory. is it possible to spawn multiple items at once?
for example; i want 100 copper plate and 100 iron plate. i am currently using 2 seperate commands for this;
/c game.local_player.insert{name='copper-plate', count=100}
/c game.local_player.insert{name='iron-plate', count=100}
it is possible to ask both items in 1 command?
i've tried to place several things in between like '' + '', the '' , '' and '' and '' but with no luck.
i recently found out about the lua command and that you can spawn items in your inventory. is it possible to spawn multiple items at once?
for example; i want 100 copper plate and 100 iron plate. i am currently using 2 seperate commands for this;
/c game.local_player.insert{name='copper-plate', count=100}
/c game.local_player.insert{name='iron-plate', count=100}
it is possible to ask both items in 1 command?
i've tried to place several things in between like '' + '', the '' , '' and '' and '' but with no luck.