## Duplicate baby pigs
execute store result score @s vb.dummy1 run data get entity @s Age
execute store result score @s vb.dummy2 run random value 1..100
execute if entity @s[nbt={variant:"minecraft:temperate"}] if score @s vb.dummy2 matches ..70 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:temperate",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:temperate"}] if score @s vb.dummy2 matches ..40 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:temperate",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:temperate"}] if score @s vb.dummy2 matches ..3 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:temperate",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:cold"}] if score @s vb.dummy2 matches ..70 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:cold",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:cold"}] if score @s vb.dummy2 matches ..40 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:cold",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:cold"}] if score @s vb.dummy2 matches ..3 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:cold",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:warm"}] if score @s vb.dummy2 matches ..70 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:warm",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:warm"}] if score @s vb.dummy2 matches ..40 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:warm",Age:-24000,Tags:["vb.loaded"]}
execute if entity @s[nbt={variant:"minecraft:warm"}] if score @s vb.dummy2 matches ..3 if score @s vb.dummy1 matches ..-23999 run summon pig ~ ~ ~ {variant:"minecraft:warm",Age:-24000,Tags:["vb.loaded"]}