From ff8a6251b97c9dece6a0444129d08d53b444fb70 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:23:41 -0400 Subject: [PATCH 01/25] Add framework for new ammo types and --- .../icons/obj/ammunition/22lr/tier0.dmi | Bin 0 -> 471 bytes .../icons/obj/ammunition/22lr/tier1.dmi | Bin 0 -> 480 bytes .../icons/obj/ammunition/magazines.dmi | Bin 0 -> 906 bytes .../projectiles/ammunition/22_LR/bullets.dm | 35 ++++++++++ .../projectiles/ammunition/22_LR/magazines.dm | 66 ++++++++++++++++++ 5 files changed, 101 insertions(+) create mode 100644 mods/persistence/icons/obj/ammunition/22lr/tier0.dmi create mode 100644 mods/persistence/icons/obj/ammunition/22lr/tier1.dmi create mode 100644 mods/persistence/icons/obj/ammunition/magazines.dmi create mode 100644 mods/persistence/modules/projectiles/ammunition/22_LR/bullets.dm create mode 100644 mods/persistence/modules/projectiles/ammunition/22_LR/magazines.dm diff --git a/mods/persistence/icons/obj/ammunition/22lr/tier0.dmi b/mods/persistence/icons/obj/ammunition/22lr/tier0.dmi new file mode 100644 index 0000000000000000000000000000000000000000..e595194c65b0631ee2da8387db960876d241f57b GIT binary patch literal 471 zcmV;|0Vw{7P)WJE{Nx00DGTPE!Ct z=GbNc004)2R9JLGWpiV4X>fFDZ*Bkpc$`yKaB_9`^iy#0_2eo`Eh^5;&r`5fFwryM z;w;ZhDainGjE%TBGg33tGfE(w;*!LYR3K9+Gp{T)uOz>yQi+Q*C9|j)C}zmTnO2mT zn+jpWRhH)$<)k1~S>REnn^c;UlUhR1NVw$$G$<>$`niC;2LJ{3LxK;OEUN$j0LV#1 zK~z|U?ba<0!axuO;N4Jm6A}^%2FcF}8VnKz7FW9tivViNP0;NXH~|XHY0&dZwrsW} zi1)cS9bU#QN)b_~^enPqy!3xh_Ar2~7uiS*dMmkLjxyU59*~x@G4&S|POi_hsS08s zPp;*sweRV5-0zi&Jb;LZsAK)WeT#z~Jl{EFeBKX`l__N2I)8yV;|UH2QsXbq#=lQQ zMD$~W>K0c}-=C2eJX#9yxo)WZ1@?lI8uHNJpF5nq+D?*^uyrE(KX2!$7OO*riv<7x N002ovPDHLkV1mZv$b0|* literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/ammunition/22lr/tier1.dmi b/mods/persistence/icons/obj/ammunition/22lr/tier1.dmi new file mode 100644 index 0000000000000000000000000000000000000000..36b1785daad869641393279cdec5bacf2ac2f461 GIT binary patch literal 480 zcmeAS@N?(olHy`uVBq!ia0vp^4M3d0!VDzUL(;2&lx~1ei0gp^2kISFvW+D^E_OMY z<`|)&v?`h5$Bl$L3#8k6CmuO+WXhB&*REYFFk%3zoOw-E3aF8>B*-tA!Qt7BG$5z7 zDkP%BCAB!YD6^m>Ge3`kp<+&OSV2+g_bgrovI=hWkH?NS;NIh|M zX4sS&v$+zJvlLcrve~bp&bsgvQ@<9|G;Qr2zjik4WoO8dcWz?(bnp$(K^Ht-977^n zlM^IZ7bjFOx;e6*;t??8TyTN4PlIiP=!Bdmg)YWNqCY~5^$rLmxfV7QMl*HkR9mjf zddK`j*F#@$cZ1S_i;j~Rb5e5`{m4~dFl9xIXqdaV*qAmR>@{T+@Kry*kCO&JXKj^FDXD)Tyc|>n~jyBl#qq1l3~`r zlG&nyg^84}yT*5dm~dY`MLsd!wmn!VB63A4xP&l5CL_q;KC=J-00DGTPE!Ct=GbNc z005JER9JLGWpiV4X>fFDZ*Bkpc$`yKaB_9`^iy#0_2eo`Eh^5;&r`5fFwryM;w;Zh zDainGjE%TBGg33tGfE(w;*!LYR3KBy$S9}CK#7YpC9|j)$T#HTOe;#vO@**gRq2`% zsg5}F42e^vYeA$s!nP*mSHu(RLWEi)5)>1yk`(6}lHvrMp{lIl>gNJZA^_v*m3-}= zdzt_M0zXMaK~!jg?U~(nf-n$-MG&zD75bA{?EAlFvw_xLusdy54?XS9?RT;>ng|T8 zRwk3l^s7{?qslU$gZb4aNeEEXb-mrP4w!=gRns)P9iQN#Ann;PTJ9=RTk!$*hr?li z;0=`Awa4SJJxT#cl7Wu9mLvu^0RzMf5TFqQ6ovc&v^;J<`T`c;fyD#Z5m zk3dK2`46b%ZcBO;0z8qPc>^VPFQjK7fKMO6KirACGJOT5V*`BXPTYNn3t%#tOr}30 z?{!@5A8&|~g~(BV=kMiT=Xa8Y%u#=@V1jXeRLJ6}zr%k2Ip5D4AddPw;@A1}28hEa zcfiAS{;UDw_{rV1mB51s{($2rcbWSxj26s%zdnh4rQ8AX4-|p-uTuoxUlm~T4_%P_ z>ovzGgX|;V`+oHIVcx&*M}LMVX^ueLT#7)yFYX6O5m=t2+X3o@J-fe%-zI=?z7U@b z@~;9RNEbNFNxG{*vXJH@j{7_8_dz&c-{Gjg!+x(7>hG}Ms{?@kZvEb5GMWC5P=6Qx zJ--P@{XX6k#SvPL`u%iIW=Ci_>i4w%Oe0?J!%=@v>uEqaKS0Y-f4{DuAE4!^zYl3~ zT0c8L%Ta$HF6Z- Date: Mon, 17 Jul 2023 23:25:18 -0400 Subject: [PATCH 02/25] Update _persistence.dme --- mods/persistence/_persistence.dme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index e864e0ac0c9..01879e42051 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -32,11 +32,11 @@ #include "controllers\subsystems\processing\specifications.dm" #include "datums\extensions\extensions.dm" #include "datums\extensions\holster.dm" -#include "datums\inventory_slots\_inventory_slot.dm" #include "datums\extensions\label.dm" #include "datums\extensions\lockable.dm" #include "datums\extensions\assembly\assembly.dm" #include "datums\extensions\eye\area_control.dm" +#include "datums\inventory_slots\_inventory_slot.dm" #include "datums\mind\mind.dm" #include "datums\music_tracks\blood_loss.dm" #include "datums\music_tracks\juno.dm" @@ -221,6 +221,8 @@ #include "modules\power\fuel_assembly\fuel_assembly.dm" #include "modules\power\fusion\fuel_injector.dm" #include "modules\projectiles\ammunition.dm" +#include "modules\projectiles\ammunition\22_LR\bullets.dm" +#include "modules\projectiles\ammunition\22_LR\magazines.dm" #include "modules\projectiles\guns\projectile.dm" #include "modules\projectiles\guns\energy\tier0\lasrifle.dm" #include "modules\projectiles\guns\energy\tier1\laspistol.dm" From ddfabb64767175ef5c503bfaef53abff03846d4c Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 00:09:54 -0400 Subject: [PATCH 03/25] add DMI files for 2 new guns --- mods/persistence/icons/obj/guns/tier0/pistol.dmi | Bin 0 -> 891 bytes .../icons/obj/guns/tier1/pistol_pocket.dmi | Bin 0 -> 880 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/persistence/icons/obj/guns/tier0/pistol.dmi create mode 100644 mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi diff --git a/mods/persistence/icons/obj/guns/tier0/pistol.dmi b/mods/persistence/icons/obj/guns/tier0/pistol.dmi new file mode 100644 index 0000000000000000000000000000000000000000..70972215a759300ce2969f965a06e98e243fc9a1 GIT binary patch literal 891 zcmV->1BCpEP)C0001WP)t-sz`(#T zHAYZXWR8!RyT!+mR5NciGQxQ}H9mWMwAnv-!3+!x6ciKy001I7XdjZoIAn`DA_juO z*ucQRCmazqCmkso5?@9;Pc$ZFL^e)5FCifwM>Z@rCLBmKCo35hMMOZ5kdQ7dEUc`o zDJLdDK|d`mD{h>`ZvX%Q0d!JMQvg8b*k%9#0Hk_USad{Xb7OL8aCB*JZU6vyoKseC za&`CgQ*iP17}7w6=c=oaZ_B<7_c zbea&YGlw{xV7HOxGF_1Q@kyyUB?L{+&qGs(YQD09tDg%vNC7o@XIGoE4-5bR0t87! zK~#90?V9Ow!Y~Yk;~bPiTaJMq6dFp8_kYAH$0R0L0p(I@_xllMJh69UJ7%QF^8f$< z9ASLIs7U+SH6VNy{Y+MA22$A!L(tE#`hf`x5(8nFu0%MP0pA1_(kTfBGeApVDx8|^ z-9ky=*o40L)!^=D+KWeb8z6lX$qaCgx%SabG$MEI1xWQHnFDUlnD#O0vj;$;Pd_pP zhEa02k8dZFF*_FN%ijokliZ!04#+^AesYoOd&$gQ>Wnr3Z=l6rgUf-_85y80I3TAE zMuX}D00000000<70Z6-ifwQ+L1yH?N=Eo_OhrpK+RU%AbI>!~Cic%0!bnHNyKdJin zgwLO53al|?ol{O6$Ws7Tl-(eIP>s>$DF7?VZje8y#^_B`0O=Tw^9MsFA^`vZ002N2 zs1z00`Z{F|IpvpSlV66_x9SVB5)Z}tf@}tUV|_tqaG&?j)E9K8&&=zY`hpJix&2*R zUyw7s>p-6wyr?fQHDyNk)Bf~}`hthqY|eCFOxqgZ6Afj3!F;)#G0W820H0{E>I>)y zV%MOhftthKsxRnu5Ac-r1^u2v000000N2TCy;jwKe0qLSb+FpJZnmlhcH7;XrU5UG zW8F>QdHYz|z#pT1kl&IX1H6k^{CflHOQ3JydfC4pK0d!x9UKndn)={c`2iq@3tcF0 RBE$dy002ovPDHLkV1k!reWU;Y literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi b/mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi new file mode 100644 index 0000000000000000000000000000000000000000..a128bf8e03ed551eddf03ccbae82d45862414fda GIT binary patch literal 880 zcmV-$1CRWPP)C0001TP)t-sz`(#T zHAYZXWR8!RyT!-F$;luiEkY(EkyImZH6X%yFgG?rAR;HhDL)Jh3=|X;0000wA_l;~ zz$Y9LH76Y@8WLYdJ5MwwWkfbkJTD<39!EATHYOZMG$$(=6-7iqkdTlrEiA08tSKiZ zK|wz)Ei2k)!h`?-00DGTPE!Ct=GbNc005nOR9JLGWpiV4X>fFDZ*Bkpc$`yKaB_9` z^iy#0_2eo`Eh^5;&r`5fFwryM;w;ZhDainGjE%TBGg33tGfE(w;*!LYR3KBSJijO> zMTv_uC9|j)$T#HTOe;#vO@**gRq3V@RF_ejo0ylMnWB)CpHit?oReP?UlgB_n1^J8 z3DG)p$kv&Zno~khUw$5%I#fR?E4cc(fP)kO=W=JezqS_V00065Nklz?po9ctQ`S#U4k1(70F~WsWwuU9v8DLYl@1{`bqUt(CQ>9vlbN>F|bD~W!9o1uz@V2 zZOs1GVjwsdQgW`(^W^y%^$X||B85h4)04N^K>hriLgu-UTsO~7t}lB%Nqrr3_m{a4 zx#UC(oYuG1m3|@o40Ijq|5x&?cX?auEM`Eg{VRs*XF@5ztN;K2 z00000;Cir(**+8a=)Ax(=qDb*ShtP4pQ6`+PX-}6Z9KfoqBFQR=nTMFUzly`ZHMVu z?^2qB`*)8j18_AUjW+t&IusZ*po0T*aBtXW0B&^J)We_cDs$c2nc!EMmF%r z2sh-9B=&$e|Mv!>UxN4su9uhB-P`*|R0q4=XH0!?t$YEB4iM>@cjM*&0000 Date: Tue, 18 Jul 2023 00:40:16 -0400 Subject: [PATCH 04/25] Add 'Zip' and 'Rimfire' pistols --- mods/persistence/_persistence.dme | 4 ++-- .../icons/obj/guns/tier1/pistol_pocket.dmi | Bin 880 -> 875 bytes .../guns/projectile/tier0/pistol.dm | 21 +++++++++++++++++ .../guns/projectile/tier0/revolver.dm | 4 ++-- .../guns/projectile/tier1/pistol.dm | 4 ++-- .../guns/projectile/tier1/pistol_pocket.dm | 22 ++++++++++++++++++ 6 files changed, 49 insertions(+), 6 deletions(-) create mode 100644 mods/persistence/modules/projectiles/guns/projectile/tier0/pistol.dm create mode 100644 mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index cf680d217d8..1bd87738b04 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -132,8 +132,8 @@ #include "modules\fabrication\_fabricator.dm" #include "modules\fabrication\fabricator_build.dm" #include "modules\fabrication\fabricator_intake.dm" -#include "modules\fabrication\designs\textile\space.dm" #include "modules\fabrication\designs\protolathe\designs_weapons.dm" +#include "modules\fabrication\designs\textile\space.dm" #include "modules\hydroponics\grown.dm" #include "modules\hydroponics\grown_indedible.dm" #include "modules\hydroponics\seed_machines.dm" @@ -222,6 +222,7 @@ #include "modules\power\fuel_assembly\fuel_assembly.dm" #include "modules\power\fusion\fuel_injector.dm" #include "modules\projectiles\ammunition.dm" +#include "modules\projectiles\overrides.dm" #include "modules\projectiles\ammunition\22_LR\bullets.dm" #include "modules\projectiles\ammunition\22_LR\magazines.dm" #include "modules\projectiles\guns\projectile.dm" @@ -237,7 +238,6 @@ #include "modules\projectiles\guns\projectile\tier1\revolver.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_db.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_pump.dm" -#include "modules\projectiles\overrides.dm" #include "modules\reagents\Chemistry-Holder.dm" #include "modules\reagents\chems\chems.dm" #include "modules\reagents\chems\recipes.dm" diff --git a/mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi b/mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi index a128bf8e03ed551eddf03ccbae82d45862414fda..4d8651036069c5f931b378c6a4d6d1e09532ee49 100644 GIT binary patch delta 544 zcmV+*0^j}c2I~f}R{?(k{z*hZRCt{2n2U0PFcd_SfO!DgI@*WT(%Q%W|6&u63J4)! zY-+p5(Lpb{yJ&FcE+GH_@N1y-c+BXSq90hKVTY%AJuOxToogYi=GfdDkXn}xz5h(Yt%2GPl%ER zqfI++vw`~gH-$rrFw9i+Gl!+3=2z2Y)>RLaQ;|#PNo9|Z%-n+f6 zbr!Q!|3uE>s$A3fC@BQ`m)Pq19?denN!$%+2N{cM4$jgi5ld52UYDx_lBH?=-(CyQ z0Rz_h1hRSkozQ=OZ*rjjQ2k6O6_*tN00000003MMmN9$G1U@-0unhXqh+wSU#@$ca z>tIXRo~xNEOLsGO0FFmL3cqJPZCxXWqn?*4oF!P?WesG zpaTZ1^=auYzNdejw!d-pcoY5oD~9T4LMgwj000000002sda#VyJ`?!pyudQ(Cmz9A zw~f1>qSt{>1|d3aJiN=IGq^YC48U1mm~HB9hv`}GQksMNcaJIqa5W%}Hu~5)6c{w1 zg9CGLZ`fx5Zgkqz$2!Lc=HPz7GXpT%jK~iF00000004g=E`c(F@z^qgA8}yI2%Km1 zbFgIumLYd`6Ux9qM$qTsb{5QlH6!Rt8s@WL2F7IsAq|Wpx`A+O00000004NgST3XL z-`zhvMs=`QJ+0PJ4Q$q%=a>e_cDs$c2nc!EMmF%r2sh-9B=&$e|Mv!>UxN4su9uhB n-P`*|R0kcq-DgaFaIJg+iVhIzns?*o00000NkvXXu0mjfbUXmV diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/pistol.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/pistol.dm new file mode 100644 index 00000000000..e9e9f27af80 --- /dev/null +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/pistol.dm @@ -0,0 +1,21 @@ +/obj/item/gun/projectile/pistol/handmade + name = ".22LR 'Zip' HG" + desc = "Pistol of dubious origin. Struggles against armored targets, but carries the benefits of magazines over hand-loading. Chambered in .22LR." + icon = 'mods/persistence/icons/obj/guns/tier0/pistol.dmi' + fire_delay = 8 + force = 5 + accuracy = 0 + one_hand_penalty = 2 + origin_tech = "{'combat':3,'engineering':2,'materials':2}" + caliber = CALIBER_22LR + ammo_indicator = FALSE + w_class = ITEM_SIZE_NORMAL + magazine_type = /obj/item/ammo_magazine/twentytwolr/handmade + allowed_magazines = /obj/item/ammo_magazine/twentytwolr + material = /decl/material/solid/metal/steel + matter = list( + /decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT + ) + +/obj/item/gun/projectile/pistol/handmade/empty + starts_loaded = FALSE \ No newline at end of file diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm index 028176b03c7..4bb5394164f 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm @@ -1,6 +1,6 @@ /obj/item/gun/projectile/revolver/handmade - name = "10mm 'Underdog' RV" - desc = "Revolver of dubious origin. Shoddy craftsmanship results in low ammo capacity and high recoil. Chambered in 10mm." + name = ".45 'Underdog' RV" + desc = "Revolver of dubious origin. Shoddy craftsmanship results in low ammo capacity and high recoil. Chambered in .45." icon = 'mods/persistence/icons/obj/guns/tier0/revolver.dmi' origin_tech = "{'combat':2,'engineering':1,'materials':1}" caliber = CALIBER_PISTOL diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm index 517db03dcd5..c675c6462a4 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm @@ -1,6 +1,6 @@ /obj/item/gun/projectile/pistol/simple - name = "10mm 'Colt' HG" - desc = "Pistol of ancient design. Reliable, but struggles against armored targets. Chambered in 10mm." + name = ".45 'Colt' HG" + desc = "Pistol of ancient design. Reliable, but struggles against armored targets. Chambered in .45." icon = 'mods/persistence/icons/obj/guns/tier1/pistol.dmi' fire_delay = 5 force = 5 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm new file mode 100644 index 00000000000..ac81de075e4 --- /dev/null +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm @@ -0,0 +1,22 @@ +/obj/item/gun/projectile/pistol_pocket/simple + name = ".22LR 'Rimfire' HG" + desc = "Pistol of ancient design. Small enough to store in pockets, but struggles in combat due to weak caliber. Chambered in .22LR." + icon = 'mods/persistence/icons/obj/guns/tier1/pistol_pocket.dmi' + fire_delay = 3 + force = 5 + accuracy = 1 + one_hand_penalty = 0 + origin_tech = "{'combat':3,'engineering':2,'materials':2}" + caliber = CALIBER_22LR + ammo_indicator = FALSE + w_class = ITEM_SIZE_SMALL + magazine_type = /obj/item/ammo_magazine/twentytwolr/simple + allowed_magazines = /obj/item/ammo_magazine/twentytwolr + material = /decl/material/solid/metal/steel + matter = list( + /decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT, + /decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE + ) + +/obj/item/gun/projectile/pistol/simple/empty + starts_loaded = FALSE \ No newline at end of file From c94588bd3bcec233720083b55b0837d10f298fd5 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 00:40:49 -0400 Subject: [PATCH 05/25] oops --- mods/persistence/_persistence.dme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index 1bd87738b04..2d332640d32 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -230,11 +230,13 @@ #include "modules\projectiles\guns\energy\tier1\laspistol.dm" #include "modules\projectiles\guns\energy\tier1\lasrifle.dm" #include "modules\projectiles\guns\projectile\tier0\boltaction.dm" +#include "modules\projectiles\guns\projectile\tier0\pistol.dm" #include "modules\projectiles\guns\projectile\tier0\revolver.dm" #include "modules\projectiles\guns\projectile\tier0\shotgun.dm" #include "modules\projectiles\guns\projectile\tier1\boltaction.dm" #include "modules\projectiles\guns\projectile\tier1\pistol.dm" #include "modules\projectiles\guns\projectile\tier1\pistol_gold.dm" +#include "modules\projectiles\guns\projectile\tier1\pistol_pocket.dm" #include "modules\projectiles\guns\projectile\tier1\revolver.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_db.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_pump.dm" From 007a318ae584d91ecfab5e40c7866c45a7a81e0f Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 00:49:07 -0400 Subject: [PATCH 06/25] Adds new guns to protolathe --- .../fabrication/designs/protolathe/designs_weapons.dm | 6 ++++++ .../projectiles/guns/projectile/tier1/pistol_pocket.dm | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mods/persistence/modules/fabrication/designs/protolathe/designs_weapons.dm b/mods/persistence/modules/fabrication/designs/protolathe/designs_weapons.dm index f426b92c8cf..64771ea008d 100644 --- a/mods/persistence/modules/fabrication/designs/protolathe/designs_weapons.dm +++ b/mods/persistence/modules/fabrication/designs/protolathe/designs_weapons.dm @@ -4,6 +4,9 @@ /datum/fabricator_recipe/protolathe/weapon/tier0/revolver path = /obj/item/gun/projectile/revolver/handmade/empty +/datum/fabricator_recipe/protolathe/weapon/tier0/pistol + path = /obj/item/gun/projectile/pistol/handmade/empty + /datum/fabricator_recipe/protolathe/weapon/tier0/shotgun path = /obj/item/gun/projectile/shotgun/handmade/empty @@ -13,6 +16,9 @@ /datum/fabricator_recipe/protolathe/weapon/tier1/bolt_action path = /obj/item/gun/projectile/bolt_action/simple/empty +/datum/fabricator_recipe/protolathe/weapon/tier1/pistol_pocket + path = /obj/item/gun/projectile/pistol_pocket/simple/empty + /datum/fabricator_recipe/protolathe/weapon/tier1/pistol path = /obj/item/gun/projectile/pistol/simple/empty diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm index ac81de075e4..93315582de1 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol_pocket.dm @@ -18,5 +18,5 @@ /decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE ) -/obj/item/gun/projectile/pistol/simple/empty +/obj/item/gun/projectile/pistol_pocket/simple/empty starts_loaded = FALSE \ No newline at end of file From b7a252edfb986e9e491bd39a781e8afc7ee01088 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 01:01:16 -0400 Subject: [PATCH 07/25] Make legacy ammunition types unprintable --- mods/persistence/modules/projectiles/overrides.dm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/mods/persistence/modules/projectiles/overrides.dm b/mods/persistence/modules/projectiles/overrides.dm index 03882b5ed51..5380d7996e0 100644 --- a/mods/persistence/modules/projectiles/overrides.dm +++ b/mods/persistence/modules/projectiles/overrides.dm @@ -33,3 +33,18 @@ /datum/fabricator_recipe/protolathe/weapon/bullpup research_excluded = TRUE + +/datum/fabricator_recipe/protolathe/ammo + research_excluded = TRUE + +/datum/fabricator_recipe/protolathe/ammo/stunshell + research_excluded = TRUE + +/datum/fabricator_recipe/protolathe/ammo/ammo_emp_small + research_excluded = TRUE + +/datum/fabricator_recipe/protolathe/ammo/ammo_emp_pistol + research_excluded = TRUE + +/datum/fabricator_recipe/protolathe/ammo/ammo_emp_slug + research_excluded = TRUE \ No newline at end of file From 818fb651a64e52371c1c673d2f5b27eb0af9ce99 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 01:04:51 -0400 Subject: [PATCH 08/25] updates .22LR bullet descriptions to be less vague --- .../modules/projectiles/ammunition/22_LR/bullets.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/persistence/modules/projectiles/ammunition/22_LR/bullets.dm b/mods/persistence/modules/projectiles/ammunition/22_LR/bullets.dm index 9798f4ce8a9..9e4e8b23cea 100644 --- a/mods/persistence/modules/projectiles/ammunition/22_LR/bullets.dm +++ b/mods/persistence/modules/projectiles/ammunition/22_LR/bullets.dm @@ -14,7 +14,7 @@ /obj/item/ammo_casing/twentytwolr/handmade name = "makeshift .22LR round" - desc = ".22 Long Rifle round of dubious origin. Struggles at medium-long range and against armor due to shoddy construction." + desc = ".22 Long Rifle round of dubious origin. Sports poor range and very poor armor penetration due to shoddy construction." icon = 'mods/persistence/icons/obj/ammunition/22lr/tier0.dmi' projectile_type = /obj/item/projectile/bullet/twentytwolr/handmade @@ -25,7 +25,7 @@ /obj/item/ammo_casing/twentytwolr/simple name = "standard .22LR round" - desc = ".22 Long Rifle round of ancient design. Servicable, but struggles against armored targets due to unimpressive stopping power." + desc = ".22 Long Rifle round of ancient design. Sports unimpressive range and poor armor penetration due to low velocity." icon = 'mods/persistence/icons/obj/ammunition/22lr/tier1.dmi' projectile_type = /obj/item/projectile/bullet/twentytwolr/simple From d6ebd4bfd88c1b5f5f0efd30d7d8a85b8941e75f Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:56:55 -0400 Subject: [PATCH 09/25] Add DMI files for .45 rounds --- .../icons/obj/ammunition/22lr/tier1.dmi | Bin 480 -> 476 bytes .../icons/obj/ammunition/45/tier0.dmi | Bin 0 -> 483 bytes .../icons/obj/ammunition/45/tier1.dmi | Bin 0 -> 492 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/persistence/icons/obj/ammunition/45/tier0.dmi create mode 100644 mods/persistence/icons/obj/ammunition/45/tier1.dmi diff --git a/mods/persistence/icons/obj/ammunition/22lr/tier1.dmi b/mods/persistence/icons/obj/ammunition/22lr/tier1.dmi index 36b1785daad869641393279cdec5bacf2ac2f461..bda96d6ac356b78da6220cd238d8cada6539892f 100644 GIT binary patch delta 259 zcmV+e0sQ{p1Kb0UBnv7~OjJd{z`%b&B#|;C1fu!QSdm(xf6qxoK~z|U?UyYM0x=MU zOTxmkRmhbr6HJ6bvI=&{g~4#=R;L%M)f53n#ax`Wwo;wl+!rj?gIYA&`yhj4Q}o?8 z_*lMbuf`qWWe_*7RAc}`2q7dE*!P{#d3~4l8P<0RwYABDfqT?jSoYdS!KXMgVjMl{}tl?NMT%~#W`~ioB%x(uYKt_x7FnJwh3egi^`K!`z z(WmD!4o}xRK2A;xd7o~!K+~f6)cjt({yYZrU6aiga4%re@tqTBzy;H*z${nN$gCo@ zf!&w+d}fL0xgWd_>{?I7HwW(R7AQEx5~8Qh_!MMElOsEW=zF=@#WFD~8Gyjk)z4*} HQ$iB}fI(v4 diff --git a/mods/persistence/icons/obj/ammunition/45/tier0.dmi b/mods/persistence/icons/obj/ammunition/45/tier0.dmi new file mode 100644 index 0000000000000000000000000000000000000000..fa451eab9723c4eb5ad7f5eefdb4e9351ad3b77f GIT binary patch literal 483 zcmV<90UZ8`P)fFDZ*Bkpc$`yKaB_9`^iy#0_2eo`Eh^5;&r`5fFwryM z;w;ZhDainGjE%TBGg33tGfE(w;*!LYR3K9+Gp{T)uOz>yQa7nICnvQ;iHkEOv#1y- zWyr;uR+N~V3SnbvAgHoDzbGdKp~?b}Dgu@(E4cc(fV~F*Y#&2{0`kG^0002iNkly7<2*#Cx8pU5jX^p;29P}NKp78IKadV2DJkqCL!!lAbJ0iHcb&E zywAPAf4@A}Dn-awY4rjH$vCjUXf_Em4ErEh_*WQwCY^4*4On0^hr{+Bm!q>?rqkUD z2k29#vJ2h?3K(>+UIM)q1-w~a3fGDqeF(d+RA2!@2q7dC@!ofQ@5gt{rwVf}a^rcg zOR-R6&g8ii7+I;51H|>kA%qY@{+?J4Dmh5(f}6MyKRpHJfjMtH?^C-#9Wh3ZbwbF` Z@d6X!9{EWQ<=OxM002ovPDHLkV1kZx!Dj#f literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/ammunition/45/tier1.dmi b/mods/persistence/icons/obj/ammunition/45/tier1.dmi new file mode 100644 index 0000000000000000000000000000000000000000..533747aefc8cf8ed55d0f6ba89dc98358b6a8e60 GIT binary patch literal 492 zcmVoryC$&V0i!&v& zs2C_^$i$^wrn0+uT)xca$(y$1knA47ry^1EygX-%PUfN}yj0hgd8SVFOwh6IHN!2v32@I3&c5<+jmMX=0o zvYX8!NSNp5@BGQQze*AERXUMlz+f_WE09dx0@N^qfYiQ1{HeTbXPp2A#@huvb~7~l z7k!wQ Date: Tue, 18 Jul 2023 10:17:27 -0400 Subject: [PATCH 10/25] Add .45 mags/boxes, update 10mm weapons to .45 --- mods/persistence/_persistence.dme | 2 + .../icons/obj/ammunition/magazines.dmi | Bin 906 -> 1600 bytes .../projectiles/ammunition/22_LR/magazines.dm | 4 +- .../projectiles/ammunition/45/bullets.dm | 34 +++++++++ .../projectiles/ammunition/45/magazines.dm | 66 ++++++++++++++++++ .../guns/projectile/tier0/revolver.dm | 2 +- .../guns/projectile/tier1/pistol.dm | 3 +- .../guns/projectile/tier1/pistol_gold.dm | 4 +- .../guns/projectile/tier1/revolver.dm | 10 +-- 9 files changed, 114 insertions(+), 11 deletions(-) create mode 100644 mods/persistence/modules/projectiles/ammunition/45/bullets.dm create mode 100644 mods/persistence/modules/projectiles/ammunition/45/magazines.dm diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index 2d332640d32..5cdc625fedb 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -225,6 +225,8 @@ #include "modules\projectiles\overrides.dm" #include "modules\projectiles\ammunition\22_LR\bullets.dm" #include "modules\projectiles\ammunition\22_LR\magazines.dm" +#include "modules\projectiles\ammunition\45\bullets.dm" +#include "modules\projectiles\ammunition\45\magazines.dm" #include "modules\projectiles\guns\projectile.dm" #include "modules\projectiles\guns\energy\tier0\lasrifle.dm" #include "modules\projectiles\guns\energy\tier1\laspistol.dm" diff --git a/mods/persistence/icons/obj/ammunition/magazines.dmi b/mods/persistence/icons/obj/ammunition/magazines.dmi index 1357749bcf0ae2b729112e2d378f764fb7bfb251..c9e5efa77009ba72f715dad3baf8982ff63ccc41 100644 GIT binary patch delta 1526 zcmV0001>2m=5B0K5^G9{>OVY>_2i ze@0MqFE>ahCm&W;X28I}aylqo2^nJm0004WQchCV=-0C=30)3FM|Fc1ddIeCiE&Xp!0n<$Dvc&kEhIsGd>cE6gXGVagO9ua z4wAEdd+2)B96S0@)|vUvcC6ZzlswJofAvyGL5W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v*m3-}=dzt_M0zXMaK~!jg?U~(nf-n$-MG&zD75bA{?EAlF zvw_xLusdy54?XS9?RT;>ng|T8Rwk3l^s7{?qslU$gZb4aNeEEXb-mrP4w!=ge^t{o zyB(k4p&;$qF_J_k^f8Y(2+_lH!u{}xwNRok$yOtydH~|C13lN|Y0~Ce) z0kk}BKl%a|-+{#g*b!KI2NniG|-5n7J={d7-eM`$_f_q6^@BVO;r zQGZYCX+SwYK+92ozpkGjf1u^4zYl3~T0c8L%Ta$HF6Z- Date: Tue, 18 Jul 2023 15:43:26 -0400 Subject: [PATCH 11/25] Add 5.56 ammunition DMIs --- .../icons/obj/ammunition/5.56/tier0.dmi | Bin 0 -> 564 bytes .../icons/obj/ammunition/5.56/tier1.dmi | Bin 0 -> 576 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/persistence/icons/obj/ammunition/5.56/tier0.dmi create mode 100644 mods/persistence/icons/obj/ammunition/5.56/tier1.dmi diff --git a/mods/persistence/icons/obj/ammunition/5.56/tier0.dmi b/mods/persistence/icons/obj/ammunition/5.56/tier0.dmi new file mode 100644 index 0000000000000000000000000000000000000000..8accdaef19f8986182b83c9f6f8c078a70e60167 GIT binary patch literal 564 zcmV-40?Yl0P)004jl0{{R3eocQU0000jP)t-sz`($A zIw;9zL0Bjvj7%;)IW)q;!uR+0l#qpHW>$oRgeNB-qokwj?CZe5z}~C4j{pDw0d!JM zQvg8b*k%9#0Ec>1Sad{Xb7OL8aCB*JZU6vyoKseCa&`CgQ*iP1oryC$&V0i!&v& zs2C_^$i$^wrn49ig!D=WDAxq!U~0BpxYiIe~xn*aa- zB1uF+RA_l3$P0n z#o5+ftegZw|JTJi|30PhfiVF8Z8Fx)>*WjG!0A#sa6TiCmaoosVqlLnXx)je?pOW^ zLcH5w*!Mw)Rms-dLvtewtJR$ilsnt~13iVd#miqK(dgAuf&tc(_YgbjA& z3bDa7_M+RMF@Ax004jp0{{R3yS1Sad{Xb7OL8aCB*JZU6vyoKseCa&`CgQ*iP1 zoryC$&V0i!&v&s2C_^$i$^wrn49ig!D=WDAxq!U~ z0BpxYiIe~xn*aa-B1uF+RCt{2*-MgxFbqXe?2gPQ|NU>a9Ws~bdeC+%_lzC$A`7Yz z!vFyIJSnwK;7d9Gw9ep3`INd2800f)^D-9c_bV@-*)%JAFJ%cy`LL0G}E zC<$x6+0AFw*=vF*pw#h^CCVpPP^{ne8s*!-FQ9n7x0{^rI96}p z`EqX^!%-hE9oO$gdjS52-tz$f006+()2EB_Xv1Bj4d>P!)Zvgc{;K&)Py}_nrY#uD zSV;-=`JlH%uVBzcn_5ho(Wyi79Xm*3+v0{{R30002Glk=%{gty1@**ZcqkKGm> zlVRh@9D9Jy?wc=sXu|L9UjP6A02n^trKtPY%I;sxT|JC800000{J}3+<_8V;p}B+r O0000 Date: Tue, 18 Jul 2023 15:57:05 -0400 Subject: [PATCH 12/25] Add magazine icons + bulletcode --- .../icons/obj/ammunition/magazines.dmi | Bin 1600 -> 2041 bytes .../projectiles/ammunition/45/bullets.dm | 2 +- .../projectiles/ammunition/5.56/bullets.dm | 35 ++++++++++ .../projectiles/ammunition/5.56/magazines.dm | 66 ++++++++++++++++++ 4 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm create mode 100644 mods/persistence/modules/projectiles/ammunition/5.56/magazines.dm diff --git a/mods/persistence/icons/obj/ammunition/magazines.dmi b/mods/persistence/icons/obj/ammunition/magazines.dmi index c9e5efa77009ba72f715dad3baf8982ff63ccc41..dd3a8852554aae4dd4f417d8092d1f9fbae0bf54 100644 GIT binary patch delta 1960 zcmV;Z2UqyO4EYZsiBL{Q4GJ0x0000DNk~Le0002M0002M2m=5B0A&K4HIX4`e^ypz zCnq0rIw){50FhxqFaQ7m0d!JMQvg8b*k%9#0OxvCSad{Xb7OL8aCB*JZU6vyoRyTp z4uUWcM9=M4G;pq=h3d(Rffx?*3kE}#CMZd1)X%pq2jjso+`7rj?#y(vD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kubxk{x{sZ^>U zV}|8Kd-jmrGYe@Ue|)bH@hytkey(5N z#0{j}=YxP_Bp}nz-PVsANck-v8j$>8WpC?84W#_+!})w@zzGr18pdD9&zINNcK?uk z^e0oZv%vyc-;B00?$-Aa(R}nP4A)zTi2KicgjDWc1ELUN7fT8LZEE5|_&0jmuMbFRq_MxFIT`XYiXp)z9JFe~_h>oZtHs{T#}>Rs%DT z@(=z*KZo+J7cxjSDdivhiGB{{y#dmm_IzZM_+S3WP5*K(EKy^{!BkdbKB>$(T|Vz&Oe2_f28T+O!adNcP~tzFB-ty{8Kpi z7d`^g&vE>&e*i-a`hqKo2mfM<^>ZA*FTk({uq(JyxQieBk$#Tj*?mDpRQ$=@#|M9; zpW}FEfbNf!bN$={{oSw)+!Ok{VH>z-^mhX{aPs~x8@hp$uC7w4R4SE9sHz^8OI4j{ z11XoPI-N)dDVGY?rwpWAD!)GAAmviE>!Suz9^}s_e-j6k30}7bRaHeVmGU+~4kwiH z1Ih&N4GxE>MbD?_Bp!5an#N^luv0q}uiJc06OY((XcwXpINk<09KZn&i1WJ3*FeO- zN2%`p-CqK418nn#3`p?0&(|DcZwd9Ce+mx)Mod70*VQdwG(dIpPvIH-4>VgUAH%ET zyvr9ge{j6>PvXK2gj?Boehm5I0e}bpBrY65Z!kU`kLdbR{)`e<~HL2Y){h|9L*)^{k+uBMqF2#bQwq zTyi}tuD^qGW7Gj;DSsd!-QR`t$N0f4DSsf~mHgmWt_tdWuj3`d>Fb{ma4HN)U(d-+ z-<8Veric9LF2_rT(?9*i>AP>Bj-Za9j-WW;*N-68&%p>ym=R<+c|9wxpL?Irr*Hrn zLi?)H@si=>^^XK3`#ERu&IAx~R$M>l2MnH Date: Tue, 18 Jul 2023 15:58:26 -0400 Subject: [PATCH 13/25] oops --- mods/persistence/_persistence.dme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index 5cdc625fedb..b61164f49f2 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -223,6 +223,8 @@ #include "modules\power\fusion\fuel_injector.dm" #include "modules\projectiles\ammunition.dm" #include "modules\projectiles\overrides.dm" +#include "modules\projectiles\ammunition\5.56\bullets.dm" +#include "modules\projectiles\ammunition\5.56\magazines.dm" #include "modules\projectiles\ammunition\22_LR\bullets.dm" #include "modules\projectiles\ammunition\22_LR\magazines.dm" #include "modules\projectiles\ammunition\45\bullets.dm" From e28fa9d106c977cb8bee20620a86ad7d01c0f343 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 16:01:04 -0400 Subject: [PATCH 14/25] Update 5.56 weapons to 5.56x45mm --- .../projectiles/guns/projectile/tier0/boltaction.dm | 8 ++++---- .../projectiles/guns/projectile/tier1/boltaction.dm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm index e4c46f05a91..76d262ed22e 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm @@ -1,15 +1,15 @@ /obj/item/gun/projectile/bolt_action/handmade - name = "5.56 'Minuteman' BA" - desc = "Bolt-action rifle of dubious origin. Shoddy craftsmanship results in extremely low ammo capacity. Chambered in 5.56." + name = "5.56x45mm 'Minuteman' BA" + desc = "Bolt-action rifle of dubious origin. Shoddy craftsmanship results in extremely low ammo capacity. Chambered in 5.56x45mm." icon = 'mods/persistence/icons/obj/guns/tier0/boltaction.dmi' force = 10 slot_flags = SLOT_BACK origin_tech = "{'combat':2,'engineering':1,'materials':1}" - caliber = CALIBER_RIFLE + caliber = CALIBER_556 handle_casings = HOLD_CASINGS load_method = SINGLE_CASING max_shells = 1 - ammo_type = /obj/item/ammo_casing/rifle + ammo_type = /obj/item/ammo_casing/fivefiftysix one_hand_penalty = 20 fire_delay = 20 accuracy = -1 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/boltaction.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/boltaction.dm index 202c4d3451d..5fa9d034bf3 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/boltaction.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/boltaction.dm @@ -1,16 +1,16 @@ /obj/item/gun/projectile/bolt_action/simple - name = "5.56 'Mosin' BA" - desc = "Bolt-action rifle of ancient design. Reliable, but slow-firing. Chambered in 5.56." + name = "5.56x45mm 'Mosin' BA" + desc = "Bolt-action rifle of ancient design. Reliable, but slow-firing. Chambered in 5.56x45mm." icon = 'mods/persistence/icons/obj/guns/tier1/boltaction.dmi' force = 10 slot_flags = SLOT_BACK origin_tech = "{'combat':3,'engineering':2,'materials':2}" - caliber = CALIBER_RIFLE + caliber = CALIBER_556 handle_casings = HOLD_CASINGS load_method = SINGLE_CASING max_shells = 5 w_class = ITEM_SIZE_HUGE - ammo_type = /obj/item/ammo_casing/rifle + ammo_type = /obj/item/ammo_casing/fivefiftysix one_hand_penalty = 10 fire_delay = 12 accuracy = 0 From e122892490e06f620528cceedc797b39ce10ef05 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Tue, 18 Jul 2023 16:07:50 -0400 Subject: [PATCH 15/25] Update 5.56x45mm fire sound --- mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm b/mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm index a98e4ec2e48..1d4a139b9c0 100644 --- a/mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm +++ b/mods/persistence/modules/projectiles/ammunition/5.56/bullets.dm @@ -8,7 +8,7 @@ projectile_type = /obj/item/projectile/bullet/fivefiftysix /obj/item/projectile/bullet/fivefiftysix - fire_sound = 'sound/weapons/gunshot/gunshot_strong.ogg' + fire_sound = 'sound/weapons/gunshot/gunshot3.ogg' damage = 25 distance_falloff = 1 From 9928ac5a3146ca4184ce07685d18c628633f050d Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:28:24 -0400 Subject: [PATCH 16/25] Add new designs to protolathe --- mods/persistence/_persistence.dme | 1 + .../designs/protolathe/designs_ammunition.dm | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 mods/persistence/modules/fabrication/designs/protolathe/designs_ammunition.dm diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index b61164f49f2..cbd9e8491ff 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -132,6 +132,7 @@ #include "modules\fabrication\_fabricator.dm" #include "modules\fabrication\fabricator_build.dm" #include "modules\fabrication\fabricator_intake.dm" +#include "modules\fabrication\designs\protolathe\designs_ammunition.dm" #include "modules\fabrication\designs\protolathe\designs_weapons.dm" #include "modules\fabrication\designs\textile\space.dm" #include "modules\hydroponics\grown.dm" diff --git a/mods/persistence/modules/fabrication/designs/protolathe/designs_ammunition.dm b/mods/persistence/modules/fabrication/designs/protolathe/designs_ammunition.dm new file mode 100644 index 00000000000..1896e70b598 --- /dev/null +++ b/mods/persistence/modules/fabrication/designs/protolathe/designs_ammunition.dm @@ -0,0 +1,35 @@ +/datum/fabricator_recipe/protolathe/ammunition/fivefiftysix/magazine/tier0 + path = /obj/item/ammo_magazine/fivefiftysix/handmade + +/datum/fabricator_recipe/protolathe/ammunition/fivefiftysix/box/tier0 + path = /obj/item/ammo_magazine/box/fivefiftysix/handmade + +/datum/fabricator_recipe/protolathe/ammunition/fivefiftysix/magazine/tier1 + path = /obj/item/ammo_magazine/fivefiftysix/simple + +/datum/fabricator_recipe/protolathe/ammunition/fivefiftysix/box/tier1 + path = /obj/item/ammo_magazine/box/fivefiftysix/simple + +/datum/fabricator_recipe/protolathe/ammunition/twentytwolr/magazine/tier0 + path = /obj/item/ammo_magazine/twentytwolr/handmade + +/datum/fabricator_recipe/protolathe/ammunition/twentytwolr/box/tier0 + path = /obj/item/ammo_magazine/box/twentytwolr/handmade + +/datum/fabricator_recipe/protolathe/ammunition/twentytwolr/magazine/tier1 + path = /obj/item/ammo_magazine/twentytwolr/simple + +/datum/fabricator_recipe/protolathe/ammunition/twentytwolr/box/tier1 + path = /obj/item/ammo_magazine/box/twentytwolr/simple + +/datum/fabricator_recipe/protolathe/ammunition/fortyfive/magazine/tier0 + path = /obj/item/ammo_magazine/fortyfive/handmade + +/datum/fabricator_recipe/protolathe/ammunition/fortyfive/box/tier0 + path = /obj/item/ammo_magazine/box/fortyfive/handmade + +/datum/fabricator_recipe/protolathe/ammunition/fortyfive/magazine/tier1 + path = /obj/item/ammo_magazine/fortyfive/simple + +/datum/fabricator_recipe/protolathe/ammunition/fortyfive/box/tier1 + path = /obj/item/ammo_magazine/box/fortyfive/simple \ No newline at end of file From 32b4c9c386b0f28b610946d5e6edf371af07a342 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:05:36 -0400 Subject: [PATCH 17/25] Add 12g boxes and ammunition --- .../obj/ammunition/12g/tier0_buckshot.dmi | Bin 0 -> 426 bytes .../icons/obj/ammunition/12g/tier0_slug.dmi | Bin 0 -> 454 bytes .../obj/ammunition/12g/tier1_buckshot.dmi | Bin 0 -> 467 bytes .../icons/obj/ammunition/12g/tier1_slug.dmi | Bin 0 -> 460 bytes .../icons/obj/ammunition/magazines.dmi | Bin 2041 -> 2891 bytes .../projectiles/ammunition/12g/bullets.dm | 82 ++++++++++++++++++ .../projectiles/ammunition/12g/magazines.dm | 67 ++++++++++++++ 7 files changed, 149 insertions(+) create mode 100644 mods/persistence/icons/obj/ammunition/12g/tier0_buckshot.dmi create mode 100644 mods/persistence/icons/obj/ammunition/12g/tier0_slug.dmi create mode 100644 mods/persistence/icons/obj/ammunition/12g/tier1_buckshot.dmi create mode 100644 mods/persistence/icons/obj/ammunition/12g/tier1_slug.dmi create mode 100644 mods/persistence/modules/projectiles/ammunition/12g/bullets.dm create mode 100644 mods/persistence/modules/projectiles/ammunition/12g/magazines.dm diff --git a/mods/persistence/icons/obj/ammunition/12g/tier0_buckshot.dmi b/mods/persistence/icons/obj/ammunition/12g/tier0_buckshot.dmi new file mode 100644 index 0000000000000000000000000000000000000000..77a394c7eb89c294691eeb201d8793620256b16f GIT binary patch literal 426 zcmV;b0agBqP)!5pG?b8qCnq0V=-0C=2JR&a84_w-Y6@%7{?OD!tS%+FJ>RWQ*r;NmRLOex6#a*U0*I5Sc+ z(=$pSoZ^zil2jm5DKoDuHLoPUs8WfGGbOXA7$|1Q#hF%=n41b=!&R2&7v-cNR9T>? zQdV&Fa{)U50P5%_##z@?7XSbNxJg7oR9J=WmoW~)FbqWvB2CvK4nUy?0C53?dVn6G zM_{94Hgaq_*56ViFEH@m_MLpa(Xt5nGdAAB_Tns@Tc_Z5IIg{i5e3)NW33Pq3ih2E zG>sNwVHVugpzl`;Mo_{C3b+N*`UE07r$EFhAcPPpUgx&pOY7 zr_NC;!VBIdq7pw4LJ0XjH4YMFyboYMnEhc2upi9+Fa?>$WvWnMkD{RCAcXvy4_p5h Ush)Ub_W%F@07*qoM6N<$f^77!4*&oF literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/ammunition/12g/tier0_slug.dmi b/mods/persistence/icons/obj/ammunition/12g/tier0_slug.dmi new file mode 100644 index 0000000000000000000000000000000000000000..6ef3562f6c9c78e05ce0a2a138b7bb05df231038 GIT binary patch literal 454 zcmV;%0XhDOP)!5pG?b8qCnq0bVOxyV{&P5bZKvH004NLQ&wYC`008RfCdOIUR2KjM0Lw{4K~z|U?U%6)0x=9l4N@-3wJ-pO z7yvdvOmHJ)1j>`>s3OtOa#dQg07zMmlxJJY$qf|vb>GR?OJ@Z@`7;*M!g4Pxbe&MJ zT5oFS#*@Kt*q&+y7jd@Xx}56FIC w`-2t8eqj596=3w!)KCHc6d4?QP?TTu0qq_n)mH^3LI3~&07*qoM6N<$g5oN`M*si- literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/ammunition/12g/tier1_buckshot.dmi b/mods/persistence/icons/obj/ammunition/12g/tier1_buckshot.dmi new file mode 100644 index 0000000000000000000000000000000000000000..d2af21ce53cb751273a2f87f6c22072f9b5eb669 GIT binary patch literal 467 zcmV;^0WAKBP)bVOxyV{&P5bZKvH004NLQ&wYC`008RfCdOIUR2KjM0L)25K~!jg?b%BX z!ypUIQBrTBd0U%t!U{wPBJxC=_kftZ^P}rO#FVyIyuLo~b{!>c zG2WO^n_2FqjFo@fFvc9_4%!3yoC7fO1JH4O0Lq*lZ)^Q6So_oa$2A}D%MalVIPTAH zf^Yts;G8caA|mon<^i9a{?BMF9~X18kN>Cgt5vS{guSsZAo*-Uu9d70tj-%mL_|bH z9)jKvSOa-rAoqh)=YLi=8)!Zquo{ee+D`N7BhTu%Toe&`t}n4R1cyrYP)`5=002ov JPDHLkV1lL-%8CF0 literal 0 HcmV?d00001 diff --git a/mods/persistence/icons/obj/ammunition/12g/tier1_slug.dmi b/mods/persistence/icons/obj/ammunition/12g/tier1_slug.dmi new file mode 100644 index 0000000000000000000000000000000000000000..f518903334ff7c3e81d622e510a2f038a98f10a0 GIT binary patch literal 460 zcmV;-0WV=-0C=2JR&a84_w-Y6@%7{?OD!tS%+FJ>RWQ*r;NmRL zOex6#a*U0*I5Sc+(=$pSoZ^zil2jm5DKoDuHLoPUs8WfGGbOXA7$|1Q#hF%=n41b= z!&R2&7v-cNR9T>?QdV&Fa{)U50P5%_##z@?7XSbN&PhZ;R9J=Wm%RF&b6!8TY|wS{WTCqFBO7?1Eadg`oO)11FL-J0s|EDd z35aG&0g+Mw004S29^Ggml*44g*!|+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ew#lruxelkeedusG$-{r z36HJMxKafSVeTE?DD|=Kl9xIXqdaV*qAmR>@{T+@Kry*kCO&JXKj^FDXD)Tyc|>n~jyBl#qq1l3~`r zlG&nyg^84}yT*5dm~dY`MLsd!wmn!VB63A4xP&l5CL=~rb1yeYR#s*wCm(V;C~z_W zkzqkF00001bW%=J06^y0W&i*H=Xz9FbVOxyV{&P5bZKvH004NLm6X8_f-n$7&+S(< zaIT?+>dA|N7!L9a21Au5C`oD5&$lfHcW zn~ai|>0IxNTvF0&bL-t)Os;j>KNBejnZFizP5Qag)w_>ZV2-U8j{r~^*$s~Y2rsz zl~P_<4U`udWzA}!JXyWGzP`S^@`4~Q)^Bfb>o;By_ks z0LpLm{Q@YjZ}q(bC_mZaw!T*Y<#iSC1NrIW{k`iyzaPk}ZS548`qgBEar63CfvcY{ zPY^e+U(+G*elx2W%Pla6@WJ{mtYR#8{`Iz&{AQDAPW~p_(}&=<$fNmg=lrYMUw^lA ze(~J-SEmoAzVnOZ^aekc)z<%#l7I+z4C)f)G#a2~79HmvOi~!RdaO*H>iW+SlFWb55}yRu?cl(7tt(&&{8{4eQ6Y^bXoc~`66!nU*J-EyNHKYp>R{sYxmzGm)g_!m)Gf( z-Q)}9PJl`?Q|M7{1*kMrALVxDxtl*t9uJ% z>Z3gAmoWG@$$A7o9-RPJALX5bbT@-?Qn(8BQJ##y1mbv<>!Vzw(P%UpjYgySmRu&2 z$&4SjvopJ;$=%d`Beeg_^L+97$@0u4x_xq)&1M_(_X5Z5^U{PP2(|yDC*S5dYhWj% z2uBcV-#^WYf8H3#yQwDp^Tt5l^|0{BI*_{_79Lp#@*i>lFR$$5kx}j@T)nZY7f?ORvo(#Z z{SwY{jJxe!gzFIHc5qy{4pB}9@;eF2r*rw81m)dj$Qz)%o4U#xp!{aQbs@@o15N Date: Sun, 10 Sep 2023 17:10:22 -0400 Subject: [PATCH 18/25] Update shotguns to use new caliber --- .../modules/projectiles/guns/projectile/tier0/shotgun.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/shotgun_db.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/shotgun_pump.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm index 839c2a8d6f1..9d7f860becc 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm @@ -8,7 +8,7 @@ w_class = ITEM_SIZE_HUGE force = 5 // lacks a butt for effective rifle-whipping slot_flags = SLOT_BACK - caliber = CALIBER_SHOTGUN + caliber = CALIBER_12g origin_tech = "{'combat':2,'engineering':1,'materials':1}" ammo_type = /obj/item/ammo_casing/shotgun/beanbag screen_shake = 2 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm index 90e12a57390..381e9c76e08 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm @@ -8,7 +8,7 @@ w_class = ITEM_SIZE_HUGE force = 10 slot_flags = SLOT_BACK - caliber = CALIBER_SHOTGUN + caliber = CALIBER_12g origin_tech = "{'combat':3,'engineering':2,'materials':2}" ammo_type = /obj/item/ammo_casing/shotgun/beanbag screen_shake = 1 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm index 2a3034cb96d..c5d65070de1 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm @@ -7,7 +7,7 @@ w_class = ITEM_SIZE_HUGE force = 10 slot_flags = SLOT_BACK - caliber = CALIBER_SHOTGUN + caliber = CALIBER_12g origin_tech = "{'combat':3,'engineering':2,'materials':2}" load_method = SINGLE_CASING ammo_type = /obj/item/ammo_casing/shotgun/beanbag From baba01c4b4ebf0394dbd5b0c802dd6b4c620d719 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:13:38 -0400 Subject: [PATCH 19/25] Fix calbier var --- .../persistence/modules/projectiles/ammunition/12g/bullets.dm | 4 ++-- .../modules/projectiles/guns/projectile/tier0/shotgun.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/shotgun_db.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/shotgun_pump.dm | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm b/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm index 0c695dab982..81f0c32ae6d 100644 --- a/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm +++ b/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm @@ -1,10 +1,10 @@ -#define CALIBER_12g "12g" +#define CALIBER_12G "12g" /obj/item/ammo_casing/twelvegauge name = "generic 12g shell" desc = "An unsettlingly generic 12g shell." icon = 'mods/persistence/icons/obj/ammunition/12g/tier1_slug.dmi' - caliber = CALIBER_12g + caliber = CALIBER_12G projectile_type = /obj/item/projectile/bullet/twelvegauge /obj/item/ammo_casing/twelvegauge/slug diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm index 9d7f860becc..4078714a801 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm @@ -8,7 +8,7 @@ w_class = ITEM_SIZE_HUGE force = 5 // lacks a butt for effective rifle-whipping slot_flags = SLOT_BACK - caliber = CALIBER_12g + caliber = CALIBER_12G origin_tech = "{'combat':2,'engineering':1,'materials':1}" ammo_type = /obj/item/ammo_casing/shotgun/beanbag screen_shake = 2 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm index 381e9c76e08..b9dd22ee8b2 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm @@ -8,7 +8,7 @@ w_class = ITEM_SIZE_HUGE force = 10 slot_flags = SLOT_BACK - caliber = CALIBER_12g + caliber = CALIBER_12G origin_tech = "{'combat':3,'engineering':2,'materials':2}" ammo_type = /obj/item/ammo_casing/shotgun/beanbag screen_shake = 1 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm index c5d65070de1..350870c7adf 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm @@ -7,7 +7,7 @@ w_class = ITEM_SIZE_HUGE force = 10 slot_flags = SLOT_BACK - caliber = CALIBER_12g + caliber = CALIBER_12G origin_tech = "{'combat':3,'engineering':2,'materials':2}" load_method = SINGLE_CASING ammo_type = /obj/item/ammo_casing/shotgun/beanbag From 14780f1d7333125c5340ed1b37e2b1bea1770003 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:15:24 -0400 Subject: [PATCH 20/25] Add new files to persistence.dme --- mods/persistence/_persistence.dme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index cbd9e8491ff..0beef1d8006 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -226,6 +226,8 @@ #include "modules\projectiles\overrides.dm" #include "modules\projectiles\ammunition\5.56\bullets.dm" #include "modules\projectiles\ammunition\5.56\magazines.dm" +#include "modules\projectiles\ammunition\12g\bullets.dm" +#include "modules\projectiles\ammunition\12g\magazines.dm" #include "modules\projectiles\ammunition\22_LR\bullets.dm" #include "modules\projectiles\ammunition\22_LR\magazines.dm" #include "modules\projectiles\ammunition\45\bullets.dm" From e3c67763b0bf32c33b1d57720b3526acab9b5aac Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:17:21 -0400 Subject: [PATCH 21/25] oops lol --- .../persistence/modules/projectiles/ammunition/12g/magazines.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/persistence/modules/projectiles/ammunition/12g/magazines.dm b/mods/persistence/modules/projectiles/ammunition/12g/magazines.dm index 49c6b21b254..80b02aba78c 100644 --- a/mods/persistence/modules/projectiles/ammunition/12g/magazines.dm +++ b/mods/persistence/modules/projectiles/ammunition/12g/magazines.dm @@ -4,7 +4,7 @@ icon_state = "box_12g1_slug" icon = 'mods/persistence/icons/obj/ammunition/magazines.dmi' material = /decl/material/solid/metal/steel - caliber = CALIBER_12g + caliber = CALIBER_12G ammo_type = /obj/item/ammo_casing/twelvegauge max_ammo = 16 From 826ecf1a3c4d0881f5a58b81ae7d3ee6ee1a8e5e Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:18:30 -0400 Subject: [PATCH 22/25] okay look i'm distracted --- .../persistence/modules/projectiles/ammunition/12g/bullets.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm b/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm index 81f0c32ae6d..6aa5e19889b 100644 --- a/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm +++ b/mods/persistence/modules/projectiles/ammunition/12g/bullets.dm @@ -11,7 +11,7 @@ name = "generic 12g slug shell" desc = "An unsettlingly generic 12g slug shell." icon = 'mods/persistence/icons/obj/ammunition/12g/tier1_slug.dmi' - caliber = CALIBER_12g + caliber = CALIBER_12G projectile_type = /obj/item/projectile/bullet/twelvegauge /obj/item/projectile/bullet/twelvegauge @@ -23,7 +23,7 @@ name = "generic 12g buckshot shell" desc = "An unsettlingly generic 12g buckshot shell." icon = 'mods/persistence/icons/obj/ammunition/12g/tier1_buckshot.dmi' - caliber = CALIBER_12g + caliber = CALIBER_12G projectile_type = /obj/item/projectile/bullet/pellet/twelvegauge /obj/item/projectile/bullet/pellet/twelvegauge From 930d76ea39e0437f16cb53f6220092fdeb1e79c9 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:30:05 -0400 Subject: [PATCH 23/25] Fix Colt magazine + bullet stuff for other guns --- .../modules/projectiles/guns/projectile/tier0/boltaction.dm | 2 +- .../modules/projectiles/guns/projectile/tier0/revolver.dm | 2 +- .../modules/projectiles/guns/projectile/tier0/shotgun.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/pistol.dm | 2 ++ .../modules/projectiles/guns/projectile/tier1/revolver.dm | 2 +- .../modules/projectiles/guns/projectile/tier1/shotgun_db.dm | 4 ++-- .../modules/projectiles/guns/projectile/tier1/shotgun_pump.dm | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm index 76d262ed22e..f82989eaa53 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/boltaction.dm @@ -9,7 +9,7 @@ handle_casings = HOLD_CASINGS load_method = SINGLE_CASING max_shells = 1 - ammo_type = /obj/item/ammo_casing/fivefiftysix + ammo_type = /obj/item/ammo_casing/fivefiftysix/handmade one_hand_penalty = 20 fire_delay = 20 accuracy = -1 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm index b338f1440e9..29dd1838640 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/revolver.dm @@ -4,7 +4,7 @@ icon = 'mods/persistence/icons/obj/guns/tier0/revolver.dmi' origin_tech = "{'combat':2,'engineering':1,'materials':1}" caliber = CALIBER_45 - ammo_type = /obj/item/ammo_casing/pistol + ammo_type = /obj/item/ammo_casing/fortyfive/handmade max_shells = 3 w_class = ITEM_SIZE_NORMAL fire_delay = 12 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm index 4078714a801..cfaf579981e 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier0/shotgun.dm @@ -10,7 +10,7 @@ slot_flags = SLOT_BACK caliber = CALIBER_12G origin_tech = "{'combat':2,'engineering':1,'materials':1}" - ammo_type = /obj/item/ammo_casing/shotgun/beanbag + ammo_type = /obj/item/ammo_casing/twelvegauge/slug/handmade screen_shake = 2 accuracy = -1 one_hand_penalty = 10 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm index 637c2b8be3a..6b2113d316b 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/pistol.dm @@ -10,6 +10,8 @@ origin_tech = "{'combat':3,'engineering':2,'materials':2}" ammo_indicator = FALSE w_class = ITEM_SIZE_NORMAL + magazine_type = /obj/item/ammo_magazine/fortyfive/simple + allowed_magazines = /obj/item/ammo_magazine/fortyfive material = /decl/material/solid/metal/steel matter = list( /decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT, diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/revolver.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/revolver.dm index c1b0f571b17..7947ed52b90 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/revolver.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/revolver.dm @@ -4,7 +4,7 @@ icon = 'mods/persistence/icons/obj/guns/tier1/revolver.dmi' origin_tech = "{'combat':3,'engineering':2,'materials':2}" caliber = CALIBER_45 - ammo_type = /obj/item/ammo_casing/pistol + ammo_type = /obj/item/ammo_casing/fortyfive/simple max_shells = 5 w_class = ITEM_SIZE_NORMAL fire_delay = 10 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm index b9dd22ee8b2..13feb548112 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db.dm @@ -10,7 +10,7 @@ slot_flags = SLOT_BACK caliber = CALIBER_12G origin_tech = "{'combat':3,'engineering':2,'materials':2}" - ammo_type = /obj/item/ammo_casing/shotgun/beanbag + ammo_type = /obj/item/ammo_casing/twelvegauge/slug/simple screen_shake = 1 accuracy = 0 one_hand_penalty = 10 @@ -22,7 +22,7 @@ burst_delay = 0 firemodes = list( list(mode_name="fire one barrel at a time", burst=1), - list(mode_name="fire both barrels at once", burst=2) + list(mode_name="fire two barrels at a time", burst=2) ) /obj/item/gun/projectile/shotgun/simple/empty diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm index 350870c7adf..cb2fd3c2fb4 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_pump.dm @@ -10,7 +10,7 @@ caliber = CALIBER_12G origin_tech = "{'combat':3,'engineering':2,'materials':2}" load_method = SINGLE_CASING - ammo_type = /obj/item/ammo_casing/shotgun/beanbag + ammo_type = /obj/item/ammo_casing/twelvegauge/slug/simple handle_casings = HOLD_CASINGS one_hand_penalty = 10 material = /decl/material/solid/metal/steel From 577b9ce2e82268ca021f956f95093363123d3d68 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:39:47 -0400 Subject: [PATCH 24/25] Add Sawn-Off Shotgun --- mods/persistence/_persistence.dme | 1 + .../icons/obj/guns/tier1/shotgun_db_sawn.dmi | Bin 0 -> 1175 bytes .../guns/projectile/tier1/shotgun_db_sawn.dm | 14 ++++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 mods/persistence/icons/obj/guns/tier1/shotgun_db_sawn.dmi create mode 100644 mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm diff --git a/mods/persistence/_persistence.dme b/mods/persistence/_persistence.dme index 0beef1d8006..cf2cac0df94 100644 --- a/mods/persistence/_persistence.dme +++ b/mods/persistence/_persistence.dme @@ -246,6 +246,7 @@ #include "modules\projectiles\guns\projectile\tier1\pistol_pocket.dm" #include "modules\projectiles\guns\projectile\tier1\revolver.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_db.dm" +#include "modules\projectiles\guns\projectile\tier1\shotgun_db_sawn.dm" #include "modules\projectiles\guns\projectile\tier1\shotgun_pump.dm" #include "modules\reagents\Chemistry-Holder.dm" #include "modules\reagents\chems\chems.dm" diff --git a/mods/persistence/icons/obj/guns/tier1/shotgun_db_sawn.dmi b/mods/persistence/icons/obj/guns/tier1/shotgun_db_sawn.dmi new file mode 100644 index 0000000000000000000000000000000000000000..b2b9998977b9de80ff5577ccfd7cf460ffa4a113 GIT binary patch literal 1175 zcmV;I1Zew-P)005u_0{{R3dEt5<0000XP)t-sz`(#T zHAYZXWN$Sfj*pnT#mB;VFp*RvLM9_1CNRLjz$E7`*8l(j0d!JMQvg8b*k%9#0H=CX zSad{Xb7OL8aCB*JZU6vyoKseCa&`CgQ*iP1D@x2wg|Jao>89oulvEN_ zn^BsZn3tcKqL7rIQmI>O)#HD)}>cY zarR>f7}Cg>7L>=^bv_510EaNptNF38rkyPi`9K}l1tK)Joy|^0@D*HzP`XOX68Pj2 zs_uWN4Sc-WLnm0m<)~P%j!Gc7!EB55f%sYWvNzV1ho^OcMn*Z#o}bCEbC8er+?GT8C&E3wgyoS!5Q9&E9*8`8bl?8 zW}LCRs`r1TK~%!38Ae7%Mn*<|o5~|oI_}dKpreTRs+t+vXN$$+LM>P9vnPfF0Vx3NEoq>Q50RTh11j`!(Va_ zq3&FEP%CNNofj=u94AuA$}?O)Xa{rS%RbQmKeBcp#-n%~Eb zWi54opf_A;PCjZ@igYVg%DN*2o;ZUKKkn5LiKoExEXyZ^Bu#);dW%#b9(^M5QKM_l zkC+@KXTQld-VB#ZIh(@a_^8d-r~gsl^qt?v1}et`xwJO$ zPXKQdAPL@wU4hqXu6x%8cr#RiZFZO@*bx%>sKq_RYX<<19l39J;17hvYtC6=05P>6|R39B?_~1c-sE^0ZpHM=;?6b6P p4D3OUv3K~;K630lFwn?Ir{4-inQW$Y1&#m!002ovPDHLkV1n0x9qRx9 literal 0 HcmV?d00001 diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm new file mode 100644 index 00000000000..17665428294 --- /dev/null +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm @@ -0,0 +1,14 @@ +/obj/item/gun/projectile/shotgun/simple/sawnoff + name = "compact 12g 'Bouncer' SG" + desc = "Break-action shotgun of ancient design. Powerful and can be worn on the waist, but struggles in prolonged engagements due to low ammo capacity and unwieldiness. Can fire one or both chambers at a time. Chambered in 12 gauge." + icon = 'mods/persistence/icons/obj/guns/tier1/shotgun_db_sawn.dmi' + w_class = ITEM_SIZE_BULKY + force = 5 + slot_flags = SLOT_LOWER_BODY|SLOT_BACK + origin_tech = "{'combat':3,'engineering':3,'materials':2}" + screen_shake = 2 + accuracy = -1 + one_hand_penalty = 15 + +/obj/item/gun/projectile/shotgun/simple/sawnoff/empty + starts_loaded = FALSE \ No newline at end of file From 7d2f86358e1ab80c8cf75853aae5e7738b9c54e7 Mon Sep 17 00:00:00 2001 From: genessee-forgot-his-password-again <80235421+genessee-forgot-his-password-again@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:42:31 -0400 Subject: [PATCH 25/25] Fix w_class thing --- .../projectiles/guns/projectile/tier1/shotgun_db_sawn.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm index 17665428294..49897071c70 100644 --- a/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm +++ b/mods/persistence/modules/projectiles/guns/projectile/tier1/shotgun_db_sawn.dm @@ -2,7 +2,7 @@ name = "compact 12g 'Bouncer' SG" desc = "Break-action shotgun of ancient design. Powerful and can be worn on the waist, but struggles in prolonged engagements due to low ammo capacity and unwieldiness. Can fire one or both chambers at a time. Chambered in 12 gauge." icon = 'mods/persistence/icons/obj/guns/tier1/shotgun_db_sawn.dmi' - w_class = ITEM_SIZE_BULKY + w_class = ITEM_SIZE_LARGE force = 5 slot_flags = SLOT_LOWER_BODY|SLOT_BACK origin_tech = "{'combat':3,'engineering':3,'materials':2}"