ModernUO/Projects/UOContent/Items/Skill Items
Kamron Batman 8ffd5a5bd0
fix: Updates races to properly support gargoyle equipment. (#744)
* Adds `RaceFlag` to the `Race` object. This is `1 << RaceIndex`
* Replaces `RequiredRace`  with `RequiredRaces` for items.
* Adds convenience flags for `RequiredRaces`
  ```cs
  
  public const int AllowAllRaces = 0x7;      // Race.Human.RaceFlag | Race.Elf.RaceFlag | Race.Gargoyle.RaceFlag
  public const int AllowHumanOrElves = 0x3;  // Race.Human.RaceFlag | Race.Elf.RaceFlag
  public const int AllowElvesOnly = 0x2;     // Race.Elf.RaceFlag
  public const int AllowGargoylesOnly = 0x4; // Race.Gargoyle.RaceFlag
  ```
* Example usage on an item:
  ```cs
  public override int RequiredRaces => Race.AllowHumanOrElves;
  ```
* Adds Wood and Stone armor material types
* Updates Woodland armor to Wood
* Adds proper messaging for race restrictions
* Adds gargoyle only for object properties
* Adds `CheckRace` functions for validating if a race or mobile can use the item:
  ```cs
  bool CheckRace(Race race);
  bool CheckRace(Mobile from, bool message = true);
  ```
2021-08-29 00:43:55 -07:00
..
Blacksmith Items/Misc fix(core): Fixes several serialization issues (#355) 2020-12-23 07:11:41 -08:00
Camping feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Carpenter Items feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Fishing feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Harvest Tools fix(core): Fixes several serialization issues (#355) 2020-12-23 07:11:41 -08:00
Lumberjack fix: Code gens items. Fixes code genning of ore (#684) 2021-08-14 22:16:42 -07:00
Magical fix(codegen): Fixes various code gen issues. Adds better embedded serialization support (#688) 2021-08-17 02:43:52 -07:00
Misc feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Musical Instruments feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Ninjitsu feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
Specialized feat(core): Makes spanwriter resizable (#376) 2020-12-31 19:57:02 -08:00
Tailor Items fix: Code gens items. Fixes code genning of ore (#684) 2021-08-14 22:16:42 -07:00
Thief cleanup: Fixes bugs and cleans up code (#660) 2021-07-19 20:49:59 -07:00
Tinkering fix(network): Adds ConnectUO (#551) 2021-03-15 14:14:33 -07:00
Tools fix: Updates races to properly support gargoyle equipment. (#744) 2021-08-29 00:43:55 -07:00