#================NOTE=================#
#All code made by RRC for Horde Nights#
#==Liscense for use per Modrinth TOS==#
#================NOTE=================#

function h-nigh:ref/tick/events/festive_moon/gifting/mobs/spiders/spider

function h-nigh:ref/tick/events/festive_moon/gifting/mobs/zombies/drowned
function h-nigh:ref/tick/events/festive_moon/gifting/mobs/zombies/zombified_piglin

execute at @a[scores={h-nigh.time_since_slay=600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=1200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=1400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=1600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=1800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=2000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=2200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=2400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=2600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=2800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=3000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=3200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=3400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=3600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=3800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=4000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=4200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=4400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=4600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=4800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=5000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=5200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=5400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=5600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=5800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=6000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=6200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=6400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=6600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=6800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=7000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=7200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=7400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=7600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=7800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=8000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=8200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=8400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=8600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=8800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=9000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=9200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=9400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=9600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=9800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=10000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=10200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=10400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=10600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=10800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=11000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=11200}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=11400}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=11600}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=11800}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift
execute at @a[scores={h-nigh.time_since_slay=12000}] as @e[type=#h-nigh:generic_gifters,tag=h-nigh.mob,distance=..5] run loot spawn ~ ~1 ~ loot h-nigh:gameplay/festive/generic_gift