Skip to content

Commit

Permalink
Merge pull request #3541 from McRex007/master
Browse files Browse the repository at this point in the history
Buffs pellets and nonlethals against simplemobs
  • Loading branch information
Tk420634 authored Oct 21, 2023
2 parents 7d6f059 + fde47a7 commit 63c07c1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/projectiles/projectile/beams.dm
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@
impact_type = /obj/effect/projectile/impact/disabler
is_reflectable = FALSE

// This could be a bit overboard, if it actually worked.
supereffective_damage = BULLET_DAMAGE_PISTOL_38
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")

/obj/item/projectile/beam/laser/recharger/hitscan //hitscan recharger pistol
name = "recharger beam"
Expand Down
19 changes: 19 additions & 0 deletions code/modules/projectiles/projectile/bullets/shotgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

zone_accuracy_type = ZONE_WEIGHT_SHOTGUN

supereffective_damage = BULLET_DAMAGE_PISTOL_22
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")


//ratshot pellet: 6 damage instead of 8, fewer pellets. would make many tiny damage pellets but performance
/obj/item/projectile/bullet/pellet/shotgun_ratshot
Expand All @@ -41,6 +44,9 @@

zone_accuracy_type = ZONE_WEIGHT_SHOTGUN

supereffective_damage = BULLET_DAMAGE_PISTOL_22_HANDLOAD
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")

/* rubber pellet
* DAMAGE: 1
* STAMIN: 11
Expand All @@ -66,6 +72,13 @@
sharpness = SHARP_NONE
embedding = null

//Each pellet does the same damage as handloaded buckshot to mobs, but rubbershot gets 2 more pellets.
//This does mean theres no reason to print handloaded buckshot unless you're hunting men.
//However, you can find handloaded buckshot in the trash, you can't find rubbershot.
//This means that you'll always be paying to use rubbershot, whereas handloaded buckshot is often a freebie.
supereffective_damage = BULLET_DAMAGE_PISTOL_22_HANDLOAD
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")

/* handload pellet
* DAMAGE: 8
* STAMIN: 1
Expand All @@ -88,6 +101,9 @@

zone_accuracy_type = ZONE_WEIGHT_SHOTGUN

supereffective_damage = BULLET_DAMAGE_PISTOL_22_HANDLOAD
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")

/obj/item/projectile/bullet/pellet/shotgun_improvised/Initialize()
. = ..()
range = rand(4, 8)
Expand Down Expand Up @@ -173,6 +189,9 @@

zone_accuracy_type = ZONE_WEIGHT_PRECISION

supereffective_damage = BULLET_DAMAGE_RIFLE_50MG_MATCH
supereffective_faction = list("hostile", "ant", "supermutant", "deathclaw", "cazador", "raider", "china", "gecko", "wastebot", "yaoguai")

/* train
* DAMAGE: 20
* STAMIN: 4
Expand Down

0 comments on commit 63c07c1

Please sign in to comment.