为此,需要创建一个数组来保存关于武器的信息。
To do this, you'll create an array to hold information about the weapons.
在提交脚本后,需要将新装备添加到武器清单数组中,并且连同角色表一起保存数组。
When the script is submitted, we want to add the new item to an inventory array and save the array along with the character sheet.
然后遍历武器清单数组并创建新输入字段以保存装备。
Then we walk the inventory array and create new input fields to hold the items.
应用推荐