keine ahnung...

This commit is contained in:
staubsauger 2024-08-19 15:47:27 +02:00
parent 64e4e4f437
commit 68aa90cac8
4 changed files with 10 additions and 8 deletions

View file

@ -50,7 +50,7 @@ def new_world() -> Registry:
world.new_entity(
components={
Position: player_pos,
Graphic: Graphic(ch=ord('@'), fg=(255, 0, 0)),
Graphic: Graphic(ch=ord('@'), fg=(255, 0, 0, 255), bg=(255, 255, 255, 0)),
Gold: 0
},
tags=[IsActor, IsPlayer]
@ -60,7 +60,7 @@ def new_world() -> Registry:
world.new_entity(
components={
Position: Position(rng.randint(0, 20), rng.randint(0, 20)),
Graphic: Graphic(ord("$"), fg=(255, 255, 0)),
Graphic: Graphic(ord("$"), fg=(255, 255, 0, 255)),
Gold: rng.randint(1, 10)
},
tags=[IsItem]