Пример #1
0
 public Quest(int _skillLevel, RequiredItem _item1, int _quantity1, RequiredItem _item2, int _quantity2, RequiredItem _item3, int _quantity3,
              RequiredItem _item4, int _quantity4, RequiredItem _item5, int _quantity5)
 {
     skillLevel = _skillLevel;
     item1      = _item1;
     quantity1  = _quantity1;
     item2      = _item2;
     quantity2  = _quantity2;
     item3      = _item3;
     quantity3  = _quantity3;
     item4      = _item4;
     quantity4  = _quantity4;
     item5      = _item5;
     quantity5  = _quantity5;
 }
Пример #2
0
 public ItemDatabase()
 {
     PynwoodLog = new RequiredItem("Pynwood Log", new List <string> {
         "To-Do"
     });
     LithistleLog = new RequiredItem("Lithistle Log", new List <string> {
         "To-Do"
     });
     ElmoreLog = new RequiredItem("Elmore Log", new List <string> {
         "To-Do"
     });
     WoodSap = new RequiredItem("Wood Sap", new List <string> {
         "All trees"
     });
     AbrasiveSpirit = new RequiredItem("Abrasive Spirit", new List <string> {
         "To-Do"
     });
     WhiteSpirit = new RequiredItem("White Spirit", new List <string> {
         "To-Do"
     });
     SealingSpirit = new RequiredItem("Sealing Spirit", new List <string> {
         "To-Do"
     });
 }