servuo/Scripts/Services/CommunityCollections
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
..
CommunityCollectionNPCs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
BaseCollectionItem.cs Bug Fixes (#4837) 2020-08-31 17:54:54 -07:00
CollectionDecayTimer.cs No more this.stuff 2020-04-16 18:41:32 -07:00
CollectionItem.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
CollectionsSystem.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
CommunityCollectionGump.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
ConfirmRewardGump.cs A total convert of get return to => 2020-04-16 20:37:29 -04:00
ConfirmTransferPetGump.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
ICollection.cs Services Folder Cleanup (#4728) 2020-04-14 14:04:34 -04:00
MuseumDonationBox.cs A total convert of get return to => 2020-04-16 20:37:29 -04:00
RoyalZooDonationBox.cs A total convert of get return to => 2020-04-16 20:37:29 -04:00
SelectTitleGump.cs Bug Fixes 2020-09-21 09:53:44 -04:00