Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the FBI Profession #76068

Merged
merged 88 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
7d2fc06
Update coats.json
DukePaulAtreid3s Aug 28, 2024
4f305e6
Update hats.json
DukePaulAtreid3s Aug 28, 2024
97cccb8
Update jewelry.json
DukePaulAtreid3s Aug 28, 2024
019e564
Update professions.json
DukePaulAtreid3s Aug 29, 2024
59db185
Merge branch 'CleverRaven:master' into master
DukePaulAtreid3s Aug 30, 2024
9735c35
Update ballistic_armor.json
DukePaulAtreid3s Aug 30, 2024
88ebee6
Update professions.json
DukePaulAtreid3s Aug 30, 2024
7a0b15e
Update professions.json
DukePaulAtreid3s Aug 30, 2024
67e3e02
Update mutations.json
DukePaulAtreid3s Aug 30, 2024
960c29d
Update professions.json
DukePaulAtreid3s Aug 30, 2024
fd13427
Update professions.json
DukePaulAtreid3s Aug 31, 2024
0a7eac4
Update professions.json
DukePaulAtreid3s Aug 31, 2024
d0c7109
Update coats.json
DukePaulAtreid3s Aug 31, 2024
f42264a
Update jewelry.json
DukePaulAtreid3s Aug 31, 2024
d14de9f
Update jewelry.json
DukePaulAtreid3s Aug 31, 2024
02f67a3
Update ballistic_armor.json
DukePaulAtreid3s Aug 31, 2024
279de08
Update hats.json
DukePaulAtreid3s Aug 31, 2024
2274524
Update data/json/professions.json
DukePaulAtreid3s Aug 31, 2024
a4d73e8
fix call for incorrect item ID
DukePaulAtreid3s Aug 31, 2024
904d4f1
Fix formatting errors
DukePaulAtreid3s Aug 31, 2024
c3a9b2c
Fix formatting errors
DukePaulAtreid3s Aug 31, 2024
7f74fe1
Update professions.json
DukePaulAtreid3s Aug 31, 2024
294a3fd
A comma for a comma
DukePaulAtreid3s Aug 31, 2024
c340e2a
manual linting is hell
DukePaulAtreid3s Aug 31, 2024
a40722d
This feels like picking Oakum
DukePaulAtreid3s Aug 31, 2024
bc60b3c
Or like one of those medieval monks transcribing books 10 hours a day.
DukePaulAtreid3s Aug 31, 2024
d09c063
Update professions.json
DukePaulAtreid3s Aug 31, 2024
8c84c6a
Update mutations.json
DukePaulAtreid3s Aug 31, 2024
c55fc32
Update jewelry.json
DukePaulAtreid3s Aug 31, 2024
0e11a77
Update data/json/items/armor/ballistic_armor.json
DukePaulAtreid3s Aug 31, 2024
c14bd3e
MOLLE, my most trustiest of MULEs!
DukePaulAtreid3s Aug 31, 2024
1c73169
Why are we still here?
DukePaulAtreid3s Aug 31, 2024
8fe00d8
Just to suffer?
DukePaulAtreid3s Aug 31, 2024
cdcedec
My arms, my legs, even my fingers!
DukePaulAtreid3s Aug 31, 2024
3051cdc
The nightmares, they're over!
DukePaulAtreid3s Aug 31, 2024
9d74c12
Update professions.json
DukePaulAtreid3s Aug 31, 2024
cf89a2f
Update mutations.json
DukePaulAtreid3s Aug 31, 2024
28dae23
Update ballistic_armor.json
DukePaulAtreid3s Aug 31, 2024
a1c047e
Done for realsies
DukePaulAtreid3s Aug 31, 2024
8def722
The actual 100% real not clickbait final commit
DukePaulAtreid3s Aug 31, 2024
c21ebeb
The final 110% final real no cap not clickbait real true secret endin…
DukePaulAtreid3s Aug 31, 2024
9f8c7f4
Update data/json/items/armor/hats.json
DukePaulAtreid3s Aug 31, 2024
b05d8d6
Silly Hyphen
DukePaulAtreid3s Aug 31, 2024
f7bb567
Update mutations.json
DukePaulAtreid3s Aug 31, 2024
3d49ccc
Update coats.json
DukePaulAtreid3s Aug 31, 2024
887f793
Follow Holli's adivce (thanks Holli :D)
DukePaulAtreid3s Sep 1, 2024
c9efba6
Glock 19 MOS
DukePaulAtreid3s Sep 1, 2024
51f6bd2
Fixed continuity error
DukePaulAtreid3s Sep 1, 2024
d9e7762
Add jacket and hat to costumes
DukePaulAtreid3s Sep 1, 2024
2b5581f
Holli's Advice 2
DukePaulAtreid3s Sep 1, 2024
890796e
Halloween Costume
DukePaulAtreid3s Sep 1, 2024
0d59b84
Holli's Advice 3: The Holli-day Spirit!
DukePaulAtreid3s Sep 1, 2024
4be4687
Add MOS to the police amory
DukePaulAtreid3s Sep 1, 2024
bfa9ff7
19 MOS as rare cop drop
DukePaulAtreid3s Sep 1, 2024
98e870c
Update professions.json
DukePaulAtreid3s Sep 1, 2024
9f935f2
No free guns for you :P
DukePaulAtreid3s Sep 1, 2024
742ae97
Can't forget your sunnies!
DukePaulAtreid3s Sep 1, 2024
ada2f62
Update data/json/vehicles/emergency.json
DukePaulAtreid3s Sep 1, 2024
1acd0a7
Update data/json/vehicles/emergency.json
DukePaulAtreid3s Sep 1, 2024
5cf33c6
I'm not sure you're correct on this, review dog, but ok
DukePaulAtreid3s Sep 1, 2024
7e5c730
You are very strange, review dog, very strange indeed
DukePaulAtreid3s Sep 1, 2024
7014a58
comma comma comma chameleon
DukePaulAtreid3s Sep 1, 2024
38500e3
comma comma comma comma chameleon
DukePaulAtreid3s Sep 1, 2024
c1974d5
Update coats.json
DukePaulAtreid3s Sep 1, 2024
a30c6e3
Update 9mm.json
DukePaulAtreid3s Sep 1, 2024
539d893
Update clothing_halloween.json
DukePaulAtreid3s Sep 1, 2024
38a7699
Update guns.json
DukePaulAtreid3s Sep 1, 2024
4e396d0
Update coats.json
DukePaulAtreid3s Sep 1, 2024
c787df3
I like your words, funny magic man
DukePaulAtreid3s Sep 1, 2024
1aeb325
Update data/json/items/armor/coats.json
DukePaulAtreid3s Sep 1, 2024
8380b25
Update police_armory.json
DukePaulAtreid3s Sep 1, 2024
d927073
Update guns.json
DukePaulAtreid3s Sep 1, 2024
8fd7703
Update data/json/itemgroups/Weapons_Mods_Ammo/arsenal/police_armory.json
DukePaulAtreid3s Sep 1, 2024
68d1cd0
Update guns.json
DukePaulAtreid3s Sep 1, 2024
50a9013
Update guns.json
DukePaulAtreid3s Sep 1, 2024
a53d1a9
Update guns.json
DukePaulAtreid3s Sep 1, 2024
cf07e81
Update professions.json
DukePaulAtreid3s Sep 1, 2024
76c75b0
Update police_armory.json
DukePaulAtreid3s Sep 1, 2024
eafcf5e
Update emergency.json
DukePaulAtreid3s Sep 1, 2024
0d47d87
No more car
DukePaulAtreid3s Sep 1, 2024
e708fe1
Update professions.json
DukePaulAtreid3s Sep 1, 2024
830c1de
Magfix
DukePaulAtreid3s Sep 1, 2024
7ba4801
Who fixes the magfix?
DukePaulAtreid3s Sep 1, 2024
6359745
LINT
DukePaulAtreid3s Sep 2, 2024
a6a335b
Update coats.json
DukePaulAtreid3s Sep 2, 2024
b80d0c2
There are no capital letters in IDs
DukePaulAtreid3s Sep 2, 2024
3a78980
Update professions.json
DukePaulAtreid3s Sep 2, 2024
d4cac45
I don't know why you decided to unlint but ok
DukePaulAtreid3s Sep 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/json/itemgroups/Clothing_Gear/costumes.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{
"type": "item_group",
"id": "costume_cloacks",
"//": "cloacks for costumes, cosplay and costume parties",
"//": "cloaks for costumes, cosplay and costume parties",
"subtype": "distribution",
"entries": [
{ "item": "cloak_vampire", "prob": 25 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
{ "item": "glock_19" },
{ "item": "glock_19", "prob": 50 },
{ "item": "glock_19", "prob": 25 },
{ "item": "glock_19", "variant": "glock_19_cop", "contents-item": [ "red_dot_sight" ], "prob": 15 },
{ "item": "glockmag", "count": [ 1, 4 ] },
{ "group": "police_armory_full_glockmag_9mm", "count": [ 0, 4 ] },
{ "group": "police_armory_full_glockmag_9mmfmj", "count": [ 0, 4 ] },
Expand Down
7 changes: 7 additions & 0 deletions data/json/itemgroups/Weapons_Mods_Ammo/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,13 @@
"id": "sidearms_cop",
"items": [
{ "item": "glock_19", "prob": 15, "charges": [ 0, 15 ] },
{
"item": "glock_19",
"variant": "glock_19_cop",
"prob": 2,
"contents-item": [ "red_dot_sight" ],
"charges": [ 0, 15 ]
},
{ "item": "glock_22", "prob": 20, "ammo-item": "40sw", "charges": [ 0, 15 ] },
{ "item": "m9", "variant": "m9", "prob": 5, "charges": [ 0, 15 ] },
{ "item": "sig_40", "prob": 20, "charges": [ 0, 12 ] },
Expand Down
9 changes: 9 additions & 0 deletions data/json/items/armor/ballistic_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,15 @@
}
]
},
{
"id": "fbi_armor_vest",
"type": "ARMOR",
"copy-from": "soft_3a_vest",
"name": { "str": "FBI ballistic vest" },
"//": "Based on the exact model; https://www.tyrtactical.com/shop/tyr-tactical-male-epic-federal-outer-carrier/",
"description": "A ranger green soft ballistic vest with MOLLE rigging used by federal law enforcement agencies. Soft armor plates inside the vest provide solid defense against shrapnel and small-caliber rounds. \"FBI\" is emblazoned across the front and back in large, yellow lettering, and it includes a pocket for storing evidence. Use it to attach or detach pouches.",
"use_action": [ { "type": "attach_molle", "size": 6 }, { "type": "detach_molle" } ]
},
{
"id": "level_3_vest",
"type": "ARMOR",
Expand Down
12 changes: 11 additions & 1 deletion data/json/items/armor/coats.json
DukePaulAtreid3s marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,17 @@
"warmth": 10,
"material_thickness": 0.25,
"environmental_protection": 2,
"flags": [ "VARSIZE", "POCKETS", "HOOD", "OUTER", "RAINPROOF" ]
"flags": [ "VARSIZE", "POCKETS", "HOOD", "OUTER", "RAINPROOF" ],
"variant_type": "generic",
"variants": [
{
"id": "windbreaker_fbi",
"name": { "str": "FBI raid jacket" },
"description": "A distinctive deep blue windbreaker with \"FBI\" emblazoned on the left breast, on the sides of the sleeves, and across the back in large, yellow lettering. It is only issued to FBI field agents, preventing misidentification.",
"color": "blue",
"weight": 0
}
]
},
{
"id": "jacket_varsity",
Expand Down
6 changes: 6 additions & 0 deletions data/json/items/armor/hats.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,12 @@
"name": { "str": "trucker cap" },
"description": "A cotton cap with a broad front and a plastic mesh at the back, allowing better air circulation. The trucker hat came about in it's true form in the early 1970's as a promotional give-away from US feed or farming supply companies to farmers, truck drivers (hence the name) and other rural workers. It is perfect for keeping your head cool and the sun out of your eyes.",
"weight": 2
},
{
"id": "hat_fbi",
"name": { "str": "FBI cap" },
"description": "A deep blue snapback baseball cap with \"FBI\" embroidered across the front in blocky, yet imposing yellow lettering. Although very much illegal to impersonate a government official, most zombies tend to let it slide. It shades your eyes from the sun, provides a little warmth, and makes you feel like an operator.",
"weight": 0
}
]
},
Expand Down
7 changes: 7 additions & 0 deletions data/json/items/armor/jewelry.json
Original file line number Diff line number Diff line change
Expand Up @@ -2010,6 +2010,13 @@
"name": { "str": "SWAT badge" },
"description": "A matte-finish silver shield identifies the wearer as an authority who goes in when the cops just aren't enough."
},
{
"id": "badge_fbi",
"copy-from": "badge_abstract",
"type": "ARMOR",
"name": { "str": "FBI badge" },
"description": "A gold-filled brass shield with an eagle perched atop it and Lady Justice emblazoned on its center. In large, engraved lettering it reads, \"FEDERAL BUREAU OF INVESTIGATION-US DEPARTMENT OF JUSTICE\". It identifies the wearer as an agent with federal authority throughout all the United States and her territories; that is, whatever is left of them."
},
{
"id": "badge_doctor",
"copy-from": "badge_abstract",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/40.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type": "GUN",
"reload_noise_volume": 10,
"name": { "str_sp": "Glock 22" },
"description": "A .40 S&W variant of the popular Glock 17 pistol. The standard-issue firearm of the FBI and of countless other law enforcement agencies worldwide.",
"description": "A .40 S&W variant of the popular Glock 17 pistol. The standard-issue firearm of the FBI from 1997-2016, and of countless other law enforcement agencies worldwide.",
"ascii_picture": "glock_17",
"weight": "645 g",
"volume": "433 ml",
Expand Down
6 changes: 6 additions & 0 deletions data/json/items/gun/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
"id": "glock_19",
"name": { "str": "Glock 19 pistol" },
"description": "Possibly the most popular pistol in existence, the Glock 19 can be summed up as being fundamentally a more compact brother to the full-sized Glock 17 pistol. Sporting a mainly polymer-based design, the Glock 19 is often derided for its plastic construction which lends the handgun a deceptively flimsy feel. Even so, the Glock 19 remains both a remarkably reliable firearm and a quite shootable gun in its own right."
},
{
"id": "glock_19_cop",
"name": { "str": "Glock 19M MOS" },
"description": "A close relative to the stock Glock 19, this all-black pistol features a specialized mount for a red dot sight, extended mag release, and a 4.02-inch Marksman barrel. It is most commonly used by law enforcement, and is the current standard-issue sidearm of the FBI.",
"weight": 0
}
],
"ascii_picture": "glock_19",
Expand Down
37 changes: 37 additions & 0 deletions data/json/monsterdrops/clothing_halloween.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
{ "group": "grim_reaper_costume_unisex", "prob": 35 },
{ "group": "clown_costume_unisex", "prob": 25 },
{ "group": "army_costume_unisex", "prob": 20 },
{ "group": "fbi_costume_unisex", "prob": 15 },
{ "group": "chef_costume_unisex", "prob": 20 },
{ "group": "leather_jacket_costume_unisex", "prob": 15 },
{ "group": "cowboy_costume_unisex", "prob": 25 },
Expand Down Expand Up @@ -1073,6 +1074,42 @@
}
]
},
{
"id": "fbi_costume_unisex",
"type": "item_group",
"//": "For use in halloween as a set of zombie cloth drops for fbi zombies",
"subtype": "distribution",
"entries": [
{
"collection": [
{ "item": "hat_ball", "variant": "hat_fbi", "prob": 95, "damage": [ 1, 4 ] },
{ "item": "jacket_windbreaker", "variant": "windbreaker_fbi", "damage": [ 1, 4 ] },
{ "item": "tie_clipon", "prob": 70, "damage": [ 1, 4 ] },
{ "item": "sunglasses", "prob": 70, "damage": [ 1, 4 ] },
{ "item": "dress_shirt", "damage": [ 1, 4 ] },
{ "item": "dress_shoes", "prob": 95, "damage": [ 1, 4 ] },
{ "item": "pants", "variant": "pants_black", "prob": 95, "damage": [ 1, 4 ] },
{ "group": "socks_unisex", "damage": [ 1, 4 ] },
{
"distribution": [
{
"collection": [
{ "group": "male_underwear", "damage": [ 1, 4 ] },
{ "group": "accesories_personal_mens", "prob": 2, "damage": [ 1, 4 ] }
]
},
{
"collection": [
{ "group": "female_underwear", "damage": [ 1, 4 ] },
{ "group": "accesories_personal_womens", "prob": 5, "damage": [ 1, 4 ] }
]
}
]
}
]
}
]
},
{
"id": "army_costume_unisex",
"type": "item_group",
Expand Down
11 changes: 11 additions & 0 deletions data/json/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -9166,6 +9166,17 @@
"purifiable": false,
"profession": true
},
{
"type": "mutation",
"id": "PROF_FBI",
"//": "This doesn't do anything at the moment, as I am too scared of breaking C++ things, but it will eventually.",
"name": { "str": "Special Agent" },
"points": 0,
"description": "You are a member of the Federal Bureau of Investigation, also known as the FBI. You have jurisdiction throughout the remaining 49 States, Indian Country, and any other territories of the USA. Whether that means anything now is another question.",
"valid": false,
"purifiable": false,
"profession": true
},
{
"type": "mutation",
"id": "PROF_CHURL",
Expand Down
60 changes: 60 additions & 0 deletions data/json/professions.json
DukePaulAtreid3s marked this conversation as resolved.
Show resolved Hide resolved
DukePaulAtreid3s marked this conversation as resolved.
Show resolved Hide resolved
DukePaulAtreid3s marked this conversation as resolved.
Show resolved Hide resolved
DukePaulAtreid3s marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,23 @@
"id": "holster_supp_usp9",
"entries": [ { "item": "usp_9mm", "ammo-item": "9mmfmj", "charges": 15, "contents-item": [ "suppressor_compact" ] } ]
},
{
"type": "item_group",
"subtype": "collection",
"id": "holster_glock19_fed",
"entries": [ { "item": "glock_19", "variant": "glock_19_cop", "charges": 15, "contents-item": [ "red_dot_sight" ] } ]
},
{
"type": "item_group",
"subtype": "collection",
"id": "glock17_mags",
"entries": [
{ "item": "glockmag", "ammo-item": "9mm", "charges": 15 },
{ "item": "glockmag", "ammo-item": "9mm", "charges": 15 },
{ "item": "glockmag", "ammo-item": "9mm", "charges": 15 },
{ "item": "glockmag", "ammo-item": "9mm", "charges": 15 }
]
},
{
"type": "item_group",
"subtype": "collection",
Expand Down Expand Up @@ -7725,5 +7742,48 @@
"female": { "entries": [ { "item": "sports_bra" }, { "item": "boy_shorts" } ] }
},
"missions": [ "MISSION_BLACK_BELT_GOAL" ]
},
{
"type": "profession",
"id": "FBI",
"name": "FBI Special Agent",
"description": "As a member of the FBI, you dealt with crime that crossed state lines. You had gotten the go-ahead to make the biggest bust of your career; before you kicked down the door, you yelled \"FBI, open up!\" and then the sky broke open.",
"points": 4,
"proficiencies": [ "prof_gunsmithing_basic", "prof_spotting", "prof_gun_cleaning", "prof_auto_pistols_familiar", "prof_batons_familiar" ],
"skills": [
{ "level": 5, "name": "gun" },
{ "level": 3, "name": "rifle" },
{ "level": 5, "name": "pistol" },
{ "level": 3, "name": "shotgun" },
{ "level": 3, "name": "melee" },
{ "level": 3, "name": "bashing" },
{ "level": 3, "name": "dodge" },
{ "level": 1, "name": "throw" },
{ "level": 3, "name": "swimming" }
],
"traits": [ "PROF_FBI" ],
"items": {
"both": {
"entries": [
{ "item": "socks" },
{ "item": "police_belt" },
{ "item": "boots_combat" },
{ "item": "gloves_tactical" },
{ "item": "badge_fbi" },
{ "item": "diving_watch" },
{ "item": "pants_tactical", "variant": "tactical_pants_black" },
{ "item": "tshirt" },
{ "item": "fbi_armor_vest" },
{ "item": "jacket_windbreaker", "variant": "windbreaker_fbi" },
{ "item": "hat_ball", "variant": "hat_fbi" },
{ "group": "charged_two_way_radio" },
{ "group": "starter_wallet_full" },
{ "group": "holster_glock19_fed", "container-item": "holster" },
{ "group": "glock17_mags" }
]
},
"male": { "entries": [ { "item": "boxer_shorts" } ] },
"female": { "entries": [ { "item": "sports_bra" }, { "item": "boy_shorts" } ] }
}
}
]
2 changes: 1 addition & 1 deletion data/json/vehicles/emergency.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
{ "x": -3, "y": 2, "parts": [ "frame#se", "halfboard#se" ] }
],
"items": [
{ "x": -2, "y": 1, "chance": 75, "magazine": 100, "ammo": 50, "item_groups": [ "guns_cop" ] },
{ "x": -2, "y": 1, "chance": 75, "magazine": 100, "ammo": 50, "item_groups": [ "longguns_cop_loaded" ] },
{ "x": -2, "y": 1, "chance": 100, "item_groups": [ "spare_tire_kit_small_jack" ] }
]
},
Expand Down
Loading