prefabs/statuemaxwell.lua
8910111213
"marble",
}
local function fn()
local inst = CreateEntity()
local trans = inst.entity:AddTransform()
89101112131415161718192021
"marble",
}
SetSharedLootTable( 'statue_maxwell',
{
{'marble', 1.00},
{'marble', 1.00},
{'marble', 0.33},
})
local function fn()
local inst = CreateEntity()
local trans = inst.entity:AddTransform()
1920212223242526
MakeObstaclePhysics(inst, 0.66)
inst:AddComponent("lootdropper")
inst.components.lootdropper:SetLoot({"marble","marble"}) --Does this drop marble?
inst.components.lootdropper:AddChanceLoot("marble", 0.33)
anim:SetBank("statue_maxwell")
anim:SetBuild("statue_maxwell")
27282930313233
MakeObstaclePhysics(inst, 0.66)
inst:AddComponent("lootdropper")
inst.components.lootdropper:SetChanceLootTable('statue_maxwell')
anim:SetBank("statue_maxwell")
anim:SetBuild("statue_maxwell")