feat: add point currency and stage extended shop items

Rename shop currency and vouchers to points, synchronize the wiki catalogue, and display point rewards. Add wear40 item metadata transport and pet identity accessors; stage sixteen timed mounts and appearance items with AVA2 model registration.

Include build and sbtest acceptance evidence. Remaining shop systems are unfinished and are not enabled or deployed. Wear40 requires the matching server migration and mt20261022 client.
This commit is contained in:
shen
2026-10-19 18:30:19 -07:00
parent 7cba54f271
commit 6661b17084
25 changed files with 336 additions and 35 deletions
@@ -943,6 +943,24 @@ PyObject * playerGetItemCountByVnum(PyObject* poSelf, PyObject* poArgs)
return Py_BuildValue("i", ItemNum);
}
// PORT: AVA2 pet dialogs identify the saved item and display its custom name.
static bool PortItemPosition(PyObject* args,TItemPos& cell)
{
if(PyTuple_Size(args)==1)return PyTuple_GetInteger(args,0,&cell.cell);
if(PyTuple_Size(args)==2)return PyTuple_GetByte(args,0,&cell.window_type) && PyTuple_GetInteger(args,1,&cell.cell);
return false;
}
PyObject* playerGetItemID(PyObject*,PyObject* args)
{
TItemPos cell;if(!PortItemPosition(args,cell))return Py_BuildException();
return Py_BuildValue("I",CPythonPlayer::Instance().GetItemID(cell));
}
PyObject* playerGetItemNewName(PyObject*,PyObject* args)
{
TItemPos cell;if(!PortItemPosition(args,cell))return Py_BuildException();
return Py_BuildValue("s",CPythonPlayer::Instance().GetItemNewName(cell));
}
PyObject * playerGetItemMetinSocket(PyObject* poSelf, PyObject* poArgs)
{
TItemPos Cell;
@@ -2364,6 +2382,8 @@ void initPlayer()
{ "GetItemCount", playerGetItemCount, METH_VARARGS },
{ "GetItemCountByVnum", playerGetItemCountByVnum, METH_VARARGS },
{ "GetItemMetinSocket", playerGetItemMetinSocket, METH_VARARGS },
{ "GetItemID", playerGetItemID, METH_VARARGS },
{ "GetItemNewName", playerGetItemNewName, METH_VARARGS },
{ "GetItemAttribute", playerGetItemAttribute, METH_VARARGS },
#if defined(GAIDEN)
{ "GetItemUnbindTime", playerGetItemUnbindTime, METH_VARARGS },