Shoving lockers, content side
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using SS14.Shared.Interfaces.Map;
|
using SS14.Shared.Interfaces.Map;
|
||||||
using SS14.Shared.Prototypes;
|
using SS14.Shared.Prototypes;
|
||||||
using SS14.Shared.Utility;
|
using SS14.Shared.Utility;
|
||||||
@@ -19,6 +19,7 @@ namespace Content.Shared.Maps
|
|||||||
public bool IsSubFloor { get; private set; }
|
public bool IsSubFloor { get; private set; }
|
||||||
public bool CanCrowbar { get; private set; }
|
public bool CanCrowbar { get; private set; }
|
||||||
public string FootstepSounds { get; private set; }
|
public string FootstepSounds { get; private set; }
|
||||||
|
public float Friction { get; set; }
|
||||||
|
|
||||||
public void AssignTileId(ushort id)
|
public void AssignTileId(ushort id)
|
||||||
{
|
{
|
||||||
@@ -45,6 +46,15 @@ namespace Content.Shared.Maps
|
|||||||
{
|
{
|
||||||
FootstepSounds = node.AsString();
|
FootstepSounds = node.AsString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mapping.TryGetNode("friction", out node))
|
||||||
|
{
|
||||||
|
Friction = node.AsFloat();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Friction = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
aabb: "-0.5,-0.25,-0.05,0.25"
|
aabb: "-0.5,-0.25,-0.05,0.25"
|
||||||
|
|
||||||
- type: Physics
|
- type: Physics
|
||||||
mass: 5
|
mass: 25
|
||||||
|
|
||||||
- type: Collidable
|
- type: Collidable
|
||||||
DebugColor: "#0000FF"
|
DebugColor: "#0000FF"
|
||||||
|
|||||||
@@ -15,9 +15,14 @@
|
|||||||
|
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: BoundingBox
|
- type: BoundingBox
|
||||||
|
aabb: "-0.5,-0.25,0.5,0.25"
|
||||||
- type: Collidable
|
- type: Collidable
|
||||||
|
IsInteractingWithFloor: true
|
||||||
- type: Storage
|
- type: Storage
|
||||||
Capacity: 80
|
Capacity: 80
|
||||||
|
- type: Physics
|
||||||
|
mass: 25
|
||||||
|
Anchored: false
|
||||||
|
|
||||||
placement:
|
placement:
|
||||||
snap:
|
snap:
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
is_subfloor: false
|
is_subfloor: false
|
||||||
can_crowbar: true
|
can_crowbar: true
|
||||||
footstep_sounds: footstep_floor
|
footstep_sounds: footstep_floor
|
||||||
|
friction: 0.35
|
||||||
|
|
||||||
- type: tile
|
- type: tile
|
||||||
name: floor_white
|
name: floor_white
|
||||||
@@ -13,6 +14,7 @@
|
|||||||
is_subfloor: false
|
is_subfloor: false
|
||||||
can_crowbar: true
|
can_crowbar: true
|
||||||
footstep_sounds: footstep_floor
|
footstep_sounds: footstep_floor
|
||||||
|
friction: 0.1
|
||||||
|
|
||||||
- type: tile
|
- type: tile
|
||||||
name: floor_techmaint
|
name: floor_techmaint
|
||||||
@@ -21,3 +23,4 @@
|
|||||||
is_subfloor: false
|
is_subfloor: false
|
||||||
can_crowbar: true
|
can_crowbar: true
|
||||||
footstep_sounds: footstep_floor
|
footstep_sounds: footstep_floor
|
||||||
|
friction: 0.5
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
texture: plating
|
texture: plating
|
||||||
is_subfloor: true
|
is_subfloor: true
|
||||||
footstep_sounds: footstep_plating
|
footstep_sounds: footstep_plating
|
||||||
|
friction: 0.5
|
||||||
|
|
||||||
- type: tile
|
- type: tile
|
||||||
name: underplating
|
name: underplating
|
||||||
@@ -11,3 +12,4 @@
|
|||||||
texture: underplating
|
texture: underplating
|
||||||
is_subfloor: true
|
is_subfloor: true
|
||||||
footstep_sounds: footstep_plating
|
footstep_sounds: footstep_plating
|
||||||
|
friction: 0.5
|
||||||
|
|||||||
@@ -2,3 +2,4 @@
|
|||||||
name: space
|
name: space
|
||||||
display_name: Space
|
display_name: Space
|
||||||
texture: ""
|
texture: ""
|
||||||
|
friction: 0
|
||||||
Reference in New Issue
Block a user