forked from VoxeLibre/VoxeLibre
Compare commits
merge into: Doods:master
Doods:master
Doods:editor_config_charset_fix
Doods:texture_converter_add_signs
Doods:potions_api_redo
Doods:ghast_fix
Doods:fix_capes_crash
Doods:add_asset_attributions_1
Doods:fix_pumpkin_names
Doods:fix_pumpkin_typo_pumkin
Doods:cherry_grove
Doods:lush_caves
Doods:release/0.86.1
Doods:mobile_bow_workaround
Doods:release/0.85.1
Doods:hardness_blast_res_fixes
Doods:optimize_jukebox_sounds
Doods:optimize_theme_ogg
Doods:Optimize_backgrounds_jpg
Doods:archaeology
Doods:spanish-translations
Doods:fish_bucket_nametag
Doods:villager-golem-fixes
Doods:fix_beetroot_fortune_drops
Doods:fix_sliding
Doods:illager_banner_description
Doods:release_0.83.1
Doods:skelly_horse_thunder
Doods:mobs_armor
Doods:mobsarmorfix
Doods:smoother_biome_borders
Doods:jukebox_sound_distance
Doods:cobble_abm_height
Doods:callable-tool-rightclick-functions
Doods:effects_rewrite
Doods:respiration
Doods:make-new-music-louder
Doods:damage
Doods:texture_conversion_wool
Doods:dehardcoded_signs
Doods:mcl_oxidization
Doods:Texture-Rename2
Doods:Bamboo-Piston-Dig
Doods:hardcore_mode_test
Doods:update_german_translation_attempt2
Doods:test_mob_tweaks_branch
Doods:csm-enabled
Doods:move_physics_tweak
Doods:water_footstep
Doods:biome_skycolor
Doods:bambootoo
Doods:lower_ow_mapgen
Doods:release/0.81.1
Doods:revert_chest_models
Doods:mcl-craftguide-drop-sfinv
Doods:mcl-structures-fixes
Doods:turtlestriderbeefox
Doods:arrow_node_collision
Doods:pvp_knockback
Doods:icebergs
Doods:light_dump
Doods:testing
Doods:mobs-redo
Doods:wood_api
Doods:mobs_head_rotation
Doods:bonemeal
Doods:dyable-leather-armor
Doods:new_mapgen_api
Doods:newmobs-master
Doods:formspec_overhaul
Doods:mobs
Doods:mapgen
Doods:mineclone5
Doods:chat-command-builder-2
Doods:formspec-v4
Doods:doc-refactoring
Doods:production
Doods:objects
VoxeLibre:limit-fire-spread
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: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
Doods:0.86.2
Doods:0.86.1
Doods:0.86.0
Doods:0.85.0
Doods:0.84.0
Doods:0.83.1
Doods:0.83.0
Doods:0.82.0
Doods:0.81.1
Doods:0.81.0
Doods:0.80.1
Doods:0.80.0
Doods:mcl_signs_rewrite
Doods:0.79.0
Doods:0.78.0
Doods:0.77.0
Doods:0.76.0
Doods:0.75.0
Doods:0.74.0
Doods:0.73.1
Doods:0.73.0
Doods:0.72.1
Doods:0.72.0
Doods:0.71.0
Doods:0.70.0
Doods:0.69.1
Doods:0.69.0
Doods:0.68.0
Doods:0.67.2
Doods:0.67.1
Doods:0.67.0
Doods:0.66.2
Doods:0.66.1
Doods:0.66.0
Doods:0.65.2
Doods:0.65.1
Doods:0.65.0
Doods:0.64.0
Doods:0.63.0
Doods:0.62.0
Doods:0.61.0
Doods:0.60.0
Doods:0.59.2
Doods:0.59.1
Doods:0.59.0
Doods:0.58.1
Doods:0.58.0
Doods:0.57.1
Doods:0.57.0
Doods:0.56.2
Doods:0.56.1
Doods:0.56.0
Doods:0.55.1
Doods:0.55.0
Doods:0.54.1
Doods:0.54.0
Doods:0.53.4
Doods:0.53.3
Doods:0.53.2
Doods:0.53.1
Doods:0.53.0
Doods:0.52.1
Doods:0.52.0
Doods:0.51.1
Doods:0.51.0
Doods:0.50.2
Doods:0.50.1
Doods:0.50.0
Doods:0.49.0
Doods:0.48.1
Doods:0.48.0
Doods:0.47.1
Doods:0.47.0
Doods:0.46.0
Doods:0.45.1
Doods:0.45.0
Doods:0.44.0
Doods:0.43.0
Doods:0.42.0
Doods: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: Doods:fish_bucket_nametag
Doods:master
Doods:editor_config_charset_fix
Doods:texture_converter_add_signs
Doods:potions_api_redo
Doods:ghast_fix
Doods:fix_capes_crash
Doods:add_asset_attributions_1
Doods:fix_pumpkin_names
Doods:fix_pumpkin_typo_pumkin
Doods:cherry_grove
Doods:lush_caves
Doods:release/0.86.1
Doods:mobile_bow_workaround
Doods:release/0.85.1
Doods:hardness_blast_res_fixes
Doods:optimize_jukebox_sounds
Doods:optimize_theme_ogg
Doods:Optimize_backgrounds_jpg
Doods:archaeology
Doods:spanish-translations
Doods:fish_bucket_nametag
Doods:villager-golem-fixes
Doods:fix_beetroot_fortune_drops
Doods:fix_sliding
Doods:illager_banner_description
Doods:release_0.83.1
Doods:skelly_horse_thunder
Doods:mobs_armor
Doods:mobsarmorfix
Doods:smoother_biome_borders
Doods:jukebox_sound_distance
Doods:cobble_abm_height
Doods:callable-tool-rightclick-functions
Doods:effects_rewrite
Doods:respiration
Doods:make-new-music-louder
Doods:damage
Doods:texture_conversion_wool
Doods:dehardcoded_signs
Doods:mcl_oxidization
Doods:Texture-Rename2
Doods:Bamboo-Piston-Dig
Doods:hardcore_mode_test
Doods:update_german_translation_attempt2
Doods:test_mob_tweaks_branch
Doods:csm-enabled
Doods:move_physics_tweak
Doods:water_footstep
Doods:biome_skycolor
Doods:bambootoo
Doods:lower_ow_mapgen
Doods:release/0.81.1
Doods:revert_chest_models
Doods:mcl-craftguide-drop-sfinv
Doods:mcl-structures-fixes
Doods:turtlestriderbeefox
Doods:arrow_node_collision
Doods:pvp_knockback
Doods:icebergs
Doods:light_dump
Doods:testing
Doods:mobs-redo
Doods:wood_api
Doods:mobs_head_rotation
Doods:bonemeal
Doods:dyable-leather-armor
Doods:new_mapgen_api
Doods:newmobs-master
Doods:formspec_overhaul
Doods:mobs
Doods:mapgen
Doods:mineclone5
Doods:chat-command-builder-2
Doods:formspec-v4
Doods:doc-refactoring
Doods:production
Doods:objects
VoxeLibre:limit-fire-spread
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: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
Doods:0.86.2
Doods:0.86.1
Doods:0.86.0
Doods:0.85.0
Doods:0.84.0
Doods:0.83.1
Doods:0.83.0
Doods:0.82.0
Doods:0.81.1
Doods:0.81.0
Doods:0.80.1
Doods:0.80.0
Doods:mcl_signs_rewrite
Doods:0.79.0
Doods:0.78.0
Doods:0.77.0
Doods:0.76.0
Doods:0.75.0
Doods:0.74.0
Doods:0.73.1
Doods:0.73.0
Doods:0.72.1
Doods:0.72.0
Doods:0.71.0
Doods:0.70.0
Doods:0.69.1
Doods:0.69.0
Doods:0.68.0
Doods:0.67.2
Doods:0.67.1
Doods:0.67.0
Doods:0.66.2
Doods:0.66.1
Doods:0.66.0
Doods:0.65.2
Doods:0.65.1
Doods:0.65.0
Doods:0.64.0
Doods:0.63.0
Doods:0.62.0
Doods:0.61.0
Doods:0.60.0
Doods:0.59.2
Doods:0.59.1
Doods:0.59.0
Doods:0.58.1
Doods:0.58.0
Doods:0.57.1
Doods:0.57.0
Doods:0.56.2
Doods:0.56.1
Doods:0.56.0
Doods:0.55.1
Doods:0.55.0
Doods:0.54.1
Doods:0.54.0
Doods:0.53.4
Doods:0.53.3
Doods:0.53.2
Doods:0.53.1
Doods:0.53.0
Doods:0.52.1
Doods:0.52.0
Doods:0.51.1
Doods:0.51.0
Doods:0.50.2
Doods:0.50.1
Doods:0.50.0
Doods:0.49.0
Doods:0.48.1
Doods:0.48.0
Doods:0.47.1
Doods:0.47.0
Doods:0.46.0
Doods:0.45.1
Doods:0.45.0
Doods:0.44.0
Doods:0.43.0
Doods:0.42.0
Doods: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
...
fish_bucke
Author | SHA1 | Message | Date |
---|---|---|---|
PrairieWind | ea45d66ee8 | Make named fish buckets place fish with a nametag that says that name |
1 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
local MAX_MOB_NAME_LENGTH = 30
|
||||
|
||||
-- Fish Buckets
|
||||
local fish_names = {
|
||||
|
@ -29,6 +30,18 @@ local function on_place_fish(itemstack, placer, pointed_thing)
|
|||
if props ~= "" then
|
||||
o:set_properties(minetest.deserialize(props))
|
||||
end
|
||||
|
||||
local ent = o:get_luaentity()
|
||||
-- set nametag
|
||||
local nametag = itemstack:get_meta():get_string("name")
|
||||
if nametag ~= "" then
|
||||
if string.len(nametag) > MAX_MOB_NAME_LENGTH then
|
||||
nametag = string.sub(nametag, 1, MAX_MOB_NAME_LENGTH)
|
||||
end
|
||||
ent.nametag = nametag
|
||||
ent:update_tag()
|
||||
end
|
||||
|
||||
local water = "mcl_core:water_source"
|
||||
if n.name == "mclx_core:river_water_source" then
|
||||
water = n.name
|
||||
|
|
Write
Preview
Loading…
Reference in New Issue