Versions / 0.6.0-pre.9 / Item / Items / Hypixel / Minigames / GunPvP / Weapon_Test_Sniper_Rifle.json
Weapon_Test_Sniper_Rifle
Server/Item/Items/Hypixel/Minigames/GunPvP/Weapon_Test_Sniper_Rifle.json, 1.8 KB
Fields
| Field | Type |
|---|---|
$Comment | string |
TranslationProperties | object |
Parent | string |
Quality | string |
Interactions | object |
Source
{
"$Comment": "Test item: a sniper variant of the assault rifle. Hold secondary to aim down a high-magnification scope (see Root_Test_Sniper_Rifle_ADS). Unlike the scoped rifle this is single-shot - RequireNewClick plus a long cooldown mean each Primary click fires one round, no full-auto.",
"TranslationProperties": {
"Name": "server.items.Weapon_Test_Sniper_Rifle.name",
"Description": "server.items.Weapon_Test_Sniper_Rifle.description"
},
"Parent": "Weapon_Assault_Rifle",
"Quality": "Developer",
"Interactions": {
"Primary": {
"$Comment": "RequireNewClick makes this single-shot (must release and re-click to fire again) and the long cooldown caps the fire rate, so holding Primary will not full-auto. BlockedBy is the default standard-input set minus Secondary, so a shot is allowed to run concurrently with the Secondary aim-down-sights chain instead of being blocked by it - the scope zoom never drops when firing.",
"RequireNewClick": true,
"Cooldown": {
"Id": "Shoot",
"Cooldown": 1.5
},
"Rules": {
"BlockedBy": [
"Primary",
"Ability1",
"Ability2",
"Ability3",
"Use",
"Pick",
"SwapFrom",
"SwapTo"
]
},
"Interactions": [
{
"Type": "ModifyInventory",
"RequiredGameMode": "Adventure",
"ItemToRemove": {
"Id": "Weapon_Arrow_Crude",
"Quantity": 1
},
"Next": {
"Parent": "Gun_Shoot",
"RunTime": 0,
"Effects": {
"LocalSoundEventId": "SFX_Rifle_Fire_Local",
"WorldSoundEventId": "SFX_Rifle_Fire"
}
},
"Failed": "Gun_Shoot_Fail"
}
]
},
"Secondary": "Root_Test_Sniper_Rifle_ADS"
}
}