Fixed Color Reset Markup not working correctly when a linebreak is inbetween a color definition and the Color Reset markup

This commit is contained in:
Wofsauge committed 2022-01-15 20:09:08 +01:00
1 parent 71979b2616
commit d9ade75c00
5 files changed
+15 -16

No files matched your search

+4 -4
View File
@@ -971,12 +971,12 @@ EID.descriptions[languageCode].GlitchedItemText = {
[0] = "Damage", "Fire Rate", "Shot Speed", "Range", "Speed", "Tear Effects", "Tear Color", "Flight", "Attack Type", "Familiars", "Luck", "Size", "Color", "Chest Contents", [16] = "All Stats",
-- Attribute triggers
chain = "{{ColorCyan}}Then:{{ColorText}} ",
chain = "{{ColorCyan}}Then:{{CR}} ",
active = "{{ColorCyan}}On use:#",
pickup_collected = "{{ColorCyan}}When you collect a pickup:#", --chance to?
enemy_kill = "{{ColorCyan}}On kill, chance to:#",
damage_taken = "{{ColorCyan}}When you take damage:#", --chance to?
entity_spawned = "When a {{ColorCyan}}{T1}{{ColorText}} is spawned:#",
entity_spawned = "When a {{ColorCyan}}{T1}{{CR}} is spawned:#",
tear_fire = "{{ColorCyan}}When you fire a tear, chance to:#",
enemy_hit = "{{ColorCyan}}On hitting an enemy, chance to:#",
room_clear = "{{ColorCyan}}On room clear:#", --chance to?
@@ -984,9 +984,9 @@ EID.descriptions[languageCode].GlitchedItemText = {
-- Attribute effects
area_damage = "Deal {1} damage in an area around you",
add_temporary_effect = "Gain {1} for the room",
convert_entities = "Convert all {{ColorGray}}{1}{{ColorText}} in the room to {{ColorGray}}{2}{{ColorText}}",
convert_entities = "Convert all {{ColorGray}}{1}{{CR}} in the room to {{ColorGray}}{2}{{CR}}",
use_active_item = "Use {1}",
spawn_entity = "Spawn a {{ColorGray}}{1}{{ColorText}}",
spawn_entity = "Spawn a {{ColorGray}}{1}{{CR}}",
fart = "Fart with size {1}",
-- Generic entity names not obtained from entities2.xml