freeslot("MT_1128RING")

mobjinfo[MT_1128RING] = {
//$Name 1128 RING
//$Sprite RINGA0
doomednum = 4090,
spawnstate = S_RING,
radius = 16*FRACUNIT,
height = 32*FRACUNIT,
deathstate = S_SPRK1,
deathsound = sfx_s3kb3,
flags = MF_NOGRAVITY|MF_NOCLIPHEIGHT|MF_SPECIAL
}

addHook("MobjThinker", function(ring)
	if not (ring.scale == 4*FRACUNIT)
		ring.scale = 4*FRACUNIT
	end
end, MT_1128RING)

addHook("TouchSpecial", function(special, toucher)
	if toucher.valid and toucher.health
	and (toucher.player)
		P_GivePlayerRings(toucher.player, 1128)
	end
end, MT_1128RING)