mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-28 02:21:53 +00:00
* Removes Clone Damage * Update blackbox.dm * Modular * Update schema * Update database_changelog.md * More modular deprecated clone things --------- Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
97 lines
4.2 KiB
Plaintext
97 lines
4.2 KiB
Plaintext
//Gun crafting parts til they can be moved elsewhere
|
|
|
|
// PARTS //
|
|
|
|
/obj/item/weaponcrafting/Initialize(mapload)
|
|
. = ..()
|
|
create_slapcraft_component()
|
|
|
|
/obj/item/weaponcrafting/proc/create_slapcraft_component()
|
|
return
|
|
|
|
/obj/item/weaponcrafting/receiver
|
|
name = "modular receiver"
|
|
desc = "A prototype modular receiver and trigger assembly for a firearm."
|
|
icon = 'icons/obj/weapons/improvised.dmi'
|
|
icon_state = "receiver"
|
|
|
|
/obj/item/weaponcrafting/receiver/create_slapcraft_component()
|
|
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/pipegun)
|
|
|
|
AddComponent(
|
|
/datum/component/slapcrafting,\
|
|
slapcraft_recipes = slapcraft_recipe_list,\
|
|
)
|
|
|
|
/obj/item/weaponcrafting/stock
|
|
name = "rifle stock"
|
|
desc = "A classic rifle stock that doubles as a grip, roughly carved out of wood."
|
|
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 6)
|
|
resistance_flags = FLAMMABLE
|
|
icon = 'icons/obj/weapons/improvised.dmi'
|
|
icon_state = "riflestock"
|
|
|
|
/obj/item/weaponcrafting/stock/create_slapcraft_component()
|
|
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/smoothbore_disabler, /datum/crafting_recipe/laser_musket)
|
|
|
|
AddComponent(
|
|
/datum/component/slapcrafting,\
|
|
slapcraft_recipes = slapcraft_recipe_list,\
|
|
)
|
|
|
|
/obj/item/weaponcrafting/giant_wrench
|
|
name = "Big Slappy parts kit"
|
|
desc = "Illegal parts to make a giant like wrench commonly known as a Big Slappy."
|
|
icon = 'icons/obj/weapons/improvised.dmi'
|
|
icon_state = "weaponkit_gw"
|
|
|
|
/obj/item/weaponcrafting/giant_wrench/create_slapcraft_component() // slappycraft
|
|
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/giant_wrench)
|
|
|
|
AddComponent(
|
|
/datum/component/slapcrafting,\
|
|
slapcraft_recipes = slapcraft_recipe_list,\
|
|
)
|
|
|
|
///These gun kits are printed from the security protolathe to then be used in making new weapons
|
|
|
|
// GUN PART KIT //
|
|
|
|
/obj/item/weaponcrafting/gunkit // These don't get a slapcraft component, it's added to the gun - more intuitive player-facing to slap the kit onto the gun.
|
|
name = "generic gun parts kit"
|
|
desc = "It's an empty gun parts container! Why do you have this?"
|
|
icon = 'icons/obj/weapons/improvised.dmi'
|
|
icon_state = "kitsuitcase"
|
|
|
|
/obj/item/weaponcrafting/gunkit/nuclear
|
|
name = "advanced energy gun parts kit (lethal/nonlethal)"
|
|
desc = "A suitcase containing the necessary gun parts to tranform a standard energy gun into an advanced energy gun."
|
|
|
|
/obj/item/weaponcrafting/gunkit/tesla
|
|
name = "tesla cannon parts kit (lethal)"
|
|
desc = "A suitcase containing the necessary gun parts to construct a tesla cannon around a stabilized flux anomaly. Handle with care."
|
|
|
|
/obj/item/weaponcrafting/gunkit/xray
|
|
name = "x-ray laser gun parts kit (lethal)"
|
|
desc = "A suitcase containing the necessary gun parts to turn a laser gun into a x-ray laser gun. Do not point most parts directly towards face."
|
|
|
|
/obj/item/weaponcrafting/gunkit/ion
|
|
name = "ion carbine parts kit (nonlethal/highly destructive/very lethal (silicons))"
|
|
desc = "A suitcase containing the necessary gun parts to transform a standard laser gun into a ion carbine. Perfect against lockers you don't have access to."
|
|
|
|
/obj/item/weaponcrafting/gunkit/temperature
|
|
name = "temperature gun parts kit (less lethal/very lethal (lizardpeople))"
|
|
desc = "A suitcase containing the necessary gun parts to tranform a standard energy gun into a temperature gun. Fantastic at birthday parties and killing indigenious populations of lizardpeople."
|
|
|
|
/obj/item/weaponcrafting/gunkit/beam_rifle
|
|
name = "particle acceleration rifle part kit (lethal)"
|
|
desc = "The coup de grace of guncrafting. This suitcase contains the highly experimental rig for a particle acceleration rifle. Requires an energy gun, a stabilized flux anomaly and a stabilized gravity anomaly."
|
|
|
|
/obj/item/weaponcrafting/gunkit/ebow
|
|
name = "energy crossbow part kit (less lethal)"
|
|
desc = "Highly illegal weapons refurbishment kit that allows you to turn the standard proto-kinetic accelerator into a near-duplicate energy crossbow. Almost like the real thing!"
|
|
|
|
/obj/item/weaponcrafting/gunkit/hellgun
|
|
name = "hellfire laser gun degradation kit (warcrime lethal)"
|
|
desc = "Take a perfectly functioning laser gun. Butcher the inside of the gun so it runs hot and mean. You now have a hellfire laser. You monster."
|