Dev 0.1.0
* Ajout des logs et de la radio
This commit is contained in:
@@ -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
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user