Adds the u-ION silencer to rnd, replacing ecrossbow. Ecrossbow up to syndicate 5 (#19170)

* Adds the u-ION silencer to rnd, replacing ecrossbow. Ecrossbow up to syndicate 5

* grammer / typeblock

* 15 is not more than 15

* how did I miss this, I swear I put in 3

* path + crafting

* Update code/modules/crafting/guncrafting.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2022-10-14 08:28:07 +02:00
committed by GitHub
co-authored by Farie82
parent c3528cd080
commit 4c13246d30
8 changed files with 61 additions and 2 deletions
+5
View File
@@ -75,6 +75,11 @@
desc = "A suitcase containing the necessary gun parts to transform a standard laser gun into a plasma pistol. Wort, wort, wort!"
origin_tech = "combat=4;magnets=4;powerstorage=3"
/obj/item/weaponcrafting/gunkit/u_ionsilencer
name = "\improper u-ion silencer parts kit"
desc = "A suitcase containing the necessary gun parts to transform a standard disabler into a silenced and lethal disabling weapon. Look officer, he has no wounds from me!"
origin_tech = "combat=6;magnets=6;syndicate=2"
// CRAFTING //
/obj/item/weaponcrafting/receiver/attackby(obj/item/W as obj, mob/user as mob, params)
+15
View File
@@ -218,6 +218,21 @@
..()
blacklist += subtypesof(/obj/item/gun/energy/laser)
/datum/crafting_recipe/silencer
name = "u-ION Silencer"
tools = list(TOOL_SCREWDRIVER, TOOL_WIRECUTTER)
result = list(/obj/item/gun/energy/disabler/silencer)
reqs = list(/obj/item/gun/energy/disabler = 1,
/obj/item/stack/cable_coil = 5,
/obj/item/weaponcrafting/gunkit/u_ionsilencer = 1)
time = 20 SECONDS
category = CAT_WEAPONRY
subcategory = CAT_WEAPON
/datum/crafting_recipe/silencer/New()
..()
blacklist += subtypesof(/obj/item/gun/energy/disabler)
/datum/crafting_recipe/ed209
name = "ED209"
result = list(/mob/living/simple_animal/bot/ed209)