hi all,
i try to make a simple mod offers me a helmet with light,so i could equip that light_helmet and mining(because we can hold only one tools or weapon at the same time). i read Echo's mod "walkinglight",and made a helmet wih light(Tkx Echo).But the function"get_wielded_item()" seems only retuen items in inventory,NOT the Equipment IN 3DARMOR's screen .so i can hold my light_helmet,i got walkinglight.But when i equip my light_helmet in 3darmro,i got not walkinglight.
i have read the page LuaEntitySAO, have there any function could retuen my equiped item in 3darmor?