Again, i come to ask for some help !
This time it's to add slots in bones to keep armors when the player's inventory is full.
An idea on how to do this ? I've made this to help you to understand, i've changed the mtg mod bones:
Code: Select all
local bones_formspec =
"size[8,10]" ..
"list[current_name;main;0,0.3;8,4;]" ..
"list[current_player;main;0,5.85;8,1;]" ..
"list[current_player;craft;0,4.55;8,1;]"..
"list[current_player;main;0,7.08;8,3;8]" ..
"listring[current_name;main]" ..
"listring[current_player;main]" ..
default.get_hotbar_bg(0,5.85)