#ifdef NEW_COSTUME_SOCKET_RING
PyModule_AddIntConstant(poModule, "EQUIPMENT_RING_SOCKET", c_Equipment_Ring);
#endif
bu kodu pythonitemmodule.cpp de
PyModule_AddIntConstant(poModule, "EQUIPMENT_SHIELD", c_Equipment_Shield);
bunun altına ekle pack tarafında ındexle ugrasma direk equipment olarak çek
örnek böyle
{
"name" : "Secondary_Base",
"type" : "expanded_image",
"x" : 10,
"y" : 51,
"image" : "d:/ymir work/ui/inventory_buttons/eq_secondary_page_v2.jpg",
"children" :
(
{
"name" : "SecondarySlot",
"type" : "slot",
"x" : 3,
"y" : 3,
"width" : 150,
"height" : 182,
"slot" : (
{"index":item.EQUIPMENT_RING_SOCKET, "x":59, "y":15, "width":32, "height":32}, # Üst merkez
{"index":item.EQUIPMENT_RING_SOCKET22, "x":105, "y":45, "width":32, "height":32}, # Sağ üst
{"index":item.EQUIPMENT_RING_SOCKET3, "x":105, "y":85, "width":32, "height":32}, # Sağ alt
{"index":item.EQUIPMENT_RING_SOCKET4, "x":59, "y":115, "width":32, "height":32}, # Alt merkez
{"index":item.EQUIPMENT_RING_SOCKET5, "x":13, "y":85, "width":32, "height":32}, # Sol alt
{"index":item.EQUIPMENT_RING_SOCKET6, "x":13, "y":45, "width":32, "height":32}, # Sol üst
),
},