game: Zz-Marke für Bewusstlose und ruhigere Feldnamen

This commit is contained in:
torsten 2026-11-17 16:10:35 +01:00
parent b15fa65012
commit 414c25a3d7
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Before After
Before After

View file

@ -137,7 +137,7 @@ func _partei_setzen() -> void:
var token: Node2D = KREATUR.new()
token.set("klasse", "mittel")
token.set("kachel", kachel)
token.set("name_text", str(figur.get("name", "?")))
token.set("name_text", "")
token.set("tp", int(figur["hp"]["current"]))
token.set("tp_max", int(figur["hp"]["max"]))
token.set("textur", _held_textur(figur))
@ -714,7 +714,7 @@ func _wieder_aufstehen(e: Dictionary) -> void:
sprite.position = Vector2(0, -sprite.texture.get_height() * 0.5)
node.modulate = Color(1, 1, 1)
node.set("balken", true)
node.set("name_text", str(e["name"]))
node.set("name_text", "")
node.set("tp", 1)
if e.has("pool") and is_instance_valid(e["pool"]):
e["pool"].queue_free()