Skip to content
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

S.P.E.C.I.A.L "S" and "P" Adjustments + 7.62 Ammo - Fixes Desert Ranger Armor #215

Merged
merged 34 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
980152d
Update hailmary.dme
Aurrain Sep 14, 2023
70bcf84
Update roundend.dm
Aurrain Sep 14, 2023
434e931
Update adminjump.dm
Aurrain Sep 14, 2023
68eecdc
Update wvm.dm
Aurrain Sep 14, 2023
6e0d01e
Update admin_verbs.dm
Aurrain Sep 14, 2023
9f3c732
Merge remote-tracking branch 'upstream/master'
Aurrain Sep 14, 2023
a6666e1
dirt fix
Aurrain Feb 23, 2024
a24e9fb
bring back the dirt
Aurrain Feb 23, 2024
5c59dfe
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Feb 27, 2024
499719a
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Mar 24, 2024
3811378
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 12, 2024
3d6ee1e
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 16, 2024
9be4383
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 16, 2024
a9ce11b
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 20, 2024
65ee87c
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 20, 2024
f53cc45
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 23, 2024
d780964
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 23, 2024
0983244
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Apr 25, 2024
ac7f3cc
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain May 24, 2024
05c6bb9
Wire Monkey Trait
Aurrain May 25, 2024
8118771
Verbose Stepping
Aurrain May 25, 2024
bd78382
Merge branch 'Foundation-19:master' into master
Aurrain May 30, 2024
b30f5c9
fixes code for linter
xTrainx Jun 4, 2024
7230da0
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Jun 14, 2024
37e9423
OOC Filter Test
Aurrain Jun 14, 2024
c53a61c
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Sep 9, 2024
654aceb
SPECIAL Adjustments
Aurrain Sep 9, 2024
4401fd1
Global Recoil Mod to 0.9 from 1
Aurrain Sep 9, 2024
4b2bbb0
Removes Old Filter Code
Aurrain Sep 9, 2024
97bc0a7
Carryover Fix
Aurrain Sep 9, 2024
20b936b
obscuration of old ooc code
Aurrain Sep 9, 2024
a61d2f0
7.62 ammo
Aurrain Sep 10, 2024
6827068
Merge branch 'master' of https://github.com/Aurrain/Hail-Mary
Aurrain Sep 10, 2024
958435b
7.62 update + desert ranger fix
Aurrain Sep 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion code/__DEFINES/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -601,16 +601,19 @@ GLOBAL_LIST_INIT(main_body_parts, list(
#define BULLET_DAMAGE_RIFLE_308 35
#define BULLET_DAMAGE_RIFLE_308_HANDLOAD (BULLET_DAMAGE_RIFLE_308 * BULLET_HANDLOAD_MULT_DAMAGE)
#define BULLET_DAMAGE_RIFLE_308_MATCH (BULLET_DAMAGE_RIFLE_308 * BULLET_MATCH_MULT_DAMAGE)
#define BULLET_DAMAGE_RIFLE_308_SOVIET 38
#define BULLET_STAMINA_RIFLE_308 (BULLET_DAMAGE_RIFLE_308 * 0.5)
#define BULLET_RECOIL_RIFLE_308 8
#define BULLET_RECOIL_RIFLE_308_HANDLOAD (BULLET_RECOIL_RIFLE_308 * BULLET_HANDLOAD_MULT_RECOIL)
#define BULLET_RECOIL_RIFLE_308_MATCH (BULLET_RECOIL_RIFLE_308 * BULLET_MATCH_MULT_RECOIL)
#define BULLET_RECOIL_RIFLE_308_SOVIET 12
#define BULLET_SPEED_RIFLE_308 (BULLET_SPEED_BASE * 2)
#define BULLET_SPEED_RIFLE_308_HANDLOAD (BULLET_SPEED_RIFLE_308 * BULLET_HANDLOAD_MULT_SPEED)
#define BULLET_SPEED_RIFLE_308_MATCH (BULLET_SPEED_RIFLE_308 * BULLET_MATCH_MULT_SPEED)
#define BULLET_WOUND_RIFLE_308 20
#define BULLET_WOUND_RIFLE_308_HANDLOAD (BULLET_WOUND_RIFLE_308 * BULLET_HANDLOAD_MULT_WOUND)
#define BULLET_WOUND_RIFLE_308_MATCH (BULLET_WOUND_RIFLE_308 * BULLET_MATCH_MULT_WOUND)
#define BULLET_WOUND_RIFLE_308_SOVIET 25
#define BULLET_WOUND_RIFLE_308_NAKED_MULT 1
#define RUBBERY_DAMAGE_RIFLE_308 (BULLET_DAMAGE_RIFLE_308 * RUBBERY_DAMAGE_MULT)
#define RUBBERY_STAMINA_RIFLE_308 (BULLET_DAMAGE_RIFLE_308 * 1)
Expand Down Expand Up @@ -997,7 +1000,7 @@ GLOBAL_LIST_INIT(main_body_parts, list(
#define GUN_FULL_OTHER_HAND_RECOIL_MOD 2

// Global recoil modifier
#define GUN_RECOIL_GLOBAL_MULT 1
#define GUN_RECOIL_GLOBAL_MULT 0.9

/// Gun recoil modifier per shot defines
#define GUN_RECOIL_NONE (GUN_RECOIL_GLOBAL_MULT * 0.1)
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/effects/spawners/f13lootdrop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@
/obj/item/ammo_box/c4570,
/obj/item/ammo_box/tube/c4570,
/obj/item/ammo_box/a50MG,
/obj/item/ammo_box/a308box/soviet,
/obj/item/ammo_box/magazine/m308/ext,
/obj/item/stock_parts/cell/ammo/mfc,
/obj/item/ammo_casing/caseless/rocket,
Expand Down
2 changes: 2 additions & 0 deletions code/modules/clothing/custom/custom_clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// WHISKEY //

/*
/obj/item/clothing/suit/armor/medium/combat/desert_ranger
name = "weathered ranger combat armor"
desc = "An original suit of pre-war combat armor used by elite military units, passed down through generations to where it is today. Though it's not lined with kevlar, this suit's still lightweight and easy to move around in."
Expand All @@ -15,6 +16,7 @@
/obj/item/clothing/suit/armor/medium/combat/desert_ranger/Initialize()
. = ..()
AddComponent(/datum/component/armor_plate)
*/

/* New system version replace when switch
/obj/item/clothing/suit/armor/light/whiskey_desert
Expand Down
4 changes: 4 additions & 0 deletions code/modules/clothing/suits/arfsuits_unused.dm
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ Suits. 0-10 in its primary value, slowdown 0, various utility
icon_state = "legion-explorercustom"
item_state = "legion-explorercustom"

//////////////
// NCR //
//////////////

/obj/item/clothing/suit/armor/ncrarmor
name = "NCR patrol vest"
desc = "A standard issue NCR Infantry vest."
Expand Down
6 changes: 3 additions & 3 deletions code/modules/mob/special_stats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ proc/get_top_level_mob(mob/S)
/// STRENGTH

/obj/item/proc/calc_melee_dam_mod_from_special(mob/living/user)
return ((user.special_s - SPECIAL_DEFAULT_ATTR_VALUE) * 1.5)
return ((user.special_s - SPECIAL_DEFAULT_ATTR_VALUE) * 1.1)

/datum/species/proc/calc_unarmed_dam_mod_from_special(mob/living/user)
return ((user.special_s - SPECIAL_DEFAULT_ATTR_VALUE) * 1.5)
return ((user.special_s - SPECIAL_DEFAULT_ATTR_VALUE) * 1.1)

/// PERCEPTION

/obj/item/ammo_casing/proc/calc_bullet_spread_mod_from_special(mob/living/user)
return ((user.special_p - SPECIAL_DEFAULT_ATTR_VALUE) * 5) // +/- 5 degrees of innate spread per lvl
return ((user.special_p - SPECIAL_DEFAULT_ATTR_VALUE) * 2) // +/- 5 degrees of innate spread per lvl

/// ENDURANCE

Expand Down
15 changes: 7 additions & 8 deletions code/modules/projectiles/ammunition/ballistic/rifle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,24 @@
/datum/material/iron = (MATS_RIFLE_MEDIUM_CASING * MATS_AMMO_CASING_HANDLOAD_MULT) + (MATS_RIFLE_MEDIUM_BULLET * MATS_AMMO_BULLET_HANDLOAD_MULT),
/datum/material/blackpowder = MATS_RIFLE_MEDIUM_POWDER * MATS_AMMO_POWDER_HANDLOAD_MULT)
fire_power = CASING_POWER_MEDIUM_RIFLE * CASING_POWER_MOD_HANDLOAD
/*
/obj/item/ammo_casing/a762/sport
name = ".308 bullet casing"
desc = "A .308 sporting bullet casing."
projectile_type = /obj/item/projectile/bullet/a762/sport

/obj/item/ammo_casing/a308/soviet
name = "7.62 steel tip bullet casing"
desc = "A 7.62 imported bullet casing, compatible with .308 weapons."
projectile_type = /obj/item/projectile/bullet/a308/soviet
material_class = BULLET_IS_MEDIUM_RIFLE
casing_quality = BULLET_IS_SURPLUS
custom_materials = list(
/datum/material/iron = MATS_RIFLE_MEDIUM_CASING + MATS_RIFLE_MEDIUM_BULLET,
/datum/material/blackpowder = MATS_RIFLE_MEDIUM_POWDER)
fire_power = CASING_POWER_MEDIUM_RIFLE * CASING_POWER_MOD_SURPLUS
*/
sound_properties = CSP_RIFLE_MEDIUM
/*
/obj/item/ammo_casing/a308/microshrapnel
name = ".308 microshrapnel bullet casing"
desc = "Like shrapnel, but smaller, and thus more annoying."
projectile_type = /obj/item/projectile/bullet/a308/microshrapnel
fire_power = CASING_POWER_MEDIUM_RIFLE * CASING_POWER_MOD_MATCH

/*
/obj/item/ammo_casing/a762/uraniumtipped
name = "7.62 uranium tipped bullet casing"
desc = "Not depleted uranium. Regular uranium."
Expand Down
16 changes: 11 additions & 5 deletions code/modules/projectiles/boxes_magazines/ammo_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,15 @@
max_ammo = 20
multiple_sprites = 3

/obj/item/ammo_box/a308box/soviet
name = "ammo box (7.62 steel tip)"
icon = 'icons/fallout/objects/guns/ammo.dmi'
icon_state = "762box"
multiple_sprites = 2
caliber = list(CALIBER_308)
ammo_type = /obj/item/ammo_casing/a308/soviet
max_ammo = 20

//7.62x51, .30-06
/obj/item/ammo_box/a3006box
name = "ammo box (.30-06)"
Expand All @@ -475,7 +484,6 @@
icon_state = "improvshotbag"
max_ammo = 15
multiple_sprites = 3

/*
/obj/item/ammo_box/a762box
name = "ammo box (7.62x51 FMJ Match)"
Expand All @@ -487,8 +495,7 @@
max_ammo = 20
w_class = WEIGHT_CLASS_SMALL
custom_materials = list(/datum/material/iron = MATS_RIFLE_MEDIUM_BOX)
*/
/*

/obj/item/ammo_box/a762box/uraniumtipped
name = "ammo box (7.62x51 uranium tipped)"
ammo_type = /obj/item/ammo_casing/a762/uraniumtipped
Expand All @@ -502,7 +509,6 @@
/obj/item/ammo_box/a762box/uraniumtipped/Destroy()
STOP_PROCESSING(SSradiation,src)
..()
*/

/obj/item/ammo_box/a308box/microshrapnel
name = "ammo box (.308 microshrapnel)"
Expand All @@ -515,7 +521,7 @@
icon_state = "762box"
multiple_sprites = 2
ammo_type = /obj/item/ammo_casing/a308/rubber

*/

//.50 MG and 14mm
/obj/item/ammo_box/a50MGbox
Expand Down
20 changes: 20 additions & 0 deletions code/modules/projectiles/projectile/bullets/rifle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,26 @@
pixels_per_second = BULLET_SPEED_RIFLE_308_HANDLOAD
damage_falloff = BULLET_FALLOFF_DEFAULT_PISTOL_LIGHT

/* 7.62mm proper
* MORE RECOIL
* MORE DAMAGE
* MORE COST
*/
/obj/item/projectile/bullet/a308/soviet
name = "7.62 steel tip bullet"
damage = BULLET_DAMAGE_RIFLE_308_SOVIET
armour_penetration = 0.3
stamina = BULLET_STAMINA_RIFLE_308
spread = BULLET_SPREAD_SURPLUS
recoil = BULLET_RECOIL_RIFLE_308_SOVIET

wound_bonus = BULLET_WOUND_RIFLE_308_SOVIET
bare_wound_bonus = BULLET_WOUND_RIFLE_308_NAKED_MULT
wound_falloff_tile = BULLET_WOUND_FALLOFF_PISTOL_LIGHT

pixels_per_second = BULLET_SPEED_RIFLE_308
damage_falloff = BULLET_FALLOFF_DEFAULT_PISTOL_LIGHT

/* 7.62mm rubber
* DAMAGE: 4.5
* STAMIN: 135
Expand Down
22 changes: 18 additions & 4 deletions code/modules/research/designs/ammolathe_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -534,14 +534,14 @@
category = list("initial", "Intermediate Magazines")

/datum/design/ammolathe/m762
name = "empty rifle magazine (7.62x51)"
name = "empty rifle magazine (.308)"
id = "m762"
materials = list(/datum/material/iron = 6000)
build_path = /obj/item/ammo_box/magazine/m308/empty
category = list("initial", "Intermediate Magazines")

/datum/design/ammolathe/w308
name = "empty sniper rifle magazine (7.62x51)"
name = "empty sniper rifle magazine (.308)"
id = "w308"
materials = list(/datum/material/iron = 6000)
build_path = /obj/item/ammo_box/magazine/w3006/empty
Expand Down Expand Up @@ -689,7 +689,7 @@
category = list("initial", "Advanced Magazines")

/datum/design/ammolathe/m762ext
name = "empty extended rifle magazine (7.62x51)"
name = "empty extended rifle magazine (.308)"
id = "m762ext"
materials = list(/datum/material/iron = 6000)
build_path = /obj/item/ammo_box/magazine/m308/ext/empty
Expand Down Expand Up @@ -746,13 +746,27 @@
category = list("initial", "Advanced Ammo")
autocalc_material_values = FALSE

/datum/design/ammolathe/a308/soviet
name = "7.62 steel tip ammo box"
id = "a308soviet"
materials = list(/datum/material/iron = 16000, /datum/material/blackpowder = 2500)
build_path = /obj/item/ammo_box/a308box/soviet
category = list("initial", "Advanced Ammo")
/*
/datum/design/ammolathe/a762
name = "7.62 ammo box"
id = "a762"
materials = list(/datum/material/iron = 16000, /datum/material/blackpowder = 2500)
build_path = /obj/item/ammo_box/a762box
category = list("initial", "Advanced Ammo")

/datum/design/ammolathe/m473fmj
name = "4.73mm caseless ammo box"
id = "m473fmj"
materials = list(/datum/material/iron = 20000, /datum/material/blackpowder = 2000)
build_path = /obj/item/ammo_box/m473
category = list("initial", "Advanced Ammo")
/*

/datum/design/ammolathe/m473rubber
name = "4.73mm caseless rubber ammo box"
id = "m473rubber"
Expand Down
4 changes: 4 additions & 0 deletions config/ooc_filter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
###############################################################################################
# Words that will block OOC chat messages from sending. #
# Case is not important. Commented-out examples are listed below, just remove the "#". #
###############################################################################################
6 changes: 3 additions & 3 deletions hailmary.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1470,9 +1470,9 @@
#include "code\modules\admin\holder2.dm"
#include "code\modules\admin\ipintel.dm"
#include "code\modules\admin\IsBanned.dm"
#include "code\modules\admin\outfits.dm"
#include "code\modules\admin\multikey_bypass.dm"
#include "code\modules\admin\NewBan.dm"
#include "code\modules\admin\outfits.dm"
#include "code\modules\admin\permissionedit.dm"
#include "code\modules\admin\player_panel.dm"
#include "code\modules\admin\secrets.dm"
Expand Down Expand Up @@ -2366,16 +2366,16 @@
#include "code\modules\jobs\jobs.dm"
#include "code\modules\jobs\loadout_ingame.dm"
#include "code\modules\jobs\job_types\_job.dm"
#include "code\modules\jobs\job_types\atlantic_cross.dm"
#include "code\modules\jobs\job_types\bos.dm"
#include "code\modules\jobs\job_types\eastwood.dm"
#include "code\modules\jobs\job_types\enclave.dm"
#include "code\modules\jobs\job_types\followers.dm"
#include "code\modules\jobs\job_types\hells_nomads.dm"
#include "code\modules\jobs\job_types\legion.dm"
#include "code\modules\jobs\job_types\locust_point.dm"
#include "code\modules\jobs\job_types\mutants.dm"
#include "code\modules\jobs\job_types\ncr.dm"
#include "code\modules\jobs\job_types\atlantic_cross.dm"
#include "code\modules\jobs\job_types\locust_point.dm"
#include "code\modules\jobs\job_types\silicon.dm"
#include "code\modules\jobs\job_types\tribals.dm"
#include "code\modules\jobs\job_types\vault.dm"
Expand Down
Loading