vore-mod/elements/ChangeToAV.mod.json
2024-03-13 00:29:55 -04:00

7 lines
No EOL
8.2 KiB
JSON

{
"_fv": 57,
"_type": "procedure",
"definition": {
"procedurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"thex\" type=\"Number\">thex</variable><variable id=\"thez\" type=\"Number\">thez</variable></variables><block deletable=\"false\" type=\"event_trigger\" x=\"353\" y=\"128\"><field name=\"trigger\">no_ext_trigger</field><comment h=\"283\" pinned=\"false\" w=\"199\">This will make a mob eat the player with their butt instead. and teleport them to the rectum of the belly structure by changing the tp location.\n\nthis should only be ran after the belly name is confirmed to be valid and the name tag is taken from the player\n\nor maybe this returns true if succesful so that the name tag can be taken</comment><next><block type=\"controls_if\"><mutation elseif=\"2\"/><comment h=\"85\" pinned=\"false\" w=\"246\">this is where the offsets are made depending on the belly name and if the entity is name AV</comment><value name=\"IF0\"><block type=\"entity_nbt_logic_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">noEat</field></block></value></block></value><statement name=\"DO0\"><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><value name=\"IF1\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyType</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">animal</field></block></value></block></value><value name=\"B\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyType</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">rotten_animal</field></block></value></block></value></block></value><statement name=\"DO1\"><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetX</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">4</field></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetY</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">14</field></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetZ</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">10</field></block></value><next><block type=\"entity_nbt_text_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatText</field></block></value><value name=\"tagValue\"><block type=\"text\"><field name=\"TEXT\">[prey] got shoved up [pred]'s ass</field></block></value><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></statement><value name=\"IF2\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyType</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">anthro</field></block></value></block></value><value name=\"B\"><block type=\"text_binary_ops\"><value name=\"A\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyType</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\">rotten</field></block></value></block></value></block></value><statement name=\"DO2\"><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetX</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">16</field></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetY</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">3</field></block></value><next><block type=\"entity_nbt_num_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOffsetZ</field></block></value><value name=\"tagValue\"><block type=\"math_number\"><field name=\"NUM\">10</field></block></value><next><block type=\"entity_nbt_text_set\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatText</field></block></value><value name=\"tagValue\"><block type=\"text\"><field name=\"TEXT\">[prey] got shoved up [pred]'s ass</field></block></value><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></statement><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></next></block><block type=\"variables_set_number\" x=\"346\" y=\"916\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:thex</field><comment h=\"80\" pinned=\"false\" w=\"160\">not needed anymore thanks to my 2.0.0 update. really should have been like this from the beginning.</comment><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_singular_ops\"><field name=\"OP\">ROUNDDOWN</field><value name=\"NUM\"><block type=\"math_dual_ops\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyX</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value></block></value><next><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:thez</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_singular_ops\"><field name=\"OP\">ROUNDDOWN</field><value name=\"NUM\"><block type=\"math_dual_ops\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyZ</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">48</field></block></value></block></value></block></next></block></xml>"
}
}