-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarad rebalance, minor nukie + import gun changes #5212
Merged
Absolucy
merged 32 commits into
Monkestation:master
from
Loiosh42:Quarad_And_Imports_Rebalance
Feb 13, 2025
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c8c16ff
Time to get started
Loiosh42 8bd1456
The rest of the work + BASIC sprites. I"m tired.
Loiosh42 b8097a8
Little tweaks
Loiosh42 7ff094c
Testing soon
Loiosh42 e1119ec
Bugfix 1
Loiosh42 f10bde1
Bleaugh
Loiosh42 9b29d69
Should work
Loiosh42 8f6a26a
Sprites for nukie
Loiosh42 4fd4360
NEARLY DONE
Loiosh42 c26a241
Hnrgh the damage bonus isn't working right
Loiosh42 56a3e25
So much work
Loiosh42 f02fd7d
YARRR
Loiosh42 8b901d7
Pain
Loiosh42 d92935d
Should stop the errors..
Loiosh42 7b7e17d
Tweaks + more sprites + hopefully function
Loiosh42 8f28bf4
There, function without runtimes.
Loiosh42 bde53e2
Lanca nerf
Loiosh42 a908a21
final?
Loiosh42 c290540
Guh
Loiosh42 e8ff62c
Hnrgh
Loiosh42 dc1757e
Yet another tiny tweak
Loiosh42 5e2d702
Apparently I am insane.
Loiosh42 f005b5a
Yadda yadda
Loiosh42 3f7b150
Guh
Loiosh42 4ebf33c
Didn't know that was how it worked.
Loiosh42 9a020b6
Update monkestation/code/modules/projectiles/projectile/bullets/machi…
Loiosh42 4a1d1d2
Update monkestation/code/modules/projectiles/projectile/bullets/machi…
Loiosh42 9416ef3
Update monkestation/code/modules/projectiles/guns/ballistic/machine_g…
Loiosh42 23a83d3
Update monkestation/code/modules/projectiles/projectile/bullets/machi…
Loiosh42 b8c105b
Requested changes
Loiosh42 25729d2
Merge branch 'Quarad_And_Imports_Rebalance' of https://github.com/Loi…
Loiosh42 0ad9f6b
Need a newline at the end of all files or it complains
Loiosh42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/// The caliber used by the Paco handgun. | ||
#define CALIBER_35 ".35" | ||
#define CALIBER_C65XENO "6.5x39" |
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
114 changes: 114 additions & 0 deletions
114
monkestation/code/modules/projectiles/ammunition/ballistic/machine_guns.dm
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,114 @@ | ||
/obj/item/ammo_casing/c65xeno | ||
name = "6.5mm Anti-Xeno frangible bullet casing" | ||
desc = "An unusual 6.5mm caseless round, designed for minimum property damage, maximum xenomorph shredding" | ||
icon = 'monkestation/code/modules/blueshift/icons/obj/company_and_or_faction_based/carwo_defense_systems/ammo.dmi' | ||
icon_state = "40sol" | ||
caliber = CALIBER_C65XENO | ||
projectile_type = /obj/projectile/bullet/c65xeno | ||
|
||
/obj/item/ammo_casing/c65xeno/Initialize(mapload) | ||
. = ..() | ||
AddElement(/datum/element/caseless) | ||
|
||
/obj/item/ammo_casing/c65xeno/evil | ||
name = "6.5mm FMJ bullet casing" | ||
desc = "A 6.5mm caseless frangible round with the projectile replaced by a terrestial military round. Much more effective against armor, and at breaking windows." | ||
caliber = CALIBER_C65XENO | ||
projectile_type = /obj/projectile/bullet/c65xeno/evil | ||
can_be_printed = FALSE | ||
|
||
/obj/item/ammo_casing/c65xeno/pierce | ||
name = "6.5mm Subcaliber tungsten sabot round" | ||
desc = "A 6.5mm caseless round loaded with a subcaliber tungsten penetrator. Designed to punch straight through targets." | ||
projectile_type = /obj/projectile/bullet/c65xeno/pierce | ||
|
||
custom_materials = AMMO_MATS_AP | ||
advanced_print_req = TRUE | ||
|
||
/obj/item/ammo_casing/c65xeno/pierce/evil | ||
name = "6.5mm UDS" | ||
desc = "A 6.5mm Uranium Discarding Sabot. No, NOT depleted uranium. Prepare to be irradiated." | ||
projectile_type = /obj/projectile/bullet/c65xeno/pierce/evil | ||
|
||
can_be_printed = FALSE | ||
|
||
/obj/item/ammo_casing/c65xeno/incendiary | ||
name = "6.5mm Subcaliber incendiary round" | ||
desc = "A 6.5mm caseless round tipped with an extremely flammable compound. Leaves no flaming trail, only igniting targets on impact." | ||
projectile_type = /obj/projectile/bullet/c65xeno/incendiary | ||
|
||
custom_materials = AMMO_MATS_TEMP | ||
advanced_print_req = TRUE | ||
|
||
/obj/item/ammo_casing/c65xeno/incendiary/evil | ||
name = "6.5mm Inferno round" | ||
desc = "A 6.5mm caseless round designed to leave a trail of EXTREMLY flammable substance behind it in flight. Do not smoke within 30 meters of these." | ||
projectile_type = /obj/projectile/bullet/c65xeno/incendiary/evil | ||
|
||
can_be_printed = FALSE | ||
|
||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum | ||
name = "\improper 6.5mm drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm frangible rounds, designed for minimal damage to company property." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drum" | ||
|
||
multiple_sprites = AMMO_BOX_FULL_EMPTY | ||
|
||
w_class = WEIGHT_CLASS_BULKY | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno | ||
caliber = CALIBER_C65XENO | ||
max_ammo = 120 | ||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum/pierce | ||
name = "\improper 6.5mm AP drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm saboted tungsten penetrators, designed to punch through multiple targets. Warning: Liable to break windows." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drumP" | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno/pierce | ||
max_ammo = 120 | ||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum/incendiary | ||
name = "\improper 6.5mm incendiary drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm rounds tipped with an incendiary compound." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drumI" | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno/incendiary | ||
max_ammo = 120 | ||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum/evil | ||
name = "\improper 6.5mm FMJ drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm FMJ rounds." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drumevil" | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno/evil | ||
max_ammo = 120 | ||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum/pierce/evil | ||
name = "\improper 6.5mm UDS drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm Uranium Discarding Sabot rounds. No, NOT depleted uranium. Prepare for your enemies to be irradiated." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drumPevil" | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno/pierce/evil | ||
max_ammo = 120 | ||
|
||
/obj/item/ammo_box/magazine/c65xeno_drum/incendiary/evil | ||
name = "\improper 6.5mm Inferno drum magazine" | ||
desc = "A hefty 120 round drum of 6.5mm inferno rounds. They leave a trail of fire as they fly." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/ammo.dmi' | ||
icon_state = "c65xeno_drumIevil" | ||
|
||
ammo_type = /obj/item/ammo_casing/c65xeno/incendiary/evil | ||
max_ammo = 120 |
109 changes: 109 additions & 0 deletions
109
monkestation/code/modules/projectiles/guns/ballistic/machine_guns.dm
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,109 @@ | ||
// Base Sol rifle | ||
|
||
/obj/item/gun/ballistic/automatic/quarad_lmg | ||
name = "\improper Qarad Light Machinegun" | ||
desc = "A spotless, if outdated machinegun. The same model was used to great effect against xenomorph incursions in the past, hopefully this one doesn't have any manufacturing defects...." | ||
|
||
icon = 'monkestation/icons/obj/weapons/guns/guns48x.dmi' | ||
icon_state = "outomaties" | ||
|
||
worn_icon = 'monkestation/code/modules/blueshift/icons/mob/company_and_or_faction_based/carwo_defense_systems/guns_worn.dmi' | ||
worn_icon_state = "outomaties" | ||
|
||
lefthand_file = 'monkestation/code/modules/blueshift/icons/mob/company_and_or_faction_based/carwo_defense_systems/guns_lefthand.dmi' | ||
righthand_file = 'monkestation/code/modules/blueshift/icons/mob/company_and_or_faction_based/carwo_defense_systems/guns_righthand.dmi' | ||
inhand_icon_state = "outomaties" | ||
|
||
bolt_type = BOLT_TYPE_OPEN | ||
|
||
accepted_magazine_type = /obj/item/ammo_box/magazine/c65xeno_drum | ||
spawn_magazine_type = /obj/item/ammo_box/magazine/c65xeno_drum | ||
|
||
SET_BASE_PIXEL(-8, 0) | ||
|
||
special_mags = TRUE | ||
|
||
w_class = WEIGHT_CLASS_BULKY | ||
weapon_weight = WEAPON_HEAVY | ||
slot_flags = ITEM_SLOT_BACK | ITEM_SLOT_SUITSTORE | ||
|
||
fire_sound = 'monkestation/code/modules/blueshift/sounds/rifle_heavy.ogg' | ||
suppressed_sound = 'monkestation/code/modules/blueshift/sounds/suppressed_rifle.ogg' | ||
can_suppress = TRUE | ||
|
||
can_bayonet = FALSE | ||
|
||
suppressor_x_offset = 12 | ||
|
||
actions_types = list() | ||
|
||
burst_size = 1 | ||
fire_delay = 0.2 SECONDS | ||
|
||
recoil = 3 | ||
wield_recoil = 0.75 | ||
spread = 12.5 | ||
|
||
/obj/item/gun/ballistic/automatic/quarad_lmg/Initialize(mapload) | ||
. = ..() | ||
|
||
give_autofire() | ||
|
||
/// Separate proc for handling auto fire just because one of these subtypes isn't otomatica | ||
/obj/item/gun/ballistic/automatic/quarad_lmg/proc/give_autofire() | ||
AddComponent(/datum/component/automatic_fire, fire_delay) | ||
|
||
/obj/item/gun/ballistic/automatic/quarad_lmg/examine(mob/user) | ||
. = ..() | ||
. += span_notice("You can <b>examine closer</b> to learn a little more about this weapon.") | ||
|
||
/obj/item/gun/ballistic/automatic/quarad_lmg/examine_more(mob/user) | ||
. = ..() | ||
|
||
. += "The Qarad light machinegun is an old weapon, dating back to the largest of the \ | ||
xenomorph containment efforts. It's specially-tooled 6.5mm cartridges have \ | ||
poor effect on humans, being designed for much more durable targets. \ | ||
Despite it's age and suboptimal design, it will still spit bullets down-range \ | ||
like nothing else. After a string of expensive xenomorph breaches on research stations,\ | ||
NT pulled these machine guns out of deep storage, many still in their original packaging." | ||
|
||
|
||
|
||
/obj/item/gun/ballistic/automatic/quarad_lmg/evil | ||
name = "\improper Suspicious Qarad Light Machinegun" | ||
desc = "A heavily modified machinegun, complete with bluespace barrel extender! More bullet per bullet, more barrel per inch!" | ||
|
||
icon_state = "outomaties_evil" | ||
worn_icon = 'monkestation/icons/mob/inhands/gunsx48_worn.dmi' | ||
worn_icon_state = "outomaties_evil" | ||
lefthand_file = 'monkestation/icons/mob/inhands/weapons/guns_lefthandx48.dmi' | ||
righthand_file = 'monkestation/icons/mob/inhands/weapons/guns_righthandx48.dmi' | ||
inhand_icon_state = "outomaties_evil" | ||
spawn_magazine_type = /obj/item/ammo_box/magazine/c65xeno_drum/evil | ||
fire_delay = 0.1 SECONDS | ||
recoil = 2 | ||
wield_recoil = 0.25 | ||
spread = 8 | ||
projectile_wound_bonus = 10 | ||
projectile_damage_multiplier = 1.3 | ||
|
||
/obj/item/storage/toolbox/guncase/skyrat/quarad_guncase | ||
name = "\improper Quarad light machinegun storage case" | ||
|
||
weapon_to_spawn = /obj/item/gun/ballistic/automatic/quarad_lmg | ||
extra_to_spawn = /obj/item/ammo_box/magazine/c65xeno_drum | ||
var/extra_to_spawn2 = /obj/item/ammo_box/magazine/c65xeno_drum/pierce | ||
var/extra_to_spawn3 = /obj/item/ammo_box/magazine/c65xeno_drum/incendiary | ||
|
||
/obj/item/storage/toolbox/guncase/skyrat/quarad_guncase/PopulateContents() | ||
new weapon_to_spawn (src) | ||
new extra_to_spawn (src) | ||
new extra_to_spawn2 (src) | ||
new extra_to_spawn3 (src) | ||
|
||
/obj/item/storage/toolbox/guncase/skyrat/quarad_guncase/evil ///Currently unavailable, exists for easy testing and admeming | ||
name = "\improper EVIL Quarad light machinegun storage case" | ||
weapon_to_spawn = /obj/item/gun/ballistic/automatic/quarad_lmg/evil | ||
extra_to_spawn = /obj/item/ammo_box/magazine/c65xeno_drum/evil | ||
extra_to_spawn2 = /obj/item/ammo_box/magazine/c65xeno_drum/pierce/evil | ||
extra_to_spawn3 = /obj/item/ammo_box/magazine/c65xeno_drum/incendiary/evil |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and... every single instance of "Quarad" is a typo i think (original name is Qarad)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guh. I could fix it, but I'm not certain it matters honestly, provided tis consistent.