Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

items update mob overlays with a specific proc

Open kyunkyunkyun opened this issue 3 weeks ago • 0 comments

What Does This PR Do

replaces update_slot_icon() with update_mob_overlay() which covers every currently existing item slots adjusts get_slot_by_item() with missing slots on each mob type adds update_worn_overlays() mob proc to update specific overlays based on their bitflags replaces most update_inv_ procs used by items with update_mob_overlay() removes update_inv_ procs where they are redundant, like used after equip procs that are calling the same update_inv or qdel that is calling unequip, which is also calling update_inv add/clean_blood procs on /item level now also call for update_mob_overlays

removes wear_mask_update() - it's an old proc that is mostly irrelevant now (i kept the update_tint() from it where it used to be) renames inhand icon states for custom (donator) pai/drones so they match their icon_state

Why It's Good For The Game

easier to implement, read, maintain

Testing

tested some items (they all handle update in the same way), two_handed component, add/clean_blood procs, hardsuits, drone holders nothing should change from player perspective

Declaration

  • [x] I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

kyunkyunkyun avatar Dec 03 '25 12:12 kyunkyunkyun