forked from mtcontrib/3d_armor
Compare commits
6 Commits
357cc3aada
...
master
Author | SHA1 | Date | |
---|---|---|---|
3ae2529c9f | |||
a6779e7911 | |||
a586aeee0c | |||
082e866274 | |||
c224a73df7 | |||
280165fada |
@ -296,16 +296,21 @@ player_api.register_model("3d_armor_character.b3d", {
|
|||||||
},
|
},
|
||||||
animations = {
|
animations = {
|
||||||
stand = {x=0, y=79},
|
stand = {x=0, y=79},
|
||||||
lay = {x=162, y=166},
|
lay = {x=162, y=166, eye_height = 0.3, override_local = true,
|
||||||
|
collisionbox = {-0.6, 0.0, -0.6, 0.6, 0.3, 0.6}},
|
||||||
walk = {x=168, y=187},
|
walk = {x=168, y=187},
|
||||||
mine = {x=189, y=198},
|
mine = {x=189, y=198},
|
||||||
walk_mine = {x=200, y=219},
|
walk_mine = {x=200, y=219},
|
||||||
sit = {x=81, y=160},
|
sit = {x=81, y=160, eye_height = 0.8, override_local = true,
|
||||||
|
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.0, 0.3}},
|
||||||
-- compatibility w/ the emote mod
|
-- compatibility w/ the emote mod
|
||||||
wave = {x = 192, y = 196, override_local = true},
|
wave = {x = 192, y = 196, override_local = true},
|
||||||
point = {x = 196, y = 196, override_local = true},
|
point = {x = 196, y = 196, override_local = true},
|
||||||
freeze = {x = 205, y = 205, override_local = true},
|
freeze = {x = 205, y = 205, override_local = true},
|
||||||
},
|
},
|
||||||
|
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
|
||||||
|
-- stepheight: use default
|
||||||
|
eye_height = 1.47,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
@ -444,7 +449,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if armor.def[name].feather > 0 then
|
if armor.def[name].feather > 0 then
|
||||||
local vel_y = player:get_velocity().y
|
local vel_y = player:get_velocity().y
|
||||||
if vel_y < 0 and vel_y < 3 then
|
if vel_y < -0.5 then
|
||||||
vel_y = -(vel_y * 0.05)
|
vel_y = -(vel_y * 0.05)
|
||||||
player:add_velocity({x = 0, y = vel_y, z = 0})
|
player:add_velocity({x = 0, y = vel_y, z = 0})
|
||||||
end
|
end
|
||||||
|
7
3d_armor/locale/3d_armor.pl.tr
Normal file
7
3d_armor/locale/3d_armor.pl.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: 3d_armor
|
||||||
|
Radiation=Promieniowanie
|
||||||
|
Level=Poziom
|
||||||
|
Heal=Uzdrawianie
|
||||||
|
Fire=Ogień
|
||||||
|
Your @1 is almost broken!=Twój @1 jest prawie zepsuty!
|
||||||
|
Your @1 got destroyed!=Twój @1 został zniszczony!
|
@ -28,7 +28,7 @@ if armor.materials.mithril then
|
|||||||
armor:register_armor(":3d_armor:helmet_mithril", {
|
armor:register_armor(":3d_armor:helmet_mithril", {
|
||||||
description = S("Mithril Helmet"),
|
description = S("Mithril Helmet"),
|
||||||
inventory_image = "3d_armor_inv_helmet_mithril.png",
|
inventory_image = "3d_armor_inv_helmet_mithril.png",
|
||||||
groups = {armor_head=1, armor_heal=13, armor_use=66},
|
groups = {armor_head=1, armor_heal=13, armor_use=66, physics_speed=0.1},
|
||||||
armor_groups = {fleshy=16},
|
armor_groups = {fleshy=16},
|
||||||
damage_groups = {cracky=2, snappy=1, level=3},
|
damage_groups = {cracky=2, snappy=1, level=3},
|
||||||
})
|
})
|
||||||
@ -46,7 +46,7 @@ if armor.materials.mithril then
|
|||||||
armor:register_armor(":3d_armor:chestplate_mithril", {
|
armor:register_armor(":3d_armor:chestplate_mithril", {
|
||||||
description = S("Mithril Chestplate"),
|
description = S("Mithril Chestplate"),
|
||||||
inventory_image = "3d_armor_inv_chestplate_mithril.png",
|
inventory_image = "3d_armor_inv_chestplate_mithril.png",
|
||||||
groups = {armor_torso=1, armor_heal=13, armor_use=66},
|
groups = {armor_torso=1, armor_heal=13, armor_use=66, physics_speed=0.4},
|
||||||
armor_groups = {fleshy=21},
|
armor_groups = {fleshy=21},
|
||||||
damage_groups = {cracky=2, snappy=1, level=3},
|
damage_groups = {cracky=2, snappy=1, level=3},
|
||||||
})
|
})
|
||||||
@ -64,7 +64,7 @@ if armor.materials.mithril then
|
|||||||
armor:register_armor(":3d_armor:leggings_mithril", {
|
armor:register_armor(":3d_armor:leggings_mithril", {
|
||||||
description = S("Mithril Leggings"),
|
description = S("Mithril Leggings"),
|
||||||
inventory_image = "3d_armor_inv_leggings_mithril.png",
|
inventory_image = "3d_armor_inv_leggings_mithril.png",
|
||||||
groups = {armor_legs=1, armor_heal=13, armor_use=66},
|
groups = {armor_legs=1, armor_heal=13, armor_use=66, physics_speed=0.3},
|
||||||
armor_groups = {fleshy=21},
|
armor_groups = {fleshy=21},
|
||||||
damage_groups = {cracky=2, snappy=1, level=3},
|
damage_groups = {cracky=2, snappy=1, level=3},
|
||||||
})
|
})
|
||||||
@ -82,7 +82,7 @@ if armor.materials.mithril then
|
|||||||
armor:register_armor(":3d_armor:boots_mithril", {
|
armor:register_armor(":3d_armor:boots_mithril", {
|
||||||
description = S("Mithril Boots"),
|
description = S("Mithril Boots"),
|
||||||
inventory_image = "3d_armor_inv_boots_mithril.png",
|
inventory_image = "3d_armor_inv_boots_mithril.png",
|
||||||
groups = {armor_feet=1, armor_heal=13, armor_use=66},
|
groups = {armor_feet=1, armor_heal=13, armor_use=66, physics_speed=0.1},
|
||||||
armor_groups = {fleshy=16},
|
armor_groups = {fleshy=16},
|
||||||
damage_groups = {cracky=2, snappy=1, level=3},
|
damage_groups = {cracky=2, snappy=1, level=3},
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name = armor_nether
|
name = armor_nether
|
||||||
depends = 3d_armor
|
depends = 3d_armor
|
||||||
optional_depends = nether
|
optional_depends = nether
|
||||||
description = Adds craftable wood armor.
|
description = Adds craftable nether armor.
|
||||||
|
Reference in New Issue
Block a user