6275 {
6277 if (can_be_dropped)
6278 {
6280 }
6281
6282 vector pos_spawn =
GetPosition() + GetDirection();
6283 pos_spawn[0] = pos_spawn[0] + Math.RandomFloat(-0.2, 0.2);
6284 pos_spawn[2] = pos_spawn[2] + Math.RandomFloat(-0.2, 0.2);
6285
6286 item.SetPosition(pos_spawn);
6287 item.PlaceOnSurface();
6288 return can_be_dropped;
6289 }
override bool PredictiveDropEntity(notnull EntityAI item)
override bool CanDropEntity(notnull EntityAI item)
class JsonUndergroundAreaTriggerData GetPosition