Skip to content

Commit d1139b1

Browse files
committed
Update to 0.2.2
1 parent c8a7486 commit d1139b1

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

changelog.txt

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 0.2.2
3+
Date: 2024-05-17
4+
Bugfixes:
5+
- Fixed wrong output
6+
Changes:
7+
- Currently, treats some symbols as part of sitelen pona
8+
---------------------------------------------------------------------------------------------------
29
Version: 0.2.1
310
Date: 2024-05-17
411
Bugfixes:

info.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sitelen_pona",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"factorio_version": "1.1",
55
"title": "Sitelen pona",
66
"author": "ZwerOxotnik",

models/sitelen_pona.lua

+10
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ function send_sitelen_pona_message_to_chat(message, _player)
8383

8484
::continue::
8585
end
86+
87+
if is_sitelen_pona_part then
88+
is_sitelen_pona_part = false
89+
i = i + 1
90+
text_parts[i] = "[/font]"
91+
text_mono_parts[i] = "[/font]"
92+
big_text_parts[i] = "[/font]"
93+
big_text_mono_parts[i] = "[/font]"
94+
end
95+
8696
local result_text = {"", nickname, {"colon"}, " ", table.concat(text_parts, "")}
8797
local result_mono_text = {"", nickname, {"colon"}, " ", table.concat(text_mono_parts, "")}
8898
local big_result_text = {"", nickname, {"colon"}, " ", table.concat(big_text_parts, "")}

0 commit comments

Comments
 (0)