Skip to content

Commit

Permalink
Makes the dragon unable to eat corpses
Browse files Browse the repository at this point in the history
  • Loading branch information
Houtblokje committed Jun 8, 2024
1 parent 0ad77b4 commit 3e76575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Devour/SharedDevourSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ protected void OnDevourAction(EntityUid uid, DevourerComponent component, Devour
{
switch (targetState.CurrentState)
{
case MobState.Critical:
/*case MobState.Critical:
case MobState.Dead:
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, uid, component.DevourTime, new DevourDoAfterEvent(), uid, target: target, used: uid)
{
BreakOnMove = true,
});
break;
break;*/ //Frontier - Disabled due to unfairness.
default:
_popupSystem.PopupClient(Loc.GetString("devour-action-popup-message-fail-target-alive"), uid,uid);
break;
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/actions/actions/dragon.ftl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
devour-action-popup-message-structure = Your jaws dig into thick material..
devour-action-popup-message-fail-target-not-valid = That doesn't look particularly edible.
devour-action-popup-message-fail-target-alive = You can't consume creatures that are alive!
devour-action-popup-message-fail-target-alive = You can't consume creatures!
dragon-spawn-action-popup-message-fail-no-eggs = You don't have the stamina to do that!

0 comments on commit 3e76575

Please sign in to comment.