~jadedctrl/gem-xwx-moe

Showing details for patch 0955d95d4c224d5391870259e6d319e25b0d372b.
2024-08-01 (Thu), 2:14 AM - - 0955d95d4c224d5391870259e6d319e25b0d372b

Flikriparas eraron je «public_death_messages»

Summary of changes
1 files modified with 15 lines added and 8 lines removed
  • gemujo_ludo/flikaĵoj/public_death_messages/0001-Aldonas-proprajn-mortmesa-ojn-por-Gemujo.patch with 15 added and 8 removed lines
diff -rN -u "old-gem-xwx-moe/gemujo_ludo/flika\304\265oj/public_death_messages/0001-Aldonas-proprajn-mortmesa-ojn-por-Gemujo.patch" "new-gem-xwx-moe/gemujo_ludo/flika\304\265oj/public_death_messages/0001-Aldonas-proprajn-mortmesa-ojn-por-Gemujo.patch"
--- "old-gem-xwx-moe/gemujo_ludo/flika\304\265oj/public_death_messages/0001-Aldonas-proprajn-mortmesa-ojn-por-Gemujo.patch"	2024-11-22 06:34:43.171561818 +0000
+++ "new-gem-xwx-moe/gemujo_ludo/flika\304\265oj/public_death_messages/0001-Aldonas-proprajn-mortmesa-ojn-por-Gemujo.patch"	2024-11-22 06:34:43.171561818 +0000
@@ -1,20 +1,18 @@
-From ba3fc92b533f3f728eb1d2a43c6f094b9d191f93 Mon Sep 17 00:00:00 2001
+From 6834f34d2b43dfb4de545fcf5cd43d6ec82a6d3c Mon Sep 17 00:00:00 2001
 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com>
-Date: Thu, 18 Jan 2024 13:17:10 -0600
+Date: Wed, 31 Jul 2024 19:02:36 -0500
 Subject: [PATCH] =?UTF-8?q?Aldonas=20proprajn=20mortmesa=C4=9Dojn=20por=20?=
  =?UTF-8?q?Gemujo?=
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
-Danke al Tirifto, nun ni havas tiom da ĉarmaj
-mortrimarkoj! =w=
 ---
- init.lua | 61 +++++++++++++++++++++++++++++++++++++++++---------------
- 1 file changed, 45 insertions(+), 16 deletions(-)
+ init.lua | 63 +++++++++++++++++++++++++++++++++++++++++---------------
+ 1 file changed, 46 insertions(+), 17 deletions(-)
 
 diff --git a/init.lua b/init.lua
-index 9faab15..0569416 100644
+index 9faab15..72c79de 100644
 --- a/init.lua
 +++ b/init.lua
 @@ -11,26 +11,34 @@ fall = {
@@ -100,6 +98,15 @@
  }
  
  function send_death_message(cause, victim, killer)
+@@ -70,7 +99,7 @@ function send_death_message(cause, victim, killer)
+                 killer_name = killer:get_player_name()
+             else
+                 -- Get entity name, excluding mod name ("mymod:enemy" -> "enemy")
+-                killer_name = killer:get_luaentity().name
++                entity_name = killer:get_luaentity().name
+                 index, _ = string.find(entity_name, ':')
+                 killer_name = string.sub(entity_name, index + 1)
+             end
 -- 
-2.43.0
+2.45.2