From cc03a2a9bddd805ba86cedb754a198c043ce1f0c Mon Sep 17 00:00:00 2001 From: Rendo Date: Mon, 7 Jul 2025 17:51:34 +0500 Subject: [PATCH] Hobo is now immune to garlic --- scenes/entities/Zombies/hobo.tscn | 8 +++++--- translations/zombies.csv | 4 +++- translations/zombies.en.translation | Bin 1722 -> 1774 bytes translations/zombies.ru.translation | Bin 2561 -> 2661 bytes 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/scenes/entities/Zombies/hobo.tscn b/scenes/entities/Zombies/hobo.tscn index 5cb2e5f..29ad27b 100644 --- a/scenes/entities/Zombies/hobo.tscn +++ b/scenes/entities/Zombies/hobo.tscn @@ -1,8 +1,10 @@ -[gd_scene load_steps=44 format=3 uid="uid://bgqmwsb6ynm81"] +[gd_scene load_steps=46 format=3 uid="uid://bgqmwsb6ynm81"] [ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_fnu7s"] [ext_resource type="Shader" uid="uid://d0eo5uuj222c4" path="res://assets/shaders/CG_color_blender.gdshader" id="2_6qr4h"] +[ext_resource type="Script" uid="uid://bcc7skl7ts6sh" path="res://scripts/systems/effects/Effect.cs" id="2_txjqc"] [ext_resource type="Texture2D" uid="uid://cse1504ao4g8e" path="res://assets/sprites/atlases/zombies/hobo.png" id="3_6qr4h"] +[ext_resource type="Resource" uid="uid://dsg1vjx76ifgu" path="res://resources/effects/GarlicEffect.tres" id="3_b583s"] [ext_resource type="Script" uid="uid://dt5uj25u0g6y3" path="res://scripts/components/particles/FallParticle.cs" id="3_tu6af"] [ext_resource type="AnimationLibrary" uid="uid://cuh2kyb21hmkm" path="res://resources/animations/zombies/basic_zombie.res" id="4_02fim"] [ext_resource type="Script" uid="uid://c5v2og85t7s6j" path="res://scripts/components/zombies/behaviours/HoboBehaviour.cs" id="4_5selg"] @@ -227,8 +229,9 @@ percentage_value = 0.0 mult_value = 1.0 [node name="Hobo" node_paths=PackedStringArray("_armor") instance=ExtResource("1_fnu7s")] -_maxHP = 130 _armor = NodePath("CanArmor") +MaxHP = 130.0 +_effectImmunities = Array[ExtResource("2_txjqc")]([ExtResource("3_b583s")]) [node name="CanvasGroup" parent="." index="0"] material = SubResource("ShaderMaterial_w8pya") @@ -282,7 +285,6 @@ _speed = SubResource("Resource_4248q") [node name="CanArmor" type="Node" parent="." index="7"] script = ExtResource("4_w8pya") -MaxHP = 385 metadata/_custom_type_script = "uid://fd4im1fmwc5n" [node name="Behaviour" type="Node" parent="." index="8" node_paths=PackedStringArray("_eatBox", "_animationTree")] diff --git a/translations/zombies.csv b/translations/zombies.csv index fda31d7..0e3d7eb 100644 --- a/translations/zombies.csv +++ b/translations/zombies.csv @@ -34,13 +34,15 @@ Attack damage: [color=darkred]1 bite[/color]. ","Бронированная ве Скорость атаки: [color=darkred]1 Гц[/color]. Урон от атаки: [color=darkred]1 укус[/color]." hobo,Trash can zombie,Зомби в мусорке -hobo_desc,"Some time in the past he met a great conqueror. Hates to live without his can. Equivalent of ~8 zombies. +hobo_desc,"Some time in the past he met a great conqueror. Hates to live without his can. Equivalent of ~8 zombies. +[color=darkgreen]He is immune to garlic-like effects. [/color] Health points: [color=darkred]13 peas[/color]. Armour points: [color=darkred]39 peas[/color]. Walk speed: [color=darkred]0.2 tiles/second[/color]. Run speed: [color=darkred]0.6 tiles/second[/color]. Attack speed: [color=darkred]1 Hz[/color]. Attack damage: [color=darkred]1 bite[/color]. ","Однажды повстречал великого полководца. Ненавидит жить без своего ведра. Равен примерно 8 зомби. +[color=darkgreen]Имеет иммунитет к эффектам как у чеснока. [/color] Очки здоровья: [color=darkred]13 горошин[/color]. Armour points: [color=darkred]39 горошин[/color]. Скорость ходьбы: [color=darkred]0.2 клеток/сек[/color]. diff --git a/translations/zombies.en.translation b/translations/zombies.en.translation index 45f31c8b9c164bef0767fd7c02322eda65369dc5..184a456f6e977008ec1eb78bc7d4b4acbb2cb5de 100644 GIT binary patch delta 99 zcmdnR`;K>m5EE+yBLl;^$>L1LjFUEdGX*gl=NbNsE)~=IXDi|VFWXwt_&;N;2Y1OM z-3N0Lto^6UoSFVFo0~~T=Q=Z2<-h2oAeFI`3s__(?_&MJ$H2hOz`y`Bks&BJ$Qb~y ChalYm delta 45 zcmaFIyNh>&5EH8(BLl;P$>L1Lj0u~)nSz)n7c$9Ce#82Ohn<0e0Vu~16ddFX029Uv A=>Px# diff --git a/translations/zombies.ru.translation b/translations/zombies.ru.translation index aa9df639bcc3dee14a60ecd5703c6ea7273414f2..61893824cd4210f18a32ee78f92dc5b479c5af91 100644 GIT binary patch delta 144 zcmZn^c`C9&k%@I369dD#$!bi-jDI#qF)^{FMknXzu?47P7f@`&g*^%vb^$4%c(cOAcA%n0 hpz?hnF+GK7eX!}Vo1-~qF!Hc7FfcFzaZqrOGXM+