mirror of
https://github.com/JasonTable/vore-mod.git
synced 2024-11-26 23:23:59 -05:00
7 lines
No EOL
6 KiB
JSON
7 lines
No EOL
6 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\"><block type=\"entity_dimension_id\" x=\"0\" y=\"0\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block><block type=\"get_dimensionid\" x=\"0\" y=\"0\"><field name=\"dimension\">CUSTOM:Belly</field></block><block deletable=\"false\" type=\"event_trigger\" x=\"410\" y=\"250\"><field name=\"trigger\">entity_dies</field><comment h=\"110\" pinned=\"false\" w=\"244\">When entity dies, if they die in acid and are a player, it is announced it in chat. If they are not in acid and are an animal, they have a 20% chance to drop flesh.</comment><next><block type=\"controls_if\"><mutation elseif=\"1\"/><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"compare_mcblocks\"><value name=\"a\"><block type=\"world_data_blockat\"><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_allblocks\"><field name=\"value\">CUSTOM:Acid</field></block></value></block></value><value name=\"B\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"entity_from_deps\"/></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><mutation else=\"1\"/><comment h=\"111\" pinned=\"false\" w=\"473\">if the player that died in acid is in a belly and has eatenBy nbt, annouce that they were digested by whatever ate them. otherwise just announce that they were digested.</comment><value name=\"IF0\"><block inline=\"false\" type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"compare_dimensionids\"><value name=\"a\"><block type=\"world_data_dimensionid\"/></value><value name=\"b\"><block type=\"get_dimensionid\"><field name=\"dimension\">CUSTOM:Belly</field></block></value></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><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\">eatenBy</field></block></value></block></value><value name=\"B\"><block type=\"text\"><field name=\"TEXT\"/></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"world_send_chat\"><value name=\"text\"><block inline=\"false\" type=\"text_join\"><mutation items=\"3\"/><value name=\"ADD0\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"ADD1\"><block type=\"text\"><field name=\"TEXT\"> got digested by </field></block></value><value name=\"ADD2\"><block type=\"entity_nbt_text_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">eatenBy</field></block></value></block></value></block></value></block></statement><statement name=\"ELSE\"><block type=\"world_send_chat\"><value name=\"text\"><block inline=\"false\" type=\"text_join\"><mutation items=\"2\"/><value name=\"ADD0\"><block type=\"entity_name\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"ADD1\"><block type=\"text\"><field name=\"TEXT\"> got digested</field></block></value></block></value></block></statement></block></statement><value name=\"IF1\"><block type=\"logic_binary_ops\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"math_java_constants\"><field name=\"CONSTANT\">RANDOM</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0.3</field></block></value></block></value><value name=\"B\"><block type=\"entity_is_tagged_in\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tag\"><block type=\"text\"><field name=\"TEXT\">forge:stomach_animal</field></block></value></block></value></block></value><statement name=\"DO1\"><block type=\"spawn_gem\"><field name=\"despawn\">TRUE</field><value name=\"block\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Flesh</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><value name=\"pickUpDelay\"><block type=\"math_number\"><field name=\"NUM\">10</field></block></value></block></statement><next><block type=\"controls_if\"><comment h=\"80\" pinned=\"false\" w=\"160\">this part handles spitting out any entities inside the creatre killed</comment><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><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\"/></block></value></block></value></block></value><statement name=\"DO0\"><block inline=\"false\" type=\"call_procedure_at\"><field name=\"procedure\">DestroyBelly</field><value name=\"x\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOriginX</field></block></value></block></value><value name=\"y\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"z\"><block type=\"entity_nbt_num_get\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">bellyOriginZ</field></block></value></block></value></block></statement></block></next></block></next></block></xml>"
|
|
}
|
|
} |