mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Holodeck claymores & eswords can only block holodeck items (#18229)
* fix * also esword * implement changes + better scoping * oops * comment cleanup Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
@@ -425,6 +425,13 @@
|
||||
/obj/item/holo
|
||||
damtype = STAMINA
|
||||
|
||||
//override block check, we don't want to block anything that's not a holo object
|
||||
/obj/item/holo/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby)
|
||||
if(!istype(hitby, /obj/item/holo))
|
||||
return FALSE
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/holo/claymore
|
||||
name = "claymore"
|
||||
desc = "What are you standing around staring at this for? Get to killing!"
|
||||
@@ -437,6 +444,7 @@
|
||||
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
||||
block_chance = 50
|
||||
|
||||
|
||||
/obj/item/holo/claymore/blue
|
||||
icon_state = "claymoreblue"
|
||||
item_state = "claymoreblue"
|
||||
|
||||
Reference in New Issue
Block a user