servuo/Scripts/Services/ExploringTheDeep/Mobiles
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
..
DiabolicalSeaweed.cs Changes (#4872) 2020-10-02 12:50:37 -07:00
Djinn.cs Cleanup 2020-09-18 10:59:33 -04:00
IceWyrm.cs - Revert recent changes to Assistants. (#4855) 2020-09-22 12:53:20 -07:00
MercutioTheUnsavory.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
ObsidianWyvern.cs - Revert recent changes to Assistants. (#4855) 2020-09-22 12:53:20 -07:00
OrcEngineer.cs Cleanup 2020-09-18 10:59:33 -04:00
Paralithode.cs Changes 2020-07-22 16:06:13 -04:00
RockMite.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
SalvageHookMonsters.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
SeaSnake.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
Shadowlord.cs Change (#4840) 2020-09-06 09:13:59 -07:00
ShipBat.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
ShipRat.cs Removes unneeded ints from the entire project. 2020-04-16 09:27:30 -04:00
TheMasterInstructor.cs - Revert recent changes to Assistants. (#4855) 2020-09-22 12:53:20 -07:00