dailogue import 去除 id 之前与 tag 前后的空格
This commit is contained in:
parent
64e08a2f75
commit
9efbc6351b
@ -814,7 +814,8 @@ func import_translations_from_csv(path: String) -> void:
|
|||||||
if tags.has(translation_key):
|
if tags.has(translation_key):
|
||||||
var tag_str = tags.get(translation_key).strip_edges()
|
var tag_str = tags.get(translation_key).strip_edges()
|
||||||
if tag_str:
|
if tag_str:
|
||||||
line_text += " " + tag_str + " "
|
line_text += tag_str
|
||||||
|
# line_text += " " + tag_str + " "
|
||||||
lines[i] = (line_text + "[ID:" + translation_key + "]").replace("!ESCAPED_COLON!", ":")
|
lines[i] = (line_text + "[ID:" + translation_key + "]").replace("!ESCAPED_COLON!", ":")
|
||||||
|
|
||||||
elif DMCompiler.get_line_type(line) == DMConstants.TYPE_RESPONSE:
|
elif DMCompiler.get_line_type(line) == DMConstants.TYPE_RESPONSE:
|
||||||
|
@ -40,6 +40,8 @@ func take_off_flyer(immediatelly = false):
|
|||||||
await tween.finished
|
await tween.finished
|
||||||
else:
|
else:
|
||||||
flyer.visible = false
|
flyer.visible = false
|
||||||
|
# 等 1s 再允许交互
|
||||||
|
await Util.wait(1.0)
|
||||||
var hand = $"../DeployLayer/小手讨东西"
|
var hand = $"../DeployLayer/小手讨东西"
|
||||||
hand.enabled = true
|
hand.enabled = true
|
||||||
|
|
||||||
|
@ -125,6 +125,7 @@ position = Vector2(11, -1)
|
|||||||
points = PackedVector2Array(37, 150, 610, 150)
|
points = PackedVector2Array(37, 150, 610, 150)
|
||||||
|
|
||||||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||||||
|
visible = false
|
||||||
energy = 0.9
|
energy = 0.9
|
||||||
blend_mode = 1
|
blend_mode = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user