From 56491d8dca47c7f6a7bcb3968b2292fd437f91f0 Mon Sep 17 00:00:00 2001 From: Sonoida Date: Tue, 14 Mar 2023 01:05:20 +0100 Subject: [PATCH] new gun!! calorite cannon + other small tweaks, continuing to work on calorite research --- .../modules/research/designs/nutri_designs.dm | 14 ++++- GainStation13/code/obj/weapons/fatoray.dm | 59 +++++++++++++++--- GainStation13/icons/obj/fatoray.dmi | Bin 579 -> 901 bytes code/modules/research/techweb/all_nodes.dm | 2 +- 4 files changed, 62 insertions(+), 13 deletions(-) diff --git a/GainStation13/code/modules/research/designs/nutri_designs.dm b/GainStation13/code/modules/research/designs/nutri_designs.dm index d22460d1..90e9bc64 100644 --- a/GainStation13/code/modules/research/designs/nutri_designs.dm +++ b/GainStation13/code/modules/research/designs/nutri_designs.dm @@ -4,7 +4,6 @@ /datum/design/fatoray_weak name = "Basic Fatoray" - desc = "A weaker version of the original fatoray." id = "fatoray_weak" build_type = PROTOLATHE materials = list(MAT_METAL = 5000, MAT_GLASS = 2000, MAT_CALORITE = 10000) @@ -13,6 +12,17 @@ category = list("Weapons") departmental_flags = DEPARTMENTAL_FLAG_MEDICAL | DEPARTMENTAL_FLAG_SCIENCE +/datum/design/fatoray_oneshot + name = "Cannonshot Fatoray" + id = "fatoray_cannon" + build_type = PROTOLATHE + materials = list(MAT_METAL = 5000, MAT_GLASS = 2000, MAT_CALORITE = 10000) + construction_time = 200 + build_path = /obj/item/gun/energy/fatoray/cannon + category = list("Weapons") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL | DEPARTMENTAL_FLAG_SCIENCE + + // FIX THOSE VALUES LATER!! @@ -24,6 +34,6 @@ materials = list(MAT_METAL = 500, MAT_GLASS = 2000, MAT_CALORITE = 3000) construction_time = 75 build_path = /obj/item/clothing/neck/petcollar/calorite - category = list("Weapons") + category = list("Weapons") // FIX THIS CATEGORY LATER, FORGOT THEIR NAMES LUL departmental_flags = DEPARTMENTAL_FLAG_MEDICAL | DEPARTMENTAL_FLAG_SCIENCE diff --git a/GainStation13/code/obj/weapons/fatoray.dm b/GainStation13/code/obj/weapons/fatoray.dm index 8d95d86f..a5040c32 100644 --- a/GainStation13/code/obj/weapons/fatoray.dm +++ b/GainStation13/code/obj/weapons/fatoray.dm @@ -1,4 +1,4 @@ -/////GS13 - fattening raygun +/////GS13 - fattening rayguns and ranged weapons ///The base fatoray /obj/item/gun/energy/fatoray @@ -6,6 +6,7 @@ desc = "An energy gun that fattens up anyone it hits." icon = 'GainStation13/icons/obj/fatoray.dmi' icon_state = "fatoray" + pin = null ammo_type = list(/obj/item/ammo_casing/energy/fattening) /obj/item/ammo_casing/energy/fattening @@ -18,6 +19,11 @@ name = "fat energy" icon = 'GainStation13/icons/obj/fatoray.dmi' icon_state = "ray" + ricochets_max = 50 + ricochet_chance = 80 + is_reflectable = TRUE + light_range = 2 + light_color = LIGHT_COLOR_ORANGE ///How much fat is added to the target mob? var/fat_added = 50 //Around 12.5 pounds per hit. @@ -33,25 +39,58 @@ return TRUE - +//////////////////////////////////////////////////////////////////// +////////FATORAYS THAT CAN BE MADE BY LATHES OR RESEARCHED/////////// +//////////////////////////////////////////////////////////////////// ///Weaker version of fatoray, can be produced by lathes -/obj/item/gun/energy/fatoray_weak - name = "Budget Fatoray" - desc = "An energy gun that fattens up anyone it hits. This version is considerably weaker than its original counterpart." +/obj/item/gun/energy/fatoray/weak + name = "Basic Fatoray" + desc = "An energy gun that fattens up anyone it hits. This version is considerably weaker than its original counterpart, the technology behind it seemingly still not perfected." icon = 'GainStation13/icons/obj/fatoray.dmi' /// REPLACE THESE LATER WITH UNIQUE SPRITES - Sono icon_state = "fatoray" ammo_type = list(/obj/item/ammo_casing/energy/fattening/weak) -/obj/item/ammo_casing/energy/fattening_weak - name = "weak fattening weapon lens" +/obj/item/ammo_casing/energy/fattening/weak + name = "budget fattening weapon lens" select_name = "fatten" projectile_type = /obj/item/projectile/energy/fattening/weak ///The base projectile used by the fatoray -/obj/item/projectile/energy/fattening_weak +/obj/item/projectile/energy/fattening/weak name = "fat energy" icon = 'GainStation13/icons/obj/fatoray.dmi' - icon_state = "ray" + icon_state = "ray" ///How much fat is added to the target mob? - var/fat_added = 20 + fat_added = 20 + +/////////////////////////////////////////////////// + +///Single shot glass cannon fatoray +/obj/item/gun/energy/fatoray/cannon + name = "One-Shot Fatoray" + desc = "An energy gun that fattens up anyone it hits. This version functions as a glass cannon of some sorts." + icon = 'GainStation13/icons/obj/fatoray.dmi' /// REPLACE THESE LATER WITH UNIQUE SPRITES - Sono + icon_state = "fatoray_cannon" + can_charge = 0 + recoil = 3 + slowdown = 1 + charge_sections = 3 + weapon_weight = WEAPON_HEAVY + ammo_type = list(/obj/item/ammo_casing/energy/fattening/oneshot) + + +/obj/item/ammo_casing/energy/fattening/oneshot + name = "one-shot fattening weapon lens" + select_name = "fatten" + e_cost = 300 + projectile_type = /obj/item/projectile/energy/fattening/oneshot + +/obj/item/projectile/energy/fattening/oneshot + name = "fat energy" + icon = 'GainStation13/icons/obj/fatoray.dmi' + icon_state = "cannon_ray" + ///How much fat is added to the target mob? + fat_added = 500 + +/////////////////////////////////////// diff --git a/GainStation13/icons/obj/fatoray.dmi b/GainStation13/icons/obj/fatoray.dmi index e7564456967344408896fd62b7ecf2a4f2f8e485..8447bd57403b112536696ddb371c8b1b1520846f 100644 GIT binary patch delta 804 zcmV+<1Ka$=1ce8GiBL{Q4GJ0x0000DNk~Le0001h0001B2m=5B0OF*IdjJ3cLQqUp zMZmzoBqJ$RSz|RfKBG?;xmg&HlbGLeCe+l@rmL*(l2iEj_>n{qS1Sx}H4lC~5SL6D zqGLEX8wdY@0JmHK+in2!u^q7h0004WQchClvL*Na7Y zYHmRZVVf*;OmNwR&jg&#i%-r-EJ{x`CQq9YdD;vKY9l$&q2}Y%XUL_j;OgfBP6YrM zxSbXql9_-200K8jL_t(&f$f-$lIkD~g>7mn=tJhW}1L`vUxT^EFE3oViu41u}OI&(8 zFFhC&W-_?nAxkI0EG;-!wg;#L^|+_P0Yaue3gC#~oIuI=J>wbozG@Af11Z)o$HwIfEh~aJ$Z)-;E1*7X>tJ9E4BOV`7APhtSFR4}R|Nm`+x3;6QsVQTfVR<~V8)8Ibva&8GYpsey zdsh?@3&bT61uNo!cwFV1j&NvSRdroWT3aA4u;=|X-5OpLEVg;T&6+Q|w|~4g{D}sG zY6+l^8ee=4pq(>p1~})+(PAuf=z+C`luHyW*n^fH^Srn(xF~|ZB0Cq#1-kDz);Qxs zokZn&JL0m0P-MBYA8|gQH9`y zL64T#X#oc9*S0AAOHMyUN)G+uZK_O29*};D;BET%0m-N62Tz