Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
As long as this card remains face-up on your side of the field, neither player can activate an effect by discarding from his/her hand.
--強欲ゴブリン
--Goblin of Greed
local s,id=GetID()
function s.initial_effect(c)
	--discard limit
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
	e1:SetRange(LOCATION_MZONE)
	e1:SetTargetRange(1,1)
	e1:SetCode(EFFECT_CANNOT_DISCARD_HAND)
	e1:SetValue(1)
	c:RegisterEffect(e1)
end