Dev 0.1.0

* Ajout des logs et de la radio
This commit is contained in:
2026-07-20 00:42:47 +02:00
parent bef9f43114
commit 65f806b1f1
71 changed files with 1112 additions and 77 deletions
@@ -15,7 +15,7 @@ const DOOR_ICON = preload("res://common/icons/logout.svg")
const PLANT_ICON = preload("res://common/icons/seedling.svg")
const SOUND_SOURCE : AudioStreamMP3 = preload("res://common/audio_manager/assets/sfx/signal/signal.mp3")
const SOUND_BASE_PITCH = 1.
const SOUND_NIVEL_LEVEL = 8
const SOUND_NIVEL_LEVEL = 20
const CELL_DETECTION_MAX_DISTANCE = 3000.
const CELL_DETECTION_COLOR : Color = Color("#ff006e")
@@ -49,7 +49,8 @@ func _init(region : Region, pos : Vector2):
)
if (
(e is EnergyCell
or e is TalionCell)
or e is TalionCell
or (e is Radio and e.unread))
and e.available
and e.global_position.distance_to(pos) < nearest_cell_distance
):