diff --git a/mods/amogus_craftings/init.lua b/mods/amogus_craftings/init.lua index 13d7ab5..037ad9e 100644 --- a/mods/amogus_craftings/init.lua +++ b/mods/amogus_craftings/init.lua @@ -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"}, + } }) \ No newline at end of file diff --git a/mods/amogus_entities/entities/amogus_entity.lua b/mods/amogus_entities/entities/amogus_entity.lua index 4f6d003..bc2397e 100644 --- a/mods/amogus_entities/entities/amogus_entity.lua +++ b/mods/amogus_entities/entities/amogus_entity.lua @@ -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 diff --git a/mods/amogus_items/init.lua b/mods/amogus_items/init.lua index 2083d07..973bd50 100644 --- a/mods/amogus_items/init.lua +++ b/mods/amogus_items/init.lua @@ -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"}, })