cawezs_expanded_world/elements/PlaceWells.mod.json
COW_ILLUMINATI ea3188c2f7 1.3.2
2024-06-01 07:40:53 -04:00

7 lines
9.2 KiB
JSON

{
"_fv": 60,
"_type": "procedure",
"definition": {
"procedurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"configfile\" type=\"File\">configfile</variable><variable id=\"dimsTable\" type=\"JsonObject\">dimsTable</variable><variable id=\"propsTable\" type=\"JsonObject\">propsTable</variable><variable id=\"tmpNextDim\" type=\"JsonObject\">tmpNextDim</variable></variables><block deletable=\"false\" type=\"event_trigger\" x=\"40\" y=\"40\"><field name=\"trigger\">player_ticks</field><next><block type=\"variables_set_file\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:configfile</field><value name=\"VAL\"><block type=\"file_variable\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:configfile</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">CMS_dims.json</field></block></value><value name=\"location\"><block type=\"text_join\"><mutation items=\"2\"/><value name=\"ADD0\"><block type=\"get_game_directory\"/></value><value name=\"ADD1\"><block type=\"text\"><field name=\"TEXT\">/config/</field></block></value></block></value></block></value><next><block type=\"read_json\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:configfile</field><field name=\"JOBJVAR\">local:dimsTable</field><statement name=\"values\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"json_property_exists\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:dimsTable</field><value name=\"name\"><block type=\"text_substring\"><value name=\"text\"><block type=\"text_join\"><mutation items=\"1\"/><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value></block></value><value name=\"from\"><block type=\"math_number\"><field name=\"NUM\">34</field></block></value><value name=\"to\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">-1</field></block></value><value name=\"B\"><block type=\"text_length\"><value name=\"VALUE\"><block type=\"text_join\"><mutation items=\"1\"/><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value></block></value></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_jsonobject\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"VAL\"><block type=\"get_json_object\"><field name=\"JOBJVAR\">local:dimsTable</field><value name=\"name\"><block type=\"text_substring\"><value name=\"text\"><block type=\"text_join\"><mutation items=\"1\"/><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value></block></value><value name=\"from\"><block type=\"math_number\"><field name=\"NUM\">34</field></block></value><value name=\"to\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">-1</field></block></value><value name=\"B\"><block type=\"text_length\"><value name=\"VALUE\"><block type=\"text_join\"><mutation items=\"1\"/><value name=\"ADD0\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value></block></value></block></value></block></value></block></value></block></value><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"get_json_logic\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">ceiling</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"coord_y\"/></value><value name=\"B\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">-16</field></block></value><value name=\"B\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">height</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 cawezs_mantle_to_stratus:well_core</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">height</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">fill ~-10 ~-2 ~-10 ~10 ~-7 ~10 minecraft:obsidian replace minecraft:bedrock</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">height</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"/></value></block></next></block></statement></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"get_json_logic\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">floor</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"coord_y\"/></value><value name=\"B\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">16</field></block></value><value name=\"B\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">depth</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_dimensionids\"><value name=\"a\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"get_dimensionid\"><field name=\"dimension\">CUSTOM:TheBelow2</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_dimensionids\"><value name=\"a\"><block type=\"entity_dimension_id\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"get_dimensionid\"><field name=\"dimension\">Nether</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">fill ~-10 ~ ~-10 ~10 ~ ~10 cawezs_mantle_to_stratus:well_core</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">depth</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"/></value></block></statement><next><block type=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">fill ~-10 ~1 ~-10 ~10 ~6 ~10 minecraft:obsidian replace minecraft:bedrock</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"get_json_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:propsTable</field><value name=\"name\"><block type=\"text\"><field name=\"TEXT\">depth</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"/></value></block></next></block></statement></block></statement></block></statement></block></next></block></next></block></statement></block></statement></block></next></block></next></block></xml>"
}
}