Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Each time "Jar of Greed" is activated, draw 1 card.
--瓶亀
--Jar Turtle
local s,id=GetID()
function s.initial_effect(c)
	--draw
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
	e1:SetCode(EVENT_CHAINING)
	e1:SetRange(LOCATION_MZONE)
	e1:SetOperation(s.regop)
	c:RegisterEffect(e1)
	local e2=Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
	e2:SetCode(EVENT_CHAIN_SOLVING)
	e2:SetProperty(EFFECT_FLAG_DELAY)
	e2:SetRange(LOCATION_MZONE)
	e2:SetOperation(s.drawop)
	c:RegisterEffect(e2)
end
s.listed_names={83968380}
function s.regop(e,tp,eg,ep,ev,re,r,rp)
	if re:GetHandler():IsCode(83968380) then
		e:GetHandler():RegisterFlagEffect(id,RESET_EVENT|RESETS_STANDARD|RESET_CHAIN,0,1)
	end
end
function s.drawop(e,tp,eg,ep,ev,re,r,rp)
	if e:GetHandler():GetFlagEffect(id)~=0 and re:GetHandler():IsCode(83968380) then
		Duel.Draw(tp,1,REASON_EFFECT)
	end
end