Craftings added

This commit is contained in:
{{QWERTYKBGUI}} 2023-05-02 20:54:31 +02:00
parent b62ffd6996
commit 1705722908
3 changed files with 16 additions and 2 deletions

View File

@ -323,3 +323,13 @@ minetest.register_craft({
{"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"},
}
})

View File

@ -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

View File

@ -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"},
})