execute on target unless score @s quest matches 2 unless score @s questtrigger matches 1.. run function ws:misc/quest/terrorist/vars
execute on target unless score @s quest matches 2 if score @s questtrigger matches 1.. if entity @s[nbt=!{Inventory:[{components:{"minecraft:custom_data":{grenade:1}}}]}] run function ws:misc/quest/terrorist/lostgrenade
execute if score @s terrorist.grenadecd matches 1.. on target if score @s quest matches 2 if entity @s[nbt={Inventory:[{components:{"minecraft:custom_data":{darknet:1}}}]}] run function ws:misc/quest/terrorist/later
execute if score @s terrorist.grenadecd matches 1.. on target if score @s quest matches 2 if entity @s[nbt=!{Inventory:[{components:{"minecraft:custom_data":{darknet:1}}}]}] run function ws:misc/quest/terrorist/getdarknet
execute unless score @s terrorist.grenadecd matches 1.. on target if score @s quest matches 2 run function ws:misc/quest/terrorist/getgrenade