Files
nikothedudeandGitHub b67910652f Adds a new bow that penetrates armor to cargo and security voucher + nonlethal arrows (#5390)
## About The Pull Request

Title.

Introduces a new bow and 2 new arrows: The hardlight bow, and the
blunt/taser arrows.

You can acquire these items via a new primary security voucher. This kit
gives you one bow, one quiver with 9 blunt and 1 taser, a hatchet, and a
book that teaches you how to build these arrows. **You do not gain the
ability to craft lethal arrows roundstart. You have to order the book
from cargo.**

You can also order a kit of 2 quivers and 2 bows from cargo. The quivers
have a mix of lethal and nonlethal arrows. They cost a little less than
a crate of 3 laser guns, so this is generally a suboptimal choice.

## The bow
Like all bows, it is bulky, and fits only in suit storage. Unlike other
bows, it is not weak against armor, and can cause wounds. It is a
hardlight bow - its string is made out of energy. You can obtain this
bow via a voucher or cargo. The bow itself is also an appreciable
weapon, doing 11 blunt damage (this is prone to change on review - this
was inherited from the base bow).

## The arrows
### Blunt
The blunt arrow is the simplest arrow. 35 stamina, 5 brute, 3 hits to
down. Craftable the same way a normal arrow is. Reusable. Causes
dislocations if fired in close quarters.

### Taser
You only spawn with one taser arrow roundstart. 5 stamina guaranteed, 40
and knockdown if the target isnt electrically insulated. Not reusable.
Craftable like a normal arrow, but with a igniter, cable, and a cell.
**This recipe is prone to change on review, as I feel it might be a bit
easy to make for its power, but I dont know what to add to make it
truely expensive.**

Both of these arrows can only be crafted if you have the fletching book,
or an arrow to convert.

This PR also locks bronze arrows to ashies and hearthkin exclusively, as
they are too powerful for their ease of crafting. Upgrading your arrows
to bone should take time and effort.
## Why It's Good For The Game

Well, A, I have a character that does bowsec, and as it stands, its
kinda useless. The arrows are too weak and fail on all armor. Bronze
arrows do THREE DAMAGE on a redsuit. THREE.

B., it adds a fairly unique way to play ranged security. Bows just -
function differently. You have to load each arrow manually, pick up your
dropped arrows, and deal with a relatively choked quiver (if you want to
deal with the quiver at all). You also have to craft your own arrows,
seek out another fletching book for lethal arrows... its a more involved
playstyle if you really want to go full bowman.

C. Flavor. Some characters. like my own, prefer more... traditional
methods of dealing with people. Bows, spears, cudgels, clubs.

I should note, this kit will be somewhat underpowered in actual combat.
Running around, trying to load your bow while under fire, is very
difficult, especially because the disabler generally has a higher DPS
anyway. I do think thats fine, as it is more of a sidegrade in the same
way the pepperball is, but if maintainers request, I could possibly
increase the damage this bow deals or some variation to make it worth
using.
## Proof Of Testing
<details>
<summary>Screenshots/Videos</summary>

<img width="1879" height="526" alt="image"
src="https://github.com/user-attachments/assets/91ab9832-cc2d-4355-ad85-654611c8c66d"
/>


https://github.com/user-attachments/assets/d2697261-2b13-4f4e-9288-4a1a2fe1d134

</details>

## Changelog
🆑
add: A new security voucher - the archery kit, that gives you a bow that
penetrates armor and causes wounds, as well as some less-lethal arrows
add: An armory cargo order with two powerful bows and quivers with
lethal and nonlethal arrows
add: Two new less-lethal arrows craftable via the fletching book and
blacksmithing
balance: Bronze arrows can now only be crafted by ashies and hearthkin
/🆑
2026-04-13 21:56:33 +02:00

93 lines
2.6 KiB
Plaintext

/datum/embedding/arrow
embed_chance = 100
fall_chance = 0
jostle_chance = 0
pain_mult = 3
jostle_pain_mult = 3
rip_time = 1 SECONDS
/obj/projectile/bullet/arrow
damage = 20
weak_against_armour = TRUE
wound_bonus = CANT_WOUND
range = 16
embed_type = /datum/embedding/arrow
/// If you're an icemoon dweller, or an ashwalker, you gain this on top of being more effective against armor.
var/tribal_damage_bonus = 20
/// Does this arrow benefit from being a tribal?
var/gets_tribal_bonus = TRUE
/// If TRUE, this arrow will not obtain any benefits from being used by tribals or from a powerful bow.
var/already_effective = FALSE
faction_bonus_force = 10 //Bonus force dealt against certain factions
nemesis_paths = list(
/mob/living/simple_animal/hostile/asteroid,
/mob/living/basic/mining,
/mob/living/basic/wumborian_fugu,
)
/obj/item/gun/ballistic/bow
/// If this bow counts as being effectively used, which makes arrows not weak to armor and enables wounding.
var/effective = FALSE
/obj/item/gun/ballistic/bow/divine
effective = TRUE
/obj/projectile/bullet/arrow/prehit_pierce(mob/living/target)
if (already_effective)
return ..()
var/mob/living/carbon/human/user = firer
if(isnull(target))
return ..()
var/effective_usage = FALSE
if(!isnull(fired_from) && istype(fired_from, /obj/item/gun/ballistic/bow))
var/obj/item/gun/ballistic/bow/bow = fired_from
if (bow.effective)
effective_usage = TRUE
if(gets_tribal_bonus && istype(user?.mind?.assigned_role, /datum/job/ash_walker) || istype(user?.mind?.assigned_role, /datum/job/primitive_catgirl))
damage += tribal_damage_bonus
effective_usage = TRUE
if(effective_usage)
weak_against_armour = FALSE
if (wound_bonus <= CANT_WOUND)
wound_bonus = -10
return ..()
/obj/projectile/bullet/arrow/poison
damage = 20
/obj/projectile/bullet/arrow/sticky
damage = 3 // decrease from 30 - makes it less lethal on initial impact and awful to tear out
stamina = 30
/obj/projectile/bullet/arrow/holy
damage = 25 // Increase from 20
embed_type = /datum/embedding/arrow
/obj/projectile/bullet/arrow/ash
damage = 20
armour_penetration = 20 // Buff from 0
faction_bonus_force = 20 // Nerf from 60
embed_type = /datum/embedding/arrow
/obj/projectile/bullet/arrow/bone
damage = 25
armour_penetration = 30 // Buff from 20
wound_bonus = CANT_WOUND
faction_bonus_force = 30 // Nerf from 35
embed_type = /datum/embedding/arrow
/obj/projectile/bullet/arrow/bronze
damage = 30
armour_penetration = 30
wound_bonus = CANT_WOUND
faction_bonus_force = 90
embed_type = /datum/embedding/arrow
/obj/projectile/bullet/arrow/plastic
already_effective = TRUE