forked from VoxeLibre/VoxeLibre
Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
ataberkw | a34c3948e8 | |
Wbjitscool | ebd733be82 | |
the-real-herowl | 610bcab0d6 | |
Wbjitscool | 07eb70e9be | |
the-real-herowl | b3da7a473d | |
Zasco | 351e31a889 | |
the-real-herowl | aff4216ccf | |
the-real-herowl | 8b00fff4cb | |
the-real-herowl | cf70de0ecc |
|
@ -1,4 +1,4 @@
|
|||
# MineClone2
|
||||
# Finecraft Game (MineClone2)
|
||||
An unofficial Minecraft-like game for Minetest. Forked from MineClone by davedevils.
|
||||
Developed by many people. Not developed or endorsed by Mojang AB.
|
||||
|
||||
|
|
|
@ -1250,7 +1250,10 @@ function mob_class:do_states_attack (dtime)
|
|||
|
||||
elseif self.attack_type == "custom" and self.attack_state then
|
||||
self.attack_state(self, dtime)
|
||||
else
|
||||
|
||||
end
|
||||
|
||||
if self.on_attack then
|
||||
self.on_attack(self, dtime)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -314,7 +314,8 @@ function mcl_mobs.register_mob(name, def)
|
|||
|
||||
return self:mob_activate(staticdata, def, dtime)
|
||||
end,
|
||||
attack_state = def.attack_state,
|
||||
attack_state = def.attack_state, -- custom attack state
|
||||
on_attack = def.on_attack, -- called after attack, useful with otherwise predefined attack states (not custom)
|
||||
harmed_by_heal = def.harmed_by_heal,
|
||||
is_boss = def.is_boss,
|
||||
dealt_effect = def.dealt_effect,
|
||||
|
|
|
@ -282,7 +282,7 @@ function mcl_campfires.register_campfire(name, def)
|
|||
type="vertical_frames",
|
||||
aspect_w=32,
|
||||
aspect_h=16,
|
||||
length=2.0
|
||||
length=0.8
|
||||
}}
|
||||
},
|
||||
overlay_tiles = {
|
||||
|
|
|
@ -392,7 +392,7 @@ minetest.register_node("mcl_stonecutter:stonecutter", {
|
|||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 1
|
||||
length = 0.15
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -128,27 +128,6 @@ minetest.register_ore({
|
|||
})
|
||||
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "mcl_deepslate:deepslate",
|
||||
wherein = { "mcl_core:stone" },
|
||||
clust_scarcity = 200,
|
||||
clust_num_ores = 100,
|
||||
clust_size = 10,
|
||||
y_min = deepslate_min,
|
||||
y_max = deepslate_max,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 1,
|
||||
spread = { x = 250, y = 250, z = 250 },
|
||||
seed = 12345,
|
||||
octaves = 3,
|
||||
persist = 0.6,
|
||||
lacunarity = 2,
|
||||
flags = "defaults",
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "mcl_deepslate:tuff",
|
||||
|
@ -173,6 +152,27 @@ minetest.register_ore({
|
|||
-- DEEPSLATE
|
||||
if minetest.settings:get_bool("mcl_generate_deepslate", true) then
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "mcl_deepslate:deepslate",
|
||||
wherein = { "mcl_core:stone" },
|
||||
clust_scarcity = 200,
|
||||
clust_num_ores = 100,
|
||||
clust_size = 10,
|
||||
y_min = deepslate_min,
|
||||
y_max = deepslate_max,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 1,
|
||||
spread = { x = 250, y = 250, z = 250 },
|
||||
seed = 12345,
|
||||
octaves = 3,
|
||||
persist = 0.6,
|
||||
lacunarity = 2,
|
||||
flags = "defaults",
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "mcl_deepslate:infested_deepslate",
|
||||
|
|
Loading…
Reference in New Issue