name: D/D
card_text: If this card is in your GY: You can Fusion Summon 1 "D/D/D" Fusion Monster from your Extra Deck, by banishing Fusion Materials mentioned on it from your GY, including this card. You can only use this effect of "D/D Necro Slime" once per turn.
external_ids: local SETCARD_ID_0 = 0x10af --D/D/D
  
lua: local SETCARD_ID_0 = 0x10af --D/D/D
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion summon
  	local e1 = FusionSpell.CreateSummonEffect(c, {
  		fusfilter = s.fusfilter,
  		pre_select_mat_location = LOCATION_GRAVE,
  		extra_target = s.extra_target,
  		mat_operation_code_map = {
  			{ [LOCATION_REMOVED] = FusionSpell.FUSION_OPERATION_GRAVE },
  			{ [0xff] = FusionSpell.FUSION_OPERATION_BANISH },
  		},
  		gc = s.gc,
  	})
  	e1:SetType(EFFECT_TYPE_IGNITION)
  	e1:SetRange(LOCATION_GRAVE)
  	e1:SetCountLimit(1, id)
  	c:RegisterEffect(e1)
  end
  
  function s.fusfilter(c)
  	return c:IsSetCard(SETCARD_ID_0)
  end
  
  function s.extra_target(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	local c = e:GetHandler()
  	Duel.SetOperationInfo(0, CATEGORY_REMOVE, c, 1, tp, LOCATION_GRAVE)
  end
  
  function s.gc(e)
  	return e:GetHandler()
  end
  
  
source_text: D/D
  If this card is in your GY: You can Fusion Summon 1 "D/D/D" Fusion Monster from your Extra Deck, by banishing Fusion Materials mentioned on it from your GY, including this card. You can only use this effect of "D/D Necro Slime" once per turn.
target_text: -- D/D
  local SETCARD_ID_0 = 0x10af --D/D/D
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion summon
  	local e1 = FusionSpell.CreateSummonEffect(c, {
  		fusfilter = s.fusfilter,
  		pre_select_mat_location = LOCATION_GRAVE,
  		extra_target = s.extra_target,
  		mat_operation_code_map = {
  			{ [LOCATION_REMOVED] = FusionSpell.FUSION_OPERATION_GRAVE },
  			{ [0xff] = FusionSpell.FUSION_OPERATION_BANISH },
  		},
  		gc = s.gc,
  	})
  	e1:SetType(EFFECT_TYPE_IGNITION)
  	e1:SetRange(LOCATION_GRAVE)
  	e1:SetCountLimit(1, id)
  	c:RegisterEffect(e1)
  end
  
  function s.fusfilter(c)
  	return c:IsSetCard(SETCARD_ID_0)
  end
  
  function s.extra_target(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	local c = e:GetHandler()
  	Duel.SetOperationInfo(0, CATEGORY_REMOVE, c, 1, tp, LOCATION_GRAVE)
  end
  
  function s.gc(e)
  	return e:GetHandler()
  end
  
  