Skip to content

Commit

Permalink
Merge pull request #197 from KnigTheThrasher/cratespear
Browse files Browse the repository at this point in the history
Restore Spear's Ability to Destroy Lockers (#88377)
  • Loading branch information
SynthTwo authored Jan 7, 2025
2 parents 321d5d3 + 6ab2df1 commit 8841cc6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions code/game/objects/structures/crates_lockers/closets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1221,4 +1221,14 @@ GLOBAL_LIST_EMPTY(roundstart_station_closets)
/obj/structure/closet/proc/add_to_roundstart_list()
GLOB.roundstart_station_closets += src

///Spears deal bonus damages to lockers
/obj/structure/closet/attacked_by(obj/item/attacking_item, mob/living/user)
if(istype(attacking_item, /obj/item/spear))
take_damage(attacking_item.force * 2, attacking_item.damtype, MELEE, 1, get_dir(src, user))
user.visible_message(span_danger("[user] stabs with precision [src]'s electronics with [attacking_item]!"),
span_danger("You stab with precision [src]'s electronics with [attacking_item]!"), null, COMBAT_MESSAGE_RANGE)
log_combat(user, src, "attacked", attacking_item)
return
return ..()

#undef LOCKER_FULL
3 changes: 2 additions & 1 deletion strings/tips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ Basketball requires skill. Spinning drains stamina, reduces accuracy, but gives
Basketball requires teamwork. Passing the ball with LMB is instant and costs no stamina.
Clicking on a windoor rather then bumping into it will keep it open, you can click it again to close it.
Different weapons have different strengths. Some weapons, such as spears, floor tiles, and throwing stars, deal more damage when thrown compared to when attacked normally.
Don't be afraid to ask for help, whether from your peers or from mentors.
Spears are capable of breaking into secure lockers by striking them in melee!
Don't be afraid to ask for help, whether from your peers or from admins.
Experiment with different setups of the Supermatter engine to maximize output, but don't risk the crew's safety to do so!
Felinids get temporarily distracted by laser pointers. Use this to your advantage when being pursued by one.
Firesuits and winter coats offer mild protection from the cold, allowing you to spend longer periods of time near breaches and space than if wearing nothing at all.
Expand Down

0 comments on commit 8841cc6

Please sign in to comment.