6267 {
6269 if (can_be_dropped)
6270 {
6272 }
6273
6274 vector pos_spawn =
GetPosition() + GetDirection();
6275 pos_spawn[0] = pos_spawn[0] + Math.RandomFloat(-0.2, 0.2);
6276 pos_spawn[2] = pos_spawn[2] + Math.RandomFloat(-0.2, 0.2);
6277
6278 item.SetPosition(pos_spawn);
6279 item.PlaceOnSurface();
6280 return can_be_dropped;
6281 }
override bool PredictiveDropEntity(notnull EntityAI item)
override bool CanDropEntity(notnull EntityAI item)
class JsonUndergroundAreaTriggerData GetPosition