Skip to content

Commit

Permalink
Merge pull request #57 from cohstats/no-bl-autobuild
Browse files Browse the repository at this point in the history
Regenerate the files with no blacklist
  • Loading branch information
petrvecera authored May 29, 2024
2 parents fe65f8c + 6d317f1 commit 410cc86
Show file tree
Hide file tree
Showing 202 changed files with 2,391,396 additions and 51,559 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text eol=lf
*.json text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,17 @@ The **locstrings** must be exported as well, but requires the following steps:
Hint: `python main.py -no_bl` disables blacklist filter and generates complete JSON files. However, when possible,
the filtered JSON files should be used to reduce file size.

You can verify the changes by running command `git diff`

## Changes after the patch
1. Generate the data
2. Copy the .json files into folder `/data`
3. Make an MR with the changes
1. Generate the data into folder `/data`
2. Make an MR with the changes

The folder /data should always have the stable export of the data.

## Folder `chunked`
Folder `chunked` has the big json files split to a smaller files for better manipulation.


## How to add/fix missing data not delivered by the Essence Editor

Expand Down
119,298 changes: 67,746 additions & 51,552 deletions data/abilities.json

Large diffs are not rendered by default.

345 changes: 345 additions & 0 deletions data/chunked/abilities/prioritize_vehicles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
{
"ability_bag": {
"activation": "toggle",
"can_target_in_fow": "False",
"caster_close_in_distance": 0.0,
"casters_can_evacuate": "False",
"cost_to_player": {
"action": 0.0,
"command": 0.0,
"popcap": 0.0,
"fuel": 0.0,
"munition": 0.0,
"manpower": 0.0,
"requisition": 0.0,
"ultimate": 0.0
},
"cursor_ghost_blueprint": "",
"cursor_ghost_blueprint_angle": 0.0,
"disable_combat": "False",
"disable_when_active": "False",
"enable_in_building": "True",
"enable_in_vehicle": "True",
"engage_combat": "False",
"entity_busy_time": 1.0,
"facing_angle": 5.0,
"facing_ignore": "True",
"final_close_in_distance": 0.0,
"fire_and_forget": "False",
"garrison_target": "False",
"initial_recharge": "False",
"move_back": "False",
"move_back_distance": 10.0,
"range": 0.0,
"range_ignore": "True",
"recharge_time": 0.0,
"refundable": "True",
"require_no_shot_block": "False",
"shared_timer": "",
"shared_timer_player_wide": "False",
"squad_caster": "squad",
"target": "tp_any",
"toggled_recharge_time_off": 0.0,
"toggled_recharge_time_on": 0.0,
"ui_cursor": {
"cursor_bad": "",
"cursor_good": "",
"cursor_nonmodal_good": ""
},
"ui_info": {
"extra_text": {
"locstring": {
"name": "extra_text",
"value": "0"
}
},
"help_text": {
"locstring": {
"name": "help_text",
"value": "11240943"
}
},
"hotkey_name": "S",
"icon_name": "races/common/abilities/focus_vehicle_disabled",
"overlay_name": "",
"reveal_for_decryption": "False",
"screen_name": {
"locstring": {
"name": "screen_name",
"value": "11155111"
}
},
"icon_alternate_name": "races/common/abilities/focus_vehicle_enabled",
"brief_text": {
"locstring": {
"name": "brief_text",
"value": "11239971"
}
},
"help_text_alternate": {
"locstring": {
"name": "help_text_alternate",
"value": "11248354"
}
},
"screen_name_alternate": {
"locstring": {
"name": "screen_name_alternate",
"value": "11184469"
}
},
"screen_name_short": {
"locstring": {
"name": "screen_name_short",
"value": "0"
}
},
"debug_text": "",
"tooltip_data_template": "",
"ui_combine_type": "intersection",
"brief_text_formatter": {
"template_reference": {
"name": "brief_text_formatter",
"value": ""
}
},
"extra_text_formatter": {
"template_reference": {
"name": "extra_text_formatter",
"value": ""
}
},
"help_text_formatter": {
"template_reference": {
"name": "help_text_formatter",
"value": ""
}
},
"help_text_alternate_formatter": {
"template_reference": {
"name": "help_text_alternate_formatter",
"value": ""
}
},
"screen_name_formatter": {
"template_reference": {
"name": "screen_name_formatter",
"value": ""
}
},
"screen_name_alternate_formatter": {
"template_reference": {
"name": "screen_name_alternate_formatter",
"value": ""
}
},
"screen_name_short_formatter": {
"template_reference": {
"name": "screen_name_short_formatter",
"value": ""
}
},
"screen_name_visibility": "visible",
"sound": "",
"sound_alternative": ""
},
"ui_usage_txt": {
"locstring": {
"name": "ui_usage_txt",
"value": "0"
}
},
"validate_actions": "True",
"requirements": [],
"ability_super": "tp_none",
"ui_position": {
"ui_position_row": 2.0,
"ui_position_column": 3.0
},
"ui_mini_map_capture": "False",
"facing_ignore_during_active": "False",
"ui_range": {
"instance_reference": ""
},
"ui_reticule": {
"instance_reference": ""
},
"ui_reticule_radius_min": 1.0,
"ui_reticule_radius_max": 1.0,
"pending_ability_out_of_range_behaviour": "chase",
"ui_ability_group": "group_primary",
"ui_targetable_sm_key": "",
"ui_targetable_on_key": "",
"ui_targetable_off_key": "",
"ui_targetable_receiver": "local",
"ui_combine_type": "intersection",
"ui_modal_highlight": {
"world_sector": "False",
"map_sector": "False",
"map_sector_hq_link_extender": "False"
},
"ui_group_cast_type": "multi",
"requirements_target": [],
"targeted_ability_option": {
"template_reference": {
"name": "targeted_ability_option",
"value": "options\\none"
}
},
"ui_direction_requirement": "nondirectional",
"cursor_ghost_ebp": {
"instance_reference": ""
},
"can_cast_whilst_constructing": "False",
"requirements_self_recharge": [],
"can_cast_outside_active_battle_field": "False",
"cost_to_squad": {
"action": 0.0,
"command": 0.0,
"popcap": 0.0,
"fuel": 0.0,
"munition": 0.0,
"manpower": 0.0,
"requisition": 0.0,
"ultimate": 0.0
},
"ability_super_event_cue": "False",
"ui_progress_bar_type": "no_bar",
"ui_ability_issue_type": "Normal",
"speech_code": "",
"channeling": {
"template_reference": {
"name": "channeling",
"value": "options\\none"
}
},
"can_be_interrupted": "False",
"casting_option": {
"template_reference": {
"name": "casting_option",
"value": "options\\none"
}
},
"proxy_range_option": {
"template_reference": {
"name": "proxy_range_option",
"value": "options\\none"
}
},
"ability_category": {
"instance_reference": ""
},
"always_refund_cost_if_failed": "False",
"ui_menu": {
"instance_reference": ""
},
"ui_combine_priority": 0.0,
"construction_preview_override": {
"instance_reference": ""
},
"statetree_ability_id": "",
"construction_preview": "False",
"statetree_node_prereq_self_requirement": "",
"statetree_node_prereq_target_requirement": "",
"statetree_node_prereq_self_recharge_requirement": "",
"entity_tree": "ability_prioritize_vehicles_entity",
"squad_tree": "ability_prioritize_vehicles_squad",
"ability_active_state_tree_group": {
"ability_activate_squad_tree": "",
"ability_activate_entity_tree": "",
"ability_activate_deferred_tree": ""
},
"hold_period": 0.0,
"clear_ability_on_blueprint_conversion": "True",
"min_range": 0.0,
"ability_description": {
"instance_reference": ""
},
"ability_description_storage_index": "",
"default_command_weight_modifier": 0.0,
"global_tree": "",
"ui_visibility_ignore_prerequisite": "False",
"use_simbox_to_simbox_range": "True",
"ui_range_reticule_shows_while_active": "False",
"can_move_to_cast": "True",
"ui_contextual_info": [],
"show_range_reticule_in_contruction_item_preview": "False",
"toggle_ability_group": "",
"projectile_for_preview": {
"instance_reference": ""
},
"ui_ability_can_display": "True",
"enable_in_unit_types": [],
"ui_target_origin_point": "center",
"can_use_ability_check_interval": 0.125,
"should_trigger_immediately": "False",
"ui_user_prompt_issue_message": {
"locstring": {
"name": "ui_user_prompt_issue_message",
"value": "0"
}
},
"squad_caster_entity_filter_condition": "",
"ui_range_min": {
"instance_reference": ""
},
"ui_range_reticule_can_cast_only": "False",
"ui_range_reticule_first_caster_only": "True",
"ui_range_reticule_enable_team_color": "False",
"terminal_command": "False",
"can_passive_ability_create_formation_squad_group": "False",
"can_cast_again_whilst_pending": "False",
"ui_click_point_action_key": "",
"ui_ability_options": {
"template_reference": {
"name": "ui_ability_options",
"value": "options\\none"
}
},
"statetree_node_prereq_highlight_requirement": "",
"highlight_targets": "False",
"use_movement_node_positions": "False",
"shared_timer_team_wide": "False",
"show_damage_preview": "False",
"use_concurrent_cast": "False",
"HACK": {
"HACK_apply_restoration_cost_for_targets": "False",
"HACK_use_full_simbox_to_simbox_range": "False"
},
"toggled_dectivate_on_failed_requirements": "False",
"min_shot_blocker_height": 0.0,
"statetree_node_prereq_default_command_prioritize_as_success": {
"statetree_node_self": "",
"statetree_node_target": ""
},
"statetree_node_prereq_entity_target_filter": "",
"statetree_node_prereq_entity_target_default_command_filter": "",
"can_restart_on_same_target_while_active": "True",
"show_movement_node_pathing_preview": "True"
},
"pbgid": 172523.0,
"parent_pbg": {
"instance_reference": ""
},
"custom_properties": {
"template_reference": {
"name": "custom_properties",
"value": "custom_property_template"
},
"custom_bool_properties": [],
"custom_float_properties": [],
"custom_int32_properties": [],
"custom_vector3f_properties": [],
"custom_pbgid_properties": [],
"custom_loc_string_properties": [],
"custom_entity_state_tree_reference_properties": [],
"custom_deferred_entity_state_tree_reference_properties": [],
"custom_physical_state_tree_reference_properties": [],
"custom_global_state_tree_reference_properties": [],
"custom_squad_state_tree_reference_properties": [],
"custom_enum_properties": [],
"child_custom_properties": [],
"custom_hash_key_properties": [],
"custom_reflected_enum_properties": []
}
}
Loading

0 comments on commit 410cc86

Please sign in to comment.