{"id":499799,"date":"2026-10-22T14:06:26","date_gmt":"2026-10-22T11:06:26","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=499799"},"modified":"2026-10-22T14:06:26","modified_gmt":"2026-10-22T11:06:26","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=499799","title":{"rendered":"\u0421\u0430\u0434 \u043f\u043e\u0432\u0435\u0440\u0445 \u0432\u0441\u0435\u0445 \u043e\u043a\u043e\u043d: \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u043a\u043d\u043e, \u043a\u043b\u0438\u043a\u0438 \u043d\u0430\u0441\u043a\u0432\u043e\u0437\u044c \u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0442\u0435\u0440 \u0432 Godot 4"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u042f \u0434\u0435\u043b\u0430\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u0433\u0440\u0443 \u00ab\u0411\u0430\u043b\u043a\u043e\u043d\u043d\u044b\u0439 \u0441\u0430\u0434\u00bb: \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u044f\u0442\u044c \u0433\u043e\u0440\u0448\u043a\u043e\u0432 \u043d\u0430 \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435, \u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044c \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a. \u0412\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0438\u0434\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0446\u0432\u0435\u0442\u0443 \u0437\u0435\u043c\u043b\u0438, \u0431\u043e\u043b\u0435\u0437\u043d\u044c \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043b\u0438\u0441\u0442\u044c\u044f\u043c. \u0412\u0440\u0435\u043c\u044f \u0438\u0434\u0451\u0442 \u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u0433\u0440\u0435.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432 \u043c\u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438: \u00ab\u0423\u043c\u0438\u0440\u0430\u043d\u0438\u0435 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 \u043e\u0442\u0434\u0430\u0451\u0442 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0434\u0443\u0445\u043e\u0442\u043e\u0439. \u0412\u043e\u0442 \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435\u2026\u00bb. \u0422\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0440\u0435\u0436\u0438\u043c \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb: \u0438\u0433\u0440\u0430 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0443\u044e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u0443\u044e \u043f\u043e\u043b\u043a\u0443 \u0441 \u0433\u043e\u0440\u0448\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0438\u0441\u0438\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u0432\u0441\u0435\u0445 \u043e\u043a\u043e\u043d.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0443, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0432 Godot 4.3: \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0431\u0435\u0437 \u0440\u0430\u043c\u043a\u0438, \u043a\u043b\u0438\u043a\u0438 \u0441\u043a\u0432\u043e\u0437\u044c \u043f\u0443\u0441\u0442\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u043f\u043e\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442\u0430 \u0431\u0435\u0437 \u00ab\u043c\u044b\u043b\u0430\u00bb \u0438 \u0440\u043e\u0441\u0442 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0431\u0435\u0437 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0439. \u041a\u043e\u0434\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0432 \u043f\u0430\u0440\u0435 \u043c\u0435\u0441\u0442 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/9c\/51\/54\/9c5154c29af2986e692409f2d50b3a45.png\" width=\"1200\" height=\"675\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/9c\/51\/54\/9c5154c29af2986e692409f2d50b3a45.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/9c\/51\/54\/9c5154c29af2986e692409f2d50b3a45.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 Godot \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/p>\n<pre><code>[display]window\/per_pixel_transparency\/allowed=true<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0444\u043b\u0430\u0433\u0430 \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u043e\u043b\u0447\u0430 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: \u043e\u043a\u043d\u043e \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0441 \u0447\u0451\u0440\u043d\u044b\u043c \u0444\u043e\u043d\u043e\u043c.<\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043e\u043a\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u00ab\u043f\u043e\u043b\u043e\u0447\u043d\u044b\u0439\u00bb \u0440\u0435\u0436\u0438\u043c \u043f\u0440\u044f\u043c\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0433\u0440\u044b:<\/p>\n<pre><code>func _enter_mini() -&gt; void:    var w := get_window()    _saved_win = {\"size\": w.size, \"pos\": w.position, \"mode\": w.mode}    w.mode = Window.MODE_WINDOWED    w.transparent_bg = true   # \u0444\u043e\u043d \u0432\u044c\u044e\u043f\u043e\u0440\u0442\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439    w.transparent = true      # \u0441\u0430\u043c\u043e \u043e\u043a\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435    w.borderless = true    w.always_on_top = true    w.content_scale_size = MINI_BASE   # 448\u00d7184 \u2014 \u00ab\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435\u00bb \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043a\u0438    _apply_mini_window()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0434\u0432\u0430 \u0444\u043b\u0430\u0433\u0430, \u0438 \u043d\u0443\u0436\u043d\u044b \u043e\u0431\u0430: <code>transparent_bg<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0444\u043e\u043d \u0432\u044c\u044e\u043f\u043e\u0440\u0442\u0430, <code>transparent<\/code> \u2014 \u0437\u0430 \u0441\u0430\u043c\u043e \u043e\u043a\u043d\u043e \u041e\u0421. \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u0447\u0451\u0440\u043d\u044b\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u043a\u043d\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0440\u0438\u0441\u0443\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u044b\u0439 \u0444\u043e\u043d.<\/p>\n<p><code>content_scale_size<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0442\u044c \u0441\u0430\u043c\u0443 \u0441\u0446\u0435\u043d\u0443. \u0418\u0433\u0440\u0430 \u0440\u0438\u0441\u0443\u0435\u0442 \u043f\u043e\u043b\u043a\u0443 \u0432 \u0441\u0432\u043e\u0451\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u0430 \u043e\u043a\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0435\u0451 \u0446\u0435\u043b\u044b\u043c \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u043c (\u00d71 \u0438\u043b\u0438 \u00d72, \u043a\u043d\u043e\u043f\u043a\u0430 \u00ab\u00b1\u00bb). \u041f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0447\u0451\u0442\u043a\u0438\u043c.<\/p>\n<p>\u041e\u043a\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u0430\u0432\u044b\u0439 \u043d\u0438\u0436\u043d\u0438\u0439 \u0443\u0433\u043e\u043b \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043d\u0430\u043b\u0435\u0437\u0430\u0442\u044c \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u044c \u0437\u0430\u0434\u0430\u0447:<\/p>\n<pre><code>var area := DisplayServer.screen_get_usable_rect(w.current_screen)w.position = area.position + area.size - win_size - Vector2i(16, 0)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041e\u043a\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435, \u043d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043c\u044b\u0448\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u00ab\u043c\u0438\u043c\u043e\u00bb \u0433\u043e\u0440\u0448\u043a\u043e\u0432 \u043f\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443, \u0430 \u043a\u043b\u0438\u043a \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u0438\u0433\u0440\u0443.<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 <code>DisplayServer.window_set_mouse_passthrough()<\/code>. \u0412 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a: \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0433\u043e \u043c\u044b\u0448\u044c \u043b\u043e\u0432\u0438\u0442 \u043e\u043a\u043d\u043e, \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u043a\u043b\u0438\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0432 \u043e\u043a\u043d\u0430 \u043f\u043e\u0434 \u043d\u0438\u043c.<\/p>\n<pre><code># \u043b\u043e\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u043e\u0441\u0443 \u0441 \u0433\u043e\u0440\u0448\u043a\u0430\u043c\u0438 \u0438 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0441\u043b\u0435\u0432\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043d\u0430\u0441\u043a\u0432\u043e\u0437\u044cvar y0 := float((MINI_BASE.y - 12 - 58) * s)DisplayServer.window_set_mouse_passthrough(PackedVector2Array([    Vector2(0, y0), Vector2(22 * s, y0), Vector2(22 * s, (MINI_BASE.y - 12 - 34) * s),    Vector2(win_size.x, (MINI_BASE.y - 12 - 34) * s),    Vector2(win_size.x, win_size.y), Vector2(0, win_size.y)]))<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438:<\/p>\n<p>1\u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 <strong>\u043f\u0438\u043a\u0441\u0435\u043b\u044f\u0445 \u043e\u043a\u043d\u0430<\/strong>, \u0430 \u043d\u0435 \u0441\u0446\u0435\u043d\u044b. \u041f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u00d72 \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u0434\u0435 \u0432\u0435\u0437\u0434\u0435 \u0441\u0442\u043e\u0438\u0442 <code>* s<\/code>.<\/p>\n<p>2 \u041f\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u0435 \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u043d\u0430\u0434\u043e <strong>\u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c<\/strong> \u043f\u0443\u0441\u0442\u044b\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c, \u0438\u043d\u0430\u0447\u0435 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u0435 \u043e\u043a\u043d\u043e \u0442\u043e\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u043b\u0438\u043a\u0438:<\/p>\n<pre><code>DisplayServer.window_set_mouse_passthrough(PackedVector2Array())<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>3 \u041b\u0438\u0441\u0442\u044c\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0440\u0447\u0430\u0442 \u0432\u044b\u0448\u0435 \u043f\u043e\u043b\u043e\u0441\u044b, \u043a\u043b\u0438\u043a\u0438 \u043d\u0435 \u043b\u043e\u0432\u044f\u0442. \u0414\u043b\u044f \u043f\u043e\u043b\u043a\u0438 \u044d\u0442\u043e \u0434\u0430\u0436\u0435 \u0443\u0434\u043e\u0431\u043d\u043e: \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u043e\u0434\u0441\u043e\u043b\u043d\u0443\u0445 \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043e\u043a\u043d\u043e\u043c \u043f\u043e\u0434 \u043d\u0438\u043c.<\/p>\n<p>\u041f\u043e\u043b\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u0441\u043a\u0430\u0442\u044c \u043c\u044b\u0448\u044c\u044e. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u043b\u043e\u0432\u0443\u0448\u043a\u0430: \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u044f (<code>event.position<\/code>) \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u043a\u043d\u0430, \u0430 \u043e\u043a\u043d\u043e \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0430\u043c\u043e \u0434\u0432\u0438\u0436\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0434\u0440\u043e\u0436\u0430\u0442\u044c. \u041d\u0443\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u044d\u043a\u0440\u0430\u043d\u043d\u0443\u044e \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u043c\u044b\u0448\u0438:<\/p>\n<pre><code>func _on_shelf_input(event: InputEvent) -&gt; void:    if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT:        _dragging = event.pressed        _drag_offset = DisplayServer.mouse_get_position() - get_window().position    elif event is InputEventMouseMotion and _dragging:        get_window().position = DisplayServer.mouse_get_position() - _drag_offset<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041a\u043b\u0438\u043a \u043f\u043e \u0433\u043e\u0440\u0448\u043a\u0443 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0438\u0433\u0440\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u044d\u0442\u043e\u043c \u0433\u043e\u0440\u0448\u043a\u0435.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/extt\/d5\/8d\/cd\/d58dcda924280cfd494217eba28a9875.gif\" width=\"640\" height=\"480\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/extt\/d5\/8d\/cd\/d58dcda924280cfd494217eba28a9875.gif 780w,&#10;       https:\/\/habrastorage.org\/extt\/d5\/8d\/cd\/d58dcda924280cfd494217eba28a9875.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0420\u0430\u0441\u0442\u0435\u043d\u0438\u044f \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0436\u0438\u0432\u044b\u043c\u0438. \u041d\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442 \u043f\u043b\u043e\u0445\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438: \u043f\u0440\u0438 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0435 \u0438\u043b\u0438 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u0438 \u0440\u0435\u0436\u0443\u0442\u0441\u044f, \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u00ab\u043f\u043b\u044b\u0432\u0451\u0442\u00bb.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0448\u0435\u0439\u0434\u0435\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0432\u0438\u0433\u0430\u0435\u0442 <strong>\u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443<\/strong> \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 \u043d\u0430 <strong>\u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439<\/strong>. \u0427\u0435\u043c \u0432\u044b\u0448\u0435 \u0441\u0442\u0440\u043e\u043a\u0430, \u0442\u0435\u043c \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u0441\u0434\u0432\u0438\u0433: \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435, \u043c\u0430\u043a\u0443\u0448\u043a\u0430 \u0433\u0443\u043b\u044f\u0435\u0442.<\/p>\n<pre><code>shader_type canvas_item;uniform float amp = 2.2;     \/\/ \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0434\u0432\u0438\u0433 \u043c\u0430\u043a\u0443\u0448\u043a\u0438, \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0430\u0440\u0442\u0430uniform float speed = 0.9;uniform float phase = 0.0;   \/\/ \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0440\u0448\u043a\u0430 \u0441\u0432\u043e\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043a\u0430\u0447\u0430\u043b\u0438\u0441\u044c \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043euniform float tex_w = 80.0;uniform float tex_h = 140.0;uniform float px = 2.0;      \/\/ \u0440\u0430\u0437\u043c\u0435\u0440 \u00ab\u043a\u0440\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u00bb \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044fvarying vec4 vcol;void vertex() { vcol = COLOR; }void fragment() {    \/\/ \u0432\u044b\u0441\u043e\u0442\u0430 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043a\u0440\u0443\u043f\u043d\u044b\u043c \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0432\u0438\u0433 \u043d\u0435 \u0440\u0435\u0437\u0430\u043b \u043f\u0438\u043a\u0441\u0435\u043b\u044c \u043f\u043e\u043f\u043e\u043b\u0430\u043c    float h = 1.0 - floor(UV.y * tex_h \/ px) * px \/ tex_h;  \/\/ 0 \u0443 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f, 1 \u043d\u0430\u0432\u0435\u0440\u0445\u0443    float wave = sin(TIME * speed + phase + h * 2.2)               + 0.35 * sin(TIME * speed * 2.3 + phase * 1.7);    float shift = round(amp * h * h * wave \/ px) * px;     \/\/ \u0446\u0435\u043b\u044b\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u0438!    vec2 uv = UV;    uv.x -= shift \/ tex_w;    COLOR = texture(TEXTURE, uv) * vcol;}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u0435\u0442\u0430\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0432\u0430\u0436\u043d\u044b\u043c\u0438:<\/p>\n<ul>\n<li>\n<p><code><strong>h * h<\/strong><\/code> \u0432\u043c\u0435\u0441\u0442\u043e <code>h<\/code>: \u043d\u0438\u0436\u043d\u044f\u044f \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f, \u0438 \u0441\u0442\u0435\u0431\u0435\u043b\u044c \u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0435\u0437\u0438\u043d\u043e\u0432\u044b\u043c.<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u0430<\/strong> \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0440\u0438\u0442\u043c\u0438\u0447\u043d\u043e\u0441\u0442\u044c.<\/p>\n<\/li>\n<li>\n<p><code><strong>round(... \/ px) * px<\/strong><\/code>: \u0441\u0434\u0432\u0438\u0433 \u043a\u0440\u0430\u0442\u0435\u043d \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u043a\u0440\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0430\u0440\u0442\u0430 (\u0443 \u043c\u0435\u043d\u044f 2 \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b). \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u044a\u0435\u0437\u0436\u0430\u044e\u0442 \u043d\u0430 \u043f\u043e\u043b\u043f\u0438\u043a\u0441\u0435\u043b\u044f, \u0438 \u043d\u0430 \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u00ab\u043b\u0435\u0441\u0435\u043d\u043a\u0430\u00bb.<\/p>\n<\/li>\n<li>\n<p><code><strong>vcol<\/strong><\/code>: modulate \u0441\u043f\u0440\u0430\u0439\u0442\u0430 (\u0431\u043e\u043b\u0435\u0437\u043d\u044c, \u0437\u0430\u043c\u043e\u0440\u043e\u0437\u043a\u0430, \u0441\u043c\u0435\u0440\u0442\u044c) \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0446\u0432\u0435\u0442 \u0432\u0435\u0440\u0448\u0438\u043d\u044b, \u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0430\u0449\u0438\u0442\u044c \u0432 <code>fragment<\/code> \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0418\u043d\u0430\u0447\u0435 \u0442\u043e\u043d\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0435\u0442.<\/p>\n<\/li>\n<\/ul>\n<p>\u0417\u0430\u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043d\u044b\u043c \u0438 \u043c\u0451\u0440\u0442\u0432\u044b\u043c \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f\u043c \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0430\u0432\u043b\u044e <code>amp = 0<\/code>. \u042d\u0442\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0433\u0435\u0439\u043c\u043f\u043b\u0435\u0439\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430: \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u043d\u043e, \u043a\u0442\u043e \u0436\u0438\u0432\u043e\u0439.<\/p>\n<p>\u041a\u0430\u0436\u0434\u043e\u0435 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u0448\u0435\u0441\u0442\u044c PNG 80\u00d7140: \u0441\u0442\u0435\u0431\u0435\u043b\u044c, \u043b\u0438\u0441\u0442\u0432\u0430, \u043f\u043b\u043e\u0434\u044b \u0438 \u0438\u0445 \u00ab\u0431\u043e\u043b\u044c\u043d\u044b\u0435\u00bb \u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u0441\u0435 \u0441\u043b\u043e\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043d\u0438\u0436\u043d\u0435\u043c \u043a\u0440\u0430\u0435.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/55\/f4\/1b\/55f41baddfdea94aff420b9fe95fe77c.png\" width=\"1144\" height=\"400\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/55\/f4\/1b\/55f41baddfdea94aff420b9fe95fe77c.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/55\/f4\/1b\/55f41baddfdea94aff420b9fe95fe77c.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0420\u043e\u0441\u0442 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e <code>region_rect<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0441\u043f\u0440\u0430\u0439\u0442 \u0441\u043d\u0438\u0437\u0443 \u0432\u0432\u0435\u0440\u0445:<\/p>\n<pre><code>func _set_layer(key: String, t: Texture2D, ry: int, rh: int) -&gt; void:    var s: Sprite2D = layers[key]    s.texture = t    s.region_rect = Rect2(0, ry, t.get_width(), rh)    s.position = Vector2((ART_W - t.get_width()) \/ 2, ry - t.get_height())    s.visible = rh &gt; 0# \u0432\u0438\u0434\u0438\u043c\u0430\u044f \u0432\u044b\u0441\u043e\u0442\u0430 = \u0434\u043e\u043b\u044f \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430 \u00d7 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u044b\u0441\u043e\u0442\u0430 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b_set_layer(\"foliage\", tex, tex.get_height() - hgt, hgt)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043b\u044e\u0441 \u043f\u043e\u0434\u0445\u043e\u0434\u0430: \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a \u0440\u0438\u0441\u0443\u0435\u0442 <strong>\u043e\u0434\u043d\u0443<\/strong> \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0432\u0437\u0440\u043e\u0441\u043b\u043e\u0433\u043e \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f, \u0430 \u0432\u0441\u0435 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u043e\u0441\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u041f\u043b\u043e\u0434\u044b \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435, \u043d\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0440\u0430\u0441\u0442\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0432\u0437\u0440\u043e\u0441\u043b\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/bd\/3e\/dc\/bd3edc67043f5467fe5c769bbe88afbd.png\" width=\"1040\" height=\"380\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/bd\/3e\/dc\/bd3edc67043f5467fe5c769bbe88afbd.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/bd\/3e\/dc\/bd3edc67043f5467fe5c769bbe88afbd.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0411\u043e\u043b\u0435\u0437\u043d\u044c \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432 \u043f\u043e\u0432\u0435\u0440\u0445 \u0437\u0434\u043e\u0440\u043e\u0432\u044b\u0445:<\/p>\n<pre><code>var a := clampf(p[\"disease\"] \/ 100.0 * 1.15, 0.0, 1.0)for k in [\"stem_sick\", \"foliage_sick\", \"fruit_sick\"]:    layers[k].modulate.a = a<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u00ab\u0437\u0435\u043b\u0451\u043d\u043e\u0435 \u2192 \u0436\u0451\u043b\u0442\u043e\u0435 \u0432 \u043f\u044f\u0442\u043d\u0430\u0445\u00bb, \u0438 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043d\u0438 \u043e\u0434\u0438\u043d \u043a\u0430\u0434\u0440 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>1 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0447\u0430\u0441 = 10 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0438\u043d\u0443\u0442. \u041f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043f\u0438\u0448\u0435\u0442\u0441\u044f unix-\u0432\u0440\u0435\u043c\u044f, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0447\u0430\u0441\u044b \u0434\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f:<\/p>\n<pre><code>var elapsed := Time.get_unix_time_from_system() - float(cfg.get_value(\"game\", \"saved_at\", 0.0))if elapsed &gt; 0.0:    _accum += elapsed    var hours := int(_accum \/ REAL_SECONDS_PER_GAME_HOUR)    _accum -= hours * REAL_SECONDS_PER_GAME_HOUR    for i in mini(hours, MAX_OFFLINE_HOURS):        tick_hour()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041e\u0441\u0442\u0430\u0442\u043e\u043a <code>_accum<\/code> \u0442\u043e\u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f. \u0418\u043d\u0430\u0447\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u00ab\u0441\u044a\u0435\u0434\u0430\u0435\u0442\u00bb \u0434\u043e 10 \u043c\u0438\u043d\u0443\u0442 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438 \u0438\u0433\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0438\u0433\u0440\u0443, \u0440\u0430\u0441\u0442\u044f\u0442 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435.<\/p>\n<p>\u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043a\u0443\u0441\u043e\u043a \u0438 \u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0434\u0440\u0430\u043c\u0443 \u0438\u0433\u0440\u044b. \u041e\u0433\u0443\u0440\u0446\u0443 \u043d\u0443\u0436\u043d\u0430 \u0432\u043b\u0430\u0436\u043d\u0430\u044f \u0437\u0435\u043c\u043b\u044f, \u043e\u043d \u0431\u044b\u0441\u0442\u0440\u043e \u0441\u043e\u0445\u043d\u0435\u0442, \u0438 \u0437\u0430 \u043d\u043e\u0447\u044c (\u044d\u0442\u043e 6\u20138 \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u0447\u0430\u0441\u043e\u0432) \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u0432\u044b\u0441\u043e\u0445\u043d\u0443\u0442\u044c \u0438 \u0437\u0430\u0431\u043e\u043b\u0435\u0442\u044c. \u041e\u0442\u0441\u044e\u0434\u0430 \u00ab\u0437\u0430\u043c\u043e\u0440\u043e\u0437\u043a\u0430\u00bb \u0433\u043e\u0440\u0448\u043a\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb, \u0433\u0434\u0435 \u0441\u0430\u0434 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430 \u0432\u0438\u0434\u0443.<\/p>\n<p>Godot \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <code>.csv<\/code> \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432. \u0427\u0442\u043e\u0431\u044b \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0444\u0430\u0439\u043b \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0440\u044f\u0434\u043e\u043c \u043b\u0435\u0436\u0438\u0442 <code>plants_data.csv.import<\/code>:<\/p>\n<pre><code>[remap]importer=\"keep\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0410 \u0432 \u043f\u0440\u0435\u0441\u0435\u0442\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0444\u0430\u0439\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 <code>include_filter<\/code>, \u0438\u043d\u0430\u0447\u0435 \u043e\u043d \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0451\u0442 \u0432 \u0441\u0431\u043e\u0440\u043a\u0443.<\/p>\n<p>\u0418\u0442\u043e\u0433<\/p>\n<p>\u0411\u0435\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb \u0438\u0433\u0440\u0430 \u043e\u0449\u0443\u0449\u0430\u043b\u0430\u0441\u044c \u043a\u0430\u043a \u0442\u0430\u043c\u0430\u0433\u043e\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043f\u0440\u0435\u043a\u0430\u0435\u0442 \u0442\u0435\u0431\u044f \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e \u0442\u044b \u0437\u0430\u043a\u0440\u044b\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0421 \u043d\u0438\u043c \u0441\u0430\u0434 \u0441\u0442\u0430\u043b \u0444\u043e\u043d\u043e\u0432\u044b\u043c \u0441\u043e\u0441\u0435\u0434\u043e\u043c: \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0448\u044c, \u0430 \u043a\u0440\u0430\u0435\u043c \u0433\u043b\u0430\u0437\u0430 \u0432\u0438\u0434\u0438\u0448\u044c, \u0447\u0442\u043e \u0443 \u043e\u0433\u0443\u0440\u0446\u0430 \u043f\u043e\u0441\u0432\u0435\u0442\u043b\u0435\u043b\u0430 \u0437\u0435\u043c\u043b\u044f.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e \u043a\u043e\u0434\u0443, \u043e\u0442\u0432\u0435\u0447\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u0418\u0433\u0440\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f, \u0432\u0435\u0440\u0441\u0438\u044f \u0430\u043b\u044c\u0444\u0430 0.2: <a href=\"http:\/\/grag-hack.itch.io\/balcony-garden\" rel=\"noopener nofollow\">grag-hack.itch.io\/balcony-garden<\/a>. \u0410\u0440\u0442 \u043f\u043e\u043a\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043d\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430 Python, \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0431\u0443\u0434\u0443 \u0438\u0441\u043a\u0430\u0442\u044c \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a\u0430<\/p>\n<p>\u041d\u0430\u0434 \u043c\u0443\u0437\u044b\u043a\u043e\u0439 \u0438 \u0437\u0432\u0443\u043a\u0430\u043c\u0438 \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u043e\u0439 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0439: \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043f\u0435\u0442\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0436\u0438\u0432\u043e\u0439 \u0441\u0430\u0443\u043d\u0434\u0442\u0440\u0435\u043a.  <\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1097884\/\">https:\/\/habr.com\/ru\/articles\/1097884\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u042f \u0434\u0435\u043b\u0430\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u0433\u0440\u0443 \u00ab\u0411\u0430\u043b\u043a\u043e\u043d\u043d\u044b\u0439 \u0441\u0430\u0434\u00bb: \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u044f\u0442\u044c \u0433\u043e\u0440\u0448\u043a\u043e\u0432 \u043d\u0430 \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435, \u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044c \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a. \u0412\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0438\u0434\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0446\u0432\u0435\u0442\u0443 \u0437\u0435\u043c\u043b\u0438, \u0431\u043e\u043b\u0435\u0437\u043d\u044c \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043b\u0438\u0441\u0442\u044c\u044f\u043c. \u0412\u0440\u0435\u043c\u044f \u0438\u0434\u0451\u0442 \u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u0433\u0440\u0435.\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432 \u043c\u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438: \u00ab\u0423\u043c\u0438\u0440\u0430\u043d\u0438\u0435 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u043f\u0440\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 \u043e\u0442\u0434\u0430\u0451\u0442 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0434\u0443\u0445\u043e\u0442\u043e\u0439. \u0412\u043e\u0442 \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435\u2026\u00bb. \u0422\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0440\u0435\u0436\u0438\u043c \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb: \u0438\u0433\u0440\u0430 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0443\u044e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u0443\u044e \u043f\u043e\u043b\u043a\u0443 \u0441 \u0433\u043e\u0440\u0448\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0438\u0441\u0438\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u0432\u0441\u0435\u0445 \u043e\u043a\u043e\u043d.\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0443, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0432 Godot 4.3: \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0431\u0435\u0437 \u0440\u0430\u043c\u043a\u0438, \u043a\u043b\u0438\u043a\u0438 \u0441\u043a\u0432\u043e\u0437\u044c \u043f\u0443\u0441\u0442\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u043f\u043e\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442\u0430 \u0431\u0435\u0437 \u00ab\u043c\u044b\u043b\u0430\u00bb \u0438 \u0440\u043e\u0441\u0442 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0439 \u0431\u0435\u0437 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0439. \u041a\u043e\u0434\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0432 \u043f\u0430\u0440\u0435 \u043c\u0435\u0441\u0442 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438.\u0412 Godot \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:[display]window\/per_pixel_transparency\/allowed=true\u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0444\u043b\u0430\u0433\u0430 \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u043e\u043b\u0447\u0430 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: \u043e\u043a\u043d\u043e \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0441 \u0447\u0451\u0440\u043d\u044b\u043c \u0444\u043e\u043d\u043e\u043c.\u0414\u0430\u043b\u044c\u0448\u0435 \u043e\u043a\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u00ab\u043f\u043e\u043b\u043e\u0447\u043d\u044b\u0439\u00bb \u0440\u0435\u0436\u0438\u043c \u043f\u0440\u044f\u043c\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0433\u0440\u044b:func _enter_mini() -&gt; void:    var w := get_window()    _saved_win = {&#171;size&#187;: w.size, &#171;pos&#187;: w.position, &#171;mode&#187;: w.mode}    w.mode = Window.MODE_WINDOWED    w.transparent_bg = true   # \u0444\u043e\u043d \u0432\u044c\u044e\u043f\u043e\u0440\u0442\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439    w.transparent = true      # \u0441\u0430\u043c\u043e \u043e\u043a\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435    w.borderless = true    w.always_on_top = true    w.content_scale_size = MINI_BASE   # 448\u00d7184 \u2014 \u00ab\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435\u00bb \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043a\u0438    _apply_mini_window()\u0417\u0434\u0435\u0441\u044c \u0434\u0432\u0430 \u0444\u043b\u0430\u0433\u0430, \u0438 \u043d\u0443\u0436\u043d\u044b \u043e\u0431\u0430: transparent_bg \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0444\u043e\u043d \u0432\u044c\u044e\u043f\u043e\u0440\u0442\u0430, transparent \u2014 \u0437\u0430 \u0441\u0430\u043c\u043e \u043e\u043a\u043d\u043e \u041e\u0421. \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u0447\u0451\u0440\u043d\u044b\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u043a\u043d\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0440\u0438\u0441\u0443\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u044b\u0439 \u0444\u043e\u043d.content_scale_size \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0442\u044c \u0441\u0430\u043c\u0443 \u0441\u0446\u0435\u043d\u0443. \u0418\u0433\u0440\u0430 \u0440\u0438\u0441\u0443\u0435\u0442 \u043f\u043e\u043b\u043a\u0443 \u0432 \u0441\u0432\u043e\u0451\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u0430 \u043e\u043a\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0435\u0451 \u0446\u0435\u043b\u044b\u043c \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u043c (\u00d71 \u0438\u043b\u0438 \u00d72, \u043a\u043d\u043e\u043f\u043a\u0430 \u00ab\u00b1\u00bb). \u041f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0447\u0451\u0442\u043a\u0438\u043c.\u041e\u043a\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u0430\u0432\u044b\u0439 \u043d\u0438\u0436\u043d\u0438\u0439 \u0443\u0433\u043e\u043b \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043d\u0430\u043b\u0435\u0437\u0430\u0442\u044c \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u044c \u0437\u0430\u0434\u0430\u0447:var area := DisplayServer.screen_get_usable_rect(w.current_screen)w.position = area.position + area.size &#8212; win_size &#8212; Vector2i(16, 0)\u041e\u043a\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435, \u043d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043c\u044b\u0448\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u00ab\u043c\u0438\u043c\u043e\u00bb \u0433\u043e\u0440\u0448\u043a\u043e\u0432 \u043f\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443, \u0430 \u043a\u043b\u0438\u043a \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u0438\u0433\u0440\u0443.\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 DisplayServer.window_set_mouse_passthrough(). \u0412 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a: \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0433\u043e \u043c\u044b\u0448\u044c \u043b\u043e\u0432\u0438\u0442 \u043e\u043a\u043d\u043e, \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u043a\u043b\u0438\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0432 \u043e\u043a\u043d\u0430 \u043f\u043e\u0434 \u043d\u0438\u043c.# \u043b\u043e\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u043e\u0441\u0443 \u0441 \u0433\u043e\u0440\u0448\u043a\u0430\u043c\u0438 \u0438 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0441\u043b\u0435\u0432\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043d\u0430\u0441\u043a\u0432\u043e\u0437\u044cvar y0 := float((MINI_BASE.y &#8212; 12 &#8212; 58) * s)DisplayServer.window_set_mouse_passthrough(PackedVector2Array([    Vector2(0, y0), Vector2(22 * s, y0), Vector2(22 * s, (MINI_BASE.y &#8212; 12 &#8212; 34) * s),    Vector2(win_size.x, (MINI_BASE.y &#8212; 12 &#8212; 34) * s),    Vector2(win_size.x, win_size.y), Vector2(0, win_size.y)]))\u041f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438:1\u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u0445 \u043e\u043a\u043d\u0430, \u0430 \u043d\u0435 \u0441\u0446\u0435\u043d\u044b. \u041f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u00d72 \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u0434\u0435 \u0432\u0435\u0437\u0434\u0435 \u0441\u0442\u043e\u0438\u0442 * s.2 \u041f\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u0435 \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u043d\u0430\u0434\u043e \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c, \u0438\u043d\u0430\u0447\u0435 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u0435 \u043e\u043a\u043d\u043e \u0442\u043e\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u043b\u0438\u043a\u0438:DisplayServer.window_set_mouse_passthrough(PackedVector2Array())3 \u041b\u0438\u0441\u0442\u044c\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0440\u0447\u0430\u0442 \u0432\u044b\u0448\u0435 \u043f\u043e\u043b\u043e\u0441\u044b, \u043a\u043b\u0438\u043a\u0438 \u043d\u0435 \u043b\u043e\u0432\u044f\u0442. \u0414\u043b\u044f \u043f\u043e\u043b\u043a\u0438 \u044d\u0442\u043e \u0434\u0430\u0436\u0435 \u0443\u0434\u043e\u0431\u043d\u043e: \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u043e\u0434\u0441\u043e\u043b\u043d\u0443\u0445 \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043e\u043a\u043d\u043e\u043c \u043f\u043e\u0434 \u043d\u0438\u043c.\u041f\u043e\u043b\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u0441\u043a\u0430\u0442\u044c \u043c\u044b\u0448\u044c\u044e. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u043b\u043e\u0432\u0443\u0448\u043a\u0430: \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u044f (event.position) \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u043a\u043d\u0430, \u0430 \u043e\u043a\u043d\u043e \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0430\u043c\u043e \u0434\u0432\u0438\u0436\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0434\u0440\u043e\u0436\u0430\u0442\u044c. \u041d\u0443\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u044d\u043a\u0440\u0430\u043d\u043d\u0443\u044e \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u043c\u044b\u0448\u0438:func _on_shelf_input(event: InputEvent) -&gt; void:    if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT:        _dragging = event.pressed        _drag_offset = DisplayServer.mouse_get_position() &#8212; get_window().position    elif event is InputEventMouseMotion and _dragging:        get_window().position = DisplayServer.mouse_get_position() &#8212; _drag_offset\u041a\u043b\u0438\u043a \u043f\u043e \u0433\u043e\u0440\u0448\u043a\u0443 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0438\u0433\u0440\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u044d\u0442\u043e\u043c \u0433\u043e\u0440\u0448\u043a\u0435.\u0420\u0430\u0441\u0442\u0435\u043d\u0438\u044f \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0436\u0438\u0432\u044b\u043c\u0438. \u041d\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044c-\u0430\u0440\u0442 \u043f\u043b\u043e\u0445\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438: \u043f\u0440\u0438 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0435 \u0438\u043b\u0438 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u0438 \u0440\u0435\u0436\u0443\u0442\u0441\u044f, \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u00ab\u043f\u043b\u044b\u0432\u0451\u0442\u00bb.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0448\u0435\u0439\u0434\u0435\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0432\u0438\u0433\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 \u043d\u0430 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439. \u0427\u0435\u043c \u0432\u044b\u0448\u0435 \u0441\u0442\u0440\u043e\u043a\u0430, \u0442\u0435\u043c \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u0441\u0434\u0432\u0438\u0433: \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435, \u043c\u0430\u043a\u0443\u0448\u043a\u0430 \u0433\u0443\u043b\u044f\u0435\u0442.shader_type canvas_item;uniform float amp = 2.2;     \/\/ \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0434\u0432\u0438\u0433 \u043c\u0430\u043a\u0443\u0448\u043a\u0438, \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0430\u0440\u0442\u0430uniform float speed = 0.9;uniform float phase = 0.0;   \/\/ \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0440\u0448\u043a\u0430 \u0441\u0432\u043e\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043a\u0430\u0447\u0430\u043b\u0438\u0441\u044c \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043euniform float tex_w = 80.0;uniform float tex_h = 140.0;uniform float px = 2.0;      \/\/ \u0440\u0430\u0437\u043c\u0435\u0440 \u00ab\u043a\u0440\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u00bb \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044fvarying vec4 vcol;void vertex() { vcol = COLOR; }void fragment() {    \/\/ \u0432\u044b\u0441\u043e\u0442\u0430 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043a\u0440\u0443\u043f\u043d\u044b\u043c \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0432\u0438\u0433 \u043d\u0435 \u0440\u0435\u0437\u0430\u043b \u043f\u0438\u043a\u0441\u0435\u043b\u044c \u043f\u043e\u043f\u043e\u043b\u0430\u043c    float h = 1.0 &#8212; floor(UV.y * tex_h \/ px) * px \/ tex_h;  \/\/ 0 \u0443 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f, 1 \u043d\u0430\u0432\u0435\u0440\u0445\u0443    float wave = sin(TIME * speed + phase + h * 2.2)               + 0.35 * sin(TIME * speed * 2.3 + phase * 1.7);    float shift = round(amp * h * h * wave \/ px) * px;     \/\/ \u0446\u0435\u043b\u044b\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u0438!    vec2 uv = UV;    uv.x -= shift \/ tex_w;    COLOR = texture(TEXTURE, uv) * vcol;}\u0414\u0435\u0442\u0430\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0432\u0430\u0436\u043d\u044b\u043c\u0438:h * h \u0432\u043c\u0435\u0441\u0442\u043e h: \u043d\u0438\u0436\u043d\u044f\u044f \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f, \u0438 \u0441\u0442\u0435\u0431\u0435\u043b\u044c \u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0435\u0437\u0438\u043d\u043e\u0432\u044b\u043c.\u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0440\u0438\u0442\u043c\u0438\u0447\u043d\u043e\u0441\u0442\u044c.round(&#8230; \/ px) * px: \u0441\u0434\u0432\u0438\u0433 \u043a\u0440\u0430\u0442\u0435\u043d \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u043a\u0440\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0430\u0440\u0442\u0430 (\u0443 \u043c\u0435\u043d\u044f 2 \u043f\u0438\u043a\u0441\u0435\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b). \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u044a\u0435\u0437\u0436\u0430\u044e\u0442 \u043d\u0430 \u043f\u043e\u043b\u043f\u0438\u043a\u0441\u0435\u043b\u044f, \u0438 \u043d\u0430 \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u00ab\u043b\u0435\u0441\u0435\u043d\u043a\u0430\u00bb.vcol: modulate \u0441\u043f\u0440\u0430\u0439\u0442\u0430 (\u0431\u043e\u043b\u0435\u0437\u043d\u044c, \u0437\u0430\u043c\u043e\u0440\u043e\u0437\u043a\u0430, \u0441\u043c\u0435\u0440\u0442\u044c) \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0446\u0432\u0435\u0442 \u0432\u0435\u0440\u0448\u0438\u043d\u044b, \u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0430\u0449\u0438\u0442\u044c \u0432 fragment \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0418\u043d\u0430\u0447\u0435 \u0442\u043e\u043d\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0435\u0442.\u0417\u0430\u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043d\u044b\u043c \u0438 \u043c\u0451\u0440\u0442\u0432\u044b\u043c \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f\u043c \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0430\u0432\u043b\u044e amp = 0. \u042d\u0442\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0433\u0435\u0439\u043c\u043f\u043b\u0435\u0439\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430: \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u043d\u043e, \u043a\u0442\u043e \u0436\u0438\u0432\u043e\u0439.\u041a\u0430\u0436\u0434\u043e\u0435 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u0448\u0435\u0441\u0442\u044c PNG 80\u00d7140: \u0441\u0442\u0435\u0431\u0435\u043b\u044c, \u043b\u0438\u0441\u0442\u0432\u0430, \u043f\u043b\u043e\u0434\u044b \u0438 \u0438\u0445 \u00ab\u0431\u043e\u043b\u044c\u043d\u044b\u0435\u00bb \u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u0441\u0435 \u0441\u043b\u043e\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043d\u0438\u0436\u043d\u0435\u043c \u043a\u0440\u0430\u0435.\u0420\u043e\u0441\u0442 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e region_rect, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0441\u043f\u0440\u0430\u0439\u0442 \u0441\u043d\u0438\u0437\u0443 \u0432\u0432\u0435\u0440\u0445:func _set_layer(key: String, t: Texture2D, ry: int, rh: int) -&gt; void:    var s: Sprite2D = layers[key]    s.texture = t    s.region_rect = Rect2(0, ry, t.get_width(), rh)    s.position = Vector2((ART_W &#8212; t.get_width()) \/ 2, ry &#8212; t.get_height())    s.visible = rh &gt; 0# \u0432\u0438\u0434\u0438\u043c\u0430\u044f \u0432\u044b\u0441\u043e\u0442\u0430 = \u0434\u043e\u043b\u044f \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430 \u00d7 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u044b\u0441\u043e\u0442\u0430 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b_set_layer(&#171;foliage&#187;, tex, tex.get_height() &#8212; hgt, hgt)\u041f\u043b\u044e\u0441 \u043f\u043e\u0434\u0445\u043e\u0434\u0430: \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a \u0440\u0438\u0441\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0432\u0437\u0440\u043e\u0441\u043b\u043e\u0433\u043e \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f, \u0430 \u0432\u0441\u0435 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u043e\u0441\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u041f\u043b\u043e\u0434\u044b \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435, \u043d\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0440\u0430\u0441\u0442\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0432\u0437\u0440\u043e\u0441\u043b\u0435\u043d\u0438\u044f.\u0411\u043e\u043b\u0435\u0437\u043d\u044c \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432 \u043f\u043e\u0432\u0435\u0440\u0445 \u0437\u0434\u043e\u0440\u043e\u0432\u044b\u0445:var a := clampf(p[&#171;disease&#187;] \/ 100.0 * 1.15, 0.0, 1.0)for k in [&#171;stem_sick&#187;, &#171;foliage_sick&#187;, &#171;fruit_sick&#187;]:    layers[k].modulate.a = a\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u00ab\u0437\u0435\u043b\u0451\u043d\u043e\u0435 \u2192 \u0436\u0451\u043b\u0442\u043e\u0435 \u0432 \u043f\u044f\u0442\u043d\u0430\u0445\u00bb, \u0438 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043d\u0438 \u043e\u0434\u0438\u043d \u043a\u0430\u0434\u0440 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438.1 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0447\u0430\u0441 = 10 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0438\u043d\u0443\u0442. \u041f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043f\u0438\u0448\u0435\u0442\u0441\u044f unix-\u0432\u0440\u0435\u043c\u044f, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0447\u0430\u0441\u044b \u0434\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f:var elapsed := Time.get_unix_time_from_system() &#8212; float(cfg.get_value(&#171;game&#187;, &#171;saved_at&#187;, 0.0))if elapsed &gt; 0.0:    _accum += elapsed    var hours := int(_accum \/ REAL_SECONDS_PER_GAME_HOUR)    _accum -= hours * REAL_SECONDS_PER_GAME_HOUR    for i in mini(hours, MAX_OFFLINE_HOURS):        tick_hour()\u041e\u0441\u0442\u0430\u0442\u043e\u043a _accum \u0442\u043e\u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f. \u0418\u043d\u0430\u0447\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u00ab\u0441\u044a\u0435\u0434\u0430\u0435\u0442\u00bb \u0434\u043e 10 \u043c\u0438\u043d\u0443\u0442 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438 \u0438\u0433\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0438\u0433\u0440\u0443, \u0440\u0430\u0441\u0442\u044f\u0442 \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435.\u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043a\u0443\u0441\u043e\u043a \u0438 \u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0434\u0440\u0430\u043c\u0443 \u0438\u0433\u0440\u044b. \u041e\u0433\u0443\u0440\u0446\u0443 \u043d\u0443\u0436\u043d\u0430 \u0432\u043b\u0430\u0436\u043d\u0430\u044f \u0437\u0435\u043c\u043b\u044f, \u043e\u043d \u0431\u044b\u0441\u0442\u0440\u043e \u0441\u043e\u0445\u043d\u0435\u0442, \u0438 \u0437\u0430 \u043d\u043e\u0447\u044c (\u044d\u0442\u043e 6\u20138 \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u0447\u0430\u0441\u043e\u0432) \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u0432\u044b\u0441\u043e\u0445\u043d\u0443\u0442\u044c \u0438 \u0437\u0430\u0431\u043e\u043b\u0435\u0442\u044c. \u041e\u0442\u0441\u044e\u0434\u0430 \u00ab\u0437\u0430\u043c\u043e\u0440\u043e\u0437\u043a\u0430\u00bb \u0433\u043e\u0440\u0448\u043a\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb, \u0433\u0434\u0435 \u0441\u0430\u0434 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430 \u0432\u0438\u0434\u0443.Godot \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c .csv \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432. \u0427\u0442\u043e\u0431\u044b \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0444\u0430\u0439\u043b \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0440\u044f\u0434\u043e\u043c \u043b\u0435\u0436\u0438\u0442 plants_data.csv.import:[remap]importer=&#187;keep&#187;\u0410 \u0432 \u043f\u0440\u0435\u0441\u0435\u0442\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0444\u0430\u0439\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 include_filter, \u0438\u043d\u0430\u0447\u0435 \u043e\u043d \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0451\u0442 \u0432 \u0441\u0431\u043e\u0440\u043a\u0443.\u0418\u0442\u043e\u0433\u0411\u0435\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 \u00ab\u041f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u00bb \u0438\u0433\u0440\u0430 \u043e\u0449\u0443\u0449\u0430\u043b\u0430\u0441\u044c \u043a\u0430\u043a \u0442\u0430\u043c\u0430\u0433\u043e\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043f\u0440\u0435\u043a\u0430\u0435\u0442 \u0442\u0435\u0431\u044f \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e \u0442\u044b \u0437\u0430\u043a\u0440\u044b\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0421 \u043d\u0438\u043c \u0441\u0430\u0434 \u0441\u0442\u0430\u043b \u0444\u043e\u043d\u043e\u0432\u044b\u043c \u0441\u043e\u0441\u0435\u0434\u043e\u043c: \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0448\u044c, \u0430 \u043a\u0440\u0430\u0435\u043c \u0433\u043b\u0430\u0437\u0430 \u0432\u0438\u0434\u0438\u0448\u044c, \u0447\u0442\u043e \u0443 \u043e\u0433\u0443\u0440\u0446\u0430 \u043f\u043e\u0441\u0432\u0435\u0442\u043b\u0435\u043b\u0430 \u0437\u0435\u043c\u043b\u044f.\u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e \u043a\u043e\u0434\u0443, \u043e\u0442\u0432\u0435\u0447\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u0418\u0433\u0440\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f, \u0432\u0435\u0440\u0441\u0438\u044f \u0430\u043b\u044c\u0444\u0430 0.2: grag-hack.itch.io\/balcony-garden. \u0410\u0440\u0442 \u043f\u043e\u043a\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043d\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430 Python, \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0431\u0443\u0434\u0443 \u0438\u0441\u043a\u0430\u0442\u044c \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a\u0430\u041d\u0430\u0434 \u043c\u0443\u0437\u044b\u043a\u043e\u0439 \u0438 \u0437\u0432\u0443\u043a\u0430\u043c\u0438 \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u043e\u0439 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0439: \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043f\u0435\u0442\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0436\u0438\u0432\u043e\u0439 \u0441\u0430\u0443\u043d\u0434\u0442\u0440\u0435\u043a.  \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1097884\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-499799","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499799"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499799\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}