feat(prologue): implement Lily's interaction and update university locations
Implemented the interaction logic and dialogue for Lily in the university cafeteria, replacing previous placeholders. Added Toby's locker as an interactive entity in the university corridor and refined the navigation flow between locations. Changes include: - Added dialogue and a menu for asking Lily about Toby in `univercity_cafeteria/events.rpy`. - Updated cafeteria location actions and added an entry event for the prologue. - Added `toby_locker` entity and corresponding event label in the university corridor. - Updated the active condition for the teaching room door to depend on meeting Kate. - Expanded prologue scenery with actual dialogue for meeting Lily.
BIN
game/images/sprites/jade/neutral todo.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
game/images/sprites/julian/neutral todo.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
game/images/sprites/lily/neutral todo.png
Normal file
|
After Width: | Height: | Size: 262 KiB |
BIN
game/images/sprites/logan/neutral todo.png
Normal file
|
After Width: | Height: | Size: 381 KiB |
BIN
game/images/sprites/toby/neutral todo.png
Normal file
|
After Width: | Height: | Size: 978 KiB |
@@ -1,4 +1,4 @@
|
||||
label univercity_cafeteria:
|
||||
label univercity_cafeteria:
|
||||
jump location univercity_cafeteria
|
||||
|
||||
label .lily:
|
||||
@@ -6,6 +6,20 @@ label .lily:
|
||||
if not LazyCondition.labels.is_seen("prologue.meet_lily"):
|
||||
jump prologue.meet_lily
|
||||
|
||||
todo "Дефолтная фраза (недоваольство чего тебе?)"
|
||||
if not LazyCondition.labels.is_seen("prologue.lily_ask_about_toby"):
|
||||
menu:
|
||||
"Спросить, где Тоби":
|
||||
jump prologue.lily_ask_about_toby
|
||||
"Ничего не спрашивать":
|
||||
pass
|
||||
|
||||
show location navigation
|
||||
"Лили: \"Чего тебе надо? я занята\""
|
||||
|
||||
show location navigation
|
||||
|
||||
label .leave_cafeteria:
|
||||
|
||||
if not LazyCondition.labels.is_seen("prologue.meet_logan"):
|
||||
jump prologue.meet_logan
|
||||
|
||||
jump location univercity_coridor
|
||||
BIN
game/locations/univercity_cafeteria/images/counter/day.png
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
@@ -6,10 +6,15 @@ define location univercity_cafeteria:
|
||||
idle_image "location univercity_cafeteria coridor_door_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
action PaC.Jump("univercity_coridor")
|
||||
action Jump("univercity_cafeteria.leave_cafeteria")
|
||||
|
||||
entity lily:
|
||||
idle_image "location univercity_cafeteria lily_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
action Jump("coridor_door.lily")
|
||||
action Jump("univercity_cafeteria.lily")
|
||||
|
||||
event:
|
||||
condition LazyCondition.labels.NeverSeenLabel("prologue.enter_cafeteria")
|
||||
action Jump("prologue.enter_cafeteria")
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
label univercity_coridor:
|
||||
jump location univercity_coridor
|
||||
|
||||
label .toby_locker:
|
||||
todo "Сразу видно работу Тоби, но где он сам?"
|
||||
show location navigation
|
||||
|
||||
|
||||
BIN
game/locations/univercity_coridor/images/toby_locker/day.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
@@ -20,4 +20,8 @@ define location univercity_coridor:
|
||||
focus_mask True
|
||||
action PaC.Jump("univercity_square")
|
||||
|
||||
# Нужно добавить ящик Тоби
|
||||
entity toby_locker:
|
||||
idle_image "location univercity_coridor toby_locker_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
action Jump("univercity_coridor.toby_locker")
|
||||
|
||||
8
game/locations/univercity_square/events.rpy
Normal file
@@ -0,0 +1,8 @@
|
||||
label univercity_square:
|
||||
jump location univercity_square
|
||||
|
||||
label .jade_julian:
|
||||
|
||||
todo "Йоу"
|
||||
|
||||
show location navigation
|
||||
BIN
game/locations/univercity_square/images/background/day.png
Normal file
|
After Width: | Height: | Size: 10 MiB |
BIN
game/locations/univercity_square/images/bunker/day.png
Normal file
|
After Width: | Height: | Size: 810 KiB |
BIN
game/locations/univercity_square/images/fountain/day.png
Normal file
|
After Width: | Height: | Size: 614 KiB |
BIN
game/locations/univercity_square/images/jade_julian/day.png
Normal file
|
After Width: | Height: | Size: 385 KiB |
BIN
game/locations/univercity_square/images/univercity_door/day.png
Normal file
|
After Width: | Height: | Size: 981 KiB |
BIN
game/locations/univercity_square/images/warehouse/warehouse.png
Normal file
|
After Width: | Height: | Size: 968 KiB |
16
game/locations/univercity_square/location.rpy
Normal file
@@ -0,0 +1,16 @@
|
||||
define location univercity_square:
|
||||
|
||||
background "location univercity_square background_day"
|
||||
|
||||
entity univercity_entrance:
|
||||
idle_image "location univercity_square univercity_door_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
action PaC.Jump("univercity_coridor")
|
||||
|
||||
|
||||
entity jade_julian:
|
||||
idle_image "location univercity_square jade_julian_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
action Jump("univercity_square.jade_julian")
|
||||
@@ -13,7 +13,7 @@ define location univercity_teaching_room:
|
||||
idle_image "location univercity_teaching_room door_day"
|
||||
transform hover_brightness(on_hover=.2)
|
||||
focus_mask True
|
||||
is_active_condition LazyCondition.Field("is_interactive", PaC.Location)
|
||||
is_active_condition LazyCondition.labels.SeenLabel("prologue.meet_kate")
|
||||
action PaC.Jump("univercity_coridor")
|
||||
|
||||
|
||||
|
||||
@@ -64,20 +64,35 @@ label .kate_ask_3d_printer_searching_toby:
|
||||
|
||||
label .meet_lily:
|
||||
|
||||
|
||||
todo "Экспозиция: Lily. Лили, 18, химичка, только что влилась в состав проекта. ПРИЧИНА ПОЧЕМУ"
|
||||
|
||||
todo "Подколка со стороны Лили, она ждет когда произойдет реакция, и сейчас убивает время"
|
||||
"Лили, 18 лет. Химик, только что влилась в состав проекта."
|
||||
"Она сидит с таким видом, будто весь мир — это один большой пробирочный эксперимент, который ей скучно наблюдать."
|
||||
"Лили: \"О, Итан. Пришла за дозой вдохновения или просто заблудился в поисках выхода?\""
|
||||
|
||||
show location navigation
|
||||
|
||||
|
||||
label .lily_ask_about_toby:
|
||||
|
||||
|
||||
todo "Спросить про Тоби"
|
||||
|
||||
todo "Нет, она не видела его сегодня"
|
||||
"Итан: \"Слушай, Лили, ты не видела Тоби сегодня?\""
|
||||
"Лили: \"Тоби? Хм... Нет, не видела. Попробуй поискать в тех местах, где обычно не ломается техника, а ломается всё, что только может, или где-то в самом дальнем углу библиотеки.\""
|
||||
|
||||
show location navigation
|
||||
|
||||
label .meet_logan:
|
||||
|
||||
"Вы только вышли из кафетерия, как чуть не сносите кого-то плечом."
|
||||
"Логан: \"Смотри куда прешь, генетик. Или в твоих пробирках зрение тоже растворяется?\""
|
||||
"Перед вами стоит парень с холодным, оценивающим взглядом. Логан. 23 года, медик, специализируется на травматологии и неотложке."
|
||||
"Его голос сочится сарказмом и высокомерием. Кажется, он не в настроении для светских бесед."
|
||||
|
||||
show location navigation
|
||||
|
||||
label .enter_cafeteria:
|
||||
|
||||
show location next
|
||||
|
||||
"Кафетерий встретил привычным запахом дешевого кофе и стерильности."
|
||||
"Здесь сейчас почти пусто. Кажется, в универе осталась только наша учебная группа и два преподавателя, остальные уже сбежали на каникулы."
|
||||
"В углу, за своим любимым столиком, сидит Лили."
|
||||
|
||||
jump location univercity_cafeteria
|
||||
|
||||