Update 'mods/mobs_scifi/init.lua'

This commit is contained in:
thunderdog1138 2020-05-17 23:44:37 +00:00
parent ce41be62b2
commit b9f532d6a8
1 changed files with 12 additions and 12 deletions

View File

@ -140,7 +140,7 @@ mobs:register_egg("scifi_mobs:bb8", "BB Unit", "scifi_metroid_inv.png", 0)
-- Stormtrooper -- Stormtrooper
-- TODO: Attack players if they are holding a Jedi Lightsaber -- TODO: Attack players if they are holding a Jedi Lightsaber
mobs:register_mob("mobs_monster:stormtrooper", { mobs:register_mob("scifi_mobs:stormtrooper", {
type = "monster", type = "monster",
passive = false, passive = false,
attack_type = "shoot", attack_type = "shoot",
@ -224,7 +224,7 @@ mobs:register_mob("mobs_monster:stormtrooper", {
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"default:dirt"}, nodes = {"default:dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
@ -232,31 +232,31 @@ mobs:register_mob("mobs_monster:stormtrooper", {
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"ethereal:grove_dirt"}, nodes = {"default:grass_dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
min_height = 0, min_height = 0,
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"ethereal:prairie_dirt"}, nodes = {"default:prairie_dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
min_height = 0, min_height = 0,
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"ethereal:fungus_dirt"}, nodes = {"default:fungus_dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
min_height = 0, min_height = 0,
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"default:dry_dirt"}, nodes = {"default:dry_dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
@ -264,14 +264,14 @@ mobs:register_mob("mobs_monster:stormtrooper", {
}) })
mobs:spawn({ mobs:spawn({
name = "mobs_monster:stormtrooper", name = "scifi_mobs:stormtrooper",
nodes = {"default:dirt_with_dry_grass"}, nodes = {"default:savanna_dirt"},
chance = 7000, chance = 7000,
active_object_count = 2, active_object_count = 2,
min_height = 0, min_height = 0,
}) })
mobs:register_egg("mobs_monster:stormtrooper", "Stormtrooper", "default_durasteel_block.png", 1) mobs:register_egg("scifi_mobs:stormtrooper", "Stormtrooper", "default_durasteel_block.png", 1)