write something there
This commit is contained in:
commit
b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions
22
mods/asuna/asuna_awards/awards/fellowship_of_the_mese.lua
Normal file
22
mods/asuna/asuna_awards/awards/fellowship_of_the_mese.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
return function(award)
|
||||
minetest.override_item("default:mese_block",{
|
||||
dropped_step = function(self,pos)
|
||||
-- Check if player explicitly dropped it
|
||||
local dropper = self.dropped_by
|
||||
if dropper and minetest.get_player_by_name(dropper) then
|
||||
local groups = minetest.registered_nodes[minetest.get_node(pos).name].groups
|
||||
if groups and groups.lava and groups.lava > 0 then
|
||||
awards.unlock(dropper,award)
|
||||
end
|
||||
end
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
||||
return {
|
||||
title = "Fellowship of the Mese",
|
||||
description = "Drop a mese block into lava",
|
||||
difficulty = 280,
|
||||
icon = "[inventorycube{default_mese_block.png{default_mese_block.png{default_mese_block.png^fire_basic_flame.png",
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue