From e10cfac33679df60813fe44c4845b3f09750e036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=B6=E7=9A=93?= <1214946206@qq.com> Date: Sat, 3 Jul 2021 18:11:55 +0800 Subject: [PATCH] 2.1.0 --- restore_scores.sc | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/restore_scores.sc b/restore_scores.sc index 278520d..aa7839b 100644 --- a/restore_scores.sc +++ b/restore_scores.sc @@ -1,10 +1,10 @@ -global_version = '1.1.1'; +global_version = '1.2.0'; __config() -> { 'scope' -> 'global', 'stay_loaded' -> false }; __command() -> print('版本:' + global_version); -global_bl = l('stone', 'granite', 'polished_granite', 'diorite', 'polished_diorite', 'andesite', 'polished_andesite', 'grass_block', +global_bl = ['stone', 'granite', 'polished_granite', 'diorite', 'polished_diorite', 'andesite', 'polished_andesite', 'grass_block', 'dirt', 'coarse_dirt', 'podzol', 'crimson_nylium', 'warped_nylium', 'cobblestone', 'oak_planks', 'spruce_planks', 'birch_planks', 'jungle_planks', 'acacia_planks', 'dark_oak_planks', 'crimson_planks', 'warped_planks', 'sand', 'red_sand', 'gravel', 'gold_ore', 'iron_ore', 'coal_ore', 'nether_gold_ore', 'oak_log', 'spruce_log', 'birch_log', 'jungle_log', 'acacia_log', 'dark_oak_log', @@ -101,8 +101,28 @@ global_bl = l('stone', 'granite', 'polished_granite', 'diorite', 'polished_diori 'light_weighted_pressure_plate', 'heavy_weighted_pressure_plate', 'daylight_detector', 'redstone_block', 'hopper', 'dropper', 'iron_trapdoor', 'observer', 'iron_door', 'oak_door', 'spruce_door', 'birch_door', 'jungle_door', 'acacia_door', 'dark_oak_door', 'crimson_door', 'warped_door', 'repeater', 'comparator', 'redstone', 'lectern', 'target', 'powered_rail', 'detector_rail', - 'rail', 'activator_rail', 'beacon', 'turtle_egg', 'conduit', 'brewing_stand', 'cauldron' -); + 'rail', 'activator_rail', 'beacon', 'turtle_egg', 'conduit', 'brewing_stand', 'cauldron', 'sculk_sensor', 'raw_iron_block', + 'raw_copper_block', 'raw_gold_block', 'powder_snow', 'candle', 'deepslate_coal_ore', 'deepslate_iron_ore', 'deepslate_copper_ore', + 'deepslate_lapis_ore', 'deepslate_gold_ore', 'deepslate_redstone_ore', 'deepslate_diamond_ore', 'deepslate_emerald_ore', + 'cobbled_deepslate', 'infested_stone', 'infested_cobblestone', 'infested_stone_bricks', 'infested_cracked_stone_bricks', + 'infested_mossy_stone_bricks', 'infested_chiseled_stone_bricks', 'infested_deepslate', 'deepslate', 'chiseled_deepslate', + 'polished_deepslate', 'spore_blossom', 'hanging_roots', 'rooted_dirt', 'dirt_path', 'farmland', 'wall_torch', 'tall_grass', + 'tall_seagrass', 'big_dripleaf', 'small_dripleaf', 'glow_berries', 'cave_vines', 'cave_vines_plant', 'moss_carpet', 'moss_block', + 'flowering_azalea_leaves', 'azalea_leaves', 'azalea', 'flowering_azalea', 'glow_lichen', 'dripstone_block', 'pointed_dripstone', + 'lightning_rod', 'cobbled_deepslate_stairs', 'polished_deepslate_stairs', 'deepslate_brick_stairs', 'deepslate_tile_stairs', + 'cut_copper_stairs', 'exposed_cut_copper_stairs', 'weathered_cut_copper_stairs', 'oxidized_cut_copper_stairs', + 'waxed_cut_copper_stairs', 'waxed_exposed_cut_copper_stairs', 'waxed_weathered_cut_copper_stairs', + 'waxed_oxidized_cut_copper_stairs', 'cobbled_deepslate_slab', 'polished_deepslate_slab', 'deepslate_brick_slab', + 'deepslate_tile_slab'. 'cut_copper_slab', 'exposed_cut_copper_slab', 'weathered_cut_copper_slab', 'oxidized_cut_copper_slab', + 'waxed_cut_copper_slab', 'waxed_exposed_cut_copper_slab', 'waxed_weathered_cut_copper_slab', 'waxed_oxidized_cut_copper_slab', + 'copper_block', 'exposed_copper', 'weathered_copper', 'oxidized_copper', 'cut_copper', 'exposed_cut_copper', + 'weathered_cut_copper', 'oxidized_cut_copper', 'waxed_copper_block', 'waxed_exposed_copper', 'waxed_weathered_copper', + 'waxed_oxidized_copper', 'waxed_cut_copper', 'waxed_exposed_cut_copper', 'waxed_weathered_cut_copper', 'waxed_oxidized_cut_copper', + 'copper_ore', 'tinted_glass', 'smooth_basalt', 'calcite', 'amethyst_block', 'budding_amethyst', 'amethyst_cluster', + 'small_amethyst_bud', 'medium_amethyst_bud', 'large_amethyst_bud', 'amethyst_cluster', 'tuff', 'white_candle', 'orange_candle', + 'magenta_candle', 'light_blue_candle', 'yellow_candle', 'lime_candle', 'pink_candle', 'gray_candle', 'light_gray_candle', + 'cyan_candle', 'purple_candle', 'blue_candle', 'brown_candle', 'green_candle', 'red_candle', 'black_candle' +]; __restore(pl, s_player) ->( scoreboard_remove('killCounter'); scoreboard_remove('digCounter'); @@ -191,13 +211,7 @@ __restore(pl, s_player) ->( by_whitelist() ->( pl = keys(system_info('server_whitelist')); s_player = player(); - //c_for(i = 0, i < length(pl), i += 1, - // run('player ' + pl:i + ' spawn at ' + (s_player~'x'+0.1)+ ' ' +s_player~'y'+ ' ' +(s_player~'z'+0.1)); - //); game_tick(50); __restore(pl, s_player); - //c_for(i = 0, i < length(pl), i += 1, - // run('player ' + pl:i + ' kill'); - //); return() ) \ No newline at end of file