forked from Baystation12/Baystation12
-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3532 from CapCamIII/sporkan
cool spartan stuff
- Loading branch information
Showing
14 changed files
with
90 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/obj/item/weapon/gun/projectile/xm98_carbine | ||
name = "\improper XM98 Carbine" | ||
desc = "An experimental carbine dreamt up by the Office of Naval Intelligence as a standard rifle for special operations teams, trading the modularity of the MA5B with a fast and accurate 2 round burst or fast and inaccurate 5 round burst. It is a bullpup carbine with an integrated suppressor, and is capable of using magazines from the MA5B, MA3, and MA37. It has a reflex sight attached on the top." | ||
icon = 'code/modules/halo/weapons/icons/Weapon Sprites.dmi' | ||
icon_state = "XM98" | ||
item_state = "xm98" | ||
caliber = "7.62mm" | ||
fire_sound = 'code/modules/halo/sounds/MA3firefix.ogg' //sounds suppressed enough | ||
reload_sound = 'code/modules/halo/sounds/MA37_Reload_New.wav' | ||
magazine_type = /obj/item/ammo_magazine/ma5b/m118 | ||
allowed_magazines = list(/obj/item/ammo_magazine/ma37/m118, /obj/item/ammo_magazine/ma5b, /obj/item/ammo_magazine/ma3/m118) | ||
load_method = MAGAZINE | ||
slot_flags = SLOT_BACK | ||
wielded_item_state = "xm98-wielded" | ||
|
||
burst = 2 | ||
burst_delay = 0.8 | ||
one_hand_penalty = -1 | ||
dispersion = list(0.0,0.1,0.2,0.2) | ||
hud_bullet_row_num = 20 | ||
silenced = 1 | ||
|
||
firemodes = list(\ | ||
list(mode_name="3 round burst", burst=3, dispersion=list(0.0,0.1,0.2)), | ||
list(mode_name="6 round burst", burst=5, dispersion=list(0.7,0.8,0.9,1.0,1.1,1.2)), | ||
) | ||
|
||
ammo_icon_state = null | ||
attachment_slots = null | ||
attachments_on_spawn = null | ||
|
||
/obj/item/weapon/gun/projectile/xm98_carbine/can_use_when_prone() | ||
return 1 | ||
|
||
/obj/item/weapon/gun/projectile/xm98_carbine/update_icon() | ||
. = ..() | ||
if(ammo_magazine) | ||
icon_state = "XM98" | ||
else | ||
icon_state = "XM98_unloaded" | ||
|
||
item_icons = list( | ||
slot_l_hand_str = 'code/modules/halo/weapons/icons/Weapon_Inhands_left.dmi', | ||
slot_r_hand_str = 'code/modules/halo/weapons/icons/Weapon_Inhands_right.dmi', | ||
slot_back_str = 'code/modules/halo/weapons/icons/Back_Weapons.dmi', | ||
slot_s_store_str = 'code/modules/halo/weapons/icons/Armor_Weapons.dmi', | ||
) | ||
|
||
|
||
/obj/item/weapon/gun/projectile/xm98_carbine/orion | ||
name = "\improper XM98 Carbine" | ||
desc = "An experimental carbine dreamt up by the Office of Naval Intelligence as a standard rifle for special operations teams, trading the modularity of the MA5B with a faster rate of fire and better accuracy. It is a bullpup carbine with an integrated suppressor, and is capable of using magazines from the MA5B, MA3, and MA37. It has a low-magnification sight attached on the top. Recently, a number have went missing from an ONI shipment, and have begun showing up in the hands of the URF's elite." | ||
magazine_type = /obj/item/ammo_magazine/ma37/m118 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.