예제 #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;
 }