123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- mobs:register_mob("lottmobs:elf_trader", {
- type = "npc",
- race = "GAMEelf",
- hp_min = 20,
- hp_max = 50,
- collisionbox = {-0.3,-1.1,-0.3, 0.3,0.91,0.3},
- textures = {
- {"lottmobs_elf_trader.png", "lottarmor_trans.png", "lottarmor_trans.png", "lottarmor_trans.png"},
- },
- visual = "mesh",
- visual_size = {x=0.95, y=1.15},
- mesh = "lottarmor_character.b3d",
- view_range = 20,
- makes_footstep_sound = true,
- walk_velocity = 1.5,
- run_velocity = 5,
- damage = 6,
- armor = 200,
- drops = { },
- light_resistant = true,
- drawtype = "front",
- water_damage = 1,
- lava_damage = 10,
- light_damage = 0,
- attack_type = "dogfight",
- follow = "lottother:narya",
- animation = {
- speed_normal = 15,
- speed_run = 20,
- stand_start = 0,
- stand_end = 79,
- walk_start = 168,
- walk_end = 187,
- run_start = 168,
- run_end = 187,
- punch_start = 189,
- punch_end = 198,
- },
- sounds = {
- war_cry = "mobs_die_yell",
- death = "default_death",
- attack = "mobs_slash_attack",
- },
- attacks_monsters = true,
- peaceful = true,
- group_attack = true,
- step = 1,
- on_rightclick = function(self, clicker)
- lottmobs_trader(self, clicker, entity, lottmobs.elf, "gui_elfbg.png", "GAMEelf")
- end,
- })
- mobs:register_spawn("lottmobs:elf_trader", {"lottmapgen:lorien_grass"}, 20, 0, 60000, 3, 31000)
- mobs:register_mob("lottmobs:human_trader", {
- type = "npc",
- race = "GAMEman",
- hp_min = 15,
- hp_max = 35,
- collisionbox = {-0.3,-1.0,-0.3, 0.3,0.8,0.3},
- textures = {
- {"lottmobs_human_trader.png", "lottarmor_trans.png", "lottarmor_trans.png", "lottarmor_trans.png"},
- },
- visual = "mesh",
- mesh = "lottarmor_character.b3d",
- makes_footstep_sound = true,
- view_range = 12,
- walk_velocity = 1,
- run_velocity = 3,
- armor = 100,
- damage = 5,
- drops = { },
- light_resistant = true,
- drawtype = "front",
- water_damage = 1,
- lava_damage = 10,
- light_damage = 0,
- attack_type = "dogfight",
- follow = "lottother:narya",
- animation = {
- speed_normal = 15,
- speed_run = 15,
- stand_start = 0,
- stand_end = 79,
- walk_start = 168,
- walk_end = 187,
- run_start = 168,
- run_end = 187,
- punch_start = 189,
- punch_end = 198,
- },
- jump = true,
- sounds = {
- war_cry = "mobs_die_yell",
- death = "default_death",
- attack = "default_punch2",
- },
- attacks_monsters = true,
- peaceful = true,
- group_attack = true,
- step = 1,
- on_rightclick = function(self, clicker)
- lottmobs_trader(self, clicker, entity, lottmobs.human, "gui_gondorbg.png", "GAMEman")
- end,
- })
- mobs:register_spawn("lottmobs:human_trader", {"lottmapgen:rohan_grass"}, 20, -1, 60000, 3, 31000)
- mobs:register_spawn("lottmobs:human_trader", {"lottmapgen:gondor_grass"}, 20, -1, 60000, 3, 31000)
- mobs:register_mob("lottmobs:hobbit_trader", {
- type = "npc",
- race = "GAMEman",
- hp_min = 5,
- hp_max = 15,
- collisionbox = {-0.3,-0.75,-0.3, 0.3,0.7,0.3},
- textures = {
- {"lottmobs_hobbit_trader.png", "lottarmor_trans.png", "lottarmor_trans.png", "lottarmor_trans.png"},
- },
- visual = "mesh",
- visual_size = {x=1.1, y=0.75},
- mesh = "lottarmor_character.b3d",
- makes_footstep_sound = true,
- walk_velocity = 1,
- armor = 300,
- drops = { },
- light_resistant = true,
- drawtype = "front",
- water_damage = 1,
- lava_damage = 5,
- light_damage = 0,
- animation = {
- speed_normal = 15,
- speed_run = 15,
- stand_start = 0,
- stand_end = 79,
- walk_start = 168,
- walk_end = 187,
- run_start = 168,
- run_end = 187,
- punch_start = 189,
- punch_end = 198,
- },
- jump = true,
- step=1,
- passive = true,
- sounds = {
- },
- on_rightclick = function(self, clicker)
- lottmobs_trader(self, clicker, entity, lottmobs.hobbit, "gui_hobbitbg.png", "GAMEhobbit")
- end,
- })
- mobs:register_spawn("lottmobs:hobbit_trader", {"lottmapgen:shire_grass"}, 20, -1, 60000, 3, 31000)
- mobs:register_mob("lottmobs:dwarf_trader", {
- type = "npc",
- race = "GAMEdwarf",
- hp_min = 20,
- hp_max = 30,
- collisionbox = {-0.3,-.85,-0.3, 0.3,0.68,0.3},
- textures = {
- {"lottmobs_dwarf_trader.png", "lottarmor_trans.png", "lottarmor_trans.png", "lottarmor_trans.png"},
- },
- visual = "mesh",
- visual_size = {x=1.1, y=0.85},
- mesh = "lottarmor_character.b3d",
- view_range = 10,
- makes_footstep_sound = true,
- walk_velocity = 1,
- run_velocity = 2,
- armor = 200,
- damage = 4,
- drops = {},
- light_resistant = true,
- drawtype = "front",
- water_damage = 0,
- lava_damage = 10,
- light_damage = 0,
- attack_type = "dogfight",
- follow = "lottother:narya",
- animation = {
- speed_normal = 15,
- speed_run = 15,
- stand_start = 0,
- stand_end = 79,
- walk_start = 168,
- walk_end = 187,
- run_start = 168,
- run_end = 187,
- punch_start = 189,
- punch_end = 198,
- },
- jump = true,
- sounds = {
- war_cry = "mobs_die_yell",
- death = "default_death",
- attack = "default_punch2",
- },
- attacks_monsters = true,
- peaceful = true,
- group_attack = true,
- step = 1,
- on_rightclick = function(self, clicker)
- lottmobs_trader(self, clicker, entity, lottmobs.dwarf, "gui_angmarbg.png", "GAMEdwarf")
- end,
- })
- mobs:register_spawn("lottmobs:dwarf_trader", {"lottmapgen:ironhill_grass"}, 20, -1, 60000, 3, 31000)
|