forked from VoxeLibre/VoxeLibre
Compare commits
merge into: emptyshore:master
emptyshore:master
emptyshore:portals
emptyshore:3458-creative-anger-v2
emptyshore:3458-creative-anger
emptyshore:spawn-testing-master
emptyshore:spawn-testing-4025
emptyshore:spawn-testing
emptyshore:mob_cap_fixes
emptyshore:fix_copper_blocks
emptyshore:texture-consolidation
emptyshore:Amethyst_Bud_Growth
emptyshore:mcl_starting_chest
emptyshore:water_darkness_hud_removal
emptyshore:fix_wither_head_crash
emptyshore:fix_villages_crash_mcl5
emptyshore:update_german_translation_attempt2
emptyshore:test_mob_tweaks_branch
emptyshore:csm-enabled
emptyshore:move_physics_tweak
emptyshore:water_footstep
emptyshore:biome_skycolor
emptyshore:bambootoo
emptyshore:lower_ow_mapgen
emptyshore:release/0.81.1
emptyshore:village_schema_fixes_rb
emptyshore:revert_chest_models
emptyshore:mcl-craftguide-drop-sfinv
emptyshore:mcl-structures-fixes
emptyshore:hardcore_mode_test
emptyshore:turtlestriderbeefox
emptyshore:arrow_node_collision
emptyshore:pvp_knockback
emptyshore:respiration
emptyshore:icebergs
emptyshore:light_dump
emptyshore:testing
emptyshore:mobs-redo
emptyshore:wood_api
emptyshore:mobs_head_rotation
emptyshore:bonemeal
emptyshore:dyable-leather-armor
emptyshore:new_mapgen_api
emptyshore:newmobs-master
emptyshore:formspec_overhaul
emptyshore:mobs
emptyshore:mapgen
emptyshore:mineclone5
emptyshore:chat-command-builder-2
emptyshore:formspec-v4
emptyshore:doc-refactoring
emptyshore:production
emptyshore:objects
VoxeLibre:head-swivel2
VoxeLibre:doc-update-luanti
VoxeLibre:projectile-refactor
VoxeLibre:add-dynamic-rules
VoxeLibre:hammers_spears
VoxeLibre:optimize-lightning
VoxeLibre:master
VoxeLibre:mapgen-test-branch
VoxeLibre:observers-swap-node
VoxeLibre:dead-player-in-inventory
VoxeLibre:burning_in_thunder
VoxeLibre:limit-fire-spread
VoxeLibre:fake-player-hardening
VoxeLibre:environment-physics
VoxeLibre:hollow_logs_improvements
VoxeLibre:compressed-blocks
VoxeLibre:chests_api_expand
VoxeLibre:improve_planks
VoxeLibre:tree_growth_buildable_to
VoxeLibre:buildable_flowers
VoxeLibre:upstream/rewritable_maps
VoxeLibre:textureconverter-improvement
VoxeLibre:mapgen_update
VoxeLibre:pickblock
VoxeLibre:mob_ignore_fix
VoxeLibre:mcl_mobs_cleanup
VoxeLibre:fix-kelp
VoxeLibre:upstream/unbreaking_on_crossbows
VoxeLibre:slabs_block_light
VoxeLibre:redstone-update
VoxeLibre:add_shader_support
VoxeLibre:EE_armor
VoxeLibre:world_aligned_textures
VoxeLibre:zombie_texture_improvements
VoxeLibre:mcl_weathered_nodes
VoxeLibre:orb_of_exchange
VoxeLibre:patch_skins
VoxeLibre:hollow_logs_ref_recovery
VoxeLibre:copper-adaptation-refs-recovery
VoxeLibre:add_asset_attributions_1
VoxeLibre:fix_pumpkin_typo_pumkin
VoxeLibre:cherry_grove
VoxeLibre:lush_caves
VoxeLibre:release/0.86.1
VoxeLibre:mobile_bow_workaround
VoxeLibre:release/0.85.1
VoxeLibre:optimize_jukebox_sounds
VoxeLibre:optimize_theme_ogg
VoxeLibre:Optimize_backgrounds_jpg
VoxeLibre:archaeology
VoxeLibre:spanish-translations
VoxeLibre:fish_bucket_nametag
VoxeLibre:villager-golem-fixes
VoxeLibre:fix_beetroot_fortune_drops
VoxeLibre:fix_sliding
VoxeLibre:illager_banner_description
VoxeLibre:release_0.83.1
VoxeLibre:skelly_horse_thunder
VoxeLibre:mobs_armor
VoxeLibre:mobsarmorfix
VoxeLibre:smoother_biome_borders
VoxeLibre:jukebox_sound_distance
VoxeLibre:cobble_abm_height
VoxeLibre:callable-tool-rightclick-functions
VoxeLibre:effects_rewrite
VoxeLibre:respiration
VoxeLibre:make-new-music-louder
VoxeLibre:damage
VoxeLibre:texture_conversion_wool
VoxeLibre:dehardcoded_signs
VoxeLibre:mcl_oxidization
VoxeLibre:Texture-Rename2
VoxeLibre:Bamboo-Piston-Dig
VoxeLibre:hardcore_mode_test
VoxeLibre:update_german_translation_attempt2
VoxeLibre:test_mob_tweaks_branch
VoxeLibre:csm-enabled
VoxeLibre:move_physics_tweak
VoxeLibre:water_footstep
VoxeLibre:biome_skycolor
VoxeLibre:bambootoo
VoxeLibre:lower_ow_mapgen
VoxeLibre:release/0.81.1
VoxeLibre:revert_chest_models
VoxeLibre:mcl-craftguide-drop-sfinv
VoxeLibre:mcl-structures-fixes
VoxeLibre:turtlestriderbeefox
VoxeLibre:arrow_node_collision
VoxeLibre:pvp_knockback
VoxeLibre:icebergs
VoxeLibre:light_dump
VoxeLibre:testing
VoxeLibre:mobs-redo
VoxeLibre:wood_api
VoxeLibre:mobs_head_rotation
VoxeLibre:bonemeal
VoxeLibre:dyable-leather-armor
VoxeLibre:new_mapgen_api
VoxeLibre:newmobs-master
VoxeLibre:formspec_overhaul
VoxeLibre:mobs
VoxeLibre:mapgen
VoxeLibre:mineclone5
VoxeLibre:chat-command-builder-2
VoxeLibre:formspec-v4
VoxeLibre:doc-refactoring
VoxeLibre:production
VoxeLibre:objects
emptyshore:0.82.0
emptyshore:0.81.1
emptyshore:0.81.0
emptyshore:0.80.1
emptyshore:0.80.0
emptyshore:mcl_signs_rewrite
emptyshore:0.79.0
emptyshore:0.78.0
emptyshore:0.77.0
emptyshore:0.76.0
emptyshore:0.75.0
emptyshore:0.74.0
emptyshore:0.73.1
emptyshore:0.73.0
emptyshore:0.72.1
emptyshore:0.72.0
emptyshore:0.71.0
emptyshore:0.70.0
emptyshore:0.69.1
emptyshore:0.69.0
emptyshore:0.68.0
emptyshore:0.67.2
emptyshore:0.67.1
emptyshore:0.67.0
emptyshore:0.66.2
emptyshore:0.66.1
emptyshore:0.66.0
emptyshore:0.65.2
emptyshore:0.65.1
emptyshore:0.65.0
emptyshore:0.64.0
emptyshore:0.63.0
emptyshore:0.62.0
emptyshore:0.61.0
emptyshore:0.60.0
emptyshore:0.59.2
emptyshore:0.59.1
emptyshore:0.59.0
emptyshore:0.58.1
emptyshore:0.58.0
emptyshore:0.57.1
emptyshore:0.57.0
emptyshore:0.56.2
emptyshore:0.56.1
emptyshore:0.56.0
emptyshore:0.55.1
emptyshore:0.55.0
emptyshore:0.54.1
emptyshore:0.54.0
emptyshore:0.53.4
emptyshore:0.53.3
emptyshore:0.53.2
emptyshore:0.53.1
emptyshore:0.53.0
emptyshore:0.52.1
emptyshore:0.52.0
emptyshore:0.51.1
emptyshore:0.51.0
emptyshore:0.50.2
emptyshore:0.50.1
emptyshore:0.50.0
emptyshore:0.49.0
emptyshore:0.48.1
emptyshore:0.48.0
emptyshore:0.47.1
emptyshore:0.47.0
emptyshore:0.46.0
emptyshore:0.45.1
emptyshore:0.45.0
emptyshore:0.44.0
emptyshore:0.43.0
emptyshore:0.42.0
emptyshore:0.21.0
VoxeLibre:mcl_signs_rewrite
VoxeLibre:0.53.3
VoxeLibre:0.53.2
VoxeLibre:0.53.1
VoxeLibre:0.53.0
VoxeLibre:0.52.1
VoxeLibre:0.52.0
VoxeLibre:0.51.1
VoxeLibre:0.51.0
VoxeLibre:0.50.2
VoxeLibre:0.50.1
VoxeLibre:0.50.0
VoxeLibre:0.49.0
VoxeLibre:0.48.1
VoxeLibre:0.48.0
VoxeLibre:0.47.1
VoxeLibre:0.47.0
VoxeLibre:0.46.0
VoxeLibre:0.45.1
VoxeLibre:0.45.0
VoxeLibre:0.44.0
VoxeLibre:0.43.0
VoxeLibre:0.42.0
VoxeLibre:0.21.0
VoxeLibre:0.53.4
VoxeLibre:0.54.0
VoxeLibre:0.54.1
VoxeLibre:0.55.0
VoxeLibre:0.55.1
VoxeLibre:0.56.0
VoxeLibre:0.56.1
VoxeLibre:0.56.2
VoxeLibre:0.57.0
VoxeLibre:0.57.1
VoxeLibre:0.58.0
VoxeLibre:0.58.1
VoxeLibre:0.59.0
VoxeLibre:0.59.1
VoxeLibre:0.59.2
VoxeLibre:0.60.0
VoxeLibre:0.61.0
VoxeLibre:0.62.0
VoxeLibre:0.63.0
VoxeLibre:0.64.0
VoxeLibre:0.65.0
VoxeLibre:0.65.1
VoxeLibre:0.65.2
VoxeLibre:0.66.0
VoxeLibre:0.66.1
VoxeLibre:0.66.2
VoxeLibre:0.67.0
VoxeLibre:0.67.1
VoxeLibre:0.67.2
VoxeLibre:0.68.0
VoxeLibre:0.69.0
VoxeLibre:0.69.1
VoxeLibre:0.70.0
VoxeLibre:0.71.0
VoxeLibre:0.72.0
VoxeLibre:0.72.1
VoxeLibre:0.73.0
VoxeLibre:0.73.1
VoxeLibre:0.74.0
VoxeLibre:0.75.0
VoxeLibre:0.76.0
VoxeLibre:0.77.0
VoxeLibre:0.78.0
VoxeLibre:0.79.0
VoxeLibre:0.80.0
VoxeLibre:0.80.1
VoxeLibre:0.81.0
VoxeLibre:0.81.1
VoxeLibre:0.82.0
VoxeLibre:0.83.0
VoxeLibre:0.83.1
VoxeLibre:0.84.0
VoxeLibre:0.85.0
VoxeLibre:0.86.0
VoxeLibre:0.86.1
VoxeLibre:0.86.2
VoxeLibre:0.87.0
VoxeLibre:0.87.1
VoxeLibre:0.87.2
pull from: emptyshore:fix_wither_head_crash
emptyshore:portals
emptyshore:3458-creative-anger-v2
emptyshore:3458-creative-anger
emptyshore:spawn-testing-master
emptyshore:spawn-testing-4025
emptyshore:spawn-testing
emptyshore:master
emptyshore:mob_cap_fixes
emptyshore:fix_copper_blocks
emptyshore:texture-consolidation
emptyshore:Amethyst_Bud_Growth
emptyshore:mcl_starting_chest
emptyshore:water_darkness_hud_removal
emptyshore:fix_wither_head_crash
emptyshore:fix_villages_crash_mcl5
emptyshore:update_german_translation_attempt2
emptyshore:test_mob_tweaks_branch
emptyshore:csm-enabled
emptyshore:move_physics_tweak
emptyshore:water_footstep
emptyshore:biome_skycolor
emptyshore:bambootoo
emptyshore:lower_ow_mapgen
emptyshore:release/0.81.1
emptyshore:village_schema_fixes_rb
emptyshore:revert_chest_models
emptyshore:mcl-craftguide-drop-sfinv
emptyshore:mcl-structures-fixes
emptyshore:hardcore_mode_test
emptyshore:turtlestriderbeefox
emptyshore:arrow_node_collision
emptyshore:pvp_knockback
emptyshore:respiration
emptyshore:icebergs
emptyshore:light_dump
emptyshore:testing
emptyshore:mobs-redo
emptyshore:wood_api
emptyshore:mobs_head_rotation
emptyshore:bonemeal
emptyshore:dyable-leather-armor
emptyshore:new_mapgen_api
emptyshore:newmobs-master
emptyshore:formspec_overhaul
emptyshore:mobs
emptyshore:mapgen
emptyshore:mineclone5
emptyshore:chat-command-builder-2
emptyshore:formspec-v4
emptyshore:doc-refactoring
emptyshore:production
emptyshore:objects
VoxeLibre:head-swivel2
VoxeLibre:doc-update-luanti
VoxeLibre:projectile-refactor
VoxeLibre:add-dynamic-rules
VoxeLibre:hammers_spears
VoxeLibre:optimize-lightning
VoxeLibre:master
VoxeLibre:mapgen-test-branch
VoxeLibre:observers-swap-node
VoxeLibre:dead-player-in-inventory
VoxeLibre:burning_in_thunder
VoxeLibre:limit-fire-spread
VoxeLibre:fake-player-hardening
VoxeLibre:environment-physics
VoxeLibre:hollow_logs_improvements
VoxeLibre:compressed-blocks
VoxeLibre:chests_api_expand
VoxeLibre:improve_planks
VoxeLibre:tree_growth_buildable_to
VoxeLibre:buildable_flowers
VoxeLibre:upstream/rewritable_maps
VoxeLibre:textureconverter-improvement
VoxeLibre:mapgen_update
VoxeLibre:pickblock
VoxeLibre:mob_ignore_fix
VoxeLibre:mcl_mobs_cleanup
VoxeLibre:fix-kelp
VoxeLibre:upstream/unbreaking_on_crossbows
VoxeLibre:slabs_block_light
VoxeLibre:redstone-update
VoxeLibre:add_shader_support
VoxeLibre:EE_armor
VoxeLibre:world_aligned_textures
VoxeLibre:zombie_texture_improvements
VoxeLibre:mcl_weathered_nodes
VoxeLibre:orb_of_exchange
VoxeLibre:patch_skins
VoxeLibre:hollow_logs_ref_recovery
VoxeLibre:copper-adaptation-refs-recovery
VoxeLibre:add_asset_attributions_1
VoxeLibre:fix_pumpkin_typo_pumkin
VoxeLibre:cherry_grove
VoxeLibre:lush_caves
VoxeLibre:release/0.86.1
VoxeLibre:mobile_bow_workaround
VoxeLibre:release/0.85.1
VoxeLibre:optimize_jukebox_sounds
VoxeLibre:optimize_theme_ogg
VoxeLibre:Optimize_backgrounds_jpg
VoxeLibre:archaeology
VoxeLibre:spanish-translations
VoxeLibre:fish_bucket_nametag
VoxeLibre:villager-golem-fixes
VoxeLibre:fix_beetroot_fortune_drops
VoxeLibre:fix_sliding
VoxeLibre:illager_banner_description
VoxeLibre:release_0.83.1
VoxeLibre:skelly_horse_thunder
VoxeLibre:mobs_armor
VoxeLibre:mobsarmorfix
VoxeLibre:smoother_biome_borders
VoxeLibre:jukebox_sound_distance
VoxeLibre:cobble_abm_height
VoxeLibre:callable-tool-rightclick-functions
VoxeLibre:effects_rewrite
VoxeLibre:respiration
VoxeLibre:make-new-music-louder
VoxeLibre:damage
VoxeLibre:texture_conversion_wool
VoxeLibre:dehardcoded_signs
VoxeLibre:mcl_oxidization
VoxeLibre:Texture-Rename2
VoxeLibre:Bamboo-Piston-Dig
VoxeLibre:hardcore_mode_test
VoxeLibre:update_german_translation_attempt2
VoxeLibre:test_mob_tweaks_branch
VoxeLibre:csm-enabled
VoxeLibre:move_physics_tweak
VoxeLibre:water_footstep
VoxeLibre:biome_skycolor
VoxeLibre:bambootoo
VoxeLibre:lower_ow_mapgen
VoxeLibre:release/0.81.1
VoxeLibre:revert_chest_models
VoxeLibre:mcl-craftguide-drop-sfinv
VoxeLibre:mcl-structures-fixes
VoxeLibre:turtlestriderbeefox
VoxeLibre:arrow_node_collision
VoxeLibre:pvp_knockback
VoxeLibre:icebergs
VoxeLibre:light_dump
VoxeLibre:testing
VoxeLibre:mobs-redo
VoxeLibre:wood_api
VoxeLibre:mobs_head_rotation
VoxeLibre:bonemeal
VoxeLibre:dyable-leather-armor
VoxeLibre:new_mapgen_api
VoxeLibre:newmobs-master
VoxeLibre:formspec_overhaul
VoxeLibre:mobs
VoxeLibre:mapgen
VoxeLibre:mineclone5
VoxeLibre:chat-command-builder-2
VoxeLibre:formspec-v4
VoxeLibre:doc-refactoring
VoxeLibre:production
VoxeLibre:objects
emptyshore:0.82.0
emptyshore:0.81.1
emptyshore:0.81.0
emptyshore:0.80.1
emptyshore:0.80.0
emptyshore:mcl_signs_rewrite
emptyshore:0.79.0
emptyshore:0.78.0
emptyshore:0.77.0
emptyshore:0.76.0
emptyshore:0.75.0
emptyshore:0.74.0
emptyshore:0.73.1
emptyshore:0.73.0
emptyshore:0.72.1
emptyshore:0.72.0
emptyshore:0.71.0
emptyshore:0.70.0
emptyshore:0.69.1
emptyshore:0.69.0
emptyshore:0.68.0
emptyshore:0.67.2
emptyshore:0.67.1
emptyshore:0.67.0
emptyshore:0.66.2
emptyshore:0.66.1
emptyshore:0.66.0
emptyshore:0.65.2
emptyshore:0.65.1
emptyshore:0.65.0
emptyshore:0.64.0
emptyshore:0.63.0
emptyshore:0.62.0
emptyshore:0.61.0
emptyshore:0.60.0
emptyshore:0.59.2
emptyshore:0.59.1
emptyshore:0.59.0
emptyshore:0.58.1
emptyshore:0.58.0
emptyshore:0.57.1
emptyshore:0.57.0
emptyshore:0.56.2
emptyshore:0.56.1
emptyshore:0.56.0
emptyshore:0.55.1
emptyshore:0.55.0
emptyshore:0.54.1
emptyshore:0.54.0
emptyshore:0.53.4
emptyshore:0.53.3
emptyshore:0.53.2
emptyshore:0.53.1
emptyshore:0.53.0
emptyshore:0.52.1
emptyshore:0.52.0
emptyshore:0.51.1
emptyshore:0.51.0
emptyshore:0.50.2
emptyshore:0.50.1
emptyshore:0.50.0
emptyshore:0.49.0
emptyshore:0.48.1
emptyshore:0.48.0
emptyshore:0.47.1
emptyshore:0.47.0
emptyshore:0.46.0
emptyshore:0.45.1
emptyshore:0.45.0
emptyshore:0.44.0
emptyshore:0.43.0
emptyshore:0.42.0
emptyshore:0.21.0
VoxeLibre:mcl_signs_rewrite
VoxeLibre:0.53.3
VoxeLibre:0.53.2
VoxeLibre:0.53.1
VoxeLibre:0.53.0
VoxeLibre:0.52.1
VoxeLibre:0.52.0
VoxeLibre:0.51.1
VoxeLibre:0.51.0
VoxeLibre:0.50.2
VoxeLibre:0.50.1
VoxeLibre:0.50.0
VoxeLibre:0.49.0
VoxeLibre:0.48.1
VoxeLibre:0.48.0
VoxeLibre:0.47.1
VoxeLibre:0.47.0
VoxeLibre:0.46.0
VoxeLibre:0.45.1
VoxeLibre:0.45.0
VoxeLibre:0.44.0
VoxeLibre:0.43.0
VoxeLibre:0.42.0
VoxeLibre:0.21.0
VoxeLibre:0.53.4
VoxeLibre:0.54.0
VoxeLibre:0.54.1
VoxeLibre:0.55.0
VoxeLibre:0.55.1
VoxeLibre:0.56.0
VoxeLibre:0.56.1
VoxeLibre:0.56.2
VoxeLibre:0.57.0
VoxeLibre:0.57.1
VoxeLibre:0.58.0
VoxeLibre:0.58.1
VoxeLibre:0.59.0
VoxeLibre:0.59.1
VoxeLibre:0.59.2
VoxeLibre:0.60.0
VoxeLibre:0.61.0
VoxeLibre:0.62.0
VoxeLibre:0.63.0
VoxeLibre:0.64.0
VoxeLibre:0.65.0
VoxeLibre:0.65.1
VoxeLibre:0.65.2
VoxeLibre:0.66.0
VoxeLibre:0.66.1
VoxeLibre:0.66.2
VoxeLibre:0.67.0
VoxeLibre:0.67.1
VoxeLibre:0.67.2
VoxeLibre:0.68.0
VoxeLibre:0.69.0
VoxeLibre:0.69.1
VoxeLibre:0.70.0
VoxeLibre:0.71.0
VoxeLibre:0.72.0
VoxeLibre:0.72.1
VoxeLibre:0.73.0
VoxeLibre:0.73.1
VoxeLibre:0.74.0
VoxeLibre:0.75.0
VoxeLibre:0.76.0
VoxeLibre:0.77.0
VoxeLibre:0.78.0
VoxeLibre:0.79.0
VoxeLibre:0.80.0
VoxeLibre:0.80.1
VoxeLibre:0.81.0
VoxeLibre:0.81.1
VoxeLibre:0.82.0
VoxeLibre:0.83.0
VoxeLibre:0.83.1
VoxeLibre:0.84.0
VoxeLibre:0.85.0
VoxeLibre:0.86.0
VoxeLibre:0.86.1
VoxeLibre:0.86.2
VoxeLibre:0.87.0
VoxeLibre:0.87.1
VoxeLibre:0.87.2
1 Commits
master
...
fix_wither
Author | SHA1 | Message | Date |
---|---|---|---|
ancientmarinerdev | adcb0b76fd | Fix wither crash on certain version of Lua. |
1 changed files with 8 additions and 1 deletions
|
@ -298,7 +298,14 @@ local function who_are_you_looking_at (self)
|
|||
elseif not self._locked_object then
|
||||
if math.random(1, 30) then
|
||||
--minetest.log("Change look check: ".. self.name)
|
||||
local look_at_player_chance = math.random(20/self.curiosity)
|
||||
|
||||
-- For the wither this was 20/60=0.33, so probably need to rebalance and divide rates.
|
||||
-- but frequency of check isn't good as it is costly. Making others too infrequent requires testing
|
||||
local chance = 20/self.curiosity
|
||||
|
||||
if chance < 1 then chance = 1 end
|
||||
local look_at_player_chance = math.random(chance)
|
||||
|
||||
-- was 5000 but called in loop based on entities. so div by 12 as estimate avg of entities found,
|
||||
-- then div by 20 as less freq lookup
|
||||
|
||||
|
|
Write
Preview
Loading…
Reference in New Issue