forked from VoxeLibre/VoxeLibre
Compare commits
merge into: 3raven:master
3raven:master
3raven:stonecutter_functionality
3raven:hardness_blast_res_fixes
3raven:optimize_jukebox_sounds
3raven:optimize_theme_ogg
3raven:Optimize_backgrounds_jpg
3raven:archaeology
3raven:spanish-translations
3raven:capes
3raven:fix_pumpkin_names
3raven:fish_bucket_nametag
3raven:villager-golem-fixes
3raven:fix_beetroot_fortune_drops
3raven:fix_sliding
3raven:illager_banner_description
3raven:release_0.83.1
3raven:skelly_horse_thunder
3raven:mobs_armor
3raven:mobsarmorfix
3raven:smoother_biome_borders
3raven:jukebox_sound_distance
3raven:cobble_abm_height
3raven:callable-tool-rightclick-functions
3raven:effects_rewrite
3raven:respiration
3raven:make-new-music-louder
3raven:damage
3raven:texture_conversion_wool
3raven:dehardcoded_signs
3raven:mcl_oxidization
3raven:Texture-Rename2
3raven:Bamboo-Piston-Dig
3raven:hardcore_mode_test
3raven:update_german_translation_attempt2
3raven:test_mob_tweaks_branch
3raven:csm-enabled
3raven:move_physics_tweak
3raven:water_footstep
3raven:biome_skycolor
3raven:bambootoo
3raven:lower_ow_mapgen
3raven:release/0.81.1
3raven:revert_chest_models
3raven:mcl-craftguide-drop-sfinv
3raven:mcl-structures-fixes
3raven:turtlestriderbeefox
3raven:arrow_node_collision
3raven:pvp_knockback
3raven:icebergs
3raven:light_dump
3raven:testing
3raven:mobs-redo
3raven:wood_api
3raven:mobs_head_rotation
3raven:bonemeal
3raven:dyable-leather-armor
3raven:new_mapgen_api
3raven:newmobs-master
3raven:formspec_overhaul
3raven:mobs
3raven:mapgen
3raven:mineclone5
3raven:chat-command-builder-2
3raven:formspec-v4
3raven:doc-refactoring
3raven:production
3raven: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
3raven:0.84.0
3raven:0.83.1
3raven:0.83.0
3raven:0.82.0
3raven:0.81.1
3raven:0.81.0
3raven:0.80.1
3raven:0.80.0
3raven:mcl_signs_rewrite
3raven:0.79.0
3raven:0.78.0
3raven:0.77.0
3raven:0.76.0
3raven:0.75.0
3raven:0.74.0
3raven:0.73.1
3raven:0.73.0
3raven:0.72.1
3raven:0.72.0
3raven:0.71.0
3raven:0.70.0
3raven:0.69.1
3raven:0.69.0
3raven:0.68.0
3raven:0.67.2
3raven:0.67.1
3raven:0.67.0
3raven:0.66.2
3raven:0.66.1
3raven:0.66.0
3raven:0.65.2
3raven:0.65.1
3raven:0.65.0
3raven:0.64.0
3raven:0.63.0
3raven:0.62.0
3raven:0.61.0
3raven:0.60.0
3raven:0.59.2
3raven:0.59.1
3raven:0.59.0
3raven:0.58.1
3raven:0.58.0
3raven:0.57.1
3raven:0.57.0
3raven:0.56.2
3raven:0.56.1
3raven:0.56.0
3raven:0.55.1
3raven:0.55.0
3raven:0.54.1
3raven:0.54.0
3raven:0.53.4
3raven:0.53.3
3raven:0.53.2
3raven:0.53.1
3raven:0.53.0
3raven:0.52.1
3raven:0.52.0
3raven:0.51.1
3raven:0.51.0
3raven:0.50.2
3raven:0.50.1
3raven:0.50.0
3raven:0.49.0
3raven:0.48.1
3raven:0.48.0
3raven:0.47.1
3raven:0.47.0
3raven:0.46.0
3raven:0.45.1
3raven:0.45.0
3raven:0.44.0
3raven:0.43.0
3raven:0.42.0
3raven: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: 3raven:fish_bucket_nametag
3raven:master
3raven:stonecutter_functionality
3raven:hardness_blast_res_fixes
3raven:optimize_jukebox_sounds
3raven:optimize_theme_ogg
3raven:Optimize_backgrounds_jpg
3raven:archaeology
3raven:spanish-translations
3raven:capes
3raven:fix_pumpkin_names
3raven:fish_bucket_nametag
3raven:villager-golem-fixes
3raven:fix_beetroot_fortune_drops
3raven:fix_sliding
3raven:illager_banner_description
3raven:release_0.83.1
3raven:skelly_horse_thunder
3raven:mobs_armor
3raven:mobsarmorfix
3raven:smoother_biome_borders
3raven:jukebox_sound_distance
3raven:cobble_abm_height
3raven:callable-tool-rightclick-functions
3raven:effects_rewrite
3raven:respiration
3raven:make-new-music-louder
3raven:damage
3raven:texture_conversion_wool
3raven:dehardcoded_signs
3raven:mcl_oxidization
3raven:Texture-Rename2
3raven:Bamboo-Piston-Dig
3raven:hardcore_mode_test
3raven:update_german_translation_attempt2
3raven:test_mob_tweaks_branch
3raven:csm-enabled
3raven:move_physics_tweak
3raven:water_footstep
3raven:biome_skycolor
3raven:bambootoo
3raven:lower_ow_mapgen
3raven:release/0.81.1
3raven:revert_chest_models
3raven:mcl-craftguide-drop-sfinv
3raven:mcl-structures-fixes
3raven:turtlestriderbeefox
3raven:arrow_node_collision
3raven:pvp_knockback
3raven:icebergs
3raven:light_dump
3raven:testing
3raven:mobs-redo
3raven:wood_api
3raven:mobs_head_rotation
3raven:bonemeal
3raven:dyable-leather-armor
3raven:new_mapgen_api
3raven:newmobs-master
3raven:formspec_overhaul
3raven:mobs
3raven:mapgen
3raven:mineclone5
3raven:chat-command-builder-2
3raven:formspec-v4
3raven:doc-refactoring
3raven:production
3raven: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
3raven:0.84.0
3raven:0.83.1
3raven:0.83.0
3raven:0.82.0
3raven:0.81.1
3raven:0.81.0
3raven:0.80.1
3raven:0.80.0
3raven:mcl_signs_rewrite
3raven:0.79.0
3raven:0.78.0
3raven:0.77.0
3raven:0.76.0
3raven:0.75.0
3raven:0.74.0
3raven:0.73.1
3raven:0.73.0
3raven:0.72.1
3raven:0.72.0
3raven:0.71.0
3raven:0.70.0
3raven:0.69.1
3raven:0.69.0
3raven:0.68.0
3raven:0.67.2
3raven:0.67.1
3raven:0.67.0
3raven:0.66.2
3raven:0.66.1
3raven:0.66.0
3raven:0.65.2
3raven:0.65.1
3raven:0.65.0
3raven:0.64.0
3raven:0.63.0
3raven:0.62.0
3raven:0.61.0
3raven:0.60.0
3raven:0.59.2
3raven:0.59.1
3raven:0.59.0
3raven:0.58.1
3raven:0.58.0
3raven:0.57.1
3raven:0.57.0
3raven:0.56.2
3raven:0.56.1
3raven:0.56.0
3raven:0.55.1
3raven:0.55.0
3raven:0.54.1
3raven:0.54.0
3raven:0.53.4
3raven:0.53.3
3raven:0.53.2
3raven:0.53.1
3raven:0.53.0
3raven:0.52.1
3raven:0.52.0
3raven:0.51.1
3raven:0.51.0
3raven:0.50.2
3raven:0.50.1
3raven:0.50.0
3raven:0.49.0
3raven:0.48.1
3raven:0.48.0
3raven:0.47.1
3raven:0.47.0
3raven:0.46.0
3raven:0.45.1
3raven:0.45.0
3raven:0.44.0
3raven:0.43.0
3raven:0.42.0
3raven: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