@@ -9,6 +9,7 @@ using Content.Shared.Hands.Components;
|
||||
using Content.Shared.IdentityManagement;
|
||||
using Content.Shared.Movement.Events;
|
||||
using Content.Shared.Movement.Pulling.Events;
|
||||
using Content.Shared.Physics;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Pulling.Events;
|
||||
using Content.Shared.Rotation;
|
||||
@@ -18,7 +19,6 @@ using Content.Shared.Stunnable;
|
||||
using Content.Shared.Throwing;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Events;
|
||||
@@ -318,6 +318,11 @@ public abstract partial class SharedBuckleSystem
|
||||
return false;
|
||||
}
|
||||
|
||||
//CP14
|
||||
if (!_interaction.InRangeUnobstructed(buckleUid, strapUid, collisionMask: CollisionGroup.MobMask))
|
||||
return false;
|
||||
//CP14 End
|
||||
|
||||
var buckleAttempt = new BuckleAttemptEvent((strapUid, strapComp), (buckleUid, buckleComp), user, popup);
|
||||
RaiseLocalEvent(buckleUid, ref buckleAttempt);
|
||||
if (buckleAttempt.Cancelled)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
- type: entity
|
||||
id: CP14BiomeSpawnerGrassland
|
||||
parent: CP14BaseBiomeSpawner
|
||||
suffix: Comoss, grassland
|
||||
suffix: T0 Resources, Grassland
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -37,7 +37,7 @@
|
||||
- type: entity
|
||||
id: CP14BiomeSpawnerCave
|
||||
parent: CP14BaseBiomeSpawner
|
||||
suffix: Comoss, cave
|
||||
suffix: T0 Resources, Cave Tunnels
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -92,6 +92,8 @@
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: forest
|
||||
- sprite: _CP14/Tiles/Water/water.rsi
|
||||
state: full
|
||||
- state: frame
|
||||
- type: CP14BiomeSpawner
|
||||
biome: CP14SwampFill
|
||||
Reference in New Issue
Block a user