Skip to content

Commit

Permalink
useless things removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Sep 20, 2024
1 parent a864adc commit 9b281e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
#define TRAIT_JESTER "jester"
#define TRAIT_ELITE_CHALLENGER "elite_challenger"
#define TRAIT_MUTE "mute"
#define TRAIT_DEVOURED "devoured"
#define TRAIT_DEAF "deaf"
#define TRAIT_SECDEATH "secdeath"
#define TRAIT_AI_UNTRACKABLE "AI_untrackable"
Expand Down
1 change: 0 additions & 1 deletion code/_globalvars/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_COMIC" = TRAIT_COMIC,
"TRAIT_CLUMSY" = TRAIT_CLUMSY,
"TRAIT_DEAF" = TRAIT_DEAF,
"TRAIT_DEVOURED" = TRAIT_DEVOURED,
"TRAIT_DWARF" = TRAIT_DWARF,
"TRAIT_ELITE_CHALLENGER" = TRAIT_ELITE_CHALLENGER,
"TRAIT_EMBEDIMMUNE" = TRAIT_EMBEDIMMUNE,
Expand Down
3 changes: 0 additions & 3 deletions code/datums/components/devour.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
var/mob/mob = parent
target.extinguish_light()
target.forceMove(mob)
ADD_TRAIT(target, TRAIT_DEVOURED, UNIQUE_TRAIT_SOURCE(src))
SEND_SIGNAL(mob, COMSIG_COMPONENT_DEVOURED_TARGET, target)
return mob

Expand Down Expand Up @@ -109,8 +108,6 @@
var/mob/mob = parent
for(var/atom/movable/atom in mob)
atom.forceMove(mob.loc)
if(HAS_TRAIT(mob, TRAIT_DEVOURED))
REMOVE_TRAIT(mob, TRAIT_DEVOURED, UNIQUE_TRAIT_SOURCE(src))
if(prob(90))
step(atom, pick(GLOB.alldirs))

1 change: 0 additions & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,6 @@
victim.Knockdown(2 SECONDS)
playsound(victim.loc, "desceration", 35, TRUE, -1)
add_attack_logs(attacker, victim, "Headbutted")

if(INTENT_GRAB)
if(grabber == src)
target.devoured(grabber)
Expand Down

0 comments on commit 9b281e7

Please sign in to comment.