- UID
- 395936
- 主题
- 1
- 阅读权限
- 40
- 帖子
- 1234
- 精华
- 0
- 积分
- 617
- 金钱
- 11627
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 3337 小时
- 评议
- 0
- 帖子
- 1234
- 精华
- 0
- 积分
- 617
- 金钱
- 11627
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
local pt = Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))
local ptnum = 1 + math.random(9)
for y = 1, ptnum do
picker.components.inventory:GiveItem(SpawnPrefab(self.product), nil, pt)
endlocal pt = Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))
local ptnum = 1 + math.random(9)
for y = 1, ptnum do
picker.components.inventory:GiveItem(SpawnPrefab(self.product), nil, pt)
end |
|