Craftings added
This commit is contained in:
parent
b62ffd6996
commit
1705722908
@ -322,4 +322,14 @@ minetest.register_craft({
|
||||
{"amogus_blocks:planks"},
|
||||
{"amogus_blocks:planks"},
|
||||
}
|
||||
})
|
||||
|
||||
-- create recipe for pooper out of PCB and mogus and dirt
|
||||
minetest.register_craft({
|
||||
output = "amogus_items:pooper",
|
||||
recipe = {
|
||||
{"amogus_items:pcb", "amogus_items:mogus", "amogus_items:pcb"},
|
||||
{"amogus_items:pcb", "amogus_blocks:dirt", "amogus_items:pcb"},
|
||||
{"amogus_items:pcb", "amogus_items:pcb", "amogus_items:pcb"},
|
||||
}
|
||||
})
|
@ -15,6 +15,11 @@ local entity = {
|
||||
mesh = "amogus_entity.obj",
|
||||
on_rightclick = function(self, clicker)
|
||||
minetest.chat_send_player(clicker:get_player_name(), "WHY ARE YOU SUCH SUSSY BAKA?")
|
||||
-- give player mogus item
|
||||
local inv = clicker:get_inventory()
|
||||
inv:add_item("main", "amogus_items:mogus")
|
||||
-- remove entity
|
||||
self.object:remove()
|
||||
end,
|
||||
|
||||
|
||||
@ -48,7 +53,6 @@ local entity = {
|
||||
self.min_max_jump_force_diff = self.max_jump_force - self.min_jump_force
|
||||
end,
|
||||
|
||||
|
||||
on_step = function(self, dtime)
|
||||
|
||||
-- play amogus sound randomly
|
||||
|
@ -739,7 +739,7 @@ minetest.register_tool("amogus_items:obsusian_sword", {
|
||||
groupcaps = {
|
||||
snappy = {times = {[2] = 0.70, [3] = 0.30}, uses = 30, maxlevel = 3},
|
||||
},
|
||||
damage_groups = {fleshy = 4},
|
||||
damage_groups = {fleshy = 16},
|
||||
},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user