Deaadman / ItemRarities

A modification that gives each item within The Long Dark a sense of exclusivity.
https://tldmods.com/?q=itemrarities
MIT License
3 stars 5 forks source link

Fixed all the issues I could see with the code #4

Closed Arkhorse closed 1 year ago

Arkhorse commented 1 year ago

Remember to always instantiate GearItem's and immediately check if they are null Also, when getting panels, use InterfaceManager.GetPanel<PANELNAME>();. You can also call the panels stuff from that

Id also recommend not embedding the json file. That way you can use more fancy json code and even async (got examples if you need them)