Fixes and stuff (#229)
* - add: Add rites description. * - fix: Fix fuel tank explosion. * - tweak: Jug can attack now. * - tweak: Less material size. * - fix: Translation fix. * - tweak: Dead people are collideable. * - tweak: Less small mobs damage. * - add: You can now shoot yourself. * - add: Mood effect for felinids. * Revert "- fix: Fix fuel tank explosion." This reverts commit 72d9d6d2c5a3e579c50e8fa63a58e6d989dbe9e9. * - fix: Keyhole fixes. * - tweak: Doors now cost less material. * - fix: Change loc.
This commit is contained in:
@@ -15,7 +15,6 @@ using Content.Shared.Speech;
|
||||
using Content.Shared.Standing;
|
||||
using Content.Shared.Strip.Components;
|
||||
using Content.Shared.Throwing;
|
||||
using Robust.Shared.Physics.Components;
|
||||
|
||||
namespace Content.Shared.Mobs.Systems;
|
||||
|
||||
@@ -56,12 +55,7 @@ public partial class MobStateSystem
|
||||
_standing.Stand(target);
|
||||
break;
|
||||
case MobState.Dead:
|
||||
RemComp<CollisionWakeComponent>(target);
|
||||
_standing.Stand(target);
|
||||
if (!_standing.IsDown(target) && TryComp<PhysicsComponent>(target, out var physics))
|
||||
{
|
||||
_physics.SetCanCollide(target, true, body: physics);
|
||||
}
|
||||
|
||||
break;
|
||||
case MobState.Invalid:
|
||||
@@ -91,14 +85,8 @@ public partial class MobStateSystem
|
||||
_appearance.SetData(target, MobStateVisuals.State, MobState.Critical);
|
||||
break;
|
||||
case MobState.Dead:
|
||||
EnsureComp<CollisionWakeComponent>(target);
|
||||
_standing.Down(target);
|
||||
|
||||
if (_standing.IsDown(target) && TryComp<PhysicsComponent>(target, out var physics))
|
||||
{
|
||||
_physics.SetCanCollide(target, false, body: physics);
|
||||
}
|
||||
|
||||
_appearance.SetData(target, MobStateVisuals.State, MobState.Dead);
|
||||
break;
|
||||
case MobState.Invalid:
|
||||
|
||||
Reference in New Issue
Block a user