drop = {
max_items = 1,
items = {
{
items = {"default:diamond"},
rarity = 2,
},
{
items = {"default:mese_crystal"},
rarity = 2,
},
}
}
l think this code does this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
if math.random(2) == 1 then
return "default:diamond"
end
if math.random(2) == 1 then
return "default:mese_crystal"
end
But you want to make it do this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
if math.random(2) == 1 then
return "default:diamond"
else
return "default:mese_crystal"
end
l think if you keep the simple code, the behaviour is similar to the
abm behaviourso instead of this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
drop = {
max_items = 1,
items = {
{
items = {"default:diamond"},
rarity = 3,
},
{
items = {"default:mese_crystal"},
rarity = 3,
},
{
items = {"default:mese"},
rarity = 3,
},
}
}
try this
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
drop = {
max_items = 1,
items = {
{
items = {
{
items = {"default:mese"},
rarity = 2,
},
{
items = {"default:diamond"},
rarity = 1,
},
},
rarity = 3/2,
},
{
items = {"default:mese_crystal"},
rarity = 1,
},
}
}
and so on
note that l don't know if it works