fix: Delays getting item id of craftables until they are needed (#1114)
- [X] Fixes world loading for multi.mul. It was taking 10-15s, now takes 1s or less. - [X] Fixes loading the crafting system by offloading getting a label number to when the item needs it.
This commit is contained in:
parent
bd4e6fc30e
commit
9c374861d9
11 changed files with 64 additions and 97 deletions
|
|
@ -84,10 +84,8 @@ public class DefAlchemy : CraftSystem
|
|||
|
||||
public override void InitCraftList()
|
||||
{
|
||||
int index;
|
||||
|
||||
// Refresh Potion
|
||||
index = AddCraft(typeof(RefreshPotion), 1044530, 1044538, -25, 25.0, typeof(BlackPearl), 1044353, 1, 1044361);
|
||||
var index = AddCraft(typeof(RefreshPotion), 1044530, 1044538, -25, 25.0, typeof(BlackPearl), 1044353, 1, 1044361);
|
||||
AddRes(index, typeof(Bottle), 1044529, 1, 500315);
|
||||
index = AddCraft(
|
||||
typeof(TotalRefreshPotion),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue