Page 1 of 1

[cube][0.11.1] Shift-clicking munition into car

Posted: Mon Nov 03, 2014 4:58 am
by Nova
I can't shift-click ammunition (like cannon shells) from my inventory into the car inventory. I think the game wants to place it into a non-existent ammuntion slot and then aborts.

Re: [0.11.1] Shift-clicking munition into car

Posted: Mon Nov 03, 2014 5:26 am
by xnmo
I thought you used ctrl-click?

Re: [0.11.1] Shift-clicking munition into car

Posted: Mon Nov 03, 2014 10:57 am
by bobingabout
xnmo wrote:I thought you used ctrl-click?
Shift click = clicked stack
CTRL click = all items of type clicked

LMB with the click = ALL in the stack/type
RMB with the click = HALF in the stack/type

Re: [cube][0.11.1] Shift-clicking munition into car

Posted: Wed Nov 12, 2014 11:18 am
by cube
Nova wrote:I can't shift-click ammunition (like cannon shells) from my inventory into the car inventory. I think the game wants to place it into a non-existent ammuntion slot and then aborts.
This is weird. I was specifically programming this thing and it works for me now... Can you describe the exact scenario?

What works for me:
1) Make new game
2) Obtain tank (/c game.players[1].insert{name="tank", count=1}), place it
3) Enter the tank
4) Obtain ammo (/c game.player.insert{name="cannon-shell", count=1000})
5) Open inventory (e)
6) Shift-click the ammo in inventory.

Re: [cube][0.11.1] Shift-clicking munition into car

Posted: Wed Nov 12, 2014 11:22 am
by cube
Ok, so this was already solved by slpwnd.... :-)