servuo/Scripts/Services/CommunityCollections/CommunityCollectionNPCs
pyro17 bebc100d6c
Ranger Equipment fix, Additem delete (#5012)
* Ranger Equipment fix, Additem delete
- add parameter with default value to AddItem
- On Conflict, still log conflict, but delete the conflicting Item by default

- Delete the base boots of Rangers befor adding the new boots

* Updated Mobile Scripts

- went through all scripts to update them to SetWearable
- reverted change to AddItem

* Update to SetWearable

- last item being set will be worn (if no override to OnEquip returns false
- delete the item on the layer that is the same as the new item (if existend)
- used ifs to cap item.Movable, therefor no need to call to Random if <= 0 or >= 1

* Update base InitOutFit

- replaced the Additem for Backpack with SetWearable, Movable is getting set this way too
- altered the other SetWearable calls, to allow the items to be moved / dropped (as they should normally)

* Null reference sanity check.

Co-authored-by: Voxpire <admin@vita-nex.com>
2022-06-16 04:44:54 +01:00
..
Arabella.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
BaseCollectionMobile.cs Restructure (#4880) 2020-10-08 07:23:53 -07:00
Bonnie.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Corey.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Enrico.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Filbert.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Joy.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Margo.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Odell.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Sam.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Talbart.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Xanthe.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Zorda.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00