Пример #1
0
        public MLItem GetItem(IVariable raw)
        {
            string name = raw.GetValue();

            this.isEnded = raw.isEnd();
            if (isVanilla)
            {
                return(new VItem(name));
            }
            MLItem item = new MLItem(ModContent.Find <ModItem>(this.Value.Name, name));

            item.isEnded = this.isEnded;
            return(item);
        }
Пример #2
0
 public void Add(MLItem item)
 {
     Value.Add(item);
 }
Пример #3
0
 public MLRemove(MLItem item)
 {
     Value = item;
 }
Пример #4
0
 public MLRemove()
 {
     Value = null;
 }
Пример #5
0
 public MLRecipe(MLItem item)
 {
     this.Value = item;
 }