]> git.lizzy.rs Git - Crafter.git/commitdiff
Snowmen now drop a carrot, coal, stick, or snowball
authoroilboi <47129783+oilboi@users.noreply.github.com>
Thu, 28 May 2020 19:20:04 +0000 (15:20 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Thu, 28 May 2020 19:20:04 +0000 (15:20 -0400)
README.md
mods/mob/init.lua
mods/mob/items.lua
mods/mob/textures/attributes.txt
mods/mob/textures/carrot.png [new file with mode: 0644]

index 74e926e18ad9f102732b7cf804481ba34000d4c0..7a43407954da3dd1fa7fb04f6f6cff3d99871406 100644 (file)
--- a/README.md
+++ b/README.md
@@ -38,6 +38,8 @@ enable_mod_channels = true
 - Fixed wrong variable for durability assigned to all swords
 - Fix bug in experience
 - Fully implemented bows and arrows
+- Tuned the bow and arrows even further
+- Snowmen now drop a carrot, coal, stick, or snowball
 ---
 
 
index abcc7fe51f08476550d469706a5b95f959e34cfc..9f75b752a77fce4da4fa089316067fa108227cf2 100644 (file)
@@ -179,7 +179,7 @@ mobs.register_mob(
         state = 0,
         view_distance = 15,
         
-        item_drop = "weather:snowball"
+        item_drop = {"weather:snowball","main:coal","mob:carrot","main:stick"}
         standing_frame = {x=0,y=0},
         moving_frame = {x=0,y=0},
         animation_multiplier = 10,
index 7ad1adf0852b2ce62626c4b29b84ead1ef2daea7..49a83f93180fb880fc28ce7df374ded465b75beb 100644 (file)
@@ -22,6 +22,13 @@ minetest.register_food("mob:egg",{
        hunger=2,
 })
 
+minetest.register_food("mob:carrot",{
+       description = "Carrot",
+       texture = "carrot.png",
+       satiation=2,
+       hunger=2,
+})
+
 minetest.register_craftitem("mob:slimeball", {
        description = "Slimeball",
        inventory_image = "slimeball.png",
index 03aa87b123ce33066001546804b09dbc5d5189e7..d123121f40d6f24450c390cf4086bb7f0de07935 100644 (file)
@@ -2,4 +2,5 @@ mob skins - 22i https://github.com/22i
 gunpowder, porkchop - https://github.com/minetest-texture-packs/Pixel-Perfection
 string, slimeball - oil_boi
 egg - Mineclone
-feather - Mineclone
\ No newline at end of file
+feather - Mineclone
+carrot - Mineclone
\ No newline at end of file
diff --git a/mods/mob/textures/carrot.png b/mods/mob/textures/carrot.png
new file mode 100644 (file)
index 0000000..7c916fc
Binary files /dev/null and b/mods/mob/textures/carrot.png differ