Skip to content

Commit

Permalink
Change 'mobs_monster' prefix to 'mobs'
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Aug 10, 2017
1 parent 0ecf5ed commit 7a91c80
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local S = mobs.intllib

-- Sand Monster by PilzAdam

mobs:register_mob("mobs_monster:sand_monster", {
mobs:register_mob("mobs:sand_monster", {
type = "monster",
passive = false,
attack_type = "dogfight",
Expand Down Expand Up @@ -59,15 +59,12 @@ mobs:register_mob("mobs_monster:sand_monster", {


mobs:spawn({
name = "mobs_monster:sand_monster",
name = "mobs:sand_monster",
nodes = {"default:desert_sand"},
chance = 7000,
active_object_count = 2,
min_height = 0,
})


mobs:register_egg("mobs_monster:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)


mobs:alias_mob("mobs:sand_monster", "mobs_monster:sand_monster") -- compatibility
mobs:register_egg("mobs:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)

0 comments on commit 7a91c80

Please sign in to comment.