Jump to content

Inventary ring slot


Recommended Posts

#Solver

 

You need to edit inventorywindow.py:

 

  ## Equipment Slot

                {
                    "name" : "Equipment_Base",
                    "type" : "image",
 
                    "x" : 10,
                    "y" : 33,
 
                    "image" : "d:/ymir work/ui/equipment_bg_with_ring.tga",
 
                    "children" :
                    (
 
                        {
                            "name" : "EquipmentSlot",
                            "type" : "slot",
 
                            "x" : 3,
                            "y" : 3,
 
                            "width" : 150,
                            "height" : 182,
 
                            "slot" : (
                                        {"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
                                        {"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                        {"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
                                        {"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
                                        ## ? ??1
                                        {"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
                                        ## ? ??2
                                        {"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
                                        ## ? ??
                                        {"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
                                    ),
                        },

 
And change type to ITEM_RING. 
And thats all.
  • Love 1
Link to comment
Share on other sites

  • 3 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.