Skip to content

Commit

Permalink
New changeling ability: Bone Shard (ParadiseSS13#25388)
Browse files Browse the repository at this point in the history
* bone shuriken real

* real real real

* thanks ramon

sprites

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: JimKil3 <[email protected]>

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: JimKil3 <[email protected]>

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: JimKil3 <[email protected]>

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: JimKil3 <[email protected]>

* simples

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: Henri215 <[email protected]>

* balance

* bone shard

* All working

* noautolathecling

* 15

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: Henri215 <[email protected]>
Signed-off-by: Marm <[email protected]>

* Update mutations.dm

* requested change

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: Matt <[email protected]>
Signed-off-by: Marm <[email protected]>

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: DGamerL <[email protected]>
Signed-off-by: Marm <[email protected]>

* Update code/modules/antagonists/changeling/powers/mutations.dm

Co-authored-by: DGamerL <[email protected]>
Signed-off-by: Marm <[email protected]>

---------

Signed-off-by: Marm <[email protected]>
Co-authored-by: JimKil3 <[email protected]>
Co-authored-by: Henri215 <[email protected]>
Co-authored-by: Matt <[email protected]>
Co-authored-by: DGamerL <[email protected]>
  • Loading branch information
5 people authored May 28, 2024
1 parent f30f7e9 commit ae10972
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions code/modules/antagonists/changeling/powers/mutations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -583,3 +583,48 @@
armor = list(MELEE = 40, BULLET = 40, LASER = 40, ENERGY = 20, BOMB = 10, RAD = 0, FIRE = 90, ACID = 90)
flags_inv = HIDEEARS
flags_cover = MASKCOVERSEYES | MASKCOVERSMOUTH

// Bone Shard
/datum/action/changeling/weapon/bones
name = "Bone Shard"
desc = "We evolve the ability to break off shards of our bone and shape them into throwing weapons which embed into our foes. Costs 15 chemicals."
helptext = "The shards of bone will dull upon hitting a target, rendering them unusable as weapons."
button_icon_state = "boneshard"
chemical_cost = 15
dna_cost = 3
req_human = TRUE
weapon_type = /obj/item/throwing_star/boneshard
weapon_name_simple = "bone"
power_type = CHANGELING_PURCHASABLE_POWER
category = /datum/changeling_power_category/offence

/obj/item/throwing_star/boneshard
name = "bone shard"
desc = "A serrated shard of bone laden with vicious barbs."
icon_state = "bone_star"
throwforce = 15
embedded_fall_chance = 5
embedded_impact_pain_multiplier = 3
embedded_unsafe_removal_pain_multiplier = 6
embedded_pain_chance = 10
w_class = WEIGHT_CLASS_NORMAL
materials = list()

/obj/item/throwing_star/boneshard/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
..()
if(isliving(hit_atom))
name = "bone fragment"
desc = "A dull shard of fractured bone. It has little use as a weapon."
throwforce = 0
embed_chance = 0

/obj/item/throwing_star/boneshard/Initialize(mapload)
. = ..()
if(!iscarbon(loc))
return

var/mob/living/carbon/C = loc
C.throw_mode_on()

playsound(loc, 'sound/effects/bone_break_1.ogg', 100, TRUE)
C.visible_message("<span class='warning'>Shards of bone grow through [C.name]'s palms and fall into [C.p_their()] hands!</span>", "<span class='warning'>We expel shards of bone into our hands.</span>", "<span class='hear'>You hear organic matter ripping and tearing!</span>")
Binary file modified icons/mob/actions/actions.dmi
Binary file not shown.
Binary file modified icons/obj/weapons/melee.dmi
Binary file not shown.

0 comments on commit ae10972

Please sign in to comment.