[mobf_core (mp)] Update to Git patch c0f3639:
https://github.com/AntumDeluge/mtmp-mobf_core/tree/c0f3639
This commit is contained in:
parent
5c3395cd73
commit
3b6e50b7cf
@ -526,7 +526,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[patch.invisibility]: https://github.com/AntumDeluge/mtmod-invisibility/tree/f045c7c
|
||||
[patch.mesecons]: https://github.com/AntumDeluge/mtmp-mesecons/tree/830823a
|
||||
[patch.minetest_game]: https://github.com/AntumDeluge/mtgame-minetest/tree/796035a
|
||||
[patch.mobf_core]: https://github.com/AntumDeluge/mtmp-mobf_core/tree/e6fa3b7
|
||||
[patch.mobf_core]: https://github.com/AntumDeluge/mtmp-mobf_core/tree/c0f3639
|
||||
[patch.mobs_animal]: https://github.com/AntumDeluge/mtmod-mobs_animal/tree/3f3249e
|
||||
[patch.mobs_goblins]: https://github.com/AntumDeluge/mtmod-mobs_goblins/tree/fefd6bf
|
||||
[patch.mobs_redo]: https://github.com/AntumDeluge/mtmod-mobs_redo/tree/d8edf22
|
||||
|
@ -1,4 +1,3 @@
|
||||
default
|
||||
mobf
|
||||
intllib?
|
||||
craft_guide?
|
||||
|
@ -413,7 +413,7 @@ function mobf_line_of_sight(pos1,pos2)
|
||||
y=pos1.y + (normalized_vector.y *i),
|
||||
z=pos1.z + (normalized_vector.z *i)}
|
||||
|
||||
local node = minetest.env:get_node(tocheck)
|
||||
local node = minetest.get_node(tocheck)
|
||||
|
||||
|
||||
if minetest.registered_nodes[node.name] == nil or
|
||||
|
@ -171,7 +171,7 @@ local function switch_to_tab(self, index)
|
||||
self.current_tab = self.tablist[index].name
|
||||
|
||||
if (self.autosave_tab) then
|
||||
core.setting_set(self.name .. "_LAST",self.current_tab)
|
||||
core.settings:set(self.name .. "_LAST",self.current_tab)
|
||||
end
|
||||
|
||||
-- call for tab to enter
|
||||
|
@ -91,7 +91,7 @@ local function get_formspec(tabview, name, tabdata)
|
||||
mobf_settings.setting_gettext("mobf_disable_pathfinding") .."]"
|
||||
ypos = ypos + 0.5
|
||||
|
||||
local showspawner = core.setting_get("adv_spawning.debug")
|
||||
local showspawner = core.settings:get("adv_spawning.debug")
|
||||
local spawner_setting_text = "false"
|
||||
if (showspawner) then
|
||||
spawner_setting_text = "true"
|
||||
@ -105,7 +105,7 @@ local function get_formspec(tabview, name, tabdata)
|
||||
retval = retval .. "checkbox[1," .. ypos .. ";" ..
|
||||
"cb_adv_spawning_refresh_spawners;" ..
|
||||
"Refresh spawners (spawn mobs in old maps);" ..
|
||||
(core.setting_get("adv_spawning_validate_spawners") or "false") .."]"
|
||||
(core.settings:get("adv_spawning_validate_spawners") or "false") .."]"
|
||||
ypos = ypos + 0.5
|
||||
|
||||
|
||||
@ -194,13 +194,13 @@ local function handle_settings_buttons(self, fields, tabname, tabdata)
|
||||
end
|
||||
|
||||
if fields["cb_features_show_spawners"] then
|
||||
core.setting_set("adv_spawning.debug",
|
||||
core.settings:set("adv_spawning.debug",
|
||||
fields["cb_features_show_spawners"])
|
||||
return true
|
||||
end
|
||||
|
||||
if fields["cb_adv_spawning_refresh_spawners"] then
|
||||
core.setting_set("adv_spawning_validate_spawners",
|
||||
core.settings:set("adv_spawning_validate_spawners",
|
||||
fields["cb_adv_spawning_refresh_spawners"])
|
||||
return true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user