From 1a1132816a2c85ad6bcbbdcd4c2d76a871686fbe Mon Sep 17 00:00:00 2001 From: BLUNTFORCE420 <65368125+BLUNTFORCE420@users.noreply.github.com> Date: Thu, 24 Nov 2022 13:23:16 -0500 Subject: [PATCH] Adds Dominian SMG. (#15149) --- .../projectiles/guns/projectile/automatic.dm | 15 +++++++ html/changelogs/bluntforce420owen.yml | 41 ++++++++++++++++++ icons/obj/guns/dom_smg.dmi | Bin 0 -> 770 bytes 3 files changed, 56 insertions(+) create mode 100644 html/changelogs/bluntforce420owen.yml create mode 100644 icons/obj/guns/dom_smg.dmi diff --git a/code/modules/projectiles/guns/projectile/automatic.dm b/code/modules/projectiles/guns/projectile/automatic.dm index 7e8dc449a83..a4a15534931 100644 --- a/code/modules/projectiles/guns/projectile/automatic.dm +++ b/code/modules/projectiles/guns/projectile/automatic.dm @@ -494,6 +494,21 @@ ..() icon_state = (ammo_magazine)? "tommygun" : "tommygun-empty" +/obj/item/gun/projectile/automatic/tommygun/dom + name = "dominian submachine gun" + desc = "A .45 caliber submachine gun featuring a novel top loading configuration, used by the Empire of Dominia's armed forces." + desc_extended = "The Moroz Pattern Machine Carbine, Model of 2430 is a lightweight, handy weapon intended for use by vehicle crews, airborne troops, and other units that do not require a full-length rifle. \ + Simplistic in design and function, the MPMC-30 is highly reliable in nearly all environments, lending itself well to use by colonial forces. In particular, the Imperial Fisanduhian Gendarmerie are known to make heavy use of the weapon." + icon = 'icons/obj/guns/dom_smg.dmi' + icon_state = "owen" + item_state = "owen" + max_shells = 20 + allowed_magazines = list(/obj/item/ammo_magazine/submachinemag) + +/obj/item/gun/projectile/automatic/tommygun/update_icon() + ..() + icon_state = (ammo_magazine)? "owen" : "owen-empty" + /obj/item/gun/projectile/automatic/railgun name = "railgun" desc = "An advanced rifle that magnetically propels hyperdense rods at breakneck speeds to devastating effect." diff --git a/html/changelogs/bluntforce420owen.yml b/html/changelogs/bluntforce420owen.yml new file mode 100644 index 00000000000..01498946143 --- /dev/null +++ b/html/changelogs/bluntforce420owen.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: BLUNTFORCE420 + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Adds .45 SMG for Dominia." diff --git a/icons/obj/guns/dom_smg.dmi b/icons/obj/guns/dom_smg.dmi new file mode 100644 index 0000000000000000000000000000000000000000..da70c47e70f61219f4c73e3895773b821075d131 GIT binary patch literal 770 zcmV+d1O5DoP)V=-0C=2JR&a84_w-Y6@%7{?OD!tS%+FJ>RWQ*r;NmRLOex6#a*U0*I5Sc+ z(=$pSoZ^zil2jm5DZe~5Pl<~&C9|j)$Tj5ROe;#vO@**g6zQhs7L-&Hr8K@M1EJ0Y zkGdS3>Xa2+{anBv0sz(#J(rZ$>OcSh0t-n*K~z|U?U+GxqA(Q4AFR@=QN}ZZ+$;10 zAe-5I9cO!GTP-sHVMADOMxNZF5^CrSgM4~kL5JM*(Vt(MaN>h>?kH-Ls4R~r)Jf|rQ!!$mh&#zHG zHt=>(0tX0vO39yNU6rIC8y0XU`yS8mjlG_%s5xCuGjxso9hAg*9DyHdXB|nvHWcGw#&u} z6x|B%-&le8y(@4q#50zQ5@nI7{Ug8bg2ylrkk|hye3Snt08 z$7r9YLSU8be+T0Q^4(TClNsHZ&K!myQENR`+{Cc40`*!Q2e>b5rXMQYK&6fY;?wwQ zj`t>);1>9q#dU@9{&L-YvL4{C*hc@e^_DN