Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) Yautja Weapon Gimmicks, Round Two #5392

Draft
wants to merge 44 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3a4b5d4
scythe bleed
realforest2001 Jul 29, 2023
374968a
unique_action suuuuuucks
realforest2001 Aug 1, 2023
c19b842
scythe ability
realforest2001 Aug 2, 2023
5b30467
combi block probability
realforest2001 Aug 2, 2023
ea2022c
icon removal
realforest2001 Aug 2, 2023
63c7f2e
fixed
realforest2001 Aug 2, 2023
68003de
check fix
realforest2001 Aug 2, 2023
6cb0eb8
mirroring fix
johndoe2013 Aug 2, 2023
2c55996
Merge branch 'master' into forest/pred/scythe
Zonespace27 Aug 8, 2023
824ab48
fixes unique action popup
realforest2001 Aug 10, 2023
94b362c
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Aug 10, 2023
051a21c
fixes mask chance going over intended max
realforest2001 Aug 10, 2023
3b8246b
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Aug 21, 2023
0a25cb2
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Aug 22, 2023
56eb993
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Sep 11, 2023
d3d813c
changes
realforest2001 Sep 11, 2023
cf061b2
EXPERIMENTAL: DAMAGE CHANGES
realforest2001 Sep 13, 2023
43a7a65
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Sep 30, 2023
2961dd1
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Jan 6, 2024
d41c4e2
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Jan 7, 2024
2db3859
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Jan 13, 2024
bcd8b2b
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Jan 22, 2024
7f04542
filter check
realforest2001 Feb 12, 2024
1e590a5
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Feb 12, 2024
a104f39
Scythe tweak
realforest2001 Feb 14, 2024
719c1eb
var tidy up
realforest2001 Feb 14, 2024
b54290d
overlay fix
realforest2001 Feb 15, 2024
f164a72
better fix
realforest2001 Feb 15, 2024
bcc1221
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Apr 4, 2024
b570c02
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Apr 24, 2024
8b3a45b
start on chainwhip
realforest2001 Apr 24, 2024
49f0f36
x
realforest2001 Apr 26, 2024
79cf5eb
chainwhip chain
realforest2001 May 8, 2024
9b96092
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 May 8, 2024
1b61578
log fix
realforest2001 May 8, 2024
1f8b4ff
d
realforest2001 May 8, 2024
63d75af
chain decay
realforest2001 May 8, 2024
b1388a8
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 May 20, 2024
401334a
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Sep 12, 2024
d421e60
interfere fix
realforest2001 Sep 12, 2024
1bd9a76
Merge remote-tracking branch 'cmss13-devs/master' into forest/pred/we…
realforest2001 Oct 5, 2024
a8aa90c
mark functions
realforest2001 Oct 5, 2024
65d0f25
fixes
realforest2001 Oct 6, 2024
9fe6a80
chain nerf
realforest2001 Oct 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/datums/keybinding/human_combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if(!.)
return
var/mob/user_mob = user.mob
return isgun(user_mob.get_held_item())
return isweapon(user_mob.get_held_item())

/datum/keybinding/human/combat/field_strip_weapon
hotkey_keys = list("Unbound")
Expand Down Expand Up @@ -101,7 +101,7 @@
if(.)
return
var/mob/living/carbon/human/human = user.mob
var/obj/item/weapon/gun/held_item = human.get_held_item()
var/obj/item/weapon/held_item = human.get_held_item()
held_item.use_unique_action()
return TRUE

Expand Down
6 changes: 6 additions & 0 deletions code/game/objects/items/weapons/weapon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
icon = 'icons/obj/items/weapons/weapons.dmi'
hitsound = "swing_hit"
flags_atom = FPRINT|QUICK_DRAWABLE
var/has_unique_action = FALSE

/obj/item/weapon/Initialize(mapload, ...)
. = ..()
if(!has_unique_action)
verbs -= /obj/item/weapon/verb/use_unique_action

/obj/item/get_examine_text(mob/user)
. = ..()
Expand Down
4 changes: 2 additions & 2 deletions code/modules/cm_preds/smartdisc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
unacidable = TRUE
embeddable = FALSE

force = 15
throwforce = 25
force = MELEE_FORCE_WEAK
throwforce = MELEE_FORCE_NORMAL

/obj/item/explosive/grenade/spawnergrenade/smartdisc/launch_towards(datum/launch_metadata/LM)
..()
Expand Down
18 changes: 9 additions & 9 deletions code/modules/cm_preds/yaut_hudprocs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
// List all possible preys
// We only target living humans and xenos
var/list/target_list = list()
for(var/mob/living/prey in view(7, usr.client))
for(var/mob/living/prey in view(7, usr.client.eye))
if((ishuman_strict(prey) || isxeno(prey)) && prey.stat != DEAD)
target_list += prey

Expand Down Expand Up @@ -149,7 +149,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if(ishuman_strict(target) && (target.stat != DEAD))
target_list += target

Expand Down Expand Up @@ -186,7 +186,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if(ishuman_strict(target) && (target.stat != DEAD))
if(target.hunter_data.honored)
target_list += target
Expand Down Expand Up @@ -223,7 +223,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if((ishuman_strict(target) || isxeno(target)) && target.stat != DEAD)
target_list += target

Expand Down Expand Up @@ -263,7 +263,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if((ishuman_strict(target) || isxeno(target)) && target.stat != DEAD)
if(target.job != "Predalien" && target.job != "Predalien Larva")
if(target.hunter_data.dishonored)
Expand Down Expand Up @@ -304,7 +304,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if((ishuman_strict(target) && target.stat != DEAD))
target_list += target

Expand Down Expand Up @@ -335,7 +335,7 @@
return

var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if((ishuman_strict(target) && target.stat != DEAD))
if(target.hunter_data.gear)
target_list += target
Expand Down Expand Up @@ -376,7 +376,7 @@
// List all possible targets
// We only target living humans
var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if(ishuman_strict(target) && target.stat != DEAD)
target_list += target

Expand Down Expand Up @@ -415,7 +415,7 @@
// List all possible targets
// We only target living humans
var/list/target_list = list()
for(var/mob/living/carbon/target in view(7, usr.client))
for(var/mob/living/carbon/target in view(7, usr.client.eye))
if(ishuman_strict(target) && target.stat != DEAD)
if(target.hunter_data.thralled)
target_list += target
Expand Down
Loading
Loading