Compare commits

...

221 Commits

Author SHA1 Message Date
kay27 3606d9d43e merge 2020-10-09 03:33:43 +04:00
kay27 f0afebea38 Remove double vector addition for piston pull/push - fix on_placenode() coordinates 2020-10-09 02:09:00 +04:00
kay27 d1807b5844 Remove double on_placenode() for push/pull, see https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua#L371 2020-10-08 21:51:07 +04:00
kay27 a78c613322 Fix slimeblock/piston behavior, https://github.com/kay27/MineClone2/issues/4 2020-10-07 23:28:21 +04:00
Wuzzy 5f820c6bf9 Update helptext of obsidian 2020-09-30 17:31:19 +02:00
Wuzzy b0ee0a475b Remove "Loading terrain" msg (too spammy) 2020-09-30 17:27:34 +02:00
Wuzzy 81b33d7df3 Shrink Nether portal texture to 16px 2020-09-30 17:25:12 +02:00
Wuzzy 3bed1c5bf8 Fix accidental global in mcl_portals 2020-09-30 17:10:06 +02:00
kay27 c01c53af49 Prevent opening double chests with solid block(s) on the top 2020-09-30 16:42:52 +04:00
kay27 3cd30a559e sl4v & Nicu: Don't open chests if there is a full block above them, for 1-node normal & trapped chests 2020-09-30 00:32:28 +04:00
kay27 a511152cdf Fix glass bottles remained empty on take water from cauldrons, https://github.com/kay27/MineClone2/issues/1 2020-09-27 22:56:39 +04:00
kay27 339f7c6359 Add calculation of mcl_vars.mapgen_edge_min/max in mcl_init and use them for Nether portal fast travelling 2020-09-26 02:17:49 +04:00
kay27 4eb42c3a9a Merge bzoss_player feature branch 2020-09-25 00:39:51 +04:00
kay27 446b0e6602 Merge updated Nether portals, Wuzzy/MineClone2#804 2020-09-21 22:21:46 +04:00
kay27 8df2aebd31 Add moveresult variable passing to on_step() of mob entity, Wuzzy/MineClone2#837 2020-09-21 11:30:29 +04:00
kay27 15cb94b9b3 Close minor issues with fishing rod timing and permanent_flame alias, Wuzzy/MineClone2#834 & Wuzzy/MineClone2#836 2020-09-20 03:38:31 +04:00
kay27 7678bf9b9f Fix item duplication by brewing stand, by disabling its falling and pushing/pulling, see Wuzzy/MineClone2#831 2020-09-19 11:42:09 +04:00
kay27 fa97aca76a Simplify respawn search algorithm, Wuzzy/MineClone2#833 2020-09-10 21:25:02 +04:00
Wuzzy b47ff2b9be Use pure-API version of tt mod 2020-09-10 15:41:36 +02:00
kay27 daede2a183 Improve around-the-bed-respawn place search algorithm: square spiral up to 7 x/z nodes, thanks anon5, Wuzzy/MineClone2#785 2020-09-09 14:35:44 +04:00
kay27 7bbb7438ae Fix bed checks, see Wuzzy/MineClone2#785 2020-09-08 18:15:57 +04:00
kay27 a2281f384b Add blast resistance for stairs and slabs 2020-09-08 15:06:52 +04:00
kay27 28f19fdbb4 Fix potion names, Wuzzy/MineClone2#829 2020-09-08 07:21:29 +04:00
kay27 f2d68d909e Add some growth for unloaded farming plants 2020-09-05 21:49:12 +04:00
kay27 766c76831d Restore furnaces work when time_speed set to 0 (but for emegred areas only, as it was in 0.66.2) 2020-08-31 11:19:00 +04:00
Wuzzy 9d101ce923 Version 0.67.2 2020-08-29 11:11:40 +02:00
Wuzzy e361b35724 Fix crash delete item entity with empty itemstring 2020-08-29 10:57:33 +02:00
Wuzzy 09ee912096 Fix crash when mob dies after poison/regen 2020-08-29 10:53:44 +02:00
Wuzzy ae4ede757a Version 0.67.1 2020-08-26 12:58:22 +02:00
MysticTempest 2f6afe34ba Fix crash when night_vision tries to apply to a mob. 2020-08-26 00:46:07 -05:00
Wuzzy 8453dac1db Fix MISSING_ENGINE_FEATURES.md typo 2020-08-24 09:35:11 +02:00
Wuzzy e5d6e90913 Mark mcl_node_particles as an experimental setting 2020-08-23 12:07:35 +02:00
Wuzzy 87ffe2e8f5 Set default node particle level to "none" 2020-08-23 12:05:08 +02:00
Wuzzy 4fb0ead10e Make all brewing stand versions use metal sound 2020-08-22 12:12:31 +02:00
Wuzzy 5787b43117 Version 0.67.0 2020-08-22 11:28:36 +02:00
Wuzzy b726dd7689 Credit kay27 for coding work 2020-08-22 11:26:45 +02:00
Wuzzy 3a57a5800b Smoother lingering potion particles in 1st second 2020-08-22 11:18:45 +02:00
kay27 82c3142913 fix a typo in mcl_potions.ru.tr 2020-08-22 05:13:17 +04:00
kay27 81cf500611 fix furnace flame particles 2020-08-22 05:05:55 +04:00
Wuzzy 92c01628a9 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-22 00:31:18 +02:00
kay27 a672d901f8 Translate new line in mcl_potions.ru.tr 2020-08-21 22:22:55 +04:00
kay27 e4ca1beacb prevent furnaces flashes on fuel load more correctly 2020-08-21 22:19:23 +04:00
kay27 a728974d8a prevent furnaces flashing on fuel load 2020-08-21 16:07:50 +04:00
kay27 6efed85866 prevent divizion by zero in mcl_furnaces 2020-08-21 15:58:17 +04:00
kay27 9c8098c203 try to fix Wuzzy/MineClone2#821 2020-08-21 15:23:15 +04:00
Wuzzy 1878870886 Disable node particles by default 2020-08-21 12:36:35 +02:00
Wuzzy 723a306e1e Anvils: Add tt tooltip to damaged anvils 2020-08-20 19:52:00 +02:00
Wuzzy c7627f0517 Fix minor typo 2020-08-20 19:44:47 +02:00
Wuzzy ce0b31123b Increase smoke anim duration for fire smoke 2020-08-19 20:44:12 +02:00
Wuzzy c2afc82754 Disable some demanding particles by default
Fire smoke, lava droplets
2020-08-19 20:39:05 +02:00
Wuzzy c0aeb2f15f Add lava particles 2020-08-19 20:17:04 +02:00
Wuzzy 101391cbcc Fire nodes spawn smoke particles 2020-08-19 19:32:23 +02:00
Wuzzy 8a39474793 Add smoke particles at torches 2020-08-19 19:14:37 +02:00
Wuzzy 731f42ac88 Rename and move texture: tnt_smoke 2020-08-19 18:47:58 +02:00
Wuzzy f00dc21252 Make dying mobs non-pointable 2020-08-19 18:38:38 +02:00
Wuzzy 28aead0a60 Tweak mob death particles 2020-08-19 18:38:14 +02:00
Wuzzy 7c0c0d4d0c Change particle for instant effects 2020-08-19 17:37:41 +02:00
Wuzzy 91d174b437 Fix incorrect particle name in mcl_potions 2020-08-19 17:07:53 +02:00
Wuzzy 9f43d6a5a5 Add setting to disable node particles 2020-08-19 16:37:28 +02:00
Wuzzy 2a1273b7e3 Add flame particles to torches and furnaces 2020-08-19 16:32:46 +02:00
Wuzzy b14eb70241 Add after_rotate in screwdriver API 2020-08-19 16:27:56 +02:00
Wuzzy 988056ad08 Fix bow in creative mode not having inf. ammo 2020-08-19 15:05:23 +02:00
Wuzzy de8183f07a Fix German translation mistake 2020-08-19 14:48:14 +02:00
Wuzzy 4acf953334 Add critical hit particles for bow 2020-08-19 14:45:37 +02:00
Wuzzy fa9ce11ddd Move potion particles to mcl_particles 2020-08-19 14:12:51 +02:00
Wuzzy 7f1e90ada9 Move note particle to mcl_particles 2020-08-19 13:29:13 +02:00
Wuzzy f91ae540c2 Add leafdecay and anvil damage particles 2020-08-19 13:22:40 +02:00
Wuzzy 80e54bf44d Noteblock spawns note particle 2020-08-19 12:20:12 +02:00
Wuzzy b2e2f27935 Add German translation for Sea Pickle 2020-08-19 11:04:32 +02:00
Wuzzy 1816324fe5 Tweak night vision conditions 2020-08-19 10:53:44 +02:00
Wuzzy 3bdd95fe47 Change night vision description 2020-08-19 10:40:07 +02:00
Wuzzy b2ad6b79bd Fix night vision conflicting with weather skycolor 2020-08-19 10:39:44 +02:00
kay27 ff24052e7f Update mcl_mobitems.ru.tr 2020-08-14 00:38:19 +04:00
Wuzzy 2cc76fb9f3 Update mcl_mobitmes translation 2020-08-13 19:36:02 +02:00
Wuzzy eff6c4c476 Clean up poisonous foods 2020-08-13 19:20:52 +02:00
Wuzzy 152d69f91f mcl_hunger: Remove non-food poison mechanic
It was moved to mcl_potions, so it's OK
2020-08-13 18:44:33 +02:00
Wuzzy cef20edd53 Fix drinking a potion never depleting it 2020-08-13 18:16:53 +02:00
Wuzzy 12ca804488 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-13 18:08:33 +02:00
kay27 b8caa2581f Update Russian translation of Brewing 2020-08-11 01:59:58 +04:00
kay27 9537eaead0 Protect from explosions 2020-08-10 22:04:27 +04:00
kay27 c424b036b2 Fix furnaces timing when you leave them or skip the nights, Wuzzy/MineClone2#533 2020-08-10 16:30:55 +04:00
Wuzzy 89b294f8c1 Fix typo in translation 2020-08-10 10:50:48 +02:00
Wuzzy 8573dd69b7 Update mcl_potion translation templates 2020-08-10 10:47:42 +02:00
Wuzzy 578fbf999e Change word in command help 2020-08-10 10:44:57 +02:00
Wuzzy 2a7edbde49 mcl_potions: Move command to own file 2020-08-10 10:40:10 +02:00
Wuzzy f4f976a7a5 Fix potions ignoring on_rightclick of node/objects 2020-08-10 10:30:00 +02:00
Brandon 5637701c4b Correct indentation 2020-08-08 17:51:39 -04:00
Brandon d6c7c9dcd0 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-08 17:51:09 -04:00
Brandon 9024c8084d Update how "on_use" is defined for potions. 2020-08-08 17:48:03 -04:00
Wuzzy db1cc2e012 Effect command: Swap arguments 2020-08-08 10:25:23 +02:00
Wuzzy aaa13878c1 Clean up the effect test command a little 2020-08-08 10:14:37 +02:00
Wuzzy a472c30163 Fix indentations in mcl_potions/mcl_brewing 2020-08-08 10:00:16 +02:00
Wuzzy 7104bbd2df Remove tt strings for WIP potions for now 2020-08-08 09:32:38 +02:00
Wuzzy c373c972b3 Fix typo in mcl_brewing: comination 2020-08-08 09:28:47 +02:00
Brandon 48fae05040 Fix problem with charging double potion effect when hit by a tipped_arrow 2020-08-06 17:44:16 -04:00
Brandon 0cfd16fb17 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-06 17:31:21 -04:00
Brandon 128e98ca4d Delete dead code 2020-08-06 17:30:49 -04:00
Brandon 0e462ef883 Update potions to not break on contact with liquid nodes. 2020-08-06 17:30:28 -04:00
kay27 6ba7ba981d Russian translation of mcl_potions, mcl_brewing 2020-08-06 19:15:59 +04:00
Brandon 49a5f765bd Save player effects on server shutdown. 2020-08-05 20:18:18 -04:00
Brandon cfcaa4fa12 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-05 20:03:56 -04:00
Wuzzy 2e9231ac56 Remove dead chorus flower from Creative 2020-08-05 21:00:30 +02:00
Wuzzy fd724f4c1c Lingering heal/harm potions change at least 1 HP 2020-08-05 20:59:16 +02:00
Wuzzy 3deac5a1c6 Add crafting recipe for dragon's breath 2020-08-05 20:55:07 +02:00
Wuzzy ed6604ee56 Remove incorrect dead chorus flower tooltip 2020-08-05 20:44:41 +02:00
Wuzzy 402205d1ed Do not hide alive chorus flower in Creative 2020-08-05 20:40:34 +02:00
Wuzzy 92591b37dc Make throwable potion entities non-pointable 2020-08-05 20:38:51 +02:00
Wuzzy f5032503d0 Remove dead code in mcl_potions 2020-08-05 20:04:12 +02:00
Wuzzy e310de1754 Fix Shulker spawnegg typo 2020-08-05 19:59:50 +02:00
Wuzzy 53c83a3479 Fix German translation mistake 2020-08-05 19:58:04 +02:00
Wuzzy 1834be9e46 Lingering potion: Reduce timer by constant value 2020-08-05 19:53:14 +02:00
Wuzzy 50bd1b9d5e Update water bottle translate 2020-08-05 19:47:13 +02:00
Wuzzy ff476c29b6 Better lingering for lingering water bottle 2020-08-05 19:44:19 +02:00
Wuzzy 9c304105e9 Add special particles for throwable water bottles 2020-08-05 19:29:21 +02:00
Wuzzy 20455a259f Tweak splash potion particles 2020-08-05 19:06:32 +02:00
Wuzzy 1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +02:00
Wuzzy 13963d00e5 Fix missing definition of age_next in mcl_fire 2020-08-05 18:04:37 +02:00
Wuzzy e2735e0081 Fix wrong var name in mcl_mobs 2020-08-05 17:29:52 +02:00
Wuzzy b1b50df9ab Add more help to brewing stand 2020-08-05 15:48:28 +02:00
Wuzzy f1616e522a Fix another German typo 2020-08-05 15:26:35 +02:00
Wuzzy 41cf1a4362 Fix some translation typos in German 2020-08-05 15:24:15 +02:00
Wuzzy b49bcda0ac Fix get_translator in mcl_brewing 2020-08-05 15:20:08 +02:00
Wuzzy cbf545ee12 Update mcl_potions translation template and German 2020-08-05 15:18:36 +02:00
Wuzzy e519c62c8b Clean up more potion-related strings 2020-08-05 15:18:30 +02:00
Wuzzy 87bf6c12b2 Add German potion translation 2020-08-05 14:49:23 +02:00
Wuzzy e20a630a19 mcl_brewing, mcl_potions: Update transl. templates 2020-08-05 14:24:21 +02:00
Wuzzy 431cd63865 Add mod.conf to mcl_potions 2020-08-05 14:21:48 +02:00
Wuzzy fe40936065 Remove redundant arrow help string definition 2020-08-05 14:20:53 +02:00
Wuzzy c051a95dae Fix typo in mcl_brewing 2020-08-05 13:56:49 +02:00
Brandon b9a9b1b814 Add pretty weak version of chat commands to give oneself potion effects - for testing 2020-08-03 12:47:42 -04:00
MysticTempest 460d6e837a Fix farm mobs following players slowly, adjust animations to follow suit, increase pig view range slightly, and change the runaway animation from walk to run. 2020-08-03 08:37:58 -05:00
Brandon 4c05c2e70c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-02 20:51:27 -04:00
Brandon 67e4e814f4 move hudbar stuff outside initial statement. 2020-08-02 20:50:29 -04:00
Brandon af1ab424fc Allow potion effects to remain after player logs off. 2020-08-02 20:44:18 -04:00
kay27 125840c9e4 Fix bucket stacks Wuzzy/MineClone2#745 by removing leftovers of metadata usage 2020-08-02 19:46:09 +04:00
kay27 afc6a1bb0f Localize variable in mcl_beds 2020-08-02 05:05:02 +04:00
Brandon 0a5cb628c5 make lowercase to conform to Wuzzy's previous commit. 2020-08-01 08:42:31 -04:00
Brandon 5e26cfcf3d Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-01 08:40:41 -04:00
Brandon 2ca2f25e58 Correct tooltip for healing/harming potions 2020-08-01 08:39:50 -04:00
Brandon acea309564 Add poison effect for pufferfish, remove mcl_hunger control for pufferfish effect 2020-08-01 08:36:22 -04:00
Wuzzy 5345dc9eb1 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-01 03:22:03 +02:00
Wuzzy c63028801b Write potion help texts 2020-08-01 03:20:52 +02:00
Wuzzy fb3fade4eb Remove dead code in mcl_brewing 2020-08-01 02:15:48 +02:00
MysticTempest c63c92f597 Copy upstream's pathfinding out of water, then copy & rework the cliff check into a check for land mobs to avoid water. 2020-07-31 08:35:40 -05:00
Wuzzy 23dc977cec Add IRC channel 2020-07-31 15:20:59 +02:00
Wuzzy eec9cd9012 Mark night vision arrows as WIP 2020-07-31 10:45:22 +02:00
Wuzzy 5af124d732 Tweak potion tooltips 2020-07-31 10:43:42 +02:00
Wuzzy 3b95498092 Clean up potion/arrow names 2020-07-31 10:41:44 +02:00
kay27 64f9e39ebd slighty optimize the code 2020-07-31 09:58:28 +02:00
kay27 92385364e5 Fix beds #798 attempt 5 2020-07-31 09:58:28 +02:00
Wuzzy 50fa36aa2c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-29 21:24:49 +02:00
Brandon 1563fc7b96 comment sections of mcl_hunger that "poison" player. This is handled in mcl_potions. 2020-07-28 17:13:54 -04:00
Brandon 78bee21a82 Allow dragon's breath to stack to 64 2020-07-28 17:02:43 -04:00
Brandon fd6028e451 Cleanup HUD bar mechanics 2020-07-27 19:41:07 -04:00
Brandon 9a32bdc967 Update HUD for poison/regen. 2020-07-27 19:17:04 -04:00
Brandon bdd92c6cdb update poison to swap hudbar icons and remove old dead functions 2020-07-27 17:32:48 -04:00
Elias Åström a8eca09822 Fix on_blast for chorus flower crashing 2020-07-27 19:44:55 +02:00
Elias Åström 91b6213e0b Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-27 19:28:46 +02:00
Elias Åström e85c00ea02 Show custom name in UI of Chest and Shulker Box 2020-07-27 19:26:01 +02:00
kay27 252c7c501e consider 'time_speed' change at runtine 2020-07-27 07:58:20 +00:00
Wuzzy 0cc179acc6 Add warning about bed velocity 2020-07-27 07:49:54 +02:00
kay27 7d1f8ac314 Velocity check adjusted in mcl_beds 2020-07-27 07:49:54 +02:00
kay27 c78270e70b Bed occupation fix 2020-07-27 07:49:54 +02:00
Brandon 6eb810339b Cleanup potion functions - check for player effects at login to ensure no holdovers exist 2020-07-26 17:42:38 -04:00
kay27 f1c01e2785 Furnaces can skip the night and use in-game time when possible 2020-07-27 01:26:21 +04:00
kay27 14027b96d1 Velocity check adjusted in mcl_beds 2020-07-27 01:12:10 +04:00
kay27 22ca9e861c Bed occupation fix 2020-07-27 00:45:53 +04:00
Elias Åström 37c05cb840 Also save the name when a shulker is placed
Previously only the description was saved in the node meta.
2020-07-26 18:01:36 +02:00
Elias Åström 6095ae17b1 Merge remote-tracking branch 'dbeans/master' 2020-07-26 17:50:09 +02:00
Elias Åström 4827d2a83a Update anvil maximum name length to 35 2020-07-26 17:39:55 +02:00
Brandon 9ef57692ba A little more code cleanup 2020-07-26 07:48:40 -04:00
Brandon 9dce5581be Code cleanup 2020-07-25 20:59:26 -04:00
Brandon d22805cecd Clean up potion functions. Correct fault where it's possible to index a nil value. 2020-07-25 20:40:13 -04:00
Brandon 834ce1f611 Correct issue where awkward splash wouldn't brew 2020-07-25 15:27:04 -04:00
Brandon e5f0370c17 Correct arrow naming convention 2020-07-25 15:26:42 -04:00
Brandon e603a08f3c Correct potion color scheme 2020-07-25 15:26:22 -04:00
MysticTempest 56958ab0c9 Fix mobs getting stuck in water, fix mobs falling off cliffs, and lower spider speed so cliff_danger check is properly applied. 2020-07-24 21:15:40 -05:00
Brandon bf38131520 Corrected poison and other damage functions 2020-07-24 19:39:23 -04:00
Brandon a53a98fff6 updated arrow color scheme. 2020-07-24 19:22:57 -04:00
Brandon 8c5943b34c Correct other issues in inverting swiftness. 2020-07-24 19:15:00 -04:00
Brandon ebfe9674e1 Correct issue with inverting swiftness to slowness. 2020-07-24 19:12:03 -04:00
Brandon c37e43df4e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-24 19:05:14 -04:00
Brandon d228da1da7 allow stackable dragon breath 2020-07-24 19:02:54 -04:00
kay27 d76b1a9065 Russian translation: commandblock: advanced topics/usage 2020-07-24 19:10:58 +02:00
kay27 e19c00cd44 Russian translation: mcl_maps 2020-07-24 19:09:17 +02:00
dBeans f961a72c33 Make shulker boxes preserve name when placed 2020-07-24 12:44:21 +02:00
Wuzzy cd3e87bf57 Fix duplicate help entries for brewing stand 2020-07-23 23:23:03 +02:00
Wuzzy e3c22cb072 Move depends to mod.conf in mcl_brewing 2020-07-23 23:16:36 +02:00
Wuzzy fa76f81f92 Change mcl_brewing file permissions 2020-07-23 23:15:37 +02:00
Wuzzy 49d5e49999 Upgrade hudbars to 2.3.2 2020-07-23 23:06:10 +02:00
Wuzzy a430772c16 Fix incorrect string in mesecons_commandblock 2020-07-23 22:43:16 +02:00
Wuzzy ee52990db1 Remove empty Russian translation of mcl_maps 2020-07-23 22:36:25 +02:00
Wuzzy 7c93f3f9f7 Remove trailing spaces in Russian translation 2020-07-23 22:35:09 +02:00
Wuzzy ac518fa548 Merge branch 'master' of https://git.minetest.land/kay2777/MineClone2 into ru 2020-07-23 22:33:10 +02:00
Wuzzy a3d70e45d1 Fix incorrect dirt help 2020-07-23 22:29:16 +02:00
Brandon dc3a991705 Correct crash from on_use = nil 2020-07-22 17:57:02 -04:00
Brandon 8ac54febba Adjust dragon's breath color and don't splash it 2020-07-22 17:52:47 -04:00
Brandon f2906bee3a Add really cool header text 2020-07-22 17:46:49 -04:00
Brandon 927ba10c34 Update dragon breath image. 2020-07-22 17:46:34 -04:00
Brandon b45b4a44e5 Add brewable dragons breath with chorus flower 2020-07-22 17:42:10 -04:00
Brandon c4271cf13d Correct crash when no arrow is in the inventory and the bow is drawn. 2020-07-21 18:55:41 -04:00
Brandon 623f60ab79 correct elseif statement 2020-07-20 19:50:17 -04:00
Brandon 31f57a51e0 give bow a bit more power... 2020-07-20 19:49:10 -04:00
Brandon 843f2d2a80 Correct issue where player/entities dies before effect is given 2020-07-20 19:48:58 -04:00
Brandon 43c4b355ce Fix issue with objects/players dying before the effect runs, which won't be applied... 2020-07-20 19:07:10 -04:00
Brandon bb5aa33bad Remove splash potion arrow recipe 2020-07-20 18:36:37 -04:00
kay27 0b05431285 Merge remote-tracking branch 'upstream/master' 2020-07-20 19:44:06 +00:00
Brandon 26315d44cf Add the ability to give use lingering potions to tip arrows.
Corrected issue with bow not finding potion arrows in inventory.
2020-07-19 21:08:50 -04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Brandon 0f5b6b7ce0 Initial commit to potion tipped arrows. 2020-07-19 18:56:18 -04:00
Brandon 1eeb0511de Correct undeclared local obj in enderman line 318 2020-07-19 18:32:33 -04:00
Brandon fa86a09fd5 Add splash/lingering water 2020-07-17 17:25:49 -04:00
Brandon 2b4b37a439 Update longdesc for mundane and thick potions 2020-07-17 17:09:51 -04:00
Brandon 787769cb92 Fix brewing thick potions and splash water potions 2020-07-17 17:05:40 -04:00
Brandon 5e77c90bb7 adjust tooltip generation - use even numbers of 5 2020-07-16 21:02:21 -04:00
Brandon 850edb564d Scale down leaping potion effect, cleanup tooltip generation. 2020-07-16 20:56:00 -04:00
Brandon 64a2a6bb53 Move variable declaration out of loops to increase performance. 2020-07-16 20:20:13 -04:00
Brandon 1dda98fa4c Move variable declaration out of loops for better performance. Correct for dropping duplicate items on break. 2020-07-16 20:14:57 -04:00
Elias Åström ea1ad14f72 Fix sound/particle bug in mcl_explosions 2020-07-17 00:39:33 +02:00
Elias Åström ca9578d50c Make dried kelp craftable from dried kelp block 2020-07-17 00:17:18 +02:00
Wuzzy 90cc3b9659 Fix crash in mcl_mobs 2020-07-16 20:26:41 +02:00
257 changed files with 7739 additions and 1848 deletions

View File

@ -80,3 +80,8 @@ Depending on what you add, the chances for inclusion vary:
Report all bugs and missing Minecraft features here:
<https://git.minetest.land/Wuzzy/MineClone2/issues>
## Direct discussion
We have an IRC channel! Join us on #mineclone2 in freenode.net.
<ircs://irc.freenode.net:6697/#mineclone2>

View File

@ -1,7 +1,7 @@
# Missing features in Minetest to recreate Minecraft features
A side goal of the MineClone 2 project is to find any shortcomings of Minetest which make it impossible to recreate a Minecraft feature exactly.
This file lists some of the missing features in Minetest which MineClone 2 would require.MineClone 2 would require.MineClone 2 would require.MineClone 2 would require.
This file lists some of the missing features in Minetest which MineClone 2 would require.
## No workaround possible
For these features, no easy Lua workaround could be found.

View File

@ -2,7 +2,7 @@
An unofficial Minecraft-like game for Minetest. Forked from MineClone by davedevils.
Developed by Wuzzy and contributors. Not developed or endorsed by Mojang AB.
Version: 0.66.2
Version: 0.67.2
### Gameplay
You start in a randomly-generated world made entirely of cubes. You can explore
@ -116,6 +116,8 @@ The following main features are available:
* The Nether, a fiery underworld in another dimension
* Redstone circuits (partially)
* Minecarts (partial)
* Status effects (partial)
* Brewing, potions, tipped arrow (partial)
* Boats
* Fire
* Buidling blocks: Stairs, slabs, doors, trapdoors, fences, fence gates, walls
@ -146,8 +148,6 @@ The following features are incomplete:
* The End
* Enchanting
* Experience
* Status effects
* Brewing, potions, tipped arrows
* Special minecarts
* A couple of non-trivial blocks and items
@ -203,6 +203,7 @@ There are so many people to list (sorry). Check out the respective mod directori
* [ryvnf](https://github.com/ryvnf): Explosion mechanics
* MysticTempest: Bugfixes
* [bzoss](https://github.com/bzoss): Status effects, potions, brewing stand
* kay27 <kay27@bk.ru>: Bugfixes, optimizations
* Lots of other people: TO BE WRITTEN (see mod directories for details)
#### Mod credits (summary)

View File

@ -124,7 +124,7 @@ local function add_particles(pos, radius)
maxexptime = 1.0,
minsize = radius * 0.5,
maxsize = radius * 1.0,
texture = "tnt_smoke.png",
texture = "mcl_particles_smoke.png",
})
end
@ -195,7 +195,7 @@ local function trace_explode(pos, strength, raydirs, radius, drop_chance, fire,
break
end
if cid ~= minetest.CONTENT_AIR then
if cid ~= minetest.CONTENT_AIR and not minetest.is_protected({x = npos_x, y = npos_y, z = npos_z}, "") then
destroy[hash] = idx
end
end
@ -386,10 +386,10 @@ function mcl_explosions.explode(pos, strength, info, puncher)
local creative_enabled = minetest.is_creative_enabled("")
trace_explode(pos, strength, shape, radius, (info and info.drop_chance) or 1 / strength, info.fire == true, puncher, creative_enabled)
if not (info and info.no_sound) then
if not (info and info.no_particle) then
add_particles(pos, radius)
end
if not (info and info.no_particle) then
if not (info and info.no_sound) then
minetest.sound_play("tnt_explode", {
pos = pos, gain = 1.0,
max_hear_distance = strength * 16

View File

@ -0,0 +1,2 @@
# textdomain:mcl_explosions
@1 was caught in an explosion.=@1 не удалось пережить взрыва.

View File

@ -1,3 +1,4 @@
name = mcl_explosions
description = A common API to create explosions.
depends = mcl_particles
optional_depends = mcl_fire

View File

@ -24,6 +24,25 @@ local mg_name = minetest.get_mapgen_setting("mg_name")
local minecraft_height_limit = 256
local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true"
-- Calculate mapgen_edge_min/mapgen_edge_max
mcl_vars.chunksize = math.max(1, tonumber(minetest.get_mapgen_setting("chunksize")) or 5)
mcl_vars.MAP_BLOCKSIZE = math.max(1, core.MAP_BLOCKSIZE or 16)
mcl_vars.mapgen_limit = math.max(1, tonumber(minetest.get_mapgen_setting("mapgen_limit")) or 31000)
mcl_vars.MAX_MAP_GENERATION_LIMIT = math.max(1, core.MAX_MAP_GENERATION_LIMIT or 31000)
local central_chunk_offset = -math.floor(mcl_vars.chunksize / 2)
local chunk_size_in_nodes = mcl_vars.chunksize * mcl_vars.MAP_BLOCKSIZE
local central_chunk_min_pos = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
local central_chunk_max_pos = central_chunk_min_pos + chunk_size_in_nodes - 1
local ccfmin = central_chunk_min_pos - mcl_vars.MAP_BLOCKSIZE -- Fullminp/fullmaxp of central chunk, in nodes
local ccfmax = central_chunk_max_pos + mcl_vars.MAP_BLOCKSIZE
local mapgen_limit_b = math.floor(math.min(mcl_vars.mapgen_limit, mcl_vars.MAX_MAP_GENERATION_LIMIT) / mcl_vars.MAP_BLOCKSIZE)
local mapgen_limit_min = -mapgen_limit_b * mcl_vars.MAP_BLOCKSIZE
local mapgen_limit_max = (mapgen_limit_b + 1) * mcl_vars.MAP_BLOCKSIZE - 1
local numcmin = math.max(math.floor((ccfmin - mapgen_limit_min) / chunk_size_in_nodes), 0) -- Number of complete chunks from central chunk
local numcmax = math.max(math.floor((mapgen_limit_max - ccfmax) / chunk_size_in_nodes), 0) -- fullminp/fullmaxp to effective mapgen limits.
mcl_vars.mapgen_edge_min = central_chunk_min_pos - numcmin * chunk_size_in_nodes
mcl_vars.mapgen_edge_max = central_chunk_max_pos + numcmax * chunk_size_in_nodes
if not superflat then
-- Normal mode
--[[ Realm stacking (h is for height)

View File

@ -0,0 +1,68 @@
mcl_particles = {}
-- Table of particlespawner IDs on a per-node hash basis
-- Keys: node position hashes
-- Values: Tables of particlespawner IDs (each node pos can have an arbitrary number of particlespawners)
local particle_nodes = {}
-- Node particles can be disabled via setting
local node_particles_allowed = minetest.settings:get("mcl_node_particles") or "none"
local levels = {
high = 3,
medium = 2,
low = 1,
none = 0,
}
allowed_level = levels[node_particles_allowed]
if not allowed_level then
allowed_level = levels["none"]
end
-- Add a particlespawner that is assigned to a given node position.
-- * pos: Node positon. MUST use integer values!
-- * particlespawner_definition: definition for minetest.add_particlespawner
-- * level: detail level of particles. "high", "medium", "low" or "none". High detail levels are for
-- CPU-demanding particles, like smoke of fire (which occurs frequently)
-- NOTE: All particlespawners are automatically removed on shutdown.
-- Returns particlespawner ID on succcess and nil on failure
function mcl_particles.add_node_particlespawner(pos, particlespawner_definition, level)
if allowed_level == 0 or levels[level] > allowed_level then
return
end
local poshash = minetest.hash_node_position(pos)
if not poshash then
return
end
local id = minetest.add_particlespawner(particlespawner_definition)
if id == -1 then
return
end
if not particle_nodes[poshash] then
particle_nodes[poshash] = {}
end
table.insert(particle_nodes[poshash], id)
return id
end
-- Deletes all particlespawners that are assigned to a node position.
-- If no particlespawners exist for this position, nothing happens.
-- pos: Node positon. MUST use integer values!
-- Returns true if particlespawner could be removed and false if not
function mcl_particles.delete_node_particlespawners(pos)
if allowed_level == 0 then
return false
end
local poshash = minetest.hash_node_position(pos)
local ids = particle_nodes[poshash]
if ids then
for i=1, #ids do
minetest.delete_particlespawner(ids[i])
end
particle_nodes[poshash] = nil
return true
end
return false
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

View File

@ -0,0 +1,11 @@
# textdomain: mcl_boats
Acacia Boat=Лодка из акации
Birch Boat=Берёзовая лодка
Boat=Лодка
Boats are used to travel on the surface of water.=С помощью лодки можно путешествовать по водной поверхности.
Dark Oak Boat=Лодка из тёмного дуба
Jungle Boat=Лодка из дерева джунглей
Oak Boat=Дубовая лодка
Rightclick on a water source to place the boat. Rightclick the boat to enter it. Use [Left] and [Right] to steer, [Forwards] to speed up and [Backwards] to slow down or move backwards. Rightclick the boat again to leave it, punch the boat to make it drop as an item.=Правый клик по воде спустит лодку на воду. Правый клик по лодке разместит вас в ней. [Влево] и [Вправо] - рулить, [Вперед] - разгоняться, [Назад] - тормозить или плыть назад. Правый клик по лодке, когда вы в ней, позволит выйти из неё. Удар по лодке превратит её обратно в предмет.
Spruce Boat=Еловая лодка
Water vehicle=Водный транспорт

View File

@ -0,0 +1,3 @@
# textdomain: mcl_falling_nodes
@1 was smashed by a falling anvil.=@1 придавило падающей наковальней.
@1 was smashed by a falling block.=@1 раздавило падающим блоком.

View File

@ -519,6 +519,7 @@ minetest.register_entity(":__builtin:item", {
minetest.log("warning", "Item entity with empty itemstring found at "..minetest.pos_to_string(self.object:get_pos()).. "! Deleting it now.")
self._removed = true
self.object:remove()
return
end
local p = self.object:get_pos()

View File

@ -0,0 +1,35 @@
# textdomain: mcl_minecarts
Minecart=Вагонетка
Minecarts can be used for a quick transportion on rails.=Вагонетки нужны, чтобы быстро перемещаться по рельсам.
Minecarts only ride on rails and always follow the tracks. At a T-junction with no straight way ahead, they turn left. The speed is affected by the rail type.=Вагонетки едут строго по проложенному железнодорожному пути. На Т-образной развилке они поворачивают налево. Скорость зависит от типа рельсов.
You can place the minecart on rails. Right-click it to enter it. Punch it to get it moving.=Вы ставите вагонетку на рельсы. Правым кликом садитесь в неё. Стукаете, чтобы начать движение.
To obtain the minecart, punch it while holding down the sneak key.=Чтобы взять вагонетку, стукните её, удерживая клавишу [Красться].
A minecart with TNT is an explosive vehicle that travels on rail.=Вагон тротила это подрывной железнодорожный транспорт.
Place it on rails. Punch it to move it. The TNT is ignited with a flint and steel or when the minecart is on an powered activator rail.=Поместите его на рельсы. Стукните, чтобы он поехал. Тротил воспламеняется, если его поджечь огнивом, либо при попадании на подключенный рельсовый активатор.
To obtain the minecart and TNT, punch them while holding down the sneak key. You can't do this if the TNT was ignited.=Чтобы взять вагон тротила, стукните его, удерживая клавишу [Красться]. Если тротил воспламенён, сделать это нельзя.
A minecart with furnace is a vehicle that travels on rails. It can propel itself with fuel.=Вагон с печью - это железнодорожный транспорт. Он может двигаться за счёт топлива.
Place it on rails. If you give it some coal, the furnace will start burning for a long time and the minecart will be able to move itself. Punch it to get it moving.=Поставьте его на рельсы. Если добавить немного угля, то печь зажжётся на продолжительное время и вагон сможет ехать. Стукните вагон для начала движения.
To obtain the minecart and furnace, punch them while holding down the sneak key.=Чтобы взять вагон с печью, стукните его, удерживая клавишу [Красться].
Minecart with Chest=Вагон с сундуком
Minecart with Furnace=Вагон с печью
Minecart with Command Block=Вагон с командным блоком
Minecart with Hopper=Вагон с бункером
Minecart with TNT=Вагон тротила
Place them on the ground to build your railway, the rails will automatically connect to each other and will turn into curves, T-junctions, crossings and slopes as needed.=Поместите на землю, чтобы сделать железную дорогу, рельсы автоматически соединятся между собой и будут превращаться в плавный повороты, T-образные развилки, перекрёстки и уклоны там, где это потребуется.
Rail=Рельсы
Rails can be used to build transport tracks for minecarts. Normal rails slightly slow down minecarts due to friction.=Рельсы используются для строительства железной дороги. Обычные рельсы немного замедляют движение вагонеток из-за трения.
Powered Rail=Подключаемые рельсы
Rails can be used to build transport tracks for minecarts. Powered rails are able to accelerate and brake minecarts.=Рельсы используются для строительства железной дороги. Подключённые рельсы могут разгонять и тормозить вагонетки.
Without redstone power, the rail will brake minecarts. To make this rail accelerate minecarts, power it with redstone power.=Без энергии редстоуна рельсы будут тормозить вагонетки.
Activator Rail=Рельсовый активатор
Rails can be used to build transport tracks for minecarts. Activator rails are used to activate special minecarts.=Рельсы используются для строительства железной дороги. Рельсовый активатор активирует особые вагонетки.
To make this rail activate minecarts, power it with redstone power and send a minecart over this piece of rail.=Чтобы этот блок рельсов активировал вагонетку, подключите его к энергии редстоуна и направьте вагонетку через него.
Detector Rail=Рельсовый детектор
Rails can be used to build transport tracks for minecarts. A detector rail is able to detect a minecart above it and powers redstone mechanisms.=Рельсы используются для строительства железной дороги. Рельсовый детектор может обнаруживать вагонетку у себя наверху и подключать механизмы редстоуна.
To detect a minecart and provide redstone power, connect it to redstone trails or redstone mechanisms and send any minecart over the rail.=Чтобы обнаруживать вагонетку и подавать энергию редстоуна, подключите его к дорожке редстоуна или механизму редстоуна, после чего направьте любую вагонетку через него.
Track for minecarts=Железная дорога
Speed up when powered, slow down when not powered=Разгоняет, если подключён, тормозит, если не подключён
Activates minecarts when powered=Активирует особые вагонетки, если подключён
Emits redstone power when a minecart is detected=Испускает энергию редстоуна при обнаружении вагонетки
Vehicle for fast travel on rails=Быстрый железнодорожный транспорт
Can be ignited by tools or powered activator rail=Можно воспламенить с помощью инструмента или подключенного рельсового активатора

View File

@ -298,11 +298,6 @@ end
-- Returns true is node can deal damage to self
local is_node_dangerous = function(self, nodename)
local nn = nodename
if self.water_damage > 0 then
if minetest.get_item_group(nn, "water") ~= 0 then
return true
end
end
if self.lava_damage > 0 then
if minetest.get_item_group(nn, "lava") ~= 0 then
return true
@ -313,6 +308,21 @@ local is_node_dangerous = function(self, nodename)
return true
end
end
if minetest.registered_nodes[nn].damage_per_second > 0 then
return true
end
return false
end
-- Returns true if node is a water hazard
local is_node_waterhazard = function(self, nodename)
local nn = nodename
if self.water_damage > 0 then
if minetest.get_item_group(nn, "water") ~= 0 then
return true
end
end
if minetest.registered_nodes[nn].drowning > 0 then
if self.breath_max ~= -1 then
-- check if the mob is water-breathing _and_ the block is water; only return true if neither is the case
@ -322,9 +332,6 @@ local is_node_dangerous = function(self, nodename)
end
end
end
if minetest.registered_nodes[nn].damage_per_second > 0 then
return true
end
return false
end
@ -488,6 +495,31 @@ local damage_effect = function(self, damage)
end
end
mobs.death_effect = function(pos, collisionbox)
local min, max
if collisionbox then
min = {x=collisionbox[1], y=collisionbox[2], z=collisionbox[3]}
max = {x=collisionbox[4], y=collisionbox[5], z=collisionbox[6]}
else
min = { x = -0.5, y = 0, z = -0.5 }
max = { x = 0.5, y = 0.5, z = 0.5 }
end
minetest.add_particlespawner({
amount = 40,
time = 0.1,
minpos = vector.add(pos, min),
maxpos = vector.add(pos, max),
minvel = {x = -0.2, y = -0.1, z = -0.2},
maxvel = {x = 0.2, y = 0.1, z = 0.2},
minexptime = 0.5,
maxexptime = 1.5,
minsize = 0.5,
maxsize = 1.5,
texture = "mcl_particles_smoke.png",
})
end
local update_tag = function(self)
self.object:set_properties({
nametag = self.nametag,
@ -622,6 +654,11 @@ local check_for_death = function(self, cause, cmi_cause)
return true
end
local collisionbox
if self.collisionbox then
collisionbox = table.copy(self.collisionbox)
end
-- default death function and die animation (if defined)
if self.animation
and self.animation.die_start
@ -637,6 +674,9 @@ local check_for_death = function(self, cause, cmi_cause)
self.blinktimer = 0
self.passive = true
self.state = "die"
self.object:set_properties({
pointable = false,
})
set_velocity(self, 0)
set_animation(self, "die")
@ -649,6 +689,7 @@ local check_for_death = function(self, cause, cmi_cause)
end
self.object:remove()
mobs.death_effect(pos)
end, self)
else
@ -657,10 +698,9 @@ local check_for_death = function(self, cause, cmi_cause)
end
self.object:remove()
mobs.death_effect(pos, collisionbox)
end
effect(pos, 20, "tnt_smoke.png")
return true
end
@ -717,6 +757,42 @@ local is_at_cliff_or_danger = function(self)
end
-- copy the 'mob facing cliff_or_danger check' from above, and rework to avoid water
local is_at_water_danger = function(self)
if not self.object:get_luaentity() then
return false
end
local yaw = self.object:get_yaw()
local dir_x = -sin(yaw) * (self.collisionbox[4] + 0.5)
local dir_z = cos(yaw) * (self.collisionbox[4] + 0.5)
local pos = self.object:get_pos()
local ypos = pos.y + self.collisionbox[2] -- just above floor
local free_fall, blocker = minetest.line_of_sight(
{x = pos.x + dir_x, y = ypos, z = pos.z + dir_z},
{x = pos.x + dir_x, y = ypos - 3, z = pos.z + dir_z})
if free_fall then
return true
else
local bnode = minetest.get_node(blocker)
local waterdanger = is_node_waterhazard(self, bnode.name)
if
waterdanger and (is_node_waterhazard(self, self.standing_in) or is_node_waterhazard(self, self.standing_on)) then
return false
elseif waterdanger and (is_node_waterhazard(self, self.standing_in) or is_node_waterhazard(self, self.standing_on)) == false then
return true
else
local def = minetest.registered_nodes[bnode.name]
return (not def and def.walkable)
end
end
return false
end
-- get node but use fallback for nil or unknown
local node_ok = function(pos, fallback)
@ -765,7 +841,7 @@ local do_env_damage = function(self)
if not (mod_weather and (mcl_weather.rain.raining or mcl_weather.state == "snow") and mcl_weather.is_outdoor(pos)) then
self.health = self.health - damage
effect(pos, 5, "tnt_smoke.png")
effect(pos, 5, "mcl_particles_smoke.png")
if check_for_death(self, "light", {type = "light"}) then
return true
@ -831,7 +907,7 @@ local do_env_damage = function(self)
self.health = self.health - self.water_damage
effect(pos, 5, "tnt_smoke.png", nil, nil, 1, nil)
effect(pos, 5, "mcl_particles_smoke.png", nil, nil, 1, nil)
if check_for_death(self, "water", {type = "environment",
pos = pos, node = self.standing_in}) then
@ -876,7 +952,7 @@ local do_env_damage = function(self)
self.health = self.health - nodef.damage_per_second
effect(pos, 5, "tnt_smoke.png")
effect(pos, 5, "mcl_particles_smoke.png")
if check_for_death(self, "dps", {type = "environment",
pos = pos, node = self.standing_in}) then
@ -1071,7 +1147,7 @@ local do_jump = function(self)
end
-- blast damage to entities nearby (modified from TNT mod)
-- blast damage to entities nearby
local entity_physics = function(pos, radius)
radius = radius * 2
@ -1888,16 +1964,16 @@ local follow_flop = function(self)
if p.x > s.x then yaw = yaw + pi end
set_yaw(self, yaw, 6)
set_yaw(self, yaw, 2.35)
-- anyone but standing npc's can move along
if dist > self.reach
if dist > 3
and self.order ~= "stand" then
set_velocity(self, self.walk_velocity)
set_velocity(self, self.follow_velocity)
if self.walk_chance ~= 0 then
set_animation(self, "walk")
set_animation(self, "run")
end
else
set_velocity(self, 0)
@ -2042,20 +2118,20 @@ local do_states = function(self, dtime)
local is_in_danger = false
if lp then
local is_in_danger = false
-- if mob is flying, only check for node it is currently in (no contact with node below)
if flight_check(self) then
is_in_danger = is_node_dangerous(self, self.standing_in)
elseif (is_node_dangerous(self, self.standing_in) or
is_node_dangerous(self, self.standing_on)) then
-- If mob in or on dangerous block, look for land
if (is_node_dangerous(self, self.standing_in) or
is_node_dangerous(self, self.standing_on)) or (is_node_waterhazard(self, self.standing_in) or is_node_waterhazard(self, self.standing_on)) and (not self.fly) then
is_in_danger = true
end
-- If mob in or on dangerous block, look for land
if is_in_danger then
lp = minetest.find_node_near(s, 5, {"group:solid"})
-- Better way to find shore - copied from upstream
lp = minetest.find_nodes_in_area_under_air(
{x = s.x - 5, y = s.y - 0.5, z = s.z - 5},
{x = s.x + 5, y = s.y + 1, z = s.z + 5},
{"group:solid"})
lp = #lp > 0 and lp[random(#lp)]
-- did we find land?
if lp then
@ -2067,14 +2143,14 @@ local do_states = function(self, dtime)
yaw = (atan(vec.z / vec.x) + pi / 2) - self.rotate
if lp.x > s.x then yaw = yaw + pi end
-- look towards land and jump/move in that direction
-- look towards land and move in that direction
yaw = set_yaw(self, yaw, 6)
do_jump(self)
set_velocity(self, self.walk_velocity)
else
yaw = yaw + random(-0.5, 0.5)
end
end
-- A danger is near but mob is not inside
@ -2136,7 +2212,7 @@ local do_states = function(self, dtime)
set_animation(self, "stand")
else
set_velocity(self, self.run_velocity)
set_animation(self, "walk")
set_animation(self, "run")
end
-- attack routines (explode, dogfight, shoot, dogshoot)
@ -2251,7 +2327,7 @@ local do_states = function(self, dtime)
}, true)
entity_physics(pos, entity_damage_radius)
effect(pos, 32, "tnt_smoke.png", nil, nil, node_break_radius, 1, 0)
effect(pos, 32, "mcl_particles_smoke.png", nil, nil, node_break_radius, 1, 0)
end
end
self.object:remove()
@ -2512,6 +2588,12 @@ local falling = function(self, pos)
return
end
if mcl_portals ~= nil then
if mcl_portals.nether_portal_cooloff[self.object] then
return false -- mob has teleported through Nether portal - it's 99% not falling
end
end
-- floating in water (or falling)
local v = self.object:get_velocity()
@ -2567,7 +2649,7 @@ local falling = function(self, pos)
if damage > 0 then
self.health = self.health - damage
effect(pos, 5, "tnt_smoke.png", 1, 2, 2, nil)
effect(pos, 5, "mcl_particles_smoke.png", 1, 2, 2, nil)
if check_for_death(self, "fall", {type = "fall"}) then
return true
@ -2596,7 +2678,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
if self.do_punch then
-- when false skip going any further
if self.do_punch(self, hitter, tflp, tool_caps, dir) == false then
if self.do_punch(self, hitter, tflp, tool_capabilities, dir) == false then
return
end
end
@ -3211,8 +3293,6 @@ local mob_step = function(self, dtime)
breed(self)
follow_flop(self)
if do_states(self, dtime) then
return
end
@ -3221,6 +3301,24 @@ local mob_step = function(self, dtime)
runaway_from(self)
if is_at_water_danger(self) and self.state ~= "attack" then
if random(1, 10) <= 6 then
set_velocity(self, 0)
self.state = "stand"
set_animation(self, "stand")
yaw = yaw + random(-0.5, 0.5)
yaw = set_yaw(self, yaw, 8)
end
end
follow_flop(self)
if is_at_cliff_or_danger(self) then
set_velocity(self, 0)
self.state = "stand"
set_animation(self, "stand")
end
end
@ -3413,6 +3511,7 @@ minetest.register_entity(name, {
sounds_child = def.sounds_child,
explosion_strength = def.explosion_strength,
suffocation_timer = 0,
follow_velocity = def.follow_velocity or 2.4,
-- End of MCL2 extensions
on_spawn = def.on_spawn,
@ -3865,9 +3964,9 @@ function mobs:safe_boom(self, pos, strength)
gain = 1.0,
max_hear_distance = self.sounds and self.sounds.distance or 32
}, true)
local radius = strength
entity_physics(pos, radius)
effect(pos, 32, "tnt_smoke.png", radius * 3, radius * 5, radius, 1, 0)
effect(pos, 32, "mcl_particles_smoke.png", radius * 3, radius * 5, radius, 1, 0)
end
@ -3881,7 +3980,7 @@ function mobs:boom(self, pos, strength, fire)
mobs:safe_boom(self, pos, strength)
end
else
mobs:safe_boom(self, pos, radius)
mobs:safe_boom(self, pos, strength)
end
end
@ -4088,7 +4187,7 @@ function mobs:spawn_child(pos, mob_type)
end
local ent = child:get_luaentity()
effect(pos, 15, "tnt_smoke.png", 1, 2, 2, 15, 5)
effect(pos, 15, "mcl_particles_smoke.png", 1, 2, 2, 15, 5)
ent.child = true

View File

@ -241,6 +241,7 @@ functions needed for the mob to work properly which contains the following:
dir is mob's aiming direction
'sounds_child' same as sounds, but for childs. If not defined, childs will use same
sound as adults but with higher pitch
'follow_velocity' The speed at which a mob moves toward the player when they're holding the appropriate follow item.
Node Replacement
@ -282,7 +283,9 @@ Along with the above mob registry settings we can also use custom functions to
enhance mob functionality and have them do many interesting things:
'on_die' a function that is called when the mob is killed the
parameters are (self, pos)
parameters are (self, pos). When this function is used,
the death particles will be skipped on death. You can get
them back by calling mobs:death_effect manually
'on_rightclick' its same as in minetest.register_entity()
'on_blast' is called when an explosion happens near mob when using TNT
functions, parameters are (object, damage) and returns
@ -409,6 +412,10 @@ This function spawns a mob as a child. The parameter mob_type is the
entitystring of the new mob.
This function returns the mob on success and nil otherwise.
mobs:death_effect(pos, collisionbox)
Create death particles at pos with the given collisionbox.
Making Arrows
-------------

View File

@ -0,0 +1,11 @@
# textdomain: mcl_mobs
Peaceful mode active! No monsters will spawn.=Мирный режим включён! Монстры не будут появляться.
This allows you to place a single mob.=Позволяет вам разместить одного моба.
Just place it where you want the mob to appear. Animals will spawn tamed, unless you hold down the sneak key while placing. If you place this on a mob spawner, you change the mob it spawns.=Просто поместите это туда, где хотите, чтобы появился моб. Животные будут появляться уже прирученные, если это не нужно, удерживайте клавишу [Красться] при размещении. Если поместить это на спаунер, появляющийся из него моб будет изменён.
You need the “maphack” privilege to change the mob spawner.=Вам нужно обладать привилегией “maphack”, чтобы изменить спаунер моба.
Name Tag=Именная бирка
A name tag is an item to name a mob.=Именная бирка это предмет, чтобы дать мобу имя.
Before you use the name tag, you need to set a name at an anvil. Then you can use the name tag to name a mob. This uses up the name tag.=Прежде чем использовать именную бирку, нужно задать имя на наковальне. Тогда вы сможете использовать бирку, чтобы дать имя мобу.
Only peaceful mobs allowed!=Разрешены только мирные мобы!
Give names to mobs=Даёт имена мобам
Set name at anvil=Задайте имя при помощи наковальни

View File

@ -1,2 +1,3 @@
name = mcl_mobs
optional_depends = mcl_weather, mcl_explosions, mcl_hunger, mcl_worlds, invisibility, lucky_block, cmi, doc_identifier, mcl_armor
depends = mcl_particles
optional_depends = mcl_weather, mcl_explosions, mcl_hunger, mcl_worlds, invisibility, lucky_block, cmi, doc_identifier, mcl_armor, mcl_portals

View File

@ -0,0 +1,2 @@
# textdomain:mcl_paintings
Painting=Рисование

View File

@ -22,7 +22,7 @@ mobs:register_mob("mobs_mc:blaze", {
textures = {
{"mobs_mc_blaze.png"},
},
armor = { fleshy = 100, snowball_vulnerable = 100 },
armor = { fleshy = 100, snowball_vulnerable = 100, water_vulnerable = 100 },
visual_size = {x=3, y=3},
sounds = {
random = "mobs_mc_blaze_breath",

View File

@ -35,10 +35,11 @@ local cow_def = {
distance = 16,
},
animation = {
stand_speed = 25, walk_speed = 25, run_speed = 50,
stand_start = 0, stand_end = 0,
walk_start = 0, walk_end = 40,
run_start = 0, run_end = 40,
stand_speed = 25, walk_speed = 40,
run_speed = 60, stand_start = 0,
stand_end = 0, walk_start = 0,
walk_end = 40, run_start = 0,
run_end = 40,
},
follow = mobs_mc.follow.cow,
on_rightclick = function(self, clicker)

View File

@ -81,6 +81,7 @@ mobs:register_mob("mobs_mc:creeper", {
local r = math.random(1, #mobs_mc.items.music_discs)
minetest.add_item({x=pos.x, y=pos.y+1, z=pos.z}, mobs_mc.items.music_discs[r])
end
mobs.death_effect(pos, self.collisionbox)
end,
maxdrops = 2,
drops = {

View File

@ -1,4 +1,5 @@
mcl_init
mcl_particles
default?
mcl_mobs
mcl_tnt?

View File

@ -267,8 +267,8 @@ mobs:register_mob("mobs_mc:enderman", {
self.state = ""
else
if self.attack then
target = self.attack
pos = target:get_pos()
local target = self.attack
local pos = target:get_pos()
if pos ~= nil then
if vector.distance(self.object:get_pos(), target:get_pos()) > 10 then
self:teleport(target)
@ -314,6 +314,7 @@ mobs:register_mob("mobs_mc:enderman", {
end
-- Check to see if people are near by enough to look at us.
local objs = minetest.get_objects_inside_radius(enderpos, 64)
local obj
for n = 1, #objs do
obj = objs[n]
if obj then
@ -506,6 +507,7 @@ mobs:register_mob("mobs_mc:enderman", {
if self._taken_node ~= nil and self._taken_node ~= "" then
minetest.add_item(pos, self._taken_node)
end
mobs.death_effect(pos, self.collisionbox)
end,
do_punch = function(self, hitter, tflp, tool_caps, dir)
-- damage from rain caused by itself so we don't want it to attack itself.
@ -519,6 +521,7 @@ mobs:register_mob("mobs_mc:enderman", {
end
end
end,
armor = { fleshy = 100, water_vulnerable = 100 },
water_damage = 8,
view_range = 64,
fear_height = 4,

View File

@ -96,7 +96,7 @@ local horse = {
walk_speed = 25,
walk_start = 0,
walk_end = 40,
run_speed = 50,
run_speed = 60,
run_start = 0,
run_end = 40,
},
@ -175,6 +175,8 @@ local horse = {
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
mobs.death_effect(pos, self.collisionbox)
end,
on_rightclick = function(self, clicker)

View File

@ -46,6 +46,7 @@ mobs:register_mob("mobs_mc:llama", {
runaway = true,
walk_velocity = 1,
run_velocity = 4.4,
follow_velocity = 4.4,
floats = 1,
drops = {
{name = mobs_mc.items.leather,
@ -61,6 +62,9 @@ mobs:register_mob("mobs_mc:llama", {
},
animation = {
speed_normal = 24,
run_speed = 60,
run_start = 0,
run_end = 40,
stand_start = 0,
stand_end = 0,
walk_start = 0,
@ -107,6 +111,7 @@ mobs:register_mob("mobs_mc:llama", {
if self.driver then
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
mobs.death_effect(pos, self.collisionbox)
end,

View File

@ -0,0 +1,75 @@
# textdomain: mobs_mc
Totem of Undying=Тотем бессмертия
A totem of undying is a rare artifact which may safe you from certain death.=Тотем бессмертия это редкий артефакт, способный спасти вас от смерти.
The totem only works while you hold it in your hand. If you receive fatal damage, you are saved from death and you get a second chance with 1 HP. The totem is destroyed in the process, however.=Тотем работает только когда вы держите его в руке. Если вы получаете смертельный урон, вы спасаетесь от смерти и получаете второй шанс с 1 HP. Однако тотем при этом уничтожается.
Agent=Агент
Bat=Летучая мышь
Blaze=Ифрит
Chicken=Курица
Cow=Корова
Mooshroom=Гриб
Creeper=Крипер
Ender Dragon=Дракон Предела
Enderman=Эндермен
Endermite=Эндермит
Ghast=Гаст
Elder Guardian=Древний страж
Guardian=Страж
Horse=Лошадь
Skeleton Horse=Скелет лошади
Zombie Horse=Зомби-лошадь
Donkey=Ослик
Mule=Мул
Iron Golem=Железный голем
Llama=Лама
Ocelot=Оцелот
Parrot=Попугай
Pig=Свинья
Polar Bear=Полярный медведь
Rabbit=Кролик
Killer Bunny=Кролик-убийца
Sheep=Овца
Shulker=Шалкер
Silverfish=Чешуйница
Skeleton=Скелет
Stray=Странник
Wither Skeleton=Скелет-иссушитель
Magma Cube=Лавовый куб
Slime=Слизняк
Snow Golem=Снежный голем
Spider=Паук
Cave Spider=Пещерный паук
Squid=Кальмар
Vex=Досаждатель
Evoker=Маг
Illusioner=Иллюзор
Villager=Житель
Vindicator=Поборник
Zombie Villager=Зомби-житель
Witch=Ведьма
Wither=Иссушитель
Wolf=Волк
Husk=Кадавр
Zombie=Зомби
Zombie Pigman=Зомби-свиночеловек
Iron Horse Armor=Железные доспехи лошади
Iron horse armor can be worn by horses to increase their protection from harm a bit.=Железные доспехи лошади, надетые на лошадь, немного защищают её от вреда.
Golden Horse Armor=Золотые доспехи лошади
Golden horse armor can be worn by horses to increase their protection from harm.=Золотые доспехи лошади, надетые на лошадь, защищают её от вреда.
Diamond Horse Armor=Алмазные доспехи лошади
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=Алмазные доспехи лошади, надетые на лошадь, отлично защищают её от вреда.
Place it on a horse to put on the horse armor. Donkeys and mules can't wear horse armor.=Поместите это на лошадь, чтобы одеть лошадь в доспехи. Ослики и мулы не могут носить лошадиные доспехи.
Farmer=Фермер
Fisherman=Рыбак
Fletcher=Лучник
Shepherd=Пастух
Librarian=Библиотекарь
Cartographer=Картограф
Armorer=Бронник
Leatherworker=Кожевник
Butcher=Мясник
Weapon Smith=Оружейник
Tool Smith=Инструментальщик
Cleric=Церковник
Nitwit=Нищий
Protects you from death while wielding it=Защищает вас от смерти, пока вы владеете им

View File

@ -41,6 +41,7 @@ local ocelot = {
walk_chance = default_walk_chance,
walk_velocity = 1,
run_velocity = 3,
follow_velocity = 1,
floats = 1,
runaway = true,
fall_damage = 0,
@ -52,7 +53,7 @@ local ocelot = {
},
animation = {
speed_normal = 25,
speed_run = 50,
run_speed = 50,
stand_start = 0,
stand_end = 0,
walk_start = 0,
@ -105,6 +106,7 @@ cat.order = "roam" -- "sit" or "roam"
cat.owner_loyal = true
cat.tamed = true
cat.runaway = false
cat.follow_velocity = 2.4
-- Automatically teleport cat to owner
cat.do_custom = mobs_mc.make_owner_teleport_function(12)
cat.sounds = {

View File

@ -20,6 +20,7 @@ mobs:register_mob("mobs_mc:pig", {
makes_footstep_sound = true,
walk_velocity = 1,
run_velocity = 3,
follow_velocity = 3.4,
drops = {
{name = mobs_mc.items.porkchop_raw,
chance = 1,
@ -36,7 +37,7 @@ mobs:register_mob("mobs_mc:pig", {
animation = {
stand_speed = 40,
walk_speed = 40,
run_speed = 50,
run_speed = 90,
stand_start = 0,
stand_end = 0,
walk_start = 0,
@ -45,7 +46,7 @@ mobs:register_mob("mobs_mc:pig", {
run_end = 40,
},
follow = mobs_mc.follow.pig,
view_range = 5,
view_range = 8,
do_custom = function(self, dtime)
-- set needed values if not already present
@ -78,7 +79,7 @@ mobs:register_mob("mobs_mc:pig", {
if self.driver then
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
mobs.death_effect(pos, self.collisionbox)
end,
on_rightclick = function(self, clicker)

View File

@ -27,6 +27,7 @@ local rabbit = {
makes_footstep_sound = false,
walk_velocity = 1,
run_velocity = 3.7,
follow_velocity = 1.1,
floats = 1,
runaway = true,
jump = true,

View File

@ -76,7 +76,7 @@ mobs:register_mob("mobs_mc:sheep", {
distance = 16,
},
animation = {
speed_normal = 25, speed_run = 50,
speed_normal = 25, run_speed = 65,
stand_start = 40, stand_end = 80,
walk_start = 0, walk_end = 40,
run_start = 0, run_end = 40,

View File

@ -75,6 +75,6 @@ mobs:register_arrow("mobs_mc:shulkerbullet", {
})
mobs:register_egg("mobs_mc:shulker", S("Schulker"), "mobs_mc_spawn_icon_shulker.png", 0)
mobs:register_egg("mobs_mc:shulker", S("Shulker"), "mobs_mc_spawn_icon_shulker.png", 0)
mobs:spawn_specific("mobs_mc:shulker", mobs_mc.spawn.end_city, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 5000, 2, mobs_mc.spawn_height.end_min, mobs_mc.spawn_height.end_max)

View File

@ -31,6 +31,7 @@ mobs:register_mob("mobs_mc:snowman", {
fall_damage = 0,
water_damage = 4,
rain_damage = 4,
armor = { fleshy = 100, water_vulnerable = 100 },
attacks_monsters = true,
collisionbox = {-0.35, -0.01, -0.35, 0.35, 1.89, 0.35},
visual = "mesh",
@ -127,6 +128,26 @@ mobs:register_mob("mobs_mc:snowman", {
end,
})
local summon_particles = function(obj)
local lua = obj:get_luaentity()
local min = {x=lua.collisionbox[1], y=lua.collisionbox[2], z=lua.collisionbox[3]}
local max = {x=lua.collisionbox[4], y=lua.collisionbox[5], z=lua.collisionbox[6]}
local pos = obj:get_pos()
minetest.add_particlespawner({
amount = 60,
time = 0.1,
minpos = vector.add(pos, min),
maxpos = vector.add(pos, max),
minvel = {x = -0.1, y = -0.1, z = -0.1},
maxvel = {x = 0.1, y = 0.1, z = 0.1},
minexptime = 1.0,
maxexptime = 2.0,
minsize = 2.0,
maxsize = 3.0,
texture = "mcl_particles_smoke.png",
})
end
-- This is to be called when a pumpkin or jack'o lantern has been placed. Recommended: In the on_construct function
-- of the node.
-- This summons a snow golen when pos is next to a row of two snow blocks.
@ -156,7 +177,10 @@ mobs_mc.tools.check_snow_golem_summon = function(pos)
core.check_for_falling(pos)
core.check_for_falling(b1)
core.check_for_falling(b2)
minetest.add_entity(place, "mobs_mc:snowman")
local obj = minetest.add_entity(place, "mobs_mc:snowman")
if obj then
summon_particles(obj)
end
break
end
end

View File

@ -37,7 +37,8 @@ local spider = {
-- TODO: sounds: walk, death
distance = 16,
},
walk_velocity = 3.9,
walk_velocity = 1.3,
run_velocity = 2.8,
jump = true,
jump_height = 4,
view_range = 16,
@ -72,7 +73,8 @@ cave_spider.hp_min = 1
cave_spider.hp_max = 12
cave_spider.collisionbox = {-0.35, -0.01, -0.35, 0.35, 0.49, 0.35}
cave_spider.visual_size = {x=1.66666, y=1.5}
cave_spider.walk_velocity = 4.1
cave_spider.walk_velocity = 1.3
cave_spider.run_velocity = 3.2
mobs:register_mob("mobs_mc:cave_spider", cave_spider)

View File

@ -1053,6 +1053,7 @@ mobs:register_mob("mobs_mc:villager", {
return_fields(player)
end
end
mobs.death_effect(pos, self.collisionbox)
end,
})

View File

@ -125,6 +125,7 @@ dog.owner = ""
-- TODO: Start sitting by default
dog.order = "roam"
dog.owner_loyal = true
dog.follow_velocity = 3.2
-- Automatically teleport dog to owner
dog.do_custom = mobs_mc.make_owner_teleport_function(12)
dog.follow = mobs_mc.follow.dog

View File

@ -129,9 +129,10 @@ mobs_mc.override.items = {
},
}
--Horses, Llamas, and Wolves shouldn't follow, but leaving this alone until leads are implemented.
mobs_mc.override.follow = {
chicken = { "mcl_farming:wheat_seeds", "mcl_farming:melon_seeds", "mcl_farming:pumpkin_seeds", "mcl_farming:beetroot_seeds", },
parrot = { "mcl_farming:seed_wheat", "mcl_farming:seed_beetroot", "mcl_farming:seed_pumpkin", "mcl_farming:seed_melon" }, -- seeds in general
parrot = { "mcl_farming:wheat_seeds", "mcl_farming:melon_seeds", "mcl_farming:pumpkin_seeds", "mcl_farming:beetroot_seeds", },
pig = { mobs_mc.override.items.potato, mobs_mc.override.items.carrot, "mcl_farming:beetroot_item", mobs_mc.override.items.carrot_on_a_stick},
ocelot = { mobs_mc.override.items.fish_raw, mobs_mc.override.items.salmon_raw, mobs_mc.override.items.clownfish_raw, mobs_mc.override.items.pufferfish_raw, },
sheep = { mobs_mc.override.items.wheat },

View File

@ -0,0 +1,4 @@
# textdomain: lightning
@1 was struck by lightning.=@1 убило молнией.
Let lightning strike at the specified position or yourself=Позволяет молнии бить в заданную позицию или в вас
No position specified and unknown player=Позиция не задана и игрок неизвестен

View File

@ -13,8 +13,8 @@ minetest.register_on_mods_loaded(function()
if not on_step_old then
on_step_old = function() end
end
local on_step = function(self, dtime)
on_step_old(self, dtime)
local on_step = function(self, dtime, moveresult)
on_step_old(self, dtime, moveresult)
local obj = self.object
local pos = obj:get_pos()
-- Old on_step function might have deleted object,

View File

@ -0,0 +1,3 @@
# textdomain: mcl_void_damage
The void is off-limits to you!=Пустота запрещена для вас!
@1 fell into the endless void.=@1 упал(а) в бесконечную пустоту.

View File

@ -0,0 +1,9 @@
# textdomain: mcl_weather
Gives ability to control weather=Предоставляет возможность управлять погодой
Changes the weather to the specified parameter.=Меняет погоду на заданное значение.
Error: No weather specified.=Ошибка: Не указана погода.
Error: Invalid parameters.=Ошибка: Недопустимые параметры.
Error: Duration can't be less than 1 second.=Ошибка: длительность не может быть менее 1 секунды.
Error: Invalid weather specified. Use “clear”, “rain”, “snow” or “thunder”.=Ошибка: Указана неправильная погода. Возможны варианты: “clear” (ясная), “rain” (дождь), “snow” (снег) или “thunder” (гроза).
Toggles between clear weather and weather with downfall (randomly rain, thunderstorm or snow)=Переключает между ясной погодой и осадками (случайно выбирается дождь, грозовой шторм или снег)

View File

@ -1,4 +1,5 @@
local mods_loaded = false
local NIGHT_VISION_RATIO = 0.45
mcl_weather.skycolor = {
-- Should be activated before do any effect.
@ -51,6 +52,27 @@ mcl_weather.skycolor = {
end
end,
-- Wrapper for updating day/night ratio that respects night vision
override_day_night_ratio = function(player, ratio)
local meta = player:get_meta()
local has_night_vision = meta:get_int("night_vision") == 1
local arg
-- Apply night vision only for dark sky
local is_dark = minetest.get_timeofday() > 0.8 or minetest.get_timeofday() < 0.2 or mcl_weather.state ~= "none"
local pos = player:get_pos()
local dim = mcl_worlds.pos_to_dimension(pos)
if has_night_vision and is_dark and dim ~= "nether" and dim ~= "end" then
if ratio == nil then
arg = NIGHT_VISION_RATIO
else
arg = math.max(ratio, NIGHT_VISION_RATIO)
end
else
arg = ratio
end
player:override_day_night_ratio(arg)
end,
-- Update sky color. If players not specified update sky for all players.
update_sky_color = function(players)
-- Override day/night ratio as well
@ -76,7 +98,7 @@ mcl_weather.skycolor = {
player:set_sun({visible = true, sunrise_visible = true})
player:set_moon({visible = true})
player:set_stars({visible = true})
player:override_day_night_ratio(nil)
mcl_weather.skycolor.override_day_night_ratio(player, nil)
else
-- Weather skies
local day_color = mcl_weather.skycolor.get_sky_layer_color(0.5)
@ -99,7 +121,7 @@ mcl_weather.skycolor = {
local lf = mcl_weather.get_current_light_factor()
if mcl_weather.skycolor.current_layer_name() == "lightning" then
player:override_day_night_ratio(1)
mcl_weather.skycolor.override_day_night_ratio(player, 1)
elseif lf then
local w = minetest.get_timeofday()
local light = (w * (lf*2))
@ -107,9 +129,9 @@ mcl_weather.skycolor = {
light = 1 - (light - 1)
end
light = (light * lf) + 0.15
player:override_day_night_ratio(light)
mcl_weather.skycolor.override_day_night_ratio(player, light)
else
player:override_day_night_ratio(nil)
mcl_weather.skycolor.override_day_night_ratio(player, nil)
end
end
elseif dim == "end" then
@ -122,7 +144,7 @@ mcl_weather.skycolor = {
player:set_sun({visible = false , sunrise_visible = false})
player:set_moon({visible = false})
player:set_stars({visible = false})
player:override_day_night_ratio(0.5)
mcl_weather.skycolor.override_day_night_ratio(player, 0.5)
elseif dim == "nether" then
player:set_sky({ type = "plain",
base_color = "#300808",
@ -131,7 +153,7 @@ mcl_weather.skycolor = {
player:set_sun({visible = false , sunrise_visible = false})
player:set_moon({visible = false})
player:set_stars({visible = false})
player:override_day_night_ratio(nil)
mcl_weather.skycolor.override_day_night_ratio(player, nil)
elseif dim == "void" then
player:set_sky({ type = "plain",
base_color = "#000000",

View File

@ -0,0 +1,51 @@
# textdomain:doc
<=<
>=>
Access to the requested entry has been denied; this entry is secret. You may unlock access by progressing in the game. Figure out on your own how to unlock this entry.=Доступ к запрошенной записи запрещён; эта запись засекречена. Вы можете получить доступ к ней, продвигаясь в игре. Найдите свой способ раскрыть эту запись.
All entries read.=Все записи прочитаны.
All help entries revealed!=Все подсказки открыты!
All help entries are already revealed.=Все подсказки уже открыты.
Allows you to reveal all hidden help entries with /help_reveal=Позволяет вам раскрыть все невидимые подсказки через /help_reveal
Category list=Список категорий
Currently all entries in this category are hidden from you.=Пока что все записи в этой категории скрыты от вас.
Unlock new entries by progressing in the game.=Разблокируйте новые записи, продвигаясь в игре.
Help=Помощь
Entry=Запись
Entry list=Список записей
Error: Access denied.=Ошибка: Доступ запрещён.
Error: No help available.=Ошибка: Помощь недоступна.
Go to category list=К списку категорий
Go to entry list=К списку записей
Help > @1=Помощь > @1
Help > @1 > @2=Help > @1 > @2
Help > @1 > (No Entry)=Помощь > @1 > (Нет записи)
Help > (No Category)=Помощь > (Нет категории)
Hidden entries: @1=Скрытые записи: @1
Nameless entry (@1)=Безымянная запись (@1)
New entries: @1=Новые записи: @1
New help entry unlocked: @1 > @2=Новая подсказка разблокирована: @1 > @2
No categories have been registered, but they are required to provide help.=Для предоставления помощи требуются зарегистрированные категории, но они отсутствуют.
The Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.=Система документации [doc] не предоставляет помощи сама по себе, нужны дополнительные моды для добавления справочной информации. Пожалуйста, убедитесь, что моды включены для этого мира, после чего попробуйте снова.
Number of entries: @1=Количество записей: @1
OK=О'кей
Open a window providing help entries about Minetest and more=Открыть окно с подсказками о игре Minetest и т. п.
Please select a category you wish to learn more about:=Пожалуйста, выберите категорию, о которой хотите узнать больше:
Recommended mods: doc_basics, doc_items, doc_identifier, doc_encyclopedia.=Рекомендованные моды: doc_basics, doc_items, doc_identifier, doc_encyclopedia.
Reveal all hidden help entries to you=Раскрыть все подсказки для вас
Show entry=Показать запись
Show category=Показать категорию
Show next entry=Следующая запись
Show previous entry=Предыдущая запись
This category does not have any entries.=Данная категория не содержит записей.
This category has the following entries:=Эта категория содержит такие записи:
This category is empty.=Эта категория пуста.
This is the help.=Это помощь.
You haven't chosen a category yet. Please choose one in the category list first.=Вы пока не выбрали категорию. Пожалуйста, выберите её из списка, чтобы начать.
You haven't chosen an entry yet. Please choose one in the entry list first.=Вы пока не выбрали запись. Пожалуйста, выберите её из списка, чтобы начать.
Collection of help texts=Собрание справочных текстов
Notify me when new help is available=Уведомить меня, когда новая помощь будет доступна
Play notification sound when new help is available=Воспроизвести предупредительный звук, когда новая помощь будет доступна
Show previous image=Предыдущее изображение
Show previous gallery page=Предыдущая страница галереи
Show next image=Следующее изображение
Show next gallery page=Следующая страница галереи

View File

@ -0,0 +1,18 @@
# textdomain:doc_identifier
Error: This node, item or object is undefined. This is always an error.=Ошибка: Данный узел, предмет или объект не определён. Это всегда вызывает ошибку.
This can happen for the following reasons:=Это может произойти по одной из причин:
• The mod which is required for it is not enabled=• Не включён мод, требуемый для этого
• The author of the game or a mod has made a mistake=• Автор игры или мода допустил ошибку
It appears to originate from the mod “@1”, which is enabled.=Это, вероятно, случилось в моде “@1”, который включён.
It appears to originate from the mod “@1”, which is not enabled!=Это, вероятно, случилось в моде “@1”, который не включён!
Its identifier is “@1”.=Его идентификатор: “@1”.
Lookup Tool=Инструмент просмотра
No help entry for this block could be found.=Не удаётся найти справочной записи для этого блока.
No help entry for this item could be found.=Не удаётся найти справочной записи для этого предмета.
No help entry for this object could be found.=Не удаётся найти справочной записи для этого объекта.
OK=О'кей
Punch any block, item or other thing about you wish to learn more about. This will open up the appropriate help entry. The tool comes in two modes which are changed by using. In liquid mode, this tool points to liquids as well while in solid mode this is not the case.=Стукните любой блок, предмет или другую вещь, про которую хотите узнать больше. Откроется соответствующая справочная запись. Инструмент работает в двух режимах, меняющихся при использовании. В жидком режиме инструмент указывает на жидкости, в твёрдом режиме нет.
This block cannot be identified because the world has not materialized at this point yet. Try again in a few seconds.=Этот блок не может быть идентифицирован, потому что мир не ещё материализовался в этой точке.
This is a player.=Это игрок.
This useful little helper can be used to quickly learn more about about one's closer environment. It identifies and analyzes blocks, items and other things and it shows extensive information about the thing on which it is used.=Этот маленький помощник выдаст вам быструю справку о чём-то из ближайшего окружения. Он идентифицирует и анализирует блоки, предметы и другие вещи и показывает подробную информацию о вещах, к которым они применимы.
Show help for pointed thing=Справка по выбранной вещи

View File

@ -0,0 +1,143 @@
# textdomain:doc_items
Using it as fuel turns it into: @1.=Использование в качестве топлива превращает его в: @1.
@1 seconds=@1 секунд(ы)
# Item count times item name
%@1×@2=%@1×@2
# Itemname (25%)
@1 (@2%)=@1 (@2%)
# Itemname (<0.5%)
@1 (<0.5%)=@1 (<0.5%)
# Itemname (ca. 25%)
@1 (ca. @2%)=@1 (прибл. @2%)
# List separator (e.g. “one, two, three”)
, =,
# Final list separator (e.g. “One, two and three”)
and = и
1 second=1 секунда
A transparent block, basically empty space. It is usually left behind after digging something.=Один прозрачный блок, основное пустое пространство. Обычно оно остаётся, если выкопать что-то.
Air=Воздух
Blocks=Блоки
Building another block at this block will place it inside and replace it.=Возведение другого блока на этом блоке поместит его внутрь и заменит.
Building this block is completely silent.=Строительство этого блока абсолютно бесшумное.
Collidable: @1=Непроходимый: @1
Description: @1=Описание: @1
Falling blocks can go through this block; they destroy it when doing so.=Падающие блоки могут пройти сквозь этот блок; при этом они уничтожат его.
Full punch interval: @1 s=Интервал полного удара: @1 с
Hand=Рука
Hold it in your hand, then leftclick to eat it.=Возьмите это в руку и кликните левой, чтобы съесть.
Hold it in your hand, then leftclick to eat it. But why would you want to do this?=Возьмите это в руку и кликните левой, чтобы съесть. Но вам правда этого хочется?
Item reference of all wieldable tools and weapons=Справка по всем носимым инструментам и оружию
Item reference of blocks and other things which are capable of occupying space=Справка по всем блокам и другим вещам, способным занимать место
Item reference of items which are neither blocks, tools or weapons (esp. crafting items)=Справка по остальным предметам (не блокам, не инструментам и не оружию)
Liquids can flow into this block and destroy it.=Жидкости могут затекать в этот блок, уничтожая его.
Maximum stack size: @1=Максимальный размер стека: @1
Mining level: @1=Уровень добываемости: @1
Mining ratings:=Рейтинг добываемости:
• @1, rating @2: @3 s - @4 s=• @1, рейтинг @2: @3 с - @4 с
• @1, rating @2: @3 s=• @1, рейтинг @2: @3 с
Mining times:=Время добывания:
Mining this block is completely silent.=Добывание этого блока происходит абсолютно бесшумно.
Miscellaneous items=Дополнительные предметы
No=Нет
Pointable: No=Ориентируемый: Нет
Pointable: Only by special items=Ориентируемый: Только специальными предметами
Pointable: Yes=Ориентируемый: Да
Punches with this block don't work as usual; melee combat and mining are either not possible or work differently.=Удар этого блока не работает так, как это обычно бывает; рукопашный бой и майнинг либо невозможны, либо работают по-другому.
Punches with this item don't work as usual; melee combat and mining are either not possible or work differently.=Удар этого предмета не работает так, как это обычно бывает; рукопашный бой и майнинг либо невозможны, либо работают по-другому.
Punches with this tool don't work as usual; melee combat and mining are either not possible or work differently.=Удар этого инструмента не работает так, как это обычно бывает; рукопашный бой и майнинг либо невозможны, либо работают по-другому.
Range: @1=Дальность: @1
# Range: <Hand> (<Range>)
Range: @1 (@2)=Дальность: @1 (@2)
Range: 4=Дальность: 4
# Rating used for digging times
Rating @1=Скорость копания @1
# @1 is minimal rating, @2 is maximum rating
Rating @1-@2=Скорость копания @1-@2=
The fall damage on this block is increased by @1%.=Повреждение при падении на этот блок увеличивается на @1%.
The fall damage on this block is reduced by @1%.=Повреждение при падении на этот блок уменьшается на @1%.
This block allows light to propagate with a small loss of brightness, and sunlight can even go through losslessly.=Этот блок позволяет свету распространяться с небольшой потерей яркости, а солнечный свет может проходить без потерь.
This block allows light to propagate with a small loss of brightness.=Этот блок позволяет свету распространяться с небольшой потерей яркости.
This block allows sunlight to propagate without loss in brightness.=Этот блок позволяет солнечному свету распространяться без потери яркости.
This block belongs to the @1 group.=Этот блок принадлежит группе @1.
This block belongs to these groups: @1.=Этот блок принадлежит группам: @1.
This block can be climbed.=На этот блок можно залезть.
This block can be destroyed by any mining tool immediately.=Этот блок можно мгновенно уничтожить любым добывающим инструментом.
This block can be destroyed by any mining tool in half a second.=Этот блок можно уничтожить любым добывающим инструментом за полсекунды.
This block can be mined by any mining tool immediately.=Этот блок можно мгновенно добыть любым добывающим инструментом.
This block can be mined by any mining tool in half a second.=Этот блок можно добыть любым добывающим инструментом за полсекунды.
This block can be mined by mining tools which match any of the following mining ratings and its toughness level.=Этот блок можно добыть любым инструментами добычи, соответствующим одному из следующих рейтингов и уровней жёсткости.
This block can not be destroyed by ordinary mining tools.=Этот блок нельзя уничтожить обычным инструментом добычи.
This block can not be mined by ordinary mining tools.=Этот блок нельзя добыть обычным инструментом добычи.
This block can serve as a smelting fuel with a burning time of @1.=Этот блок может служить плавящимся топливом с временем горения @1.
This block causes a damage of @1 hit point per second.=Этот блок вызывает повреждение на @1 HP в секунду.
This block causes a damage of @1 hit points per second.=Этот блок вызывает повреждения на @1 HP в секунду.
This block connects to blocks of the @1 group.=Этот блок соединяется с блоками группы @1.
This block connects to blocks of the following groups: @1.=Этот блок соединяется с блоками групп: @1.
This block connects to these blocks: @1.=Этот блок соединяется со следующими блоками: @1.
This block connects to this block: @1.=Этот блок соединяется с этим блоком: @1.
This block decreases your breath and causes a drowning damage of @1 hit point every 2 seconds.=Этот блок уменьшает ваш кислород и вызывает повреждение от погружения на @1 HP каждые 2 секунды.
This block decreases your breath and causes a drowning damage of @1 hit points every 2 seconds.=Этот блок уменьшает ваш кислород и вызывает повреждения от погружения на @1 HP каждые 2 секунды.
This block is a light source with a light level of @1.=Этот блок является источником света уровня @1.
This block glows faintly with a light level of @1.=Этот блок мерцает с уровнем света: @1.
This block is a building block for creating various buildings.=Это строительный блок для создания разных конструкций и зданий.
This block is a liquid with these properties:=Это жидкий блок с такими свойствами:
This block is affected by gravity and can fall.=На этот блок действует гравитация, он может падать.
This block is completely silent when mined or built.=Этот блок абсолютно бесшумно добывается и устанавливается при строительстве.
This block is completely silent when walked on, mined or built.=Этот блок абсолютно тихий, он не шумит, если вы идёте по нему, добываете его или строите что-либо из него.
This block is destroyed when a falling block ends up inside it.=Этот блок уничтожается, когда падающий блок попадает в него.
This block negates all fall damage.=Этот блок отменяет весь урон от падения.
This block points to liquids.=Этот блок указывает на жидкости.
This block will drop as an item when a falling block ends up inside it.=Этот блок выпадет как предмет, когда падающий блок попадёт в него.
This block will drop as an item when it is not attached to a surrounding block.=Этот блок выпадет как предмет, если он не прикреплён к окружающим блокам.
This block will drop as an item when no collidable block is below it.=Этот блок выпадет как предмет, если нет непроходимого блока прямо под ним.
This block will drop the following items when mined: @1.=Этот блок будет выдавать следующие предметы при его добыче: @1.
This block will drop the following when mined: @1×@2.=Этот блок будет выдавать при его добыче: @1×@2.
This block will drop the following when mined: @1.=Этот блок будет выдавать при его добыче: @1.
This block will drop the following when mined: @1.=Этот блок будет выдавать при его добыче: @1.
This block will make you bounce off with an elasticity of @1%.=Этот блок заставит вас отскакивать с упругостью @1%.
This block will randomly drop one of the following when mined: @1.=При добыче этот блок случайным образом выдаёт что-то из списка: @1.
This block will randomly drop up to @1 drops of the following possible drops when mined: @2.=Этот блок случайным образом выдаст до @1 из следующих возможных выдач при добыче: @2.
This block won't drop anything when mined.=Этот блок ничего не выдаст при его добыче.
This is a decorational block.=Это декоративный блок.
This is a melee weapon which deals damage by punching.=Это орудие ближнего боя, наносящее урон при ударе.
Maximum damage per hit:=Максимальный урон за один удар:
This item belongs to the @1 group.=Этот предмет относится к группе @1.
This item belongs to these groups: @1.=Этот предмет относится к группам: @1.
This item can serve as a smelting fuel with a burning time of @1.=Этот предмет может служить плавящимся топливом с временем горения @1.
This item is primarily used for crafting other items.=Этот предмет в основном используется для создания других предметов.
This item points to liquids.=Этот предмет указывает на жидкости.
This tool belongs to the @1 group.=Этот инструмент относится к группе @1.
This tool belongs to these groups: @1.=Этот инструмент относится к группам: @1.
This tool can serve as a smelting fuel with a burning time of @1.=Этот инструмент может служить плавящимся топливом с временем горения @1.
This tool is capable of mining.=Этот инструмент используется для добычи.
Maximum toughness levels:=Максимальный уровень жёсткости:
This tool points to liquids.=Этот инструмент указывает на жидкости.
Tools and weapons=Инструменты и оружие
Unknown Node=Неизвестный узел
Usage help: @1=Использование помощи: @1
Walking on this block is completely silent.=Хождение по этому блоку абсолютно бесшумное.
Whenever you are not wielding any item, you use the hand which acts as a tool with its own capabilities. When you are wielding an item which is not a mining tool or a weapon it will behave as if it would be the hand.=Даже если вы не держите никакого предмета, ваша рука - сама по себе инструмент, обладающий определёнными свойствами. Когда в вашей руке предмет, не являющийся инструментом добычи или оружием, он будет иметь свойства вашей пустой руки.
Yes=Да
You can not jump while standing on this block.=Вы не можете прыгать, стоя на этом блоке.
any level=любой уровень
level 0=уровень 0
level 0-@1=уровень 0-@1
unknown=неизвестно
Unknown item (@1)=Неизвестный предмет (@1)
• @1: @2=• @1: @2
• @1: @2 HP=• @1: @2 HP
• @1: @2, @3=• @1: @2, @3
• Flowing range: @1=• Дальность потока: @1
• No flowing=• Не текучее
• Not renewable=• Необновляемое
• Renewable=• Обновляемое
• Viscosity: @1=• Вязкость: @1
Itemstring: "@1"=Айтемстринг: "@1"
Durability: @1 uses=Долговечность: @1 раз(а)
Durability: @1=Долговечность: @1
Mining durability:=Долговечность при майнинге:
• @1, level @2: @3 uses=• @1, уровень @2: @3 раз(а)
• @1, level @2: Unlimited=• @1, уровень @2: Неограниченно
This block's rotation is affected by the way you place it: Place it on the floor or ceiling for a vertical orientation; place it at the side for a horizontal orientation. Sneaking while placing it leads to a perpendicular orientation instead.=Вращение этого блока зависит от способа размещения: положите его на пол или потолок для вертикальной ориентации; поместите на стену для горизонтальной ориентации. Удерживайте [Красться] при размещении для перпендикулярной ориентации.
Toughness level: @1=Уровень жёсткости: @1
This block is slippery.=Этот блок скользкий.

View File

@ -1,5 +1,5 @@
# textdomain: mcl_craftguide
Any shulker box=Любой шалкер-бокс
Any shulker box=Любой ящик шалкера
Any wool=Любая шерсть
Any wood planks=Любые доски
Any wood=Любое дерево
@ -18,21 +18,21 @@ Any kind of quartz block=Любой кварцевый блок
Any kind of purpur block=Любой фиолетовый блок
Any stone bricks=Любые каменные блоки
Any stick=Любая палка
Any item belonging to the @1 group=Любой предмет, относящийся к группе @1=
Any item belonging to the groups: @1=Любой предмет, относящийся к группам: @1=
Any item belonging to the @1 group=Любой предмет, относящийся к группе @1
Any item belonging to the groups: @1=Любой предмет, относящийся к группам: @1
Search=Поиск
Reset=Сброс
Previous page=Предыдущая страница
Next page=Следущая страница
Next page=Следующая страница
Usage @1 of @2=Использование @1 из @2
Recipe @1 of @2=Рецепт @1 из @2
Burning time: @1=Время горения: @1
Cooking time: @1=Время приготовления: @1
Any item belonging to the group(s): @1=Любой элемент из группы: @1
Recipe is too big to be displayed (@1×@2)=Рецепт слишком большой для показа (@1×@2)
Any item belonging to the group(s): @1=Любой элемент из групп(ы): @1
Recipe is too big to be displayed (@1×@2)=Рецепт слишком большой для отображения (@1×@2)
Shapeless=Бесформенный
Cooking=Приготовление
Increase window size=Увеличить окно
Decrease window size=Уменьшить окно
No item to show=Нет элемента для показа
Collect items to reveal more recipes=Собирайте предметы, чтобы раскрыть больше рецептов
Collect items to reveal more recipes=Для рецептов нужны предметы

View File

@ -23,7 +23,7 @@ end)
-- usable by hoes
doc.sub.items.register_factoid("nodes", "groups", function(itemstring, def)
if def.groups.cultivatable == 2 then
if def.groups.cultivatable == 1 then
return S("This block can be turned into dirt with a hoe.")
elseif def.groups.cultivatable == 2 then
return S("This block can be turned into farmland with a hoe.")

View File

@ -0,0 +1,79 @@
# textdomain: mcl_doc
Water can flow into this block and cause it to drop as an item.=Вода может затечь в этот блок и вызвать его выпадение в качестве предмета.
This block can be turned into dirt with a hoe.=Этот блок можно превратить в грязь с помощью мотыги.
This block can be turned into farmland with a hoe.=Этот блок можно превратить в грядку с помощью мотыги.
This block acts as a soil for all saplings.=Этот блок служит почвой для всех саженцев.
This block acts as a soil for some saplings.=Этот блок служит почвой для некоторых саженцев.
Sugar canes will grow on this block.=На этом блоке будет расти сахарный тростник.
Nether wart will grow on this block.=Адский нарост будет расти на этом блоке.
This block quickly decays when there is no wood block of any species within a distance of @1. When decaying, it disappears and may drop one of its regular drops. The block does not decay when the block has been placed by a player.=Этот блок быстро разрушается, когда на расстоянии @1 нет древесных блоков любого вида. При распаде он исчезает и может уронить одну из своих обычных капель. Блок не разрушается, если он размещен игроком.
This block quickly decays and disappears when there is no wood block of any species within a distance of @1. The block does not decay when the block has been placed by a player.=Этот блок быстро распадается и исчезает, если на расстоянии @1 нет древесных блоков любого типа. Блок не разрушается, если он размещен игроком.
This plant can only grow on grass blocks and dirt. To survive, it needs to have an unobstructed view to the sky above or be exposed to a light level of 8 or higher.=Это растение может расти только на блоках травы и грязи. Чтобы выжить, ему нужно иметь беспрепятственный обзор неба или подвергаться воздействию света уровня 8 или выше.
This plant can grow on grass blocks, podzol, dirt and coarse dirt. To survive, it needs to have an unobstructed view to the sky above or be exposed to a light level of 8 or higher.=Это растение может расти на блоках травы, подзола и твёрдой грязи. Чтобы выжить, ему нужно иметь беспрепятственный обзор неба или подвергаться воздействию света уровня 8 или выше.
This block is flammable.=Этот блок легковоспламеним.
This block destroys any item it touches.=Этот блок уничтожает всё, к чему прикасается.
To eat it, wield it, then rightclick.=Чтобы съесть это, возьмите в руки и кликните правой клавишей.
You can eat this even when your hunger bar is full.=Вы можете есть это, даже когда ваша полоска голода заполнена.
You cannot eat this when your hunger bar is full.=Вы не можете есть это, когда ваша полоска голода заполнена.
To drink it, wield it, then rightclick.=Чтобы выпить это, возьмите его в руки и кликните правой клавишей мыши.
You cannot drink this when your hunger bar is full.=Вы не можете пить это, когда ваша полоска голода заполнена.
To consume it, wield it, then rightclick.=Чтобы употребить это, возьмите в руки и кликните правой клавишей мыши.
You cannot consume this when your hunger bar is full.=Вы не можете употребить это, когда ваша полоска голода заполнена.
You have to wait for about 2 seconds before you can eat or drink again.=Вам нужно подождать 2 секунды, прежде чем снова пить или есть.
Hunger points restored: @1=Восстановлено единиц голода: @1
Saturation points restored: @1%.1f=Восстановлено единиц сытости: @1
This item can be repaired at an anvil with: @1.=Этот предмет можно починить на наковальне при помощи: @1.
This item can be repaired at an anvil with any wooden planks.=Этот предмет можно починить на наковальне с помощью любых деревянных досок.
This item can be repaired at an anvil with any item in the “@1” group.=Этот предмет можно починить на наковальне с помощью любого предмета из группы “@1”.
This item cannot be renamed at an anvil.=Этот предмет нельзя починить в наковальне.
This block crushes any block it falls into.=Этот блок сокрушает любой блок, на который падает.
When this block falls deeper than 1 block, it causes damage to any player it hits. The damage dealt is B×22 hit points with B @= number of blocks fallen. The damage can never be more than 40 HP.=Когда этот блок падает 1 блока, то наносит урон задеваемому игроку. Повреждение составляет B×22 единиц удара, где B @= количество упавших блоков. Урон не может превышать 40 HP.
Diamond Pickaxe=Алмазная кирка
Iron Pickaxe=Железная кирка
Stone Pickaxe=Каменная кирка
Golden Pickaxe=Золотая кирка
Wooden Pickaxe=Деревянная кирка
Diamond Axe=Алмазный топор
Iron Axe=Железный топор
Stone Axe=Каменный топор
Golden Axe=Золотой топор
Wooden Axe=Деревянный топор
Diamond Shovel=Алмазная лопата
Iron Shovel=Железная лопата
Stone Shovel=Каменная лопата
Golden Shovel=Золотая лопата
Wooden Shovel=Деревянная лопата
This block can be mined by any tool instantly.=Этот блок можно мгновенно добыть любым инструментом.
This block can be mined by:=Этот блок можно добыть при помощи:
Hardness: ∞=Твердость: ∞
Hardness: @1=Твердость: @1
This block will not be destroyed by TNT explosions.=Этот блок не уничтожат взрывы тротила.
This block drops itself when mined by shears.=Этот блок сбрасывается сам при добыче ножницами.
@1×@2=@1×@2
This blocks drops the following when mined by shears: @1=Этот блок при добыче ножницами выбрасывает следующее: @1
, = ,
• Shears=• Ножницы
• Sword=• Меч
• Hand=• Рука
This is a melee weapon which deals damage by punching.=Это оружие ближнего боя, оно наносит урон при ударе.
Maximum damage: @1 HP=Максимальный урон: @1 HP
Full punch interval: @1 s=Интервал полного удара: @1 с
This tool is capable of mining.=Этим инструментом можно добывать
Mining speed: @1=Скорость добычи: @1
Painfully slow=Мучительно медленно
Very slow=Очень медленно
Slow=Медленно
Fast=Быстро
Very fast=Очень быстро
Extremely fast=Ужасно быстро
Instantaneous=Мгновенно
@1 uses=@1 раз(а)
Unlimited uses=не ограничено
Block breaking strength: @1=Прочность блока на разрыв: @1
Mining durability: @1=Долговечность при добыче: @1
Armor points: @1=Эффективность защиты: @1
Armor durability: @1=Долговечность защиты: @1
It can be worn on the head.=Это можно носить на голове.
It can be worn on the torso.=Это можно носить на теле.
It can be worn on the legs.=Это можно носить на ногах.
It can be worn on the feet.=Это можно носить на ступнях.

View File

@ -0,0 +1,511 @@
# textdomain: mcl_doc_basics
Basics=Основы
Everything you need to know to get started with playing=Всё, что вам нужно знать, чтобы начать играть
Advanced usage=Продвинутое использование
Advanced information which may be nice to know, but is not crucial to gameplay=Дополнительная информация, которую хорошо было бы знать, но не критично для хода игры
Quick start=Быстрый старт
This is a very brief introduction to the basic gameplay:=Это максимально сжатое введение в основы игрового процесса
Basic controls:=Основное управление:
• Move mouse to look=• Мышь - осматриваться
• [W], [A], [S] and [D] to move=• [W], [A], [S] и [D] - идти
• [E] to sprint=• [E] - бежать
• [Space] to jump or move upwards=• [Пробел] - прыгнуть или двигаться вверх
• [Shift] to sneak or move downwards=• [Shift] - красться или двигаться вниз
• Mouse wheel or [1]-[9] to select item=• Колёсико или [1]-[9] - выбор предмета
• Left-click to mine blocks or attack=• Левый клик - добывать блок или атаковать
• Recover from swings to deal full damage=• Бейте без колебаний, чтобы нанести максимальный урон
• Right-click to build blocks and use things=• Правый клик - строить блоки и использовать вещи
• [I] for the inventory=• [I] - открыть инвентарь
• First items in inventory appear in hotbar below=• Первые предметы в инвентаре появляются на панели быстрого доступа внизу
• Lowest row in inventory appears in hotbar below=• Нижний ряд в инвентаре появляется на панели быстрого доступа внизу
• [Esc] to close this window=• [Esc] - закрыть это окно
How to play:=Как играть:
• Punch a tree trunk until it breaks and collect wood=• Бейте дерево по стволу, пока оно не сломается, и собирайте древесину
• Place the wood into the 2×2 grid (your “crafting grid”) in your inventory menu and craft 4 wood planks=• Поместите кусок дерева в решётку 2×2 (вашу личную “крафт-сетку”) в меню инвентаря и скрафтите из него 4 доски
• Place them in a 2×2 shape in the crafting grid to craft a crafting table=• Разместите их в виде квадрата 2×2 в крафт-сетке, чтобы сделать верстак
• Place the crafting table on the ground=• Поставьте верстак на землю
• Rightclick it for a 3×3 crafting grid=• Кликните правой по верстаку для работы с крафт-сеткой 3×3
• Use the crafting guide (book icon) to learn all the possible crafting recipes=Используйте крафт-гид (значок книги) рецептов для изучения всех доступных рецептов
• Craft a wooden pickaxe so you can dig stone=• Создайте деревянную кирку, чтобы добыть камни
• Different tools break different kinds of blocks. Try them out!=• Разные инструменты могут ломать разные виды блоков. Опробуйте их!
• Read entries in this help to learn the rest=Читайте записи в этой справке, чтобы узнать всё
• Continue playing as you wish. There's no goal. Have fun!=Продолжайте играть, как вам нравится. Игра не имеет конечной цели. Наслаждайтесь!
Minetest=Майнтест
Minetest is a free software game engine for games based on voxel gameplay, inspired by InfiniMiner, Minecraft, and the like. Minetest was originally created by Perttu Ahola (alias “celeron55”).=Майнтест - бесплатный программный движок для игр, основанных на воксельных мирах, источником вдохновения послужили игры InfiniMiner, Minecraft и подобные. Майнтест изначально создан Пертту Ахолой (под псевдонимом “celeron55”).
The player is thrown into a huge world made out of cubes or blocks. These cubes usually make the landscape they blocks can be removed and placed almost entirely freely. Using the collected items, new tools and other items can be crafted. Games in Minetest can, however, be much more complex than this.=Игрок попадает в огромный мир из кубиков-блоков. Из этих кубиков состоит ландшафт, их можно убирать и снова размещать практически свободно. Используя собранные предметы, вы можете создать («скрафтить») новые инструменты и предметы. Игры для Майнтеста могут быть и гораздо сложнее.
A core feature of Minetest is the built-in modding capability. Mods modify existing gameplay. They can be as simple as adding a few decorational blocks or be very complex by e.g. introducing completely new gameplay concepts, generating a completely different kind of world, and many other things.=Основной особенностью Майнтеста является встроенная возможность моддинга. Моды изменяют привычный игровой процесс. Они могут быть очень простыми, например, добавлять нескольких декоративных блоков, или очень сложными - полностью изменяющими игровой процесс, генерирующими новые виды миров и т. д.
Minetest can be played alone or online together with multiple players. Online play will work out of the box with any mods, with no need for additional software as they are entirely provided by the server.=В Майнтест можно играть в одиночку или онлайн вместе с несколькими игроками. Онлайн-игра будет работать «из коробки» с любыми модами без необходимости установки дополнительного программного обеспечения, так как всё необходимое предоставляется сервером.
Minetest is usually bundled with a simple default game, named “Minetest Game” (shown in images 1 and 2). You probably already have it. Other games for Minetest can be downloaded from the official Minetest forums <https://forum.minetest.net/viewforum.php?f@=48>.=Обычно Майнтест поставляется в комплекте с простой игрой по умолчанию, которая называется «Игра Майнтест» (показана на рисунках 1 и 2). У вас она, вероятно, есть. Другие игры для Майнтеста можно скачать с официального форума <https://forum.minetest.net/viewforum.php?f@=48>.
Minetest as well as Minetest Game are both unfinished at the moment, so please forgive us when not everything works out perfectly.=Как Майнтест, так и «Игра Майнтест» в данный момент еще не завершены, поэтому, пожалуйста, простите, если что-то не заработает идеально.
Sneaking=Подкрадывание
Sneaking makes you walk slower and prevents you from falling off the edge of a block.=Подкрадывание замедляет ход и предотвращает падение с края блока.
To sneak, hold down the sneak key (default: [Shift]). When you release it, you stop sneaking. Careful: When you release the sneak key at a ledge, you might fall!=Чтобы красться, удерживайте нажатой клавишу [Красться] (по умолчанию: [Shift]). Когда вы отпускаете её, то перестаете красться. Будьте осторожны: если отпустить клавишу, стоя на краю выступа, то можете оттуда упасть!
• Sneak: [Shift]=• Красться: [Shift]
Sneaking only works when you stand on solid ground, are not in a liquid and don't climb.=Подкрадывание работает только когда вы стоите на твердой земле, не находитесь в жидкости и не карабкаетесь.
If you jump while holding the sneak key, you also jump slightly higher than usual.=Если вы прыгаете, удерживая нажатой клавишу [Красться], вы также прыгаете немного выше, чем обычно.
Sneaking might be disabled by mods. In this case, you still walk slower by sneaking, but you will no longer be stopped at ledges.=Подкрадывание может быть отключено модами. В этом случае вы все равно идете медленнее, крадясь, но вас больше ничто не останавливает на выступах.
Controls=Управление
These are the default controls:=Вот стандартное управление:
Basic movement:=Основное движение:
• Moving the mouse around: Look around=• Движение мыши: осматриваться вокруг
• W: Move forwards=• W: двигаться вперед
• A: Move to the left=• A: двигаться влево
• D: Move to the right=• D: двигаться вправо
• S: Move backwards=• S: двигаться назад
• E: Sprint=• E: Бег
While standing on solid ground:=Если стоите на твердой земле:
• Space: Jump=• Пробел: прыгать
• Shift: Sneak=• Shift: красться
While on a ladder, swimming in a liquid or fly mode is active=Стоя на лестнице, плывя в режиме жидкости или находясь в режиме полёта
• Space: Move up=• Пробел: двигаться вверх
• Shift: Move down=• Shift: двигаться вниз
Extended movement (requires privileges):=Расширенное движение (требуются привилегии):
• J: Toggle fast mode, makes you run or fly fast (requires “fast” privilege)=• J: включает/выключает быстрый режим для бега/полёта (требуется привилегия “fast”)
• K: Toggle fly mode, makes you move freely in all directions (requires “fly” privilege)=• K: включает/выключает режим полёта, позволяющий свободно перемещаться во всех направлениях (требуется привилегия “fly”)
• H: Toggle noclip mode, makes you go through walls in fly mode (requires “noclip” privilege)=• H: включает/выключает режим отсутствия препятствий, позволяющий проходить сквозь стены в режиме полёта (требуется привилегия “noclip”)
• E: Move even faster when in fast mode=• E: двигаться даже быстрее, чем в быстром режиме
• E: Walk fast in fast mode=• E: идти быстро в быстром режиме
World interaction:=Взаимодействие с миром:
• Left mouse button: Punch / mine blocks / take items=• Левая кнопка мыши: Бить / добывать блоки / брать предметы
• Left mouse button: Punch / mine blocks=• Левая кнопка мыши: Бить / добывать блоки
• Right mouse button: Build or use pointed block=• Правая кнопка мыши: Строить или использовать указанный блок
• Shift+Right mouse button: Build=• Shift+Правая кнопка мыши: Строить
• Roll mouse wheel: Select next/previous item in hotbar=• Вращение колёсика мыши: Выбор следующего/предыдущего предмета на панели быстрого доступа
• Roll mouse wheel / B / N: Select next/previous item in hotbar=• Вращение колёсика мыши / B / N: Выбор следующего/предыдущего предмета на панели быстрого доступа
• 1-9: Select item in hotbar directly=• 1-9: Быстрый и прямой выбор предмета на панели быстрого доступа
• Q: Drop item stack=• Q: выбросить всю стопку предметов
• Shift+Q: Drop 1 item=• Shift+Q: выбросить только 1 предмет
• I: Show/hide inventory menu=• I: Показать/скрыть меню вашего инвентаря
Inventory interaction:=Взаимодействие с инвентарём:
See the entry “Basics > Inventory”.=Смотрите запись “Основы > Инвентарь”.
Camera:=Камера:
• Z: Zoom=• Z: Увеличение
• F7: Toggle camera mode=• F7: Смена режима камеры
• F8: Toggle cinematic mode=• F8: Кинематографический режим
Interface:=Интерфейс:
• Esc: Open menu window (pauses in single-player mode) or close window=• Esc: Открыть/закрыть меню (пауза в режиме одиночной игры)
• F1: Show/hide HUD=• F1: Показать/убрать игровой интерфейс (HUD)
• F2: Show/hide chat=• F2: Показать/убрать чат
• F9: Toggle minimap=• F9: Включить/выключить миникарту
• Shift+F9: Toggle minimap rotation mode=• Shift+F9: Смена режима вращения мини-карты
• F10: Open/close console/chat log=• F10: Открыть/закрыть консоль/историю чата
• F12: Take a screenshot=• F12: Сделать снимок экрана
Server interaction:=Взаимодействие с сервером:
• T: Open chat window (chat requires the “shout” privilege)=• T: Открыть окно чата (чат требует привилегию “shout”)
• /: Start issuing a server command=• /: Начать ввод серверной команды
Technical:=Технические:
• R: Toggle far view (disables all fog and allows viewing far away, can make game very slow)=• R: Включить/выключить дальний обзор (отключает туман и позволяет смотреть очень далеко, может замедлять игру)
• +: Increase minimal viewing distance=• +: Увеличить минимальное расстояние просмотра
• -: Decrease minimal viewing distance=• -: Уменьшить минимальное расстояние просмотра
• F3: Enable/disable fog=• F3: Включить/отключить туман
• F5: Enable/disable debug screen which also shows your coordinates=• F5: Включить/отключить экран отладки, который также показывает ваши координаты
• F6: Only useful for developers. Enables/disables profiler=• F6: Полезно только для разработчиков. Включает/отключает профайлер
• P: Only useful for developers. Writes current stack traces=• P: Полезно только для разработчиков. Записывает текущие трассировки стека
Players=Игроки
Players (actually: “player characters”) are the characters which users control.=Игроки (на самом деле «персонажи игроков») - персонажи, которыми управляют пользователи.
Players are living beings. They start with a number of health points (HP) and a number of breath points (BP).=Игроки это живые существа. Они появляются с определённым количеством очков здоровья (HP) и дыхания (BP).
Players are capable of walking, sneaking, jumping, climbing, swimming, diving, mining, building, fighting and using tools and blocks.=Игроки могут ходить, красться, прыгать, карабкаться, плавать, нырять, добывать, строить, сражаться и использовать инструменты и блоки.
Players can take damage for a variety of reasons, here are some:=Игроки могут получить урон по разным причинам, вот некоторые:
• Taking fall damage=• Получение урона от падения
• Touching a block which causes direct damage=• Прикосновение к блоку, который наносит прямой ущерб
• Drowning=• Утопление
• Being attacked by another player=• Быть атакованным другим игроком
• Being attacked by a computer enemy=• Быть атакованным компьютерным врагом
At a health of 0, the player dies. The player can just respawn in the world.=На отметке здоровья HP@=0 игрок умирает. Но он может возродиться в этом же мире.
Other consequences of death depend on the game. The player could lose all items, or lose the round in a competitive game.=Другие последствия смерти зависят от игры. Игрок может потерять все предметы или проиграть в соревновательной игре.
Some blocks reduce breath. While being with the head in a block which causes drowning, the breath points are reduced by 1 for every 2 seconds. When all breath is gone, the player starts to suffer drowning damage. Breath is quickly restored in any other block.=Некоторые блоки не допускают дыхания. При нахождении с головой в блоке, который вызывает утопление, точки дыхания уменьшаются на 1 каждые 2 секунды. Когда все очки дыхания уходят, игрок начинает получать урон утопающего. Очки дыхания быстро восстановятся в любом другом блоке.
Damage can be disabled on any world. Without damage, players are immortal and health and breath are unimportant.=Урон можно отключить в любом мире. Без повреждений игроки бессмертны, а здоровье и дыхание неважны.
In multi-player mode, the name of other players is written above their head.=В многопользовательском режиме имена других игроков написаны над их головами.
Items=Предметы
Items are things you can carry along and store in inventories. They can be used for crafting, smelting, building, mining, and more. Types of items include blocks, tools, weapons and items only used for crafting.=Предметы - это вещи, которые вы можете носить с собой и хранить в инвентаре. Их можно использовать для крафтинга (создания чего-либо), плавки, строительства, добычи и многого другого. Типы предметов: блоки, инструменты, оружие, а также предметы, используемые только для крафтинга.
An item stack is a collection of items of the same type which fits into a single item slot. Item stacks can be dropped on the ground. Items which drop into the same coordinates will form an item stack.=Стопка предметов - это набор предметов одного типа, который помещается в один слот. Стопки предметов можно выбрасывать на землю полностью. Предметы, попавшие в одни и те же координаты, образуют стопку.
Dropped item stacks will be collected automatically when you stand close to them.=Стопки брошенных предметов подбираются автоматически, если вы стоите рядом с ними.
Items have several properties, including the following:=Предметы имеют несколько свойств, в том числе следующие:
• Maximum stack size: Number of items which fit on 1 item stack=• Максимальный размер стопки: количество, которое помещается в 1 стопку предметов
• Pointing range: How close things must be to be pointed while wielding this item=• Дальность прицела: насколько близко должна находиться цель, чтобы можно было навести на неё этот предмет и использовать
• Group memberships: See “Basics > Groups”=• Членство в группах: См. “Основы > Группы”
• May be used for crafting or cooking=• Может быть использовано для крафтинга или приготовления пищи
Tools=Инструменты
Some items may serve as a tool when wielded. Any item which has some special use which can be directly used by its wielder is considered a tool.=Некоторые предметы могут служить вам в качестве инструментов. Любой предмет, которым вы можете напрямую воспользоваться, чтобы сделать какое-то особое действие, считается инструментом.
A common subset of tools is mining tools. These are important to break all kinds of blocks. Weapons are a kind of tool. There are of course many other possible tools. Special actions of tools are usually done by left-click or right-click.=Распространенной разновидностью инструментов являются инструменты майнинга. Они позволяют ломать все виды блоков. Оружие - тоже своего рода инструмент. Есть и много других инструментов. Особое действие инструмента обычно выполняются по нажатию левой или правой кнопки мыши.
When nothing is wielded, players use their hand which may act as tool and weapon.=Когда у вас в руке нет никакого предмета, инструментом, либо даже оружием, выступает сама рука.
Mining tools are important to break all kinds of blocks. Weapons are another kind of tool. There are some other more specialized tools. Special actions of tools are usually done by right-click.=Инструменты добычи позволяют ломать все виды блоков. Оружие - тоже своеобразный инструмент, хотя есть и другие, более специализированные. Особое действие инструментов обычно включается правой клавишей мыши.
When nothing is wielded, players use their hand which may act as tool and weapon. The hand is capable of punching and deals minimum damage.=При отсутствии предметов игроки используют свою руку, которая может выступать в качестве инструмента и оружия. Рука способна ударять и даже наносить небольшой урон.
Many tools will wear off when using them and may eventually get destroyed. The damage is displayed in a damage bar below the tool icon. If no damage bar is shown, the tool is in mint condition. Tools may be repairable by crafting, see “Basics > Crafting”.=Многие инструменты изнашиваются при использовании и со временем могут разрушиться. Износ отображается в строке повреждений под значком инструмента. Если полоса повреждений не отображается, значит инструмент находится в отличном состоянии. Инструменты могут быть восстановлены путем крафтинга, см. “Основы > Крафтинг”.
Weapons=Оружие
Some items are usable as a melee weapon when wielded. Weapons share most of the properties of tools.=Некоторые предметы можно использовать в качестве оружия ближнего боя. Оружие сохраняет большинство свойств инструментов.
Melee weapons deal damage by punching players and other animate objects. There are two ways to attack:=Оружие ближнего боя наносит урон при ударе по игрокам и другим живым объектам. Есть два способа атаковать:
• Single punch: Left-click once to deal a single punch=• Одиночный удар: для нанесения одиночного удара кликните один раз левой клавишей мыши
• Quick punching: Hold down the left mouse button to deal quick repeated punches=• Быстрые удары: для нанесения быстрых повторяющихся ударов удерживайте левую клавишу мыши
There are two core attributes of melee weapons:=Есть два основных атрибута оружия ближнего боя:
• Maximum damage: Damage which is dealt after a hit when the weapon was fully recovered=• Максимальный урон: урон, который наносится после удара, когда оружие полностью восстановлено
• Full punch interval: Time it takes for fully recovering from a punch=• Интервал полного удара: время, необходимое для полного восстановления после удара
A weapon only deals full damage when it has fully recovered from a previous punch. Otherwise, the weapon will deal only reduced damage. This means, quick punching is very fast, but also deals rather low damage. Note the full punch interval does not limit how fast you can attack.=Оружие наносит полный урон только тогда, когда оно полностью восстановилось после предыдущего удара. В противном случае оружие будет наносить меньший урон. Это означает, что быстрый удар очень быстр, но наносит довольно низкий урон. Обратите внимание, что интервал полного удара не ограничивает скорость атаки.
There is a rule which sometimes makes attacks impossible: Players, animate objects and weapons belong to damage groups. A weapon only deals damage to those who share at least one damage group with it. So if you're using the wrong weapon, you might not deal any damage at all.=Есть правило, иногда делающее атаки невозможными: игроки, живые объекты и оружие принадлежат к некоторым к группам повреждений. Оружие наносит урон только тем, кто имеет хотя бы одну общую группу с ним. Так что, если вы используете «неправильное» оружие, то можете не нанести совсем никакого урона.
Pointing=Прицел
“Pointing” means looking at something in range with the crosshair. Pointing is needed for interaction, like mining, punching, using, etc. Pointable things include blocks, players, computer enemies and objects.=“Прицел” означает, что вы смотрите на цель через область с крестиком. Прицелиться нужно для таких вещей, как добыча, удар, использование и так далее. Нацеливаемыми вещами являются блоки, игроки, компьютерные враги и объекты.
To point something, it must be in the pointing range (also just called “range”) of your wielded item. There's a default range when you are not wielding anything. A pointed thing will be outlined or highlighted (depending on your settings). Pointing is not possible with the 3rd person front camera.=Чтобы прицелиться на что-то, это должно быть в пределах расстояния прицела (по-простому: «дальности») предмета, который вы держите в руках. Существует дальность по умолчанию, когда вы ничего не держите. Вещь под прицелом будет очерчена или подсвечена (в зависимости от настроек). Наведение невозможно выполнить с помощью фронтальной камеры 3-го лица.
A few things can not be pointed. Most blocks are pointable. A few blocks, like air, can never be pointed. Other blocks, like liquids can only be pointed by special items.=На некоторые вещи нельзя нацелиться. Большинство блоков нацеливаемые, но некоторые, например, воздух, - нет. На блоки вроде жидкостей можно нацелиться только специальными предметами.
Camera=Камера
There are 3 different views which determine the way you see the world. The modes are:=Есть 3 различных способа видеть мир:
• 1: First-person view (default)=• 1: вид от первого лица (по умолчанию);
• 2: Third-person view from behind=• 2: вид от третьего лица сзади;
• 3: Third-person view from the front=• 3: вид от третьего лица спереди.
You can change the camera mode by pressing [F7].=Вы можете изменить режим камеры, нажав клавишу [F7].
You might be able to zoom with [Z] to zoom the view at the crosshair. This allows you to look further.=Вероятно, вы сможете увеличить масштаб вида в перекрестии с помощью [Z]. Это позволит вам смотреть дальше.
Zooming is a gameplay feature that might be enabled or disabled by the game. By default, zooming is enabled when in Creative Mode but disabled otherwise.=Масштабирование-это функция геймплея, которая может быть включена или отключена игрой. По умолчанию масштабирование включено в творческом режиме, но отключено в обычном.
There is also Cinematic Mode which can be toggled with [F8]. With Cinematic Mode enabled, the camera movements become more smooth. Some players don't like it, it is a matter of taste.=Существует также кинематографический режим, который можно переключить с помощью [F8]. При включенном кинематографическом режиме движения камеры становятся более плавными. Некоторым игрокам это не нравится, это дело вкуса.
By holding down [Z], you can zoom the view at your crosshair. You need the “zoom” privilege to do this.=Удерживая нажатой клавишу [Z], вы можете увеличить изображение в перекрестии прицела. Для этого вам нужна привилегия “zoom”.
• Switch camera mode: [F7]=• Переключение режима камеры: [F7];
• Toggle Cinematic Mode: [F8]=• Переключение кинематографического режима: [F8];
• Zoom: [Z]=• Масштабирование: [Z].
Blocks=Блоки
The world of MineClone 2 is made entirely out of blocks (voxels, to be precise). Blocks can be added or removed with the correct tools.=Мир MineClone 2 полностью состоит из блоков (вокселей, если быть точными). Блоки могут быть добавлены или удалены с помощью правильно подобранных инструментов.
The world is made entirely out of blocks (voxels, to be precise). Blocks can be added or removed with the correct tools.=Мир целиком состоит из блоков (точнее, вокселей). Блоки могут быть добавлены или удалены с помощью правильно подобранных инструментов.
Blocks can have a wide range of different properties which determine mining times, behavior, looks, shape, and much more. Their properties include:=Блоки могут иметь широкий спектр различных свойств, которые определяют время добычи, поведение, внешний вид, форму и многое другое. Их свойства включают в себя:
• Collidable: Collidable blocks can not be passed through; players can walk on them. Non-collidable blocks can be passed through freely=• Непроходимые: непроходимые блоки не могут быть пройдены насквозь; игроки могут ходить по ним. Проходимые блоки могут свободно пропускать вас сквозь себя
• Pointable: Pointable blocks show a wireframe or a halo box when pointed. But you will just point through non-pointable blocks. Liquids are usually non-pointable but they can be pointed at by some special tools=• Нацеливаемые: нацеливаемые блоки демонстрируют свой контур или ореол, когда вы на них нацеливаетесь. Но через ненацеливаемые блоки ваш прицел просто пройдёт насквозь. Жидкости обычно не подлежат нацеливанию, но в них всё-таки можно целиться с помощью некоторых специальных инструментов
• Mining properties: By which tools it can be mined, how fast and how much it wears off tools=• Майнинговые свойства: с помощью каких инструментов можно добывать эти блоки и как быстро инструмент при этом изнашивается
• Climbable: While you are at a climbable block, you won't fall and you can move up and down with the jump and sneak keys=• Карабкательные: пока вы находитесь на блоке, по которому можно карабкаться, вы падаете и можете перемещаться вверх и вниз клавишами [Прыжок] и [Красться]
• Drowning damage: See the entry “Basics > Player”=• Наносящие урон как при утоплении: Смотрите запись “Основы > игрок”
• Liquids: See the entry “Basics > Liquids”=• Жидкости: Смотрите запись “Основы > Жидкости”
• Group memberships: Group memberships are used to determine mining properties, crafting, interactions between blocks and more=• Членство в группах: Членство в группах используется для определения майнинговых и крафтинговых свойств, взаимодействий между блоками и другого
Mining=Майнинг (добывание)
Mining (or digging) is the process of breaking blocks to remove them. To mine a block, point it and hold down the left mouse button until it breaks.=Добывание (или копание) - это процесс разрушения блоков для их убирания. Чтобы добыть блок, нацельтесь на него указателем и удерживайте левую кнопку мыши, пока он не сломается.
Blocks require a mining tool to be mined. Different blocks are mined by different mining tools, and some blocks can not be mined by any tool. Blocks vary in hardness and tools vary in strength. Mining tools will wear off over time. The mining time and the tool wear depend on the block and the mining tool. The fastest way to find out how efficient your mining tools are is by just trying them out on various blocks. Any items you gather by mining will drop on the ground, ready to be collected.=Для добычи блоков требуется инструмент майнинга. Разные блоки добываются разными инструментами майнинга, а некоторые блоки не могут быть добыты никаким инструментом. Блоки различаются по твердости, а инструменты - по прочности. Майнинговые инструменты со временем изнашиваются. Время добывания и износ зависят и от блока, и от инструмента майнинга. Самый быстрый способ узнать, насколько эффективны ваши инструменты для майнинга, - это просто попробовать их на различных блоках. Любые предметы, которые вы извлечёте из блоков в качестве добычи, упадут на землю, готовые к сбору.
After mining, a block may leave a “drop” behind. This is a number of items you get after mining. Most commonly, you will get the block itself. There are other possibilities for a drop which depends on the block type. The following drops are possible:=При добыче (майнинге) блок может оставить после себя ”кусочек“. Это предметы, которые вы получаете в результате майнинга. Чаще всего вы получаете сам блок, но в зависимости от его типа блока, может быть следующие варианты:
• Always drops itself (the usual case)=• Всегда выпадает сам блок (обычный случай)
• Always drops the same items=• Всегда выпадают одни и те же предметы
• Drops items based on probability=• Выпадающие предметы зависят от вероятности
• Drops nothing=• Ничего не выпадает
Building=Строительство
Almost all blocks can be built (or placed). Building is very simple and has no delay.=Почти все блоки можно использовать для строительства (размещая их где-то). Это очень просто и происходит без задержек.
To build your wielded block, point at a block in the world and right-click. If this is not possible because the pointed block has a special right-click action, hold down the sneak key before right-clicking.=Чтобы установить блок, который вы держите в руке, нацельтесь на блок в мире и щелкните правой кнопкой мыши. Если это невозможно из-за того, что указательный блок имеет специальное действие щелчка правой кнопкой мыши, то зажмите клавишу [Красться] перед щелчком правой кнопки.
Blocks can almost always be built at pointable blocks. One exception are blocks attached to the floor; these can only be built on the floor.=Блоки почти всегда могут быть построены на нацеливаемых блоках. Исключение составляют блоки, прикрепляемые к полу - они могут быть установлены только на полу.
Normally, blocks are built in front of the pointed side of the pointed block. A few blocks are different: When you try to build at them, they are replaced.=Обычно блоки строятся прямо перед блоком, в который вы целитесь, прямо перед стороной, на которую вы целитесь. Но несколько блоков ведут себя иначе: когда вы пытаетесь строить на них, они заменяются вашими новыми блоками.
Liquids=Жидкости
Liquids are special dynamic blocks. Liquids like to spread and flow to their surrounding blocks. Players can swim and drown in them.=Жидкости - это специальные динамические блоки. Жидкости любят распространяться и стекать по окружающим их блокам. Игроки могут плавать и тонуть в них.
Liquids usually come in two forms: In source form (S) and in flowing form (F).=Жидкости могут быть двух видов: источник (S) и течение (F).
Liquid sources have the shape of a full cube. A liquid source will generate flowing liquids around it from time to time, and, if the liquid is renewable, it also generates liquid sources. A liquid source can sustain itself. As long it is left alone, a liquid source will normally keep its place and does not drain out.=Источники жидкостей имеют форму полного куба. Источник генерирует течение жидкости вокруг себя время от времени, и, если жидкость является возобновляемой, он также генерирует новые источники. Жидкий источник может поддерживать себя сам. Пока вы не трогаете источник, он, как правило, остаётся на месте и никуда не утекает.
Flowing liquids take a sloped form. Flowing liquids spread around the world until they drain. A flowing liquid can not sustain itself and always comes from a liquid source, either directly or indirectly. Without a liquid source, a flowing liquid will eventually drain out and disappear.=Текущие жидкости принимают наклонную форму. Они распространяются по всему миру, пока не пересохнут. Текучая жидкость не может поддерживать себя и всегда поступает из источника жидкости, прямо или непрямо. Без источника течение в конце концов высыхает и исчезает.
All liquids share the following properties:=Все жидкости обладают следующими свойствами:
• All properties of blocks (including drowning damage)=• Все свойства блоков (включая урон от утопления)
• Renewability: Renewable liquids can create new sources=• Возобновляемость: возобновляемые жидкости могут создавать новые источники
• Flowing range: How many flowing liquids are created at maximum per liquid source, it determines how far the liquid will spread. Possible are ranges from 0 to 8. At 0, no flowing liquids will be created. Image 5 shows a liquid of flowing range 2=• Диапазон текучести: сколько текучих жидкостей создается максимум на один источник жидкости, это определяет, как далеко жидкость будет распространяться. Возможны диапазоны от 0 до 8. При 0 не будет создаваться никаких текучих жидкостей. На рисунке 5 показана жидкость с диапазоном текучести 2
• Viscosity: How slow players move through it and how slow the liquid spreads=• Вязкость: как медленно игроки движутся через нее и как медленно распространяется жидкость
Renewable liquids create new liquid sources at open spaces (image 2). A new liquid source is created when:=Возобновляемые жидкости создают новые источники жидкости на открытых пространствах (рис.2). Новый источник жидкости создается, когда:
• Two renewable liquid blocks of the same type touch each other diagonally=• Два возобновляемых жидкостных блока одного типа касаются друг друга по диагонали
• These blocks are also on the same height=• При этом данные блоки находятся на одной высоте
• One of the two “corners” is open space which allows liquids to flow in=• Один из двух “углов” - это открытое пространство, которое позволяет жидкостям затекать в него
When those criteria are met, the open space is filled with a new liquid source of the same type (image 3).=Если эти критерии выполнены, открытое пространство заполняется новым источником жидкости того же типа (рис.3).
Swimming in a liquid is fairly straightforward: The usual direction keys for basic movement, the jump key for rising and the sneak key for sinking.=Плавать в жидкости довольно просто: обычные клавиши направления для основного движения, клавиша прыжка для подъема и клавиша подкрадывания для погружения.
The physics for swimming and diving in a liquid are:=Физика плавания и погружения в жидкость такова:
• The higher the viscosity, the slower you move=• Чем выше вязкость, тем медленнее вы двигаетесь
• If you rest, you'll slowly sink=• Если вы отдыхаете, то постепенно тонете
• There is no fall damage for falling into a liquid as such=Падение в жидкость не причиняет вам повреждений напрямую
• If you fall into a liquid, you will be slowed down on impact (but don't stop instantly). Your impact depth is determined by your speed and the liquid viscosity. For a safe high drop into a liquid, make sure there is enough liquid above the ground, otherwise you might hit the ground and take fall damage=• Если вы упадете в жидкость, вы будете замедлены перед ударом (но не остановлены мгновенно). Итоговая сила удара определяется вашей скоростью и вязкостью жидкости. Для безопасного высокого падения в жидкость убедитесь, что над землей достаточно жидкости, иначе вы можете удариться о землю и получить урон от падения
Liquids are often not pointable. But some special items are able to point all liquids.=Жидкости часто ненацеливаемы. Но некоторые специальные предметы способны указывать на все жидкости.
Crafting=Крафтинг
Crafting is the task of combining several items to form a new item.=Крафтинг это комбинирование нескольких предметов для формирования нового предмета.
To craft something, you need one or more items, a crafting grid (C) and a crafting recipe. A crafting grid is like a normal inventory which can also be used for crafting. Items need to be put in a certain pattern into the crafting grid. Next to the crafting grid is an output slot (O). Here the result will appear when you placed items correctly. This is just a preview, not the actual item. Crafting grids can come in different sizes which limits the possible recipes you can craft.=Чтобы скрафтить что-либо, вам понадобятся исходные предметы, крафтинговая решётка (С) и рецепт. Решётка это как будто бы инвентарь, который можно использовать для крафтинга. Предметы должны быть помещены в решётку в определенном порядке. Результат появится сразу, как только вы правильно разместите предметы. Это ещё не сам предмет, а всего лишь предварительный просмотр. Решётки крафтинга могут быть разных размеров, размер ограничивает рецепты, которые вы можете использовать.
To complete the craft, take the result item from the output slot, which will consume items from the crafting grid and creates a new item. It is not possible to place items into the output slot.=Чтобы завершить крафтинг, возьмите результирующий предмет из выходного отсека. Он будет при этом создан, а предметы из решётки будут использованы для его производства. Выходной отсек предназначен только для извлечения предметов, складывать предметы в него нельзя.
A description on how to craft an item is called a “crafting recipe”. You need this knowledge to craft. There are multiple ways to learn crafting recipes. One way is by using a crafting guide, which contains a list of available crafting recipes. Some games provide crafting guides. There are also some mods which you can download online for installing a crafting guide. Another way is by reading the online manual of the game (if one is available).=Описания того, как создавать предметы, называются “рецептами”. Вам понадобятся эти знания для крафтинга различных предметов. Есть много способов узнавать рецепты. Один из них это использование встроенной книги рецептов, доступных вам с теми предметами, которые вы успели собрать. Некоторые игры предоставляют собственные руководства по крафтингу. Существуют моды, скачав и установив которые, вы получите дополнительные руководства. И, наконец, можно узнавать рецепты из онлайн-руководства к игре (если таковое имеется).
Crafting recipes consist of at least one input item and exactly one stack of output items. When performing a single craft, it will consume exactly one item from each stack of the crafting grid, unless the crafting recipe defines replacements.=Рецепты состоят, как минимум, из одного входного элемента и стопки выходных элементов. При выполнении единичного крафтинга будет употреблён ровно один предмет из каждой стопки в отсеках крафтинговой решётки, если только рецепт не предполагает замены.
There are multiple types of crafting recipes:=Существует несколько типов рецептов:
• Shaped (image 2): Items need to be placed in a particular shape=• Фигурные (рис. 2): предметы должны быть выложены в виде определенной фигуры
• Shapeless (images 3 and 4): Items need to be placed somewhere in input (both images show the same recipe)=• Простые (изображения 3 и 4): предметы помещаются в произвольных отсеках на входе (оба изображения показывают один и тот же рецепт)
• Cooking: Explained in “Basics > Cooking”=• Приготовление пищи: описано в разделе “Основы > Приготовление пищи”
• Repairing (image 5): Place two damaged tools into the crafting grid anywhere to get a tool which is repaired by 5%=• Ремонт (рис. 5): Два поврежденных инструмента помещаются в произвольные отсеки крафт-решётки, и на выходе получается инструмент, отремонтированный на 5%
In some crafting recipes, some input items do not need to be a concrete item, instead they need to be a member of a group (see “Basics > Groups”). These recipes offer a bit more freedom in the input items. Images 6-8 show the same group-based recipe. Here, 8 items of the “stone” group are required, which is true for all of the shown items.=В некоторых рецептах некоторые предметы должны быть не какими-то конкретными, а просто принадлежать нужной группе предметов (см. “Основы > Группы”). Такие рецепты предлагают немного больше свободы в выборе входных предметов. На рисунках 6-8 показан один и тот же групповой рецепт. Здесь требуется 8 предметов из группы “Камни“, к которой относятся все показанные предметы.
Rarely, crafting recipes have replacements. This means, whenever you perform a craft, some items in the crafting grid will not be consumed, but instead will be replaced by another item.=В редких случаях в рецептах содержатся замены. Это означает, что при каждом крафтинге некоторые предметы из крафтинговой решётки не будут расходоваться, но будут заменяться другими предметами.
Cooking=Приготовление еды
Cooking (or smelting) is a form of crafting which does not involve a crafting grid. Cooking is done with a special block (like a furnace), an cookable item, a fuel item and time in order to yield a new item.=Приготовление еды (или плавление) это вид крафтинга, для которой не требуется крафтинговая решётка. Приготовление пищи осуществляется с помощью специального блока (например, печи), приготавливаемого предмета, топливного предмета и времени, которое требуется для получения нового предмета.
Each fuel item has a burning time. This is the time a single item of the fuel keeps a furnace burning.=Каждый топливный предмет имеет своё время горения. В течение этого времени печь будет работать.
Each cookable item requires time to be cooked. This time is specific to the item type and the item must be “on fire” for the whole cooking time to actually yield the result.=Процесс готовки требует времени. Это время зависит от типа предмета, и продукт должен быть “на огне” в течение всего времени приготовления, чтобы вы получили желаемый результат.
Hotbar=Панель быстрого доступа
At the bottom of the screen you see some squares. This is called the “hotbar”. The hotbar allows you to quickly access the first items from your player inventory.=В нижней части экрана вы видите несколько квадратов. Это так называемая “Панель быстрого доступа“. Она позволяет быстро получать доступ к первым предметам вашего игрового инвентаря.
You can change the selected item with the mouse wheel or the keyboard.=Вы можете выбирать предмет при помощи колесика мыши или при помощи клавиатуры.
• Select previous item in hotbar: [Mouse wheel up] or [B]=• Выбор предыдущего предмета панели: [Колёсико вверх] или [B]
• Select next item in hotbar: [Mouse wheel down] or [N]=• Выбор следующего предмета панели: [Колёсико вниз] или [N]
• Select item in hotbar directly: [1]-[9]=• Прямой выбор предмета панели: [1] - [9]
The selected item is also your wielded item.=Выбранный предмет на панели быстрого доступа также является вашим носимым предметом, который вы держите в руке.
Minimap=Миникарта
If you have a map item in any of your hotbar slots, you can use the minimap.=Если у вас есть карта (это такой предмет) в любом отсеке панели быстрого доступа, то вы можете пользоваться миникартой.
Press [F9] to make a minimap appear on the top right. The minimap helps you to find your way around the world. Press it again to select different minimap modes and zoom levels. The minimap also shows the positions of other players.=Нажмите [F9], чтобы в правом верхнем углу появилась миникарта. Она поможет вам найти свой путь по всему миру. Нажмите его еще раз, чтобы выбирать различные режимы мини-карты и уровни масштабирования. Миникарта также показывает позиции других игроков.
There are 2 minimap modes and 3 zoom levels.=Миникарта имеет 2 режима и 3 уровня масштабирования.
Surface mode (image 1) is a top-down view of the world, roughly resembling the colors of the blocks this world is made of. It only shows the topmost blocks, everything below is hidden, like a satellite photo. Surface mode is useful if you got lost.=Режим поверхности (рис. 1) это вид на мир сверху с приблизительным воспроизведением цветов блоков из которых этот мир состоит. В этом режиме видны только самые верхние блоки, а всё, что ниже, скрыто, как на спутниковой фотографии. Режим поверхности полезен, если вы заблудились.
Radar mode (image 2) is more complicated. It displays the “denseness” of the area around you and changes with your height. Roughly, the more green an area is, the less “dense” it is. Black areas have many blocks. Use the radar to find caverns, hidden areas, walls and more. The rectangular shapes in image 2 clearly expose the position of a dungeon.=Режим радара (рис. 2) более сложный. Он отображает “плотность“ области вокруг вас и изменяется с вашей высотой. Проще говоря, чем больше на карте зелёного цвета, тем данный участок менее “плотный”. Чёрные области содержат много блоков. Используйте радар, чтобы находить пещеры, скрытые области, стены и многое другое. Прямоугольные формы на рисунке 2 ясно показывают местонахождение подземелья.
There are also two different rotation modes. In “square mode”, the rotation of the minimap is fixed. If you press [Shift]+[F9] to switch to “circle mode”, the minimap will instead rotate with your looking direction, so “up” is always your looking direction.=Существует также два различных режима вращения. В “квадратном режиме” вращение миникарты фиксируется. Если вы нажмете [Shift]+[F9], чтобы переключиться в “режим круга”, миникарта будет вращаться в соответствии с вашим направлением взгляда, поэтому “вверх” всегда будет вашим направлением взгляда.
In some games, the minimap may be disabled.=В некоторых играх миникарта может быть отключена.
• Toggle minimap mode: [F9]=• Переключение режима миникарты: [F9]
• Toggle minimap rotation mode: [Shift]+[F9]=• Переключение режима вращения миникарты: [Shift]+[F9]
Inventory=Инвентарь
Inventories are used to store item stacks. There are other uses, such as crafting. An inventory consists of a rectangular grid of item slots. Each item slot can either be empty or hold one item stack. Item stacks can be moved freely between most slots.=Инвентари используются для хранения стопок предметов. Есть и другое их применение, например, крафтинг. Инвентарь состоит из прямоугольной решётки отсеков для предметов. Каждый отсек может быть либо пустым, либо содержать одну стопку предметов. Стопки предметов можно свободно перемещать между большей частью отсеков.
You have your own inventory which is called your “player inventory”, you can open it with the inventory key (default: [I]). The first inventory slots are also used as slots in your hotbar.=У вас есть ваш собственный инвентарь, который называется “инвентарь игрока”, вы можете открыть его нажатием клавиши инвентаря (по умолчанию это [I]). Первый ряд отсеков вашего инвентаря будут отображаться на панели быстрого доступа.
Blocks can also have their own inventory, e.g. chests and furnaces.=Блоки также могут иметь свой собственный инвентарь, например сундуки и печи.
Inventory controls:=Управление инвентарём:
Taking: You can take items from an occupied slot if the cursor holds nothing.=Взятие: вы можете брать предметы из занятого отсека, если не держите предмет курсором в этот момент.
• Left click: take entire item stack=• Клик левой: взятие всей стопки предметов
• Right click: take half from the item stack (rounded up)=• Клик правой: взятие половины стопки предметов (округлённо)
• Middle click: take 10 items from the item stack=• Клик средней: взятие 10 предметов из стопки предметов
• Mouse wheel down: take 1 item from the item stack=• Колесо вниз: взятие 1 предмета из стопки предметов
Putting: You can put items onto a slot if the cursor holds 1 or more items and the slot is either empty or contains an item stack of the same item type.=Выкладывание: вы можете помещать предметы в отсек, если ваш курсор удерживает 1 или более предмет, а отсек пуст, либо содержит стопку таких же предметов.
• Left click: put entire item stack=• Клик левой: положить всю стопку предметов
• Right click: put 1 item of the item stack=• Клик правой: положить только 1 предмет из всей удерживаемой курсором стопки
• Right click or mouse wheel up: put 1 item of the item stack=• Клик правой или колёсико вверх: положить 1 предмет из удерживаемой курсором стопки
• Middle click: put 10 items of the item stack=• Клик средней: положить 10 предметов из удерживаемой курсором стопки
Exchanging: You can exchange items if the cursor holds 1 or more items and the destination slot is occupied by a different item type.=Обмен: Вы можете обменять предметы, если курсор удерживает 1 или более предметов, а целевой отсек занят другими предметами.
• Click: exchange item stacks=• Клик: обмен стопок предметов
Throwing away: If you hold an item stack and click with it somewhere outside the menu, the item stack gets thrown away into the environment.=Выбрасывание: если вы, держа на курсоре стопку предметов, кликнете ей за пределами меню, то вся стопка выбрасывается в окружающую среду.
Quick transfer: You can quickly transfer an item stack to/from the player inventory to/from another item's inventory slot like a furnace, chest, or any other item with an inventory slot when that item's inventory is accessed. The target inventory is generally the most relevant inventory in this context.=Быстрая передача: вы можете быстро передавать стопки предметов между вашим личным инвентарём и инвентарём другого предмета (печи, сундука или любого другого, имеющего инвентарный отсек) во время доступа к эту предмету. Обычно это используется для загрузки/выгрузки нужных предметов.
• Sneak+Left click: Automatically transfer item stack=• [Красться]+Клик левой: автоматическая передача стопки предметов
Online help=Онлайн-помощь
You may want to check out these online resources related to MineClone 2.=Возможно, вы захотите ознакомиться с этими онлайн-ресурсами, связанными с MineClone 2.
MineClone 2 download and forum discussion: <https://forum.minetest.net/viewtopic.php?f@=50&t@=16407>=Официальный форум MineClone 2: <https://forum.minetest.net/viewtopic.php?f@=50&t@=16407>
Here you find the most recent version of MineClone 2 and can discuss it.=Здесь вы найдете самую последнюю версию MineClone 2 и сможете обсудить её.
Bug tracker: <https://github.com/Wuzzy2/MineClone2-Bugs>=Баг-трекер: <https://github.com/Wuzzy2/MineClone2-Bugs>
Report bugs here.=С помощью баг-трекера можно сообщить об ошибке, если вы её обнаружите.
Minetest links:=Ссылки Minetest:
You may want to check out these online resources related to Minetest:=Возможно, вы захотите посетить эти онлайн-ресурсы, связанные с Minetest:
Official homepage of Minetest: <https://minetest.net/>=Официальная домашняя страница Minetest: <https://minetest.net/>
The main place to find the most recent version of Minetest, the engine used by MineClone 2.=Это основное место для скачивания свежих версий Minetest (Minetest это «движок», используемый MineClone 2).
The main place to find the most recent version of Minetest.=Это основное место для скачивания свежих версий Minetest.
Community wiki: <https://wiki.minetest.net/>=Wiki сообщества: <https://wiki.minetest.net/>
A community-based documentation website for Minetest. Anyone with an account can edit it! It also features a documentation of Minetest Game.=Веб-сайт документации сообщества. Любой, у кого есть учетная запись, может её редактировать! Там много документации по игре Minetest.
Minetest forums: <https://forums.minetest.net/>=Форумы Minetest: <https://forums.minetest.net/>
A web-based discussion platform where you can discuss everything related to Minetest. This is also a place where player-made mods and games are published and discussed. The discussions are mainly in English, but there is also space for discussion in other languages.=Интернет-форумы, где вы можете обсудить все, что связано с Minetest. Это также место, где публикуются и обсуждаются игры и моды, сделанные игроками. Дискуссии ведутся в основном на английском языке, но есть также место для дискуссий и на других языках.
Chat: <irc://irc.freenode.net#minetest>=Чат: <irc://irc.freenode.net#minetest>
A generic Internet Relay Chat channel for everything related to Minetest where people can meet to discuss in real-time. If you do not understand IRC, see the Community Wiki for help.=Универсальный IRC-чат-канал для всего, связанного с Minetest, где люди могут встретиться для общения в режиме реального времени. Если вы не разбираетесь в IRC, обратитесь за помощью к Wiki.
Groups=Группы
Items, players and objects (animate and inanimate) can be members of any number of groups. Groups serve multiple purposes:=Предметы, игроки и объекты (одушевленные и неодушевленные) могут быть членами любого количества групп. Группы выполняют несколько задач:
• Crafting recipes: Slots in a crafting recipe may not require a specific item, but instead an item which is a member of a particular group, or multiple groups=• Рецепты: один из входных отсеков решётки крафтинга может занять не строго определённый предмет, а один из предметов, принадлежащих одной или нескольким группам
• Digging times: Diggable blocks belong to groups which are used to determine digging times. Mining tools are capable of digging blocks belonging to certain groups=• Время выкапывания: Копаемые блоки принадлежат группам, имеющим определённое время копания. Инструментами майнинга можно добывать блоки, принадлежащие определенным группам
• Block behavior: Blocks may show a special behaviour and interact with other blocks when they belong to a particular group=• Поведение блоков: блоки могут вести себя необычным образом и взаимодействовать с другими блоками, если принадлежат определенной группе
• Damage and armor: Objects and players have armor groups, weapons have damage groups. These groups determine damage. See also: “Basics > Weapons”=• Урон и защита: у объектов и игроков есть группы защиты, а у оружия - группы причиняемого урона. Эти группы позволяют определить урон. Смотри также: “Основы > Оружие”
• Other uses=• И прочее
In the item help, many important groups are usually mentioned and explained.=В справке по предметам обычно содержится информация о многих важных группах, а также объясняется их назначение.
Glossary=Глоссарий
This is a list of commonly used terms:=Это список часто используемых терминов:
Controls:=Управление:
• Wielding: Holding an item in hand=• Wielding (Владеть/Держать/Нести/Удерживать): держать предмет в руке
• Pointing: Looking with the crosshair at something in range=• Pointing (Наведение/Нацеливание/Прицел/Взгляд): смотреть через прицел в виде крестика на что-либо в пределах вашей досягаемости
• Dropping: Throwing an item or item stack to the ground=• Dropping (Выпадание): бросание предмета или стопки предметов на землю
• Punching: Attacking with left-click, is also used on blocks=• Punching (Удар/Стуканье): атака с помощью щелчка левой кнопкой мыши, применяется и к блокам
• Sneaking: Walking slowly while (usually) avoiding to fall over edges=• Sneaking (Красться/Подкрадывание): идти медленно, избегая опасности падения с края блока
• Climbing: Moving up or down a climbable block=• Climbing (Карабкаться/Скалолазание): перемещение вверх или вниз по блоку, позволяющему по нему карабкаться
Blocks:=Блоки:
• Block: Cubes that the worlds are made of=• Блоки: кубики, из которых состоят миры
• Mining/digging: Using a mining tool to break a block=• Майнинг/копание/добывание: использование инструмента майнинга для разрушения блока
• Building/placing: Putting a block somewhere=• Строительство/размещение/установка/укладывание: установка блока где-либо в мире
• Drop: Items you get after mining a block=• Выбрасывание/Выпадание: появление предметов в результате добывания блоков
• Using a block: Right-clicking a block to access its special function=• Использование блока: клик правой по блоку для доступа к его специальной функции
Items:=Предметы:
• Item: A single thing that players can possess=• Предмет: единственная вещь, которой могут обладать игроки
• Item stack: A collection of items of the same kind=• Стопка предметов: набор одинаковых предметов
• Maximum stack size: Maximum amount of items in an item stack=• Максимальный размер стопки: максимальное количество предметов в стопке
• Slot / inventory slot: Can hold one item stack=• Отсек / отсек инвентаря: может вместить одну стопку предметов
• Inventory: Provides several inventory slots for storage=• Инвентарь: содержит несколько отсеков инвентаря для хранения
• Player inventory: The main inventory of a player=• Инвентарь игрока: основной инвентарь игрока, который находится непосредственно при нём
• Tool: An item which you can use to do special things with when wielding=• Инструмент: предмет, держа который в руке, можно совершать какие-либо специальные действия с блоками
• Range: How far away things can be to be pointed by an item=• Диапазон: как далеко могут находиться вещи, на которые нацелен предмет
• Mining tool: A tool which allows to break blocks=• Инструмент майнинга: инструмент, который позволяет разбивать блоки
• Craftitem: An item which is (primarily or only) used for crafting=• Ингредиент: предмет, который преимущественно используется для крафтинга (создания) новых предметов
Gameplay:=Игровой процесс:
• “heart”: A single health symbol, indicates 2 HP=• “сердечко”: часть индикатора здоровья, обозначает 2 HP
• “bubble”: A single breath symbol, indicates 1 BP=• “пузырёк“: часть индикатора дыхания, обозначает 1 BP
• HP: Hit point (equals half 1 “heart”)=• HP: Hit point (половинка сердечка, переводится как “единица удара”)
• BP: Breath point, indicates breath when diving=• BP: Breath point (целый пузырёк, переводится как “единица дыхания”) отображает состояние дыхания при погружении
• Mob: Computer-controlled enemy=• Моб: управляемый компьютером враг
• Crafting: Combining multiple items to create new ones=• Крафтинг: комбинирование нескольких предметов для создания новых
• Crafting guide: A helper which shows available crafting recipes=• Книга рецептов: помощник, который показывает доступные рецепты
• Spawning: Appearing in the world=• Спаунинг: появление в мире
• Respawning: Appearing again in the world after death=• Возрождение (респаунинг): появление снова в мире после смерти
• Group: Puts similar things together, often affects gameplay=• Группа: объединяет похожие вещи, часто влияет на игровой процесс
• noclip: Allows to fly through walls=• noclip (ноуклип): позволяет летать сквозь стены
Interface=Интерфейс
• Hotbar: Inventory slots at the bottom=• Панель быстрого доступа: отсеки для инвентаря внизу
• Statbar: Indicator made out of half-symbols, used for health and breath=• Панель состояния: индикатор, сделанный из полусимволов, используемый для здоровья и дыхания
• Minimap: The map or radar at the top right=• Миникарта: карта или радар в правом верхнем углу
• Crosshair: Seen in the middle, used to point at things=• Перекрестие: видно посередине, используется для нацеливания на предметы
Online multiplayer:=Сетевая многопользовательская игра:
• PvP: Player vs Player. If active, players can deal damage to each other=• PvP: игрок против игрока. Если включено, игроки могут наносить урон друг другу
• Griefing: Destroying the buildings of other players against their will=• Грифинг: разрушение зданий других игроков против их воли
• Protection: Mechanism to own areas of the world, which only allows the owners to modify blocks inside=• Защита: механизм присваивания себе некоторых областей мира, позволяющий владельцам запретить изменять блоки внутри этих областей всем, кроме себя, либо ограниченного списка друзей
Technical terms:=Технические условия:
• Minetest: This game engine=• Minetest: движок этой игры
• MineClone 2: What you play right now=• MineClone 2: то, во что вы играете прямо сейчас
• Minetest Game: A game for Minetest by the Minetest developers=• Minetest Game: игра для Minetest от разработчиков Minetest
• Game: A complete playing experience to be used in Minetest; such as a game or sandbox or similar=• Игра: весь игровой процесс, принятый в Minetest; например, обычная игра, или песочница, или подобное
• Mod: A single subsystem which adds or modifies functionality; is the basic building block of games and can be used to further enhance or modify them=• Мод: отдельная подсистема, которая добавляет или изменяет функциональность; является основным способом конструирования игр и может быть использована для дальнейшего улучшения или изменения их
• Privilege: Allows a player to do something=• Привилегия: позволяет игроку что-то делать
• Node: Other word for “block”=• Узел: другое слово для обозначения “блока”
Settings=Настройки
There is a large variety of settings to configure Minetest. Pretty much every aspect can be changed that way.=Существует много разнообразных настроек Minetest. Почти каждый аспект игры может быть изменён.
These are a few of the most important gameplay settings:=Вот некоторые наиболее важные настройки:
• Damage enabled (enable_damage): Enables the health and breath attributes for all players. If disabled, players are immortal=• Урон (enable_damage): включает здоровье и дыхание для всех игроков. Если он выключен, то все игроки бессмертны
• Creative Mode (creative_mode): Enables sandbox-style gameplay focusing on creativity rather than a challenging gameplay. The meaning depends on the game; usual changes are: Reduced dig times, easy access to almost all items, tools never wear off, etc.=• Творческий режим (creative_mode): позволяет играть в стиле песочницы, сосредоточившись на творчестве, а не на сложном игровом процессе. Смысл зависит от конкретной игры. Основные черты: ускоренное время копания, мгновенный доступ почти ко всем предметам, отсутствует износ инструментов и пр.
• PvP (enable_pvp): Short for “Player vs Player”. If enabled, players can deal damage to each other=• PvP (enable_pvp): “Игрок против игрока”. Если этот режим включён, игроки могут наносить урон друг другу
For a full list of all available settings, use the “All Settings” dialog in the main menu.=Для получения полного списка настроек вы можете перейти в ”Настройки - Все настройки“ в главном меню Minetest.
Movement modes=Режимы передвижения
You can enable some special movement modes that change how you move.=Вы можете включать специальные режимы вашего перемещения.
Pitch movement mode:=Движение под уклоном
• Description: If this mode is activated, the movement keys will move you relative to your current view pitch (vertical look angle) when you're in a liquid or in fly mode.=• Описание: при активации этого режима клавиши будут перемещать вас в соответствии с вашим текущим углом обзора, если вы находитесь в жидкости или в режиме полёта.
• Default key: [L]=• Клавиша по умолчанию: [L]
• No privilege required=• Никаких привилегий не требуется
Fast mode:=Быстрый режим
• Description: Allows you to move much faster. Hold down the the “Use” key [E] to move faster. In the client configuration, you can further customize fast mode.=• Описание: позволяет двигаться гораздо быстрее. Удерживайте нажатой клавишу “Use “[E], чтобы двигаться быстрее. В конфигурации клиента вы можете дополнительно настроить быстрый режим.
• Default key: [J]=• Клавиша по умолчанию: [J]
• Required privilege: fast=• Требуемые привилегии: fast
Fly mode:=Режим полёта:
• Description: Gravity doesn't affect you and you can move freely in all directions. Use the jump key to rise and the sneak key to sink.=• Описание: гравитация не влияет на вас, и вы можете свободно перемещаться во всех направлениях. клавишу прыжка, чтобы подниматься, и клавишу [Красться], чтобы опускаться.
• Default key: [K]=• Клавиша по умолчанию: [K]
• Required privilege: fly=• Требуемые привилегии: fly
Noclip mode:=Режим прохождения сквозь стены (Noclip):
• Description: Allows you to move through walls. Only works when fly mode is enabled, too.=• Описание: позволяет перемещаться сквозь стены. Работает только тогда, когда включен режим полета.
• Default key: [H]=• Клавиша по умолчанию: [H]
• Required privilege: noclip=• Требуемые привилегии: noclip
Console=Консоль
With [F10] you can open and close the console. The main use of the console is to show the chat log and enter chat messages or server commands.=С помощью [F10] вы можете открывать и закрывать консоль. Основное назначение консоли - показывать журнал чата и вводить сообщения чата или команды сервера.
Using the chat or server command key also opens the console, but it is smaller and will be closed after you sent a message.=Использование чата или клавиши для отправки команд также открывает консоль, но меньшего размера, и будет закрываться сразу после отправки сообщения.
Use the chat to communicate with other players. This requires you to have the “shout” privilege.=Используйте чат для общения с другими игроками. Для этого требуется привилегия ”shout“.
Just type in the message and hit [Enter]. Public chat messages can not begin with “/”.=Просто введите сообщение и нажмите [Enter]. Сообщения чата не могут начинаться с “/“.
You can send private messages: Say “/msg <player> <message>” in chat to send “<message>” which can only be seen by <player>.=Вы можете отправлять приватные сообщения: скажите “/msg <игрок> <сообщение>” в чате, чтобы отправить “<сообщение>”, который сможет увидеть только <игрок>.
There are some special controls for the console:=Клавиши специального управления консолью:
• [F10] Open/close console=• [F10] открыть/закрыть консоль
• [Enter]: Send message or command=• [Enter]: Отправить сообщение или команду
• [Tab]: Try to auto-complete a partially-entered player name=• [Tab]: попытаться автоматически дополнить частично введённое имя игрока
• [Ctrl]+[Left]: Move cursor to the beginning of the previous word=• [Ctrl]+[Left]: переместить курсор в начало предыдущего слова
• [Ctrl]+[Right]: Move cursor to the beginning of the next word=• [Ctrl]+[Right]: переместить курсор в начало следующего слова
• [Ctrl]+[Backspace]: Delete previous word=• [Ctrl]+[Backspace]: удалить предыдущее слово
• [Ctrl]+[Delete]: Delete next word=• [Ctrl]+[Delete]: удалить следующее слово
• [Ctrl]+[U]: Delete all text before the cursor=• [Ctrl]+[U]: удалить весь текст перед курсором
• [Ctrl]+[K]: Delete all text after the cursor=• [Ctrl]+[K]: удалить весь текст после курсора
• [Page up]: Scroll up=• [Page up]: прокрутка вверх
• [Page down]: Scroll down=• [Page down]: прокрутка вниз
There is also an input history. Minetest saves your previous console inputs which you can quickly access later:=Существует также история ввода данных. Minetest сохраняет весь ваш консольный ввод, и к нему можно быстро получить доступ в дальнейшем:
• [Up]: Go to previous entry in history=• [Вверх]: перейти к предыдущей записи истории ввода
• [Down]: Go to next entry in history=• [Вниз]: переход к следующей записи истории ввода
Server commands=Серверные команды
Server commands (also called “chat commands”) are little helpers for advanced users. You don't need to use these commands when playing. But they might come in handy to perform some more technical tasks. Server commands work both in multi-player and single-player mode.=Серверные команды (также известные как “чат-команды”) - это маленькое подспорье для продвинутых пользователей. Нет необходимости использовать их для игры. Но они могут пригодиться для выполнения технических задач. Серверные команды работают как в многопользовательском, так и в однопользовательском режиме.
Server commands can be entered by players using the chat to perform a special server action. There are a few commands which can be issued by everyone, but some commands only work if you have certain privileges granted on the server. There is a small set of basic commands which are always available, other commands can be added by mods.=Серверные команды могут выполнять игроки при помощи чата для выполнения специального действия сервера. Есть несколько команд, которые могут быть выданы всеми, но некоторые команды работают только в том случае, если у вас есть определенные привилегии, предоставленные на сервере. Существует небольшой набор базовых команд, которые доступны всегда, дополнительные команды могут добавляться модами.
To issue a command, simply type it like a chat message or press Minetest's command key (default: [/]). All commands have to begin with “/”, for example “/mods”. The Minetest command key does the same as the chat key, except that the slash is already entered.=Чтобы запустить команду, просто введите ее, как вводите сообщения в чате, или нажмите командную клавишу Minetest (по умолчанию: [/]). Все команды должны начинаться с символа “/”, например “/mods”. Клавиша команды Minetest делает то же самое, что и клавиша чата, за исключением того, что символ слэш (косая черта, наклонённая вправо) уже введён.
Commands may or may not give a response in the chat log, but errors will generally be shown in the chat. Try it for yourselves: Close this window and type in the “/mods” command. This will give you the list of available mods on this server.=Команды могут возвращать или не возвращать ответ в журнале чата, но ошибки, как правило, отображаются. Попробуйте сами: закройте это окно и введите команду “/mods”. Она покажет вам список модов, доступных на этом сервере.
“/help all” is a very important command: You get a list of all available commands on the server, a short explanation and the allowed parameters. This command is also important because the available commands often differ per server.=“/help all“ - это очень важная команда: вы получаете список всех доступных серверных команд, их краткое объяснение и разрешённые параметры. Эта команда также важна, потому что доступные команды часто отличаются на каждом сервере.
Commands are followed by zero or more parameters.=За командами прописывается ноль или более параметров.
In the command reference, you see some placeholders which you need to replace with an actual value. Here's an explanation:=В справочнике команд отображаются [<(шаблоны)>|], которые нужно заменять реальными значениями. Вот пояснение:
• Text in greater-than and lower-than signs (e.g. “<param>”): Placeholder for a parameter=• Текст в знаках больше и меньше (например, “<игрок>”): шаблон параметра
• Anything in square brackets (e.g. “[text]”) is optional and can be omitted=• Всё, что заключено в квадратные скобки (например, “[текст]”), является необязательным и может быть пропущено
• Pipe or slash (e.g. “text1 | text2 | text3”): Alternation. One of multiple texts must be used (e.g. “text2”)=• Вертикальная черта либо слэш (например, “текст1 | текст2 | текст3”): возможность выбора. Необходимо использовать какой-то один вариант (например, “text2”)
• Parenthesis: (e.g. “(word1 word2) | word3”): Groups multiple words together, used for alternations=• Скобки (например, “(слово1 слово2) | слово3”): группируют несколько слов вместе, используется для обозначения возможности выбора
• Everything else is to be read as literal text=• Все остальное читается буквально как текст команды
Here are some examples to illustrate the command syntax:=Вот несколько примеров, иллюстрирующих синтаксис команды:
• /mods: No parameters. Just enter “/mods”=• /mods: Нет параметров. Просто введите “/mods”
• /me <action>: 1 parameter. You have to enter “/me ” followed by any text, e.g. “/me orders pizza”=• /me <действие>: 1 параметр. Вы должны ввести “/me“, а затем любой текст, например “/me orders pizza”
• /give <name> <ItemString>: Two parameters. Example: “/give Player default:apple”=• /give <имя> <Айтемстринг>: два параметра. Пример: “/give Player mcl_core:apple”
• /help [all|privs|<cmd>]: Valid inputs are “/help”, “/help all”, “/help privs”, or “/help ” followed by a command name, like “/help time”=• /help [all|privs|<команда>]: допустимыми командами будут являться: “/help”, “/help all”, “/help privs” или “/help ” и имя команды, например: “/help time”
• /spawnentity <EntityName> [<X>,<Y>,<Z>]: Valid inputs include “/spawnentity boats:boat” and “/spawnentity boats:boat 0,0,0”=• /spawnentity <ИмяСущности> [<Х>,<У>,<Z>]: допустимыми командами будут являться: “/spawnentity mcl_boats:boat” и “/spawnentity mcl_boats:boat 0,0,0”
Some final remarks:=Некоторые заключительные замечания:
• For /give and /giveme, you need an itemstring. This is an internally used unique item identifier which you may find in the item help if you have the “give” or “debug” privilege=• Для /give и /giveme вам понадобится значение «Айтемстринг» (ItemString). Это уникальный идентификатор предмета для внутреннего использования, его можно найти в справке по предмету, если у вас есть привилегия “give” (давать) или “debug” (отлаживать)
• For /spawnentity you need an entity name, which is another identifier=• Для /spawnentity вам нужно имя сущности, которое является другим идентификатором
Privileges=Привилегии
Each player has a set of privileges, which differs from server to server. Your privileges determine what you can and can't do. Privileges can be granted and revoked from other players by any player who has the privilege called “privs”.=Каждый игрок имеет набор привилегий, который отличается от сервера к серверу. Ваши привилегии определяют, что вы можете и чего не можете делать. Привилегии могут быть предоставлены и отозваны у других игроков любым игроком, имеющим привилегию под названием “privs”.
On a multiplayer server with the default configuration, new players start with the privileges called “interact” and “shout”. The “interact” privilege is required for the most basic gameplay actions such as building, mining, using, etc. The “shout” privilege allows to chat.=На многопользовательском сервере с конфигурацией по умолчанию новые игроки начинают с привилегиями “interact” (взаимодействовать) и “shout” (кричать). Привилегия “interact” необходима для основных действий игрового процесса, таких как строительство, добыча , использование и т. д. Привилегия “shout” позволяет общаться в чате.
There is a small set of core privileges which you'll find on every server, other privileges might be added by mods.=Есть небольшой набор базовых привилегий, которые вы есть на каждом сервере, другие привилегии могут быть добавлены модами.
To view your own privileges, issue the server command “/privs”.=Чтобы просмотреть свои собственные привилегии, выполните команду сервера “/privs”.
Here are a few basic privilege-related commands:=Вот несколько основных команд, связанных с привилегиями:
• /privs: Lists your privileges=• /privs: список ваших привилегий
• /privs <player>: Lists the privileges of <player>=• /privs <игрок>: список привилегий игрока с именем <игрок>
• /help privs: Shows a list and description about all privileges=• /help privs: показывает список и описание всех привилегий
Players with the “privs” privilege can modify privileges at will:=Игроки с привилегией “privs” могут предоставлять игрокам привилегии, а также лишать их, по своему усмотрению:
• /grant <player> <privilege>: Grant <privilege> to <player>=• /grant <игрок> <привилегия>: предоставить <привилегию> <игроку>
• /revoke <player> <privilege>: Revoke <privilege> from <player>=• /revoke <игрок> <привилегия>: отменить <привилегию> для <игрока>
In single-player mode, you can use “/grantme all” to unlock all abilities.=В однопользовательском режиме вы можете использовать “/grantme all“, чтобы сразу разблокировать себе все возможности.
Light=Свет
As the world is entirely block-based, so is the light in the world. Each block has its own brightness. The brightness of a block is expressed in a “light level” which ranges from 0 (total darkness) to 15 (as bright as the sun).=Весть мир полностью основан на блоках, и точно так же устроен свет. Каждый блок имеет свою собственную яркость. Яркость блока выражается в “уровне свечения“, который колеблется от 0 (полная темнота) до 15 (такой же яркий, как солнце).
There are two types of light: Sunlight and artificial light.=Существует два вида света: солнечный и искусственный.
Artificial light is emitted by luminous blocks. Artificial light has a light level from 1-14.=Искусственный свет излучается светящимися блоками. Искусственный свет имеет уровень яркости от 1 до 14.
Sunlight is the brightest light and always goes perfectly straight down from the sky at each time of the day. At night, the sunlight will become moonlight instead, which still provides a small amount of light. The light level of sunlight is 15.=Солнечный свет самый яркий и всегда идет совершенно прямо с неба в любое время дня. Ночью свет превращается в лунный, и он тоже даёт небольшое количество света. Уровень яркости солнечного света равен 15.
Blocks have 3 levels of transparency:=Блоки имеют 3 уровня прозрачности:
• Transparent: Sunlight goes through limitless, artificial light goes through with losses=• Прозрачный: солнечный свет проходит насквозь без ограничений, искусственный свет проходит с потерями
• Semi-transparent: Sunlight and artificial light go through with losses=• Полупрозрачный: солнечный свет и искусственный свет проходят с потерями
• Opaque: No light passes through=• Непрозрачный: свет не проходит насквозь
Artificial light will lose one level of brightness for each transparent or semi-transparent block it passes through, until only darkness remains (image 1).=Искусственный свет будет терять один уровень яркости для каждого прозрачного или полупрозрачного блока, через который он проходит, пока не останется лишь темнота (рис.1).
Sunlight will preserve its brightness as long it only passes fully transparent blocks. When it passes through a semi-transparent block, it turns to artificial light. Image 2 shows the difference.=Солнечный свет будет сохранять свою яркость лишь до тех пор, пока он проходит через прозрачные блоки. Когда он пройдёт через полупрозрачный блок, то превратится в искусственный свет. На рисунке 2 показаны отличия.
Note that “transparency” here only means that the block is able to carry brightness from its neighboring blocks. It is possible for a block to be transparent to light but you can't see trough the other side.=Обратите внимание, что “прозрачность” здесь означает только то, что блок способен передавать яркость света соседних блоков. Может случиться и так, что блок прозрачен для света, но вы при этом не можете смотреть сквозь него.
Coordinates=Координаты
The world is a large cube. And because of this, a position in the world can be easily expressed with Cartesian coordinates. That is, for each position in the world, there are 3 values X, Y and Z.=Мир это большой куб. Благодаря этому, положение в мире может быть легко выражено с помощью декартовой системы координат. Для каждой позиции в мире существует 3 значения: X, Y и Z.
Like this: (5, 45, -12)=Например, такие: (5, 45, -12).
This refers to the position where X@=5, Y@=45 and Z@=-12. The 3 letters are called “axes”: Y is for the height. X and Z are for the horizontal position.=Это отсылка на место, имеющее координаты X@=5, Y@=45 и Z@=-12. Буквы обозначают оси координат: Y - высота, X и Z - горизонтальное расположение.
The values for X, Y and Z work like this:=Значения X, Y и Z изменяются следующим образом:
• If you go up, Y increases=• Если вы идете вверх, Y увеличивается
• If you go down, Y decreases=• Если вы идете вниз, Y уменьшается
• If you follow the sun, X increases=• Если вы следуете за солнцем, X увеличивается
• If you go to the reverse direction, X decreases=• Если вы идете в обратном направлении, X уменьшается
• Follow the sun, then go right: Z increases=• Следуете за солнцем, затем идите направо: Z увеличивается
• Follow the sun, then go left: Z decreases=• Следуете за солнцем, затем идите налево: Z уменьшается
• The side length of a full cube is 1=• Длина стороны полного куба равна 1
You can view your current position in the debug screen (open with [F5]).=Вы можете узнать вашу текущую позицию с помощью отладочного экрана (включается/выключается нажатием клавиши [F5]).
# Расширения MCL2
Creative Mode=Творческий режим
Enabling Creative Mode in MineClone 2 applies the following changes:=При включении творческого режима в MineClone 2 применяются следующие изменения:
• You keep the things you've placed=• У вас сохраняются вещи, которые вы размещаете в мире
• Creative inventory is available to obtain most items easily=• Вам доступен творческий инвентарь для легкого получения большинства предметов
• Hand breaks all default blocks instantly=• Рука мгновенно разбивает все стандартные блоки
• Greatly increased hand pointing range=• Значительно увеличенный диапазон нацеливания руки
• Mined blocks don't drop items=• Добываемые блоки не превращаются в предметы
• Items don't get used up=• Предметы не расходуются
• Tools don't wear off=• Инструменты не изнашиваются
• You can eat food whenever you want=• Вы можете есть пищу когда захотите
• You can always use the minimap (including radar mode)=• Вы всегда можете использовать миникарту (включая режим радара)
Damage is not affected by Creative Mode, it needs to be disabled separately.=На урон творческий режим не влияет, его нужно отключать отдельно.
Mobs=Мобы
Mobs are the living beings in the world. This includes animals and monsters.=Мобы - это живые существа в мире. Они включают в себя животных и монстров.
Mobs appear randomly throughout the world. This is called “spawning”. Each mob kind appears on particular block types at a given light level. The height also plays a role. Peaceful mobs tend to spawn at daylight while hostile ones prefer darkness. Most mobs can spawn on any solid block but some mobs only spawn on particular blocks (like grass blocks).=Мобы появляются случайным образом по всему миру. Это называется “спаунинг” (“spawning” появление, рождение, нерест). Каждый вид мобов появляется на определенных типах блоков при заданном уровне освещенности. Высота тоже играет свою роль. Мирные мобы, как правило, появляются при дневном свете, в то время как враждебные предпочитают темноту. Большинство мобов могут появляться на любом твердом блоке, но некоторые мобы появляются только на определённых блоках (например, травяных).
Like players, mobs have hit points and sometimes armor points, too (which means you need better weapons to deal any damage at all). Also like players, hostile mobs can attack directly or at a distance. Mobs may drop random items after they die.=Как и игроки, мобы имеют очки здоровья, а иногда и очки защиты (что означает, что вам понадобится оружие получше, чтобы нанести им хоть какой-то урон). Так же, как и игроки, враждебные мобы могут атаковать вплотную или с расстояния. Мобы могут выбрасывать случайные предметы, когда умирают.
Most animals roam the world aimlessly while most hostile mobs hunt players. Animals can be fed, tamed and bred.=Большинство животных бесцельно бродят по миру, в то время как большинство враждебных мобов охотятся на игроков. Животных можно кормить, приручать и разводить.
Animals=Животные
Animals are peaceful beings which roam the world aimlessly. You can feed, tame and breed them.=Животные это мирные существа, которые бесцельно бродят по миру. Вы можете кормить, приручать и разводить их.
Feeding:=Кормление:
Each animal has its own taste for food and doesn't just accept any food. To feed, hold an item in your hand and rightclick the animal.=У каждого животного свои вкусовые предпочтения, они не будут есть произвольную еду. Чтобы покормить животное, возьмите съедобный предмет в руку и кликните правой клавишей мыши по животному.
Animals are attraced to the food they like and follow you as long you hold the food item in hand.=Животных привлекает еда, которая им нравится, и они следуют за вами, пока вы держите в руках их предмет питания.
Feeding an animal has three uses: Taming, healing and breeding.=Кормление животного имеет три цели: приручение, лечение и разведение.
Feeding heals animals instantly, depending on the quality of the food item.=Кормление исцеляет животных мгновенно, в зависимости от качества продукта питания.
Taming:=Приручение:
A few animals can be tamed. You can generally do more things with tamed animals and use other items on them. For example, tame horses can be saddled and tame wolves fight on your side.=Нескольких животных можно приручать. Как правило, с прирученными животными вы можете делать больше вещей, а также использовать на них другие предметы. Например, прирученных лошадей можно оседлать, а прирученные волки сражаются на вашей стороне.
Breeding:=Разведение:
When you have fed an animal up to its maximum health, then feed it again, you will activate “Love Mode” and many hearts appear around the animal.=Когда вы кормите животное до его максимального здоровья, а затем кормите его снова, вы активируете “режим любви”, и вокруг животного появляется много сердец.
Two animals of the same species will start to breed if they are in Love Mode and close to each other. Soon a baby animal will pop up.=Два животных одного вида начнут размножаться, если они находятся в режиме любви и близко друг к другу. Скоро появится малыш животного.
Baby animals:=Малыш животного
Baby animals are just like their adult couterparts, but they can't be tamed or bred and don't drop anything when they die. They grow to adults after a short time. When fed, they grow to adults faster.=Малыши животных точно такие же, как и взрослые, но их нельзя приручить или разводить, и они ничего не дают вам, когда умирают. Они вырастают до взрослых через короткое время. Если кормить их, то они вырастут быстрее.
Hunger=Голод
Hunger affects your health and your ability to sprint. Hunger is not in effect when damage is disabled.=Голод влияет на ваше здоровье и способность бегать. Голод не действует, если урон отключён.
Core hunger rules:=Основные правила голода:
• You start with 20/20 hunger points (more points @= less hungry)=• Вы начинаете играть с 20/20 очками голода (больше очков @= меньше голода)
• Actions like combat, jumping, sprinting, etc. decrease hunger points=• Такие действия, такие как бой, прыжки, бег и тому подобные, уменьшают очки голода
• Food restores hunger points=• Еда восстанавливает очки голода
• If your hunger bar decreases, you're hungry=• Если ваша индикатор голода уменьшается, вы голодны
• At 18-20 hunger points, you regenerate 1 HP every 4 seconds=• При 18-20 очках голода ваше здоровье восстанавливается со скоростью 1 HP каждые 4 секунды
• At 6 hunger points or less, you can't sprint=• При 6 очках голода и менее меньше вы не можете бежать
• At 0 hunger points, you lose 1 HP every 4 seconds (down to 1 HP)=• При 0 очках голода вы теряете 1 HP 4 секунды (до уровня 1 HP)
• Poisonous food decreases your health=• Ядовитая пища ухудшает ваше здоровье.
Details:=Подробности:
You have 0-20 hunger points, indicated by 20 drumstick half-icons above the hotbar. You also have an invisible attribute: Saturation.=У вас есть 0-20 очков голода, обозначенных 20 куриными ножками над панелью быстрого доступа. У вас также есть невидимый атрибут: сытость.
Hunger points reflect how full you are while saturation points reflect how long it takes until you're hungry again.=Очки голода отражают, насколько вы сыты, а невидимые очки сытости через какое время вы снова проголодаетесь.
Each food item increases both your hunger level as well your saturation.=Каждый продукт питания увеличивает как очки голода, так и невидимые очки сытости.
Food with a high saturation boost has the advantage that it will take longer until you get hungry again.=Таким образом, еда с высоком насыщаемостью имеет преимущество, которое заключается в том, что пройдёт больше времени, прежде чем вы снова проголодаетесь.
A few food items might induce food poisoning by chance. When you're poisoned, the health and hunger symbols turn sickly green. Food poisoning drains your health by 1 HP per second, down to 1 HP. Food poisoning also drains your saturation. Food poisoning goes away after a while or when you drink milk.=Некоторые продукты питания иногда могут вызвать отравление. Когда вы отравлены, символы здоровья и голода становятся болезненно зелёными. Пищевое отравление истощает здоровье на 1 HP в секунду, до уровня 1 HP. Пищевое отравление также уменьшает невидимые очки сытости. Отравление проходит через некоторое время либо при выпивании молока.
You start with 5 saturation points. The maximum saturation is equal to your current hunger level. So with 20 hunger points your maximum saturation is 20. What this means is that food items which restore many saturation points are more effective the more hunger points you have. This is because at low hunger levels, a lot of the saturation boost will be lost due to the low saturation cap.=Вы начинаете с 5 очками сытости. Максимальная сытость равна вашему текущему уровню голода. Таким образом, с 20 очками голода ваша максимальная сытость 20. Это означает, что продукты питания, которые восстанавливают много очков сытости, тем эффективнее, чем больше у вас очков голода. При низком уровне голода большая часть сытости будет потеряна.
If your saturation reaches 0, you're hungry and start to lose hunger points. Whenever you see the hunger bar decrease, it is a good time to eat.=Если ваши невидимые очки сытости достигают 0, вы начинаете испытывать голод постепенно терять очки голода. Если вы видите, что индикатор голода уменьшается, значит, настало время поесть.
Saturation decreases by doing things which exhaust you (highest exhaustion first):=Сытость уменьшается, если вы делаете вещи, которые истощают вас (от высокого к низкому истощению):
• Regenerating 1 HP=• Восстановление 1 HP (единицы здоровья/удара)
• Suffering food poisoning=• Страдание пищевым отравлением
• Sprint-jumping=• Прыжки во время бега
• Sprinting=• Бег
• Attacking=• Атака
• Taking damage=• Получение урона
• Swimming=• Плавание
• Jumping=• Прыжки
• Mining a block=• Добывание блоков
Other actions, like walking, do not exaust you.=Другие действия, такие как ходьба, не истощают вас.
If you have a map item in any of your hotbar slots, you can use the minimap.=Если у вас есть карта в любом отсеке на панели быстрого доступа, вы можете использовать миникарту.

View File

@ -1,103 +1,2 @@
local S = minetest.get_translator("mcl_tt")
-- Armor
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
local head = minetest.get_item_group(itemstring, "armor_head")
local torso = minetest.get_item_group(itemstring, "armor_torso")
local legs = minetest.get_item_group(itemstring, "armor_legs")
local feet = minetest.get_item_group(itemstring, "armor_feet")
if head > 0 then
s = s .. S("Head armor")
end
if torso > 0 then
s = s .. S("Torso armor")
end
if legs > 0 then
s = s .. S("Legs armor")
end
if feet > 0 then
s = s .. S("Feet armor")
end
if s == "" then
s = nil
end
return s
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
local use = minetest.get_item_group(itemstring, "mcl_armor_uses")
local pts = minetest.get_item_group(itemstring, "mcl_armor_points")
if pts > 0 then
s = s .. S("Armor points: @1", pts)
s = s .. "\n"
end
if use > 0 then
s = s .. S("Armor durability: @1", use)
end
if s == "" then
s = nil
end
return s
end)
-- Horse armor
tt.register_snippet(function(itemstring)
local armor_g = minetest.get_item_group(itemstring, "horse_armor")
if armor_g and armor_g > 0 then
return S("Protection: @1%", 100 - armor_g)
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
if def.groups.eatable and def.groups.eatable > 0 then
s = s .. S("Hunger points: +@1", def.groups.eatable)
end
if def._mcl_saturation and def._mcl_saturation > 0 then
if s ~= "" then
s = s .. "\n"
end
s = s .. S("Saturation points: +@1", string.format("%.1f", def._mcl_saturation))
end
if s == "" then
s = nil
end
return s
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if minetest.get_item_group(itemstring, "crush_after_fall") == 1 then
return S("Deals damage when falling"), "#FFFF00"
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if def.groups.place_flowerlike == 1 then
return S("Grows on grass blocks or dirt")
elseif def.groups.place_flowerlike == 2 then
return S("Grows on grass blocks, podzol, dirt or coarse dirt")
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if def.groups.flammable then
return S("Flammable")
end
end)
tt.register_snippet(function(itemstring)
if itemstring == "mcl_heads:zombie" then
return S("Zombie view range: -50%")
elseif itemstring == "mcl_heads:skeleton" then
return S("Skeleton view range: -50%")
elseif itemstring == "mcl_heads:creeper" then
return S("Creeper view range: -50%")
end
end)
dofile(minetest.get_modpath("mcl_tt").."/snippets_base.lua")
dofile(minetest.get_modpath("mcl_tt").."/snippets_mcl.lua")

View File

@ -15,3 +15,33 @@ Flammable=Entzündlich
Zombie view range: -50%=Zombiesichtweite: -50%
Skeleton view range: -50%=Skelettsichtweite: -50%
Creeper view range: -50%=Creepersichtweite: -50%
Damage: @1=Schaden: @1
Damage (@1): @2=Schaden (@1): @2
Healing: @1=Heilung: @1
Healing (@1): @2=Heilung (@1): @2
Full punch interval: @1s=Zeit zum Ausholen: @1s
Contact damage: @1 per second=Kontaktschaden: @1 pro Sekunde
Contact healing: @1 per second=Kontaktheilung: @1 pro Sekunde
Drowning damage: @1=Ertrinkensschaden: @1
Bouncy (@1%)=Sprunghaft (@1%)
Luminance: @1=Lichtstärke: @1
Slippery=Rutschig
Climbable=Erkletterbar
Climbable (only downwards)=Erkletterbar (nur nach unten)
No jumping=Kein Springen
No swimming upwards=Kein nach oben schwimmen
No rising=Kein Aufsteigen
Fall damage: @1%=Fallschaden: @1%
Fall damage: +@1%=Fallschaden: +@1%
No fall damage=Kein Fallschaden
Mining speed: @1=Grabegeschwindigkeit: @1
Very fast=Sehr schnell
Extremely fast=Extrem schnell
Fast=Schnell
Slow=Langsam
Very slow=Sehr langsam
Painfully slow=Furchtbar langsam
Mining durability: @1=Grabehaltbarkeit: @1
Block breaking strength: @1=Blockbruchstärke: @1
@1 uses=@1 Verwendungen
Unlimited uses=Unbegrenzte Verwendungen

View File

@ -15,3 +15,33 @@ Flammable=Inflammable
Zombie view range: -50%=Distance de vue de Zombie: -50%
Skeleton view range: -50%=Distance de vue de Squelette: -50%
Creeper view range: -50%=Distance de vue de Creeper: -50%
Damage: @1=Dégâts: @1
Damage (@1): @2=Dégâts (@1): @2
Healing: @1=Guérison: @1
Healing (@1): @2=Guérison (@1): @2
Full punch interval: @1s=Intervalle de coup: @1s
Contact damage: @1 per second=Dégâts de contact: @1 par seconde
Contact healing: @1 per second=Guérison de contact: @1 par seconde
Drowning damage: @1=Dégâts de noyade: @1
Bouncy (@1%)=Rebondissant (@1%)
Luminance: @1=Luminance: @1
Slippery=Glissant
Climbable=Grimpable
Climbable (only downwards)=Grimpable (uniquement vers le bas)
No jumping=Ne pas sauter
No swimming upwards=Ne pas nager vers le haut
No rising=Pas de montée
Fall damage: @1%=Dégâts de chute: @1%
Fall damage: +@1%=Dégâts de chute: +@1%
No fall damage=Pas de dégâts de chute
Mining speed: @1=Vitesse de minage: @1
Very fast=Très rapide
Extremely fast=Extremement rapide
Fast=Rapide
Slow=Lent
Very slow=Très lent
Painfully slow=Péniblement lent
Mining durability: @1=Durabilité de minage: @1
Block breaking strength: @1=Résistance à la rupture: @1
@1 uses=@1 utilisations
Unlimited uses=Utilisations illimitées

View File

@ -0,0 +1,47 @@
# textdomain: mcl_tt
Head armor=Зашита головы
Torso armor=Защита тела
Legs armor=Защита ног
Feet armor=Защита ступней
Armor points: @1=Эффективность защиты: @1
Armor durability: @1=Долговечность защиты: @1
Protection: @1%=Уровень защиты: @1%
Hunger points: +@1=Очки голода: +@1
Saturation points: +@1=Очки сытости: +@1
Deals damage when falling=Наносит урон при падении
Grows on grass blocks or dirt=Растёт на блоках травы или грязи
Grows on grass blocks, podzol, dirt or coarse dirt=Растёт на блоках травы, подзола, грязи и твёрдой грязи
Flammable=Легковоспламенимо
Zombie view range: -50%=Дальность зрения зомби: -50%
Skeleton view range: -50%=Дальность зрения скелета: -50%
Creeper view range: -50%=Дальность зрения крипера: -50%
Damage: @1=Урон: @1
Damage (@1): @2=Урон (@1): @2
Healing: @1=Исцеление: @1
Healing (@1): @2=Исцеление (@1): @2
Full punch interval: @1s=Интервал полного удара: @1 с
Contact damage: @1 per second=Урон при контакте: @1 в секунду
Contact healing: @1 per second=Исцеление при контакте: @1 в секунду
Drowning damage: @1=Урон при падении: @1
Bouncy (@1%)=Упругость (@1%)
Luminance: @1=Свечение: @1
Slippery=Скользкость
Climbable=Можно карабкаться
Climbable (only downwards)=Можно спускаться
No jumping=Нельзя прыгать
No swimming upwards=Нельзя плыть вверх
No rising=Нельзя подниматься
Fall damage: @1%=Урон при падении: @1%
Fall damage: +@1%=Урон при падении: +@1%
No fall damage=Нет урона при падении
Mining speed: @1=Скорость добычи: @1
Very fast=очень высокая
Extremely fast=ужасно высокая
Fast=высокая
Slow=низкая
Very slow=очень низкая
Painfully slow=мучительно низкая
Mining durability: @1=Долговечность добычи: @1
Block breaking strength: @1=Сила разбиения блоков: @1
@1 uses=@1 раз(а)
Unlimited uses=не ограничено

View File

@ -15,3 +15,33 @@ Flammable=
Zombie view range: -50%=
Skeleton view range: -50%=
Creeper view range: -50%=
Damage: @1=
Damage (@1): @2=
Healing: @1=
Healing (@1): @2=
Full punch interval: @1s=
Contact damage: @1 per second=
Contact healing: @1 per second=
Drowning damage: @1=
Bouncy (@1%)=
Luminance: @1=
Slippery=
Climbable=
Climbable (only downwards)=
No jumping=
No swimming upwards=
No rising=
Fall damage: @1%=
Fall damage: +@1%=
No fall damage=
Mining speed: @1=
Very fast=
Extremely fast=
Fast=
Slow=
Very slow=
Painfully slow=
Mining durability: @1=
Block breaking strength: @1=
@1 uses=
Unlimited uses=

View File

@ -1,4 +1,4 @@
local S = minetest.get_translator("tt")
local S = minetest.get_translator("mcl_tt")
local function get_min_digtime(caps)
local mintime

View File

@ -0,0 +1,103 @@
local S = minetest.get_translator("mcl_tt")
-- Armor
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
local head = minetest.get_item_group(itemstring, "armor_head")
local torso = minetest.get_item_group(itemstring, "armor_torso")
local legs = minetest.get_item_group(itemstring, "armor_legs")
local feet = minetest.get_item_group(itemstring, "armor_feet")
if head > 0 then
s = s .. S("Head armor")
end
if torso > 0 then
s = s .. S("Torso armor")
end
if legs > 0 then
s = s .. S("Legs armor")
end
if feet > 0 then
s = s .. S("Feet armor")
end
if s == "" then
s = nil
end
return s
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
local use = minetest.get_item_group(itemstring, "mcl_armor_uses")
local pts = minetest.get_item_group(itemstring, "mcl_armor_points")
if pts > 0 then
s = s .. S("Armor points: @1", pts)
s = s .. "\n"
end
if use > 0 then
s = s .. S("Armor durability: @1", use)
end
if s == "" then
s = nil
end
return s
end)
-- Horse armor
tt.register_snippet(function(itemstring)
local armor_g = minetest.get_item_group(itemstring, "horse_armor")
if armor_g and armor_g > 0 then
return S("Protection: @1%", 100 - armor_g)
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
local s = ""
if def.groups.eatable and def.groups.eatable > 0 then
s = s .. S("Hunger points: +@1", def.groups.eatable)
end
if def._mcl_saturation and def._mcl_saturation > 0 then
if s ~= "" then
s = s .. "\n"
end
s = s .. S("Saturation points: +@1", string.format("%.1f", def._mcl_saturation))
end
if s == "" then
s = nil
end
return s
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if minetest.get_item_group(itemstring, "crush_after_fall") == 1 then
return S("Deals damage when falling"), "#FFFF00"
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if def.groups.place_flowerlike == 1 then
return S("Grows on grass blocks or dirt")
elseif def.groups.place_flowerlike == 2 then
return S("Grows on grass blocks, podzol, dirt or coarse dirt")
end
end)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if def.groups.flammable then
return S("Flammable")
end
end)
tt.register_snippet(function(itemstring)
if itemstring == "mcl_heads:zombie" then
return S("Zombie view range: -50%")
elseif itemstring == "mcl_heads:skeleton" then
return S("Skeleton view range: -50%")
elseif itemstring == "mcl_heads:creeper" then
return S("Creeper view range: -50%")
end
end)

View File

@ -7,8 +7,6 @@ Add these to the item definition.
* `_tt_ignore`: If `true`, the `description` of this item won't be altered at all
* `_tt_help`: Custom help text
* `_tt_food`: If `true`, item is a food item that can be consumed by the player
* `_tt_food_hp`: Health increase (in HP) for player when consuming food item
Once this mod had overwritten the `description` field of an item was overwritten, it will save the original (unaltered) `description` in the `_tt_original_description` field.

View File

@ -1,12 +1,8 @@
# Extended Tooltip (`tt`)
This mod extends the tooltip of items to add more informative texts.
It displays the following useful information:
* Weapon damage and speed
* Tool properties
* Noteworthy block properties
* Food satiation
* Custom help text (added by mods)
The mod itself does nothing and is meant to be integrated into
games to use the API to define custom tooltips (see `API.md`).
## License
MIT License.

View File

@ -1,5 +1,3 @@
local S = minetest.get_translator("tt")
tt = {}
tt.COLOR_DEFAULT = "#d0ffd0"
tt.COLOR_DANGER = "#ffff00"
@ -12,10 +10,7 @@ tt.register_snippet = function(func)
table.insert(tt.registered_snippets, func)
end
-- Register core snippets
dofile(minetest.get_modpath(minetest.get_current_modname()).."/snippets_core.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/snippets_builtin.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/snippets.lua")
-- Apply item description updates

View File

@ -1,31 +0,0 @@
# textdomain:tt
Damage: @1=
Damage (@1): @2=
Healing: @1=
Healing (@1): @2=
Full punch interval: @1s=
Contact damage: @1 per second=
Contact healing: @1 per second=
Drowning damage: @1=
Bouncy (@1%)=
Luminance: @1=
Slippery=
Climbable=
Climbable (only downwards)=
No jumping=
No swimming upwards=
No rising=
Fall damage: @1%=
Fall damage: +@1%=
No fall damage=
Mining speed: @1=
Very fast=
Extremely fast=
Fast=
Slow=
Very slow=
Painfully slow=
Mining durability: @1=
Block breaking strength: @1=
@1 uses=
Unlimited uses=

View File

@ -1,31 +0,0 @@
# textdomain:tt
Damage: @1=Schaden: @1
Damage (@1): @2=Schaden (@1): @2
Healing: @1=Heilung: @1
Healing (@1): @2=Heilung (@1): @2
Full punch interval: @1s=Zeit zum Ausholen: @1s
Contact damage: @1 per second=Kontaktschaden: @1 pro Sekunde
Contact healing: @1 per second=Kontaktheilung: @1 pro Sekunde
Drowning damage: @1=Ertrinkensschaden: @1
Bouncy (@1%)=Sprunghaft (@1%)
Luminance: @1=Lichtstärke: @1
Slippery=Rutschig
Climbable=Erkletterbar
Climbable (only downwards)=Erkletterbar (nur nach unten)
No jumping=Kein Springen
No swimming upwards=Kein nach oben schwimmen
No rising=Kein Aufsteigen
Fall damage: @1%=Fallschaden: @1%
Fall damage: +@1%=Fallschaden: +@1%
No fall damage=Kein Fallschaden
Mining speed: @1=Grabegeschwindigkeit: @1
Very fast=Sehr schnell
Extremely fast=Extrem schnell
Fast=Schnell
Slow=Langsam
Very slow=Sehr langsam
Painfully slow=Furchtbar langsam
Mining durability: @1=Grabehaltbarkeit: @1
Block breaking strength: @1=Blockbruchstärke: @1
@1 uses=@1 Verwendungen
Unlimited uses=Unbegrenzte Verwendungen

View File

@ -1,31 +0,0 @@
# textdomain:tt
Damage: @1=Dégâts: @1
Damage (@1): @2=Dégâts (@1): @2
Healing: @1=Guérison: @1
Healing (@1): @2=Guérison (@1): @2
Full punch interval: @1s=Intervalle de coup: @1s
Contact damage: @1 per second=Dégâts de contact: @1 par seconde
Contact healing: @1 per second=Guérison de contact: @1 par seconde
Drowning damage: @1=Dégâts de noyade: @1
Bouncy (@1%)=Rebondissant (@1%)
Luminance: @1=Luminance: @1
Slippery=Glissant
Climbable=Grimpable
Climbable (only downwards)=Grimpable (uniquement vers le bas)
No jumping=Ne pas sauter
No swimming upwards=Ne pas nager vers le haut
No rising=Pas de montée
Fall damage: @1%=Dégâts de chute: @1%
Fall damage: +@1%=Dégâts de chute: +@1%
No fall damage=Pas de dégâts de chute
Mining speed: @1=Vitesse de minage: @1
Very fast=Très rapide
Extremely fast=Extremement rapide
Fast=Rapide
Slow=Lent
Very slow=Très lent
Painfully slow=Péniblement lent
Mining durability: @1=Durabilité de minage: @1
Block breaking strength: @1=Résistance à la rupture: @1
@1 uses=@1 utilisations
Unlimited uses=Utilisations illimitées

View File

@ -1,2 +1,2 @@
name = tt
description = Appends a helpful tooltip to the item description
description = Support for custom tooltip extensions for items

View File

@ -1,4 +1,4 @@
-- CORE SNIPPETS --
-- CUSTOM SNIPPETS --
-- Custom text (_tt_help)
tt.register_snippet(function(itemstring)

View File

@ -0,0 +1,61 @@
# textdomain:awards
@1/@2 chat messages=@1/@2 сообщений чата
@1/@2 crafted=@1/@2 скрафчено
@1/@2 deaths=@1/@2 смертей
@1/@2 dug=@1/@2 выкопано
@1/@2 game joins=@1/@2 присоединений к игре
@1/@2 placed=@1/@2 помещено
@1 (got)=@1 (получено)
@1: @1=@1: @1
@1s awards:=Награды @1:
(Secret Award)=(Секретная награда)
<achievement ID>=<идентификатор достижения>
<name>=<имя>
A Cat in a Pop-Tart?!=Кот в печеньке?!
Achievement gotten!=Получено достижение!
Achievement gotten:=Получено достижение:
Achievement gotten: @1=Получено достижение: @1
Achievement not found.=Достижение не найдено.
All your awards and statistics have been cleared. You can now start again.=Ваши награды удалены вместе со всей статистикой. Теперь можно начать всё сначала.
Awards=Награды
Craft: @1×@2=Скрафчено: @1×@2
Craft: @1=Скрафчено: @1
Die @1 times.=Умер(ла) @1 раз(а).
Die.=Умер(ла).
Get the achievements statistics for the given player or yourself=Получение статистики достижений для заданного игрока или для себя
Join the game @1 times.=Присоединился(ась) к игре @1 раз(а).
Join the game.=Присоединился(ась) к игре.
List awards in chat (deprecated)=Вывести список наград в чат (устарело).
Place a block: @1=Разметил(а) блок: @1
Place blocks: @1×@2=Разместил(а) блоки: @1×@2
Secret Achievement gotten!=Секретное достижение получено!
Secret Achievement gotten:=Секретное достижение получено:
Secret Achievement gotten: @1=Секретное достижение получено: @1
Show details of an achievement=Показать подробности достижения
Show, clear, disable or enable your achievements=Отобразить, очистить, запретить или разрешить ваши достижения
Get this achievement to find out what it is.=Получите это достижение, чтобы узнать, что это.
Write @1 chat messages.=Написано @1 сообщений(е,я) в чате.
Write something in chat.=Написал(а) что-то в чате.
You have disabled your achievements.=Вы запретили ваши достижения.
You have enabled your achievements.=Вы разрешили ваши достижения.
You have not gotten any awards.=Вы пока не получали наград.
You've disabled awards. Type /awards enable to reenable.=Вы запретили награды. Выполните /awards enable, чтобы разрешить их обратно.
[c|clear|disable|enable]=[c|clear - очистить|disable - запретить|enable - разрешить]
OK=О'кей
Error: No awards available.=Ошибка: Награды недоступны
Eat: @1×@2=Съедено: @1×@2
Eat: @1=Съедено: @1
@1/@2 eaten=@1/@2 съедено
Place @1 block(s).=Поместил(а) @1 блок(а,ов).
Dig @1 block(s).=Выкопал(а) @1 блок(а,ов).
Eat @1 item(s).=Съел(а) @1 предмет(а,ов).
Craft @1 item(s).=Скрафтил(а) @1 предмет(а,ов).
Can give achievements to any player=Может выдавать достижения любому игроку
(grant <player> (<achievement> | all)) | list=(grant <игрок> (<достижение> | all - всем)) | список
Give achievement to player or list all achievements=Выдать достижение игроку или отобразить все достижения
@1 (@2)=@1 (@2)
Invalid syntax.=Неверный синтаксис.
Invalid action.=Непредусмотренное действие.
Player is not online.=Игрок не подключён.
Done.=Сделано.
Achievement “@1” does not exist.=Достижения “@1” не существует.

View File

@ -11,7 +11,8 @@ this mod will place them accordingly.
position should be displayed correctly on every screen size.
## Current version
The current version is 2.1.0.
The current version is 2.3.2.
It works for Minetest 5.3.0.
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
standard.
@ -39,6 +40,7 @@ Translations:
* Italian: Hamlet
* Malay: muhdnurhidayat
* Russian: Imk
* Spanish: wuniversales
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it

View File

@ -213,22 +213,8 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
z_index = 1,
})
end
elseif hb.settings.bar_type == "statbar_modern" then
if textures.bgicon ~= nil then
ids.bg = player:hud_add({
hud_elem_type = "statbar",
position = pos,
text = textures.bgicon,
number = bgiconnumber,
alignment = {x=-1,y=-1},
offset = { x = offset.x, y = offset.y },
direction = 0,
size = {x=24, y=24},
z_index = 0,
})
end
end
local bar_image, bar_size
local bar_image, bgicon, bar_size
if hb.settings.bar_type == "progress_bar" then
bar_image = textures.bar
-- NOTE: Intentionally set to nil. For some reason, on some systems,
@ -240,13 +226,20 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
bar_size = nil
elseif hb.settings.bar_type == "statbar_classic" or hb.settings.bar_type == "statbar_modern" then
bar_image = textures.icon
bgicon = textures.bgicon
bar_size = {x=24, y=24}
end
local text2
if hb.settings.bar_type == "statbar_modern" then
text2 = bgicon
end
ids.bar = player:hud_add({
hud_elem_type = "statbar",
position = pos,
text = bar_image,
text2 = text2,
number = barnumber,
item = bgiconnumber,
alignment = {x=-1,y=-1},
offset = offset,
direction = 0,
@ -321,6 +314,9 @@ function hb.change_hudbar(player, identifier, new_value, new_max_value, new_icon
local name = player:get_player_name()
local hudtable = hb.get_hudtable(identifier)
if not hudtable.hudstate[name] then
return false
end
local value_changed, max_changed = false, false
if new_value ~= nil then
@ -418,10 +414,9 @@ function hb.hide_hudbar(player, identifier)
end
player:hud_change(hudtable.hudids[name].bg, "scale", {x=0,y=0})
player:hud_change(hudtable.hudids[name].text, "text", "")
elseif hb.settings.bar_type == "statbar_modern" then
player:hud_change(hudtable.hudids[name].bg, "number", 0)
end
player:hud_change(hudtable.hudids[name].bar, "number", 0)
player:hud_change(hudtable.hudids[name].bar, "item", 0)
hudtable.hudstate[name].hidden = true
return true
end
@ -442,9 +437,10 @@ function hb.unhide_hudbar(player, identifier)
end
player:hud_change(hudtable.hudids[name].text, "text", make_label(hudtable.format_string, hudtable.format_string_config, hudtable.label, value, max))
elseif hb.settings.bar_type == "statbar_modern" then
player:hud_change(hudtable.hudids[name].bg, "number", hb.settings.statbar_length)
player:hud_change(hudtable.hudids[name].bar, "scale", {x=1,y=1})
end
player:hud_change(hudtable.hudids[name].bar, "number", hb.value_to_barlength(value, max))
player:hud_change(hudtable.hudids[name].bar, "item", hb.value_to_barlength(max, max))
hudtable.hudstate[name].hidden = false
return true
end
@ -500,7 +496,7 @@ local function custom_hud(player)
local breath_max = player:get_properties().breath_max
local hide_breath
if breath >= breath_max and hb.settings.autohide_breath == true then hide_breath = true else hide_breath = false end
hb.init_hudbar(player, "breath", math.min(breath, breath_max-1), breath_max-1, hide_breath or hide)
hb.init_hudbar(player, "breath", math.min(breath, breath_max), breath_max, hide_breath or hide)
end
end
@ -524,7 +520,7 @@ local function update_hud(player)
hb.hide_hudbar(player, "breath")
else
hb.unhide_hudbar(player, "breath")
hb.change_hudbar(player, "breath", math.min(breath, breath_max-1), breath_max-1)
hb.change_hudbar(player, "breath", math.min(breath, breath_max), breath_max)
end
--health
update_health(player)

View File

@ -0,0 +1,49 @@
# textdomain:mcl_achievements
Aquire Hardware=Куй Железо
Bake Bread=Хлеб всему голова
Benchmarking=Верстак
Cow Tipper=Кожа да кости
Craft a bookshelf.=Создание книжной полки
Craft a cake using wheat, sugar, milk and an egg.=Создание торта из пшеницы, сахара, молока и яйца.
Craft a crafting table from 4 wooden planks.=Создание верстака из 4 досок.
Craft a stone pickaxe using sticks and cobblestone.=Создание каменного топора из палок и булыжников.
Craft a wooden sword using wooden planks and sticks on a crafting table.=Изготовление деревянного меча из досок и палок на верстаке.
DIAMONDS!=АЛМАЗЫ!
Delicious Fish=Вкусная Рыба
Dispense With This=Раздавай Это
Eat a cooked porkchop.=Употребление в пищу приготовленной свиной отбивной.
Eat a cooked rabbit.=Употребление в пищу приготовленного кролика.
Get really desperate and eat rotten flesh.=Отчаянное и необдуманное употребление в пищу гнилого мяса
Getting Wood=Рубка Леса
Getting an Upgrade=Модернизация
Hit a skeleton, wither skeleton or stray by bow and arrow from a distance of at least 20 meters.=Удар по скелету, скелету-иссушителю либо уклонение от стрелы на расстоянии не менее 20 метров.
Hot Topic=Автор Жжёт
Into Fire=В Огне
Into the Nether=В Аду
Iron Belly=Железный Живот
Librarian=Библиотекарь
Mine emerald ore.=Добыча изумрудной руды.
On A Rail=На Рельсах
Pick up a blaze rod from the floor.=Поднятие огненного стержня с пола.
Pick up a diamond from the floor.=Поднятие алмаза с пола.
Pick up a wood item from the ground.@nHint: Punch a tree trunk until it pops out as an item.=Поднятие дерева с земли.@nПодсказка: Бейте по стволу, пока он не упадёт на землю, превратившись в предмет.
Pick up leather from the floor.@nHint: Cows and some other animals have a chance to drop leather, when killed.=Поднятие кожи с пола.@nПодсказка: Коровы и некоторые другие животные могут оставлять кожу, если их убивать.
Place a dispenser.=Установка диспенсера.
Place a flower pot.=Установка цветочного горшка.
Pork Chop=Свиная Отбивная
Pot Planter=Сажатель Горшков
Rabbit Season=Кроличий Сезон
Sniper Duel=Снайперская Дуэль
Take a cooked fish from a furnace.@nHint: Use a fishing rod to catch a fish and cook it in a furnace.=Приготовление рыбы в печи.@nПодсказка: Ловите рыбу удочкой и готовьте её в печи.
Take an iron ingot from a furnace's output slot.@nHint: To smelt an iron ingot, put a fuel (like coal) and iron ore into a furnace.=Получение слитка железа из печи.@nПодсказка: чтобы переплавить железную руду, нужно положить её в печь и туда же поместить топливо (уголь или другое).
The Haggler=Хагглер
The Lie=Тортик
Time to Farm!=Время фермерства!
Time to Mine!=Время добывать!
Time to Strike!=Время сражаться!
Travel by minecart for at least 1000 meters from your starting point in a single ride.=Поездка на вагонетке минимум на 1000 метров от стартовой точки за один раз.
Use 8 cobblestones to craft a furnace.=Создание печи из 8 булыжников.
Use a crafting table to craft a wooden hoe from wooden planks and sticks.=Создание деревянной мотыги из досок и палок на верстаке.
Use a crafting table to craft a wooden pickaxe from wooden planks and sticks.=Создание деревянной кирки из досок и палок на верстаке.
Use obsidian and a fire starter to construct a Nether portal.=Создание Адского портала при помощи обсидиана и огнива.
Use wheat to craft a bread.=Использование пшеницы для приготовления хлеба.

View File

@ -0,0 +1,58 @@
# textdomain: mcl_death_messages
@1 was fatally hit by an arrow.=@1 застрелил лучник.
@1 has been killed with an arrow.=@1 убило стрелой из лука.
@1 was shot by an arrow from @2.=@1 убило стрелой @2.
@1 was shot by an arrow from a skeleton.=@1 был(а) убит(а) стрелой скелета.
@1 was shot by an arrow from a stray.=@1 был(а) убит(а) стрелой странника.
@1 was shot by an arrow from an illusioner.=@1 был(а) убит(а) стрелой иллюзора.
@1 was shot by an arrow.=@1 был(а) убит(а) стрелой.
@1 forgot to breathe.=@1 забыл(а) подышать.
@1 drowned.=@1 утонул(а).
@1 ran out of oxygen.=У @1 закончился кислород.
@1 was killed by @2.=@1 был(а) убит(а) @2.
@1 was killed.=@1 был(а) убит(а).
@1 was killed by a mob.=@1 был(а) убит(а) мобом.
@1 was burned to death by a blaze's fireball.=@1 до смерти прожарило файерболом ифрита.
@1 was killed by a fireball from a blaze.=@1 был(а) убит(а) файерболом ифрита.
@1 was burned by a fire charge.=@1 сожгло огненным разрядом.
A ghast scared @1 to death.=Гаст напугал @1 до смерти.
@1 has been fireballed by a ghast.=@1 настиг файербол Гаста.
@1 fell from a high cliff.=@1 свалился(ась) с высокого утёса.
@1 took fatal fall damage.=@1 получил(а) смертельный урон от падения.
@1 fell victim to gravity.=@1 стал(а) жертвой гравитации.
@1 died.=@1 умер(ла).
@1 was killed by a zombie.=@1 был(а) убит(а) зомби.
@1 was killed by a baby zombie.=@1 был(а) убит(а) малышом-зомби.
@1 was killed by a blaze.=@1 был(а) убит(а) ифритом.
@1 was killed by a slime.=@1 был(а) убит(а) слизняком.
@1 was killed by a witch.=@1 был(а) убит(а) ведьмой.
@1 was killed by a magma cube.=@1 был(а) убит(а) лавовым кубом.
@1 was killed by a wolf.=@1 был(а) убит(а) волком.
@1 was killed by a cat.=@1 был(а) убит(а) кошкой.
@1 was killed by an ocelot.=@1 был(а) убит(а) оцелотом.
@1 was killed by an ender dragon.=@1 был(а) убит(а) драконом предела.
@1 was killed by a wither.=@1 был(а) убит(а) иссушителем.
@1 was killed by an enderman.=@1 был(а) убит(а) эндерменом.
@1 was killed by an endermite.=@1 был(а) убит(а) эндермитом.
@1 was killed by a ghast.=@1 был(а) убит(а) гастом.
@1 was killed by an elder guardian.=@1 был(а) убит(а) древним стражем.
@1 was killed by a guardian.=@1 был(а) убит(а) стражем.
@1 was killed by an iron golem.=@1 был(а) убит(а) железным големом.
@1 was killed by a polar_bear.=@1 был(а) убит(а) полярным медведем.
@1 was killed by a killer bunny.=@1 был(а) убит(а) кроликом-убийцей.
@1 was killed by a shulker.=@1 был(а) убит(а) шалкером.
@1 was killed by a silverfish.=@1 был(а) убит(а) чешуйницей.
@1 was killed by a skeleton.=@1 был(а) убит(а) скелетом.
@1 was killed by a stray.=@1 был(а) убит(а) странником.
@1 was killed by a slime.=@1 был(а) убит(а) слизняком.
@1 was killed by a spider.=@1 был(а) убит(а) пауком.
@1 was killed by a cave spider.=@1 был(а) убит(а) пещерным пауком.
@1 was killed by a vex.=@1 был(а) убит(а) досаждателем.
@1 was killed by an evoker.=@1 был(а) убит(а) магом.
@1 was killed by an illusioner.=@1 был(а) убит(а) иллюзором.
@1 was killed by a vindicator.=@1 был(а) убит(а) поборником.
@1 was killed by a zombie villager.=@1 был(а) убит(а) зомби-жителем.
@1 was killed by a husk.=@1 был(а) убит(а) кадавром.
@1 was killed by a baby husk.=@1 был(а) убит(а) машылом-кадавром.
@1 was killed by a zombie pigman.=@1 был(а) убит(а) зомби-свиночеловеком.
@1 was killed by a baby zombie pigman.=@1 был(а) убит(а) малышом-зомби-свиночеловеком.

View File

@ -0,0 +1,2 @@
# textdomain:hbarmor
Armor=Защита

View File

@ -7,6 +7,7 @@ Building Blocks=Baublöcke
Decoration Blocks=Dekoblöcke
Redstone=Redstone
Transportation=Transport
Brewing=Gebräu
Miscellaneous=Sonstiges
Search Items=Gegenstände durchsuchen
Foodstuffs=Lebensmittel

View File

@ -7,6 +7,7 @@ Building Blocks=Bloques de construcción
Decoration Blocks=Bloques de decoración
Redstone=Redstone
Transportation=Transporte
Brewing=
Miscellaneous=Variado
Search Items=Buscar artículos
Foodstuffs=Productos alimenticios

View File

@ -7,6 +7,7 @@ Building Blocks=Blocs de Construction
Decoration Blocks=Blocs de Décoration
Redstone=Redstone
Transportation=Transport
Brewing=
Miscellaneous=Divers
Search Items=Rechercher des objets
Foodstuffs=Denrées alimentaires

View File

@ -0,0 +1,21 @@
# textdomain: mcl_inventory
Recipe book=Книга рецептов
Help=Помощь
Select player skin=Выбор скина
Achievements=Достижения
Building Blocks=Строительные блоки
Decoration Blocks=Декоративные блоки
Redstone=Редстоун (красный камень)
Transportation=Транспорт
Brewing=Зелья
Miscellaneous=Прочее
Search Items=Искать предметы
Foodstuffs=Продовольствие
Tools=Инструменты
Combat=Битва
Mobs=Мобы
Materials=Материалы
Survival Inventory=Инвентарь выживания
Crafting=Крафтинг (изготовление)
Inventory=Инвентарь
@1/@2=@1/@2

View File

@ -7,6 +7,7 @@ Building Blocks=
Decoration Blocks=
Redstone=
Transportation=
Brewing=
Miscellaneous=
Search Items=
Foodstuffs=

View File

@ -0,0 +1,12 @@
# textdomain: mcl_comparators
Redstone comparators are multi-purpose redstone components.=Компаратор это многофункциональный элемент редстоуна.
They can transmit a redstone signal, detect whether a block contains any items and compare multiple signals.=Он может передавать сигнал редстоуна, определять, содержит ли блок какой-либо предмет, и сравнивать сигналы.
A redstone comparator has 1 main input, 2 side inputs and 1 output. The output is in arrow direction, the main input is in the opposite direction. The other 2 sides are the side inputs.=Компаратор имеет 1 основной вход, 2 боковых входа и 1 выход. Выход расположен по направлению стрелки, основной вход в противоположном направлении. Оставшиеся 2 стороны это боковые входы.
The main input can powered in 2 ways: First, it can be powered directly by redstone power like any other component. Second, it is powered if, and only if a container (like a chest) is placed in front of it and the container contains at least one item.=Основной вход можно подключать 2 способами: 1) напрямую к энергии редстоуна, как и любой другой компонент; 2) перед компаратором можно установить контейнер (например, сундук), тогда сигнал будет поступать, если в нём содержится хотя бы один предмет.
The side inputs are only powered by normal redstone power. The redstone comparator can operate in two modes: Transmission mode and subtraction mode. It starts in transmission mode and the mode can be changed by using the block.=К боковым входам можно подводить только обычную энергию редстоуна. Компаратор может работать в двух режимах: ПЕРЕДАЧА и ВЫЧИТАНИЕ. Он изначально находится в режиме передачи; режим меняется при [Использовании] данного блока.
Transmission mode:@nThe front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.=Режим ПЕРЕДАЧИ:@nПередний индикатор погашен. На выходе появляется энергия редстоуна, только если она подаётся на основной вход. Состояние боковых входов при этом игнорируются.
Subtraction mode:@nThe front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered.=Режим ВЫЧИТАНИЯ:@nПередний индикатор светится. На выходе есть сигнал только в том случае, если сигнал есть на основной входе, но при этом его нет ни на одном из боковых входов.
Redstone Comparator=Компаратор
Redstone Comparator (Subtract)=Компаратор (ВЫЧИТАНИЕ)
Redstone Comparator (Powered)=Компаратор (ВКЛЮЧЁН)
Redstone Comparator (Subtract, Powered)=Компаратор (ВЫЧИТАНИЕ, ВКЛЮЧЁН)

View File

@ -0,0 +1,25 @@
# textdomain: mcl_dispensers
Dispenser=Диспенсер
A dispenser is a block which acts as a redstone component which, when powered with redstone power, dispenses an item. It has a container with 9 inventory slots.=Диспенсер это элемент редстоуна, который при подаче энергии редстоуна выбрасывает предмет. В нём есть контейнер из 9 отсеков инвентаря.
Place the dispenser in one of 6 possible directions. The “hole” is where items will fly out of the dispenser. Use the dispenser to access its inventory. Insert the items you wish to dispense. Supply the dispenser with redstone energy once to dispense a random item.=Направьте диспенсер в одном из 6 возможных направлений. Предметы будут вылетать из отверстия. [Используйте] диспенсер для доступа к его инвентарю. Загрузите туда предметы, которые должны из него выбрасываться. Подайте однократно на диспенсер энергию редстоуна, чтобы выпал случайный предмет.
The dispenser will do different things, depending on the dispensed item:=Диспенсер будет делать разные вещи, в зависимости от выдаваемых предметов:
• Arrows: Are launched=• Стрелы: выстреливают
• Eggs and snowballs: Are thrown=• Яйца и снежки: происходит бросок
• Fire charges: Are fired in a straight line=• Огненные шары: стреляют по прямой линии
• Armor: Will be equipped to players and armor stands=• Защита: экипирует игроков или стенд защиты
• Boats: Are placed on water or are dropped=• Лодки: спускаются на воду
• Minecart: Are placed on rails or are dropped=• Вагонетка: помещается на рельсы
• Bone meal: Is applied on the block it is facing=• Костная мука: применяется к блоку перед диспенсером
• Empty buckets: Are used to collect a liquid source=• Пустые вёдра: используются для набора источника жидкости
• Filled buckets: Are used to place a liquid source=• Полные вёдра: используются для размещения источника жидкости
• Heads, pumpkins: Equipped to players and armor stands, or placed as a block=• Головы, тыквы: экипирует игроков, или стенд защиты, или устанавливаются как блоки
• Shulker boxes: Are placed as a block=• Ящик шалкера: устанавливается как блок
• TNT: Is placed and ignited=• Тротил: устанавливается и поджигается
• Flint and steel: Is used to ignite a fire in air and to ignite TNT=• Огниво: используется для зажигания огня в воздухе и для подрыва тротила
• Spawn eggs: Will summon the mob they contain=• Порождающие яйца: будут вызывать мобов, содержащихся в них
• Other items: Are simply dropped=• Другие предметы: просто выдаются
Downwards-Facing Dispenser=• Диспенсер, направленный вниз
Upwards-Facing Dispenser=• Диспенсер, направленный вверх
Inventory=Инвентарь
9 inventory slots=9 отсеков инвентаря
Launches item when powered by redstone power=Выбрасывает предметы при подаче энергии редстоуна

View File

@ -0,0 +1,9 @@
# textdomain: mcl_droppers
Dropper=Выбрасыватель
A dropper is a redstone component and a container with 9 inventory slots which, when supplied with redstone power, drops an item or puts it into a container in front of it.=Выбрасыватель это элемент редстоуна и контейнер с 9 отсеками инвентаря, срабатывающий по сигналу редстоуна и выбрасывающий предмет, либо выталкивающий его в контейнер, стоящий перед ним.
Droppers can be placed in 6 possible directions, items will be dropped out of the hole. Use the dropper to access its inventory. Supply it with redstone energy once to make the dropper drop or transfer a random item.=Выбрасыватель может быть установлен в 6 возможных направлениях, предметы будут выбрасываться в соответствующем направлении из отверстия. [Используйте] выбрасыватель для доступа к его инвентарю. Подайте на него энергию редстоуна однократно, чтобы заставить его выбросить либо предать один случайный предмет.
Downwards-Facing Dropper=Выбрасыватель, смотрящий вниз
Upwards-Facing Dropper=Выбрасыватель, смотрящий вверх
Inventory=Инвентарь
9 inventory slots=9 отсеков инвентаря
Drops item when powered by redstone power=Выбрасывает предмет при подаче энергии редстоуна

View File

@ -0,0 +1,5 @@
# textdomain: mcl_observers
Observer=Наблюдатель
An observer is a redstone component which observes the block in front of it and sends a very short redstone pulse whenever this block changes.=Наблюдатель это элемент редстоуна, который следит за блоком перед собой и посылает короткий импульс редстоуна, если этот блок меняется.
Place the observer directly in front of the block you want to observe with the “face” looking at the block. The arrow points to the side of the output, which is at the opposite side of the “face”. You can place your redstone dust or any other component here.=Поместите наблюдателя прямо перед блоком, за которым хотите наблюдать, так, чтобы “лицо” смотрело на этот блок. Стрелка показывает выходную сторону, находящуюся на противоположной стороне от “лица”. Вы можете разместить там пыль редстоуна или любой другой компонент.
Emits redstone pulse when block in front changes=Генерирует импульс редстоуна при смене блока, находящегося перед ним

View File

@ -0,0 +1,14 @@
# textdomain: mesecons_button
Use the button to push it.=[Используйте] кнопку, чтобы нажать её.
Stone Button=Каменная кнопка
A stone button is a redstone component made out of stone which can be pushed to provide redstone power. When pushed, it powers adjacent redstone components for 1 second.=Каменная кнопка это элемент редстоуна, сделанный из камня, её можно нажать, чтобы получить энергию редстоуна. При нажатии она включает соседние элементы редстоуна на 1 секунду.
Oak Button=Дубовая кнопка
Acacia Button=Акациевая кнопка
Birch Button=Берёзовая кнопка
Dark Oak Button=Кнопка из тёмного дуба
Spruce Button=Еловая кнопка
Jungle Button=Кнопка из дерева джунглей
A wooden button is a redstone component made out of wood which can be pushed to provide redstone power. When pushed, it powers adjacent redstone components for 1.5 seconds. Wooden buttons may also be pushed by arrows.=Деревянная кнопка это элемент редстоуна, сделанный из дерева, её можно нажать, чтобы получить энергию редстоуна. При нажатии она включает соседние элементы редстоуна на полторы секунды. Деревянные кнопки можно также активировать стрелами.
Provides redstone power when pushed=Выдаёт энергию редстоуна при нажатии
Push duration: @1s=Длительность нажатия: @1с
Pushable by arrow=Нажимается стрелами

View File

@ -213,7 +213,7 @@ S("Everyone can activate a command block and look at its commands, but not every
S("To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.")..
"\n\n"..
S("To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced topics > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.").."\n\n"..
S("To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.").."\n\n"..
S("All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.").."\n\n"..

View File

@ -13,7 +13,7 @@ Command Block=Befehlsblock
Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.=Befehlsblöcke sind mächtige Redstonekomponenten, die das Gefüge der Realität selbst verändern können. Mit anderen Worten, sie lassen den Server Serverbefehle ausführen, wenn sie mit Redstoneenergie versorgt werden.
Everyone can activate a command block and look at its commands, but not everyone can edit and place them.=Jeder kann einen Befehlsblock aktivieren und sich seine Befehle ansehen, aber nicht jeder kann sie bearbeiten und platzieren.
To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.=Um die Befehle in einem Befehlsblock zu betrachten, benutzen Sie ihn. Um ihn zu aktivieren, versorgen Sie ihn einfach mit Redstoneenergie. Das wird die Befehle einmalig ausführen. Um sie erneut auszuführen, schalten Sie die Redstoneenergie aus und wieder ein.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced topics > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=Um einen Befehlsblock platzieren und die Befehle ändern zu können, müssen Sie im Kreativmodus sein und das „maphack“-Privileg haben. Ein neuer Befehlsblock hat keine Befehle und tut gar nichts. Benutzen Sie den Befehlsblock (im Kreativmodus!), um seine Befehle zu bearbeiten. Lesen Sie den Hilfeeintrag „Fortgeschrittenes > Serverbefehle“, um zu verstehen, wie Befehle funktionieren. Jede Zeile enthält einen einzigen Befehl. Sie geben Sie wie in der Konsole ein, aber ohne den Schrägstrich am Anfang.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=Um einen Befehlsblock platzieren und die Befehle ändern zu können, müssen Sie im Kreativmodus sein und das „maphack“-Privileg haben. Ein neuer Befehlsblock hat keine Befehle und tut gar nichts. Benutzen Sie den Befehlsblock (im Kreativmodus!), um seine Befehle zu bearbeiten. Lesen Sie den Hilfeeintrag „Fortgeschrittenes > Serverbefehle“, um zu verstehen, wie Befehle funktionieren. Jede Zeile enthält einen einzigen Befehl. Sie geben Sie wie in der Konsole ein, aber ohne den Schrägstrich am Anfang.
All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.=Alle Befehle werden im Namen des Spielers, der den Befehlsblock platziert hat, ausgeführt, als ob der Spieler die Befehle eingegeben hätte. Diesen Spieler nennen wir den „Kommandanten“ des Blocks.
Command blocks support placeholders, insert one of these placeholders and they will be replaced by some other text:=Befehlsblöcke unterstützen Platzhalter. Geben Sie einen dieser Platzhalter ein und sie werden durch einen anderen Text ersetzt:
• “@@c”: commander of this command block=• „@@c“: Kommandant dieses Befehlsblocks

View File

@ -13,7 +13,8 @@ Command Block=Bloque de comandos
Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.=Los bloques de comandos son poderosos componentes de redstone que pueden alterar la realidad misma. En otras palabras, hacen que el servidor ejecute comandos del servidor cuando se les suministra energía redstone.
Everyone can activate a command block and look at its commands, but not everyone can edit and place them.=Todos pueden activar un bloque de comandos y ver sus comandos, pero no todos pueden editarlos y colocarlos.
To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.=Para ver los comandos en un bloque de comandos, úselo. Para activar el bloque de comando, solo suminístrelo con redstone power. Esto ejecutará los comandos una vez. Para ejecutar los comandos nuevamente, apague y vuelva a encender la redstone.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced topics > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=Para poder colocar un bloque de comandos y cambiar los comandos, debe estar en modo creativo y debe tener el privilegio de "maphack". Un nuevo bloque de comandos no tiene ningún comando y no hace nada. Use el bloque de comandos (en modo creativo) para editar sus comandos. Lea la entrada de ayuda "Temas avanzados> Comandos del servidor" para comprender cómo funcionan los comandos. Cada línea contiene un solo comando. Los ingresas como lo harías en la consola, pero sin la barra inclinada. Los comandos se ejecutarán de arriba a abajo.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=
# ^ OLD TRANSLATION: Para poder colocar un bloque de comandos y cambiar los comandos, debe estar en modo creativo y debe tener el privilegio de "maphack". Un nuevo bloque de comandos no tiene ningún comando y no hace nada. Use el bloque de comandos (en modo creativo) para editar sus comandos. Lea la entrada de ayuda "Temas avanzados> Comandos del servidor" para comprender cómo funcionan los comandos. Cada línea contiene un solo comando. Los ingresas como lo harías en la consola, pero sin la barra inclinada. Los comandos se ejecutarán de arriba a abajo.
All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.=Todos los comandos se ejecutarán en el nombre del jugador que colocó el bloque de comandos, como si el jugador tecleara los comandos. Se dice que este jugador es el "dueño" del bloque.
Command blocks support placeholders, insert one of these placeholders and they will be replaced by some other text:=Los bloques de comando admiten marcadores de posición, inserte uno de estos marcadores de posición y serán reemplazados por otro texto:

View File

@ -13,7 +13,8 @@ Command Block=Bloc de Commande
Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.=Les blocs de commande sont des composants redstone puissants qui sont capables de modifier la réalité elle-même. En d'autres termes, ils obligent le serveur à exécuter des commandes serveur lorsqu'ils sont alimentés en redstone.
Everyone can activate a command block and look at its commands, but not everyone can edit and place them.=Tout le monde peut activer un bloc de commandes et consulter ses commandes, mais tout le monde ne peut pas les modifier et les placer.
To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.=Pour afficher les commandes dans un bloc de commandes, utilisez-le. Pour activer le bloc de commande, il suffit de l'alimenter en redstone. Cela exécutera les commandes une fois. Pour exécuter à nouveau les commandes, éteignez puis rallumez le Redstone.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced topics > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=Pour pouvoir placer un bloc de commande et modifier les commandes, vous devez être en mode créatif et avoir le privilège "maphack". Un nouveau bloc de commandes n'a aucune commande et ne fait rien. Utilisez le bloc de commande (en mode créatif!) Pour modifier ses commandes. Lisez l'entrée d'aide "Rubriques avancées> Commandes du serveur" pour comprendre le fonctionnement des commandes. Chaque ligne contient une seule commande. Vous les entrez comme vous le feriez dans la console, mais sans la barre oblique principale. Les commandes seront exécutées de haut en bas.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=
# ^ OLD TRANSLATION: Pour pouvoir placer un bloc de commande et modifier les commandes, vous devez être en mode créatif et avoir le privilège "maphack". Un nouveau bloc de commandes n'a aucune commande et ne fait rien. Utilisez le bloc de commande (en mode créatif!) Pour modifier ses commandes. Lisez l'entrée d'aide "Rubriques avancées> Commandes du serveur" pour comprendre le fonctionnement des commandes. Chaque ligne contient une seule commande. Vous les entrez comme vous le feriez dans la console, mais sans la barre oblique principale. Les commandes seront exécutées de haut en bas.
All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.=Toutes les commandes seront exécutées au nom du joueur qui a placé le bloc de commande, comme si le joueur avait tapé les commandes. Ce joueur est appelé le "commandant" du bloc.
Command blocks support placeholders, insert one of these placeholders and they will be replaced by some other text:=Les blocs de commande prennent en charge les espaces réservés, insérez l'un de ces espaces réservés et ils seront remplacés par un autre texte:
• “@@c”: commander of this command block=• “@@c”: commandant de ce bloc que commande

View File

@ -0,0 +1,29 @@
# textdomain: mesecons_commandblock
Error: The command “@1” does not exist; your command block has not been changed. Use the “help” chat command for a list of available commands.=Ошибка: Команда “@1” не существует; ваш командный блок не был изменён. Используйте чат-команду “help” для поучения списка доступных команд.
Error: The command “@1” does not exist; your command block has not been changed. Use the “help” chat command for a list of available commands. Hint: Try to remove the leading slash.=Ошибка: Команда “@1” не существует; ваш командный блок не был изменён. Используйте чат-команду “help” для поучения списка доступных команд. Подсказка: Попробуйте убрать ведущий слэш.
Error: You have insufficient privileges to use the command “@1” (missing privilege: @2)! The command block has not been changed.=Ошибка: Вы не имеете привилегий для использования команды “@1” (отсутствует привилегия: @2)! Командный блок не был изменён.
Error: No commander! Block must be replaced.=Ошибка: Нет командующего! Блок следует заменить.
Commander: @1=Командующий: @1
Submit=Отправить
No commands.=Нет команд.
Commands:=Команды:
Help=Помощь
Placement denied. You need the “maphack” privilege to place command blocks.=Установка запрещена. Для установки командных блоков нужно иметь привилегию “maphack”.
Command Block=Командный блок
Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.=Командные блоки это мощнейшие компоненты редстоуна, способные изменять реальность сами по себе. Другими словами, они могут заставлять сервер выполнять серверные команды, если подать на них энергию редстоуна.
Everyone can activate a command block and look at its commands, but not everyone can edit and place them.=Каждый может активировать командный блок и увидеть его команды, но не все могут редактировать и устанавливать его.
To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.=Чтобы увидеть команды в командном блоке, [используйте] его. Чтобы активировать блок, просто подайте на него энергию редстоуна. При этом команды выполнятся однократно. Чтобы выполнить их вновь, выключите и снова включите энергию редстоуна.
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=Чтобы иметь возможность устанавливать командные блоки и изменять их команды, вы должны находиться в творческом режиме и иметь привилегию “maphack”. Новый командный блок не содержит команд и ничего не делает. [Используйте] командный блок (в творческом режиме!) для редактирования его команд. Изучите справочную запись “Продвинутое использование > Серверные команды”, чтобы понять, как они работают. Каждая строка содержит одну команду. Вы вводите их так, как вводили бы в консоли, но без ведущих символов слэш. Команды выполняются сверху вниз.
All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.=Все команды будут выполняться от имени игрока, разместившего командный блок, как будто если бы игрок сам их набирал. Этот игрок является так называемым “командиром” блока.
Command blocks support placeholders, insert one of these placeholders and they will be replaced by some other text:=Командные блоки поддерживаю шаблоны, вставляйте один из них - и они будут заменены на нужный вам текст:
• “@@c”: commander of this command block=• “@@c”: командир данного командного блока
• “@@n” or “@@p”: nearest player from the command block=• “@@n” или “@@p”: игрок, находящийся ближе всего к данному командному блоку
• “@@f” farthest player from the command block=• “@@f” игрок, находящийся дальше всего от данного командного блока
• “@@r”: random player currently in the world=• “@@r”: случайный игрок, в данный момент присутствующий в мире
• “@@@@”: literal “@@” sign=• “@@@@”: если нужно использовать символ “@@” сам по себе
Example 1:@n time 12000@nSets the game clock to 12:00=Пример 1:@n time 12000@nУстанавливает игровые часы на 12:00
Example 2:@n give @@n mcl_core:apple 5@nGives the nearest player 5 apples=Пример 2:@n give @@n mcl_core:apple 5@nДаёт ближайшему игроку 5 яблок
Access denied. You need the “maphack” privilege to edit command blocks.=Доступ запрещён. Вам нужно иметь привилегию “maphack”, чтобы редактировать командные блоки.
Editing the command block has failed! You can only change the command block in Creative Mode!=Попытка редактирования командного блока потерпела неудачу. Вы можете изменять командные блоки только в творческом режиме!
Editing the command block has failed! The command block is gone.=Попытка редактирования командного блока потерпела неудачу. Командный блок исчез.
Executes server commands when powered by redstone power=При подаче энергии редстоуна выполняет серверные команды

View File

@ -13,7 +13,7 @@ Command Block=
Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.=
Everyone can activate a command block and look at its commands, but not everyone can edit and place them.=
To view the commands in a command block, use it. To activate the command block, just supply it with redstone power. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.=
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced topics > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=
To be able to place a command block and change the commands, you need to be in Creative Mode and must have the “maphack” privilege. A new command block does not have any commands and does nothing. Use the command block (in Creative Mode!) to edit its commands. Read the help entry “Advanced usage > Server Commands” to understand how commands work. Each line contains a single command. You enter them like you would in the console, but without the leading slash. The commands will be executed from top to bottom.=
All commands will be executed on behalf of the player who placed the command block, as if the player typed in the commands. This player is said to be the “commander” of the block.=
Command blocks support placeholders, insert one of these placeholders and they will be replaced by some other text:=
• “@@c”: commander of this command block=

View File

@ -0,0 +1,13 @@
# textdomain: mesecons_delayer
Redstone repeaters are versatile redstone components with multiple purposes: 1. They only allow signals to travel in one direction. 2. They delay the signal. 3. Optionally, they can lock their output in one state.=Повторители это универсальные компоненты, выполняющие много задач: 1. Разрешают сигналам проходить только в одном направлении. 2. Задерживают сигнал. 3. Опционально они могут зафиксировать свой выходной сигнал в одном состоянии.
To power a redstone repeater, send a signal in “arrow” direction (the input). The signal goes out on the opposite side (the output) with a delay. To change the delay, use the redstone repeater. The delay is between 0.1 and 0.4 seconds long and can be changed in steps of 0.1 seconds. It is indicated by the position of the moving redstone torch.=Чтобы подключить повторитель, подайте сигнал в направлении “стрелки” (на вход). Сигнал выйдет с противоположной стороны (с выхода) с задержкой. Чтобы изменить задержку, [используйте] повторитель. Время задержки лежит между 0.1 и 0.4 секунды и может изменяться с шагом 0.1 секунды. Его отражает положение передвигающегося факела редстоуна.
To lock a repeater, send a signal from an adjacent repeater into one of its sides. While locked, the moving redstone torch disappears, the output doesn't change and the input signal is ignored.=Чтобы зафиксировать повторитель, подайте сигнал от соседнего повторителя на одну из его сторон. При фиксации передвижной факел редстоуна исчезает, выходной сигнал не меняется, а входной сигнал игнорируется.
Redstone Repeater=Повторитель
Redstone Repeater (Powered)=Повторитель (подключённый)
Redstone Repeater (Locked)=Повторитель (зафиксированный)
Redstone Repeater (Locked, Powered)=Повторитель (зафиксированный, подключённый)
Redstone Repeater (Delay @1)=Повторитель (задержка @1)
Redstone Repeater (Delay @1, Powered)=Повторитель (задержка @1, подключённый)
Transmits redstone power only in one direction=Передаёт энергию редстоуна только в одном направлении
Delays signal=Задерживает сигнал
Output locks when getting active redstone repeater signal from the side=Выход фиксируется при наличии активного сигнала сбоку

View File

@ -0,0 +1,4 @@
# textdomain: mesecons_lightstone
Redstone Lamp=Лампа редстоуна
Redstone lamps are simple redstone components which glow brightly (light level @1) when they receive redstone power.=Лампа редстоуна это простой компонент редстоуна, который ярко светится (уровень света @1) при подаче на него энергии редстоуна.
Glows when powered by redstone power=Светит при подаче энергии редстоуна

View File

@ -120,11 +120,13 @@ function mesecon.mvps_get_stack(pos, dir, maximum, all_pull_sticky)
while #frontiers > 0 do
local np = frontiers[1]
local nn = minetest.get_node(np)
if nn.name == "ignore" then
minetest.get_voxel_manip():read_from_map(np, np)
nn = minetest.get_node(np)
end
if not node_replaceable(nn.name) then
if #nodes >= maximum then return nil end
table.insert(nodes, {node = nn, pos = np})
if #nodes > maximum then return nil end
-- add connected nodes to frontiers, connected is a vector list
-- the vectors must be absolute positions
@ -246,13 +248,6 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti
minetest.get_meta(np):from_table(n.meta)
end
for i in ipairs(nodes) do
if first_dropper and i >= first_dropper then
break
end
nodes[i].pos = vector.add(nodes[i].pos, movedir)
end
local moved_nodes = {}
local oldstack = mesecon.tablecopy(nodes)
for i in ipairs(nodes) do
@ -272,12 +267,6 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti
return true, nodes, oldstack
end
mesecon.register_on_mvps_move(function(moved_nodes)
for _, n in ipairs(moved_nodes) do
mesecon.on_placenode(n.pos, n.node)
end
end)
function mesecon.mvps_move_objects(pos, dir, nodestack)
local objects_to_move = {}

View File

@ -1 +1,2 @@
mesecons
mcl_particles

View File

@ -98,6 +98,32 @@ local soundnames_piano = {
"mesecons_noteblock_b2",
}
local function param2_to_note_color(param2)
local r, g, b
if param2 < 8 then -- 0..7
-- More red, less green
r = param2 / 8 * 255
g = (8-param2) / 8 * 255
b = 0
elseif param2 < 16 then -- 0..15
-- More blue, less red
r = (8-(param2 - 8)) / 8 * 255
g = 0
b = (param2 - 8) / 8 * 255
else -- 16..24
-- More green, less blue
r = 0
g = (param2 - 16) / 9 * 255
b = (9-(param2 - 16)) / 9 * 255
end
r = math.floor(r)
g = math.floor(g)
b = math.floor(b)
local color = 0x10000 * r + 0x100 * g + b
-- Convert to ColorString
return string.format("#%06X", color)
end
mesecon.noteblock_play = function (pos, param2)
local block_above_name = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name
if block_above_name ~= "air" then
@ -154,6 +180,17 @@ mesecon.noteblock_play = function (pos, param2)
pitch = param2_to_pitch(param2)
end
local note_color = param2_to_note_color(param2)
minetest.add_particle({
texture = "mcl_particles_note.png^[colorize:"..note_color..":92",
pos = { x = pos.x, y = pos.y + 0.35, z = pos.z },
velocity = { x = 0, y = 2, z = 0 },
acceleration = { x = 0, y = -2, z = 0 },
expirationtime = 1.0,
collisiondetection = false,
size = 3,
})
minetest.sound_play(soundname,
{pos = pos, gain = 1.0, max_hear_distance = 48, pitch = pitch})
end

View File

@ -0,0 +1,22 @@
# textdomain: mesecons_noteblock
Note Block=Нотный блок
A note block is a musical block which plays one of many musical notes and different intruments when it is punched or supplied with redstone power.=Нотный блок это музыкальный блок, который при ударе, а также при подаче энергии редстоуна проигрывает одну из множества музыкальных нот различными инструментами.
Use the note block to choose the next musical note (there are 25 semitones, or 2 octaves). The intrument played depends on the material of the block below the note block:=[Используйте] нотный блок, чтобы выбрать следующую ноту (всего предусмотрено 25 полутонов или 2 октавы). Проигрываемый инструмент зависит от материала, который находится непосредственно под нотным блоком.
• Glass: Sticks=• Стекло: палочки
• Wood: Bass guitar=• Дерево: бас-гитара
• Stone: Bass drum=• Камень: бочка
• Sand or gravel: Snare drum=• Песок или гравий: барабан
• Anything else: Piano=• Что-либо другое: фортепиано
• Block of Gold: Bell=• Золотой блок: колокол
• Clay: Flute=• Глина: флейта
• Packed Ice: Chime=• Упакованный лёд: звон
• Wool: Guitar=• Шерсть: гитара
• Bone Block: Xylophne=• Костный блок: ксилофон
• Block of Iron: Iron xylophne=• Железный блок: металлофон
• Soul Sand: Cow bell=• Песок душ: колокольчик
• Pumpkin: Didgeridoo=• Тыква: диджериду
• Block of Emerald: Square wave=• Изумрудный блок: прямоугольный сигнал
• Hay Bale: Banjo=• Стог сена: банджо
• Glowstone: Electric piano=• Электронное фортепиано
The note block will only play a note when it is below air, otherwise, it stays silent.=Нотный блок проигрывает ноту только когда над ним имеется воздух, в противном случае он остаётся тихим.
Plays a musical note when powered by redstone power=Проигрывает ноту при подключении энергии редстоуна

Some files were not shown because too many files have changed in this diff Show More