John Willard
a0442ee002
Removes persistence of items through changing species when not allowed to ( #70008 )
...
* Removes persistence of species-restricted items through changing
Makes use of item's mob_can_equip instead of mob's can_equip, making it take the item's restrictions into account.
Also, fixes the inventory's color, so it's properly red when you can't equip such an item, by making it also use mob_can_equip.
Finally, expands the species clothing unit test to take that into account, to prevent it breaking in the future.
2022-09-21 10:32:33 -07:00
..
2022-09-21 01:30:04 -04:00
2022-09-21 10:16:30 -07:00
2022-09-03 11:52:54 -07:00
2022-09-16 19:27:08 -07:00
2022-09-13 12:58:43 +12:00
2022-09-21 01:30:04 -04:00
2022-09-06 02:53:46 -07:00
2022-09-07 17:49:24 -07:00
2022-09-15 22:31:26 -04:00
2022-09-21 01:30:04 -04:00
2022-09-17 20:32:39 -07:00
2022-09-21 10:32:33 -07:00
2022-09-21 01:30:04 -04:00
2022-09-09 08:24:52 -04:00
2022-09-04 09:10:48 +12:00
2022-09-21 01:30:04 -04:00
2022-09-04 15:58:38 -04:00
2022-09-13 12:25:54 -06:00
2022-09-21 10:07:41 -07:00
2022-09-04 15:46:04 -04:00
2022-09-18 23:27:08 -07:00
2022-09-02 13:30:51 +01:00
2022-09-03 11:52:54 -07:00
2022-09-06 23:04:33 -07:00
2022-09-02 09:59:57 +12:00
2022-09-21 01:30:04 -04:00
2022-09-21 10:32:33 -07:00
2022-09-18 19:10:12 -07:00
2022-09-03 22:17:32 -04:00
2022-09-11 20:27:34 -04:00
2022-09-15 22:53:44 -04:00
2022-09-04 15:53:22 -04:00
2022-09-21 01:30:04 -04:00
2022-09-21 01:30:04 -04:00
2022-09-06 02:53:46 -07:00
2022-09-21 01:30:04 -04:00
2022-09-21 10:07:41 -07:00
2022-09-14 23:51:06 -04:00
2022-09-20 02:36:46 -04:00
2022-09-15 08:32:09 -04:00
2022-09-04 16:05:10 -04:00
2022-09-21 01:30:04 -04:00
2022-09-07 11:21:50 -04:00
2022-09-03 11:52:54 -07:00
2022-09-21 10:32:33 -07:00
2022-09-18 14:02:13 -04:00
2022-09-19 19:53:50 -04:00
2022-09-09 12:02:32 +01:00