A new page records items handed in (item, quantity, when, and from whom - a website account or a free-text name) and taken out (when, now or entered by hand, and optionally to whom). Stock is always computed from the movements, withdrawals can't exceed it, and a deposit can only be deleted once nothing of it has been taken out. Stock is shown as cards with the item picture and quantity, name and category below, plus search and a category filter; the history lists every movement with who entered it. The item list holds 2,301 weapons, armor pieces, accessories and consumables read from the Aion 2 wiki's MediaWiki API, with each item's icon downscaled to 128px under assets/images/warehouse/. It is loaded into the database on first visit and again whenever the JSON changes. Unknown names can be added as custom items after a confirmation, since the wiki lists no materials. warehouse.view and warehouse.manage are new permissions. Missing core permissions are now created automatically and granted to the Administrator group, and the two tables are created like the other schema additions. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
6.8 KiB
128x128px
6.8 KiB
128x128px