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 d96a7e2 commit cfb8a60
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

-- Stone Monster by PilzAdam

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


mobs:spawn({
name = "mobs_monster:stone_monster",
name = "mobs:stone_monster",
nodes = {"default:stone", "default:desert_stone"},
max_light = 7,
chance = 7000,
max_height = 0,
})


mobs:register_egg("mobs_monster:stone_monster", S("Stone Monster"), "default_stone.png", 1)


mobs:alias_mob("mobs:stone_monster", "mobs_monster:stone_monster") -- compatibility
mobs:register_egg("mobs:stone_monster", S("Stone Monster"), "default_stone.png", 1)

0 comments on commit cfb8a60

Please sign in to comment.