feat(locations): add university corridor and teaching room areas

- Updated .gitignore to ignore backup files (*~) and added common log/error patterns.
- Added RenPyMinigames as a new git submodule and updated .gitmodules accordingly.
- Updated submodule references for AutoMediaCollector and PaC to newer commits.
- Introduced new location scripts and assets for “univercity_coridor” and “univercity_teaching_room”, including background images, door sprites, and interaction definitions.
- Added tutorial event labels and placeholder assets (e.g., Kate neutral sprite) to support point‑and‑click guidance.
- Included necessary binary image files for the new locations.
This commit is contained in:
Mikan
2026-10-18 17:20:54 +04:00
parent 03c2366ad5
commit 14d032b100
27 changed files with 161 additions and 19 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
game/**/*.rpyc
*.rpymc
*.0rpy
*~
**/log.txt
**/errors.txt
**/traceback.txt

3
.gitmodules vendored
View File

@@ -22,3 +22,6 @@
[submodule "game/libs/LazyCondition"]
path = game/libs/LazyCondition
url = https://gitea.mikan/RenPyStuff/LazyCondition.git
[submodule "game/libs/RenPyMinigames"]
path = game/libs/RenPyMinigames
url = https://gitea.mikan/RenPyStuff/RenPyMinigames.git

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 KiB

View File

@@ -0,0 +1,9 @@
define location univercity_coridor:
background "location univercity_coridor background_day"
entity teaching_room_door:
idle_image "location univercity_coridor teaching_room_door_day"
transform hover_brightness(on_hover=.2)
focus_mask True
action PaC.Jump("univercity_teaching_room")

View File

@@ -0,0 +1,31 @@
label univercity_teaching_room:
jump location univercity_teaching_room
label .point_and_click_tutorial:
todo "Сказать что можно наводиться и нажимать на предметы чтобы с взаимодействовать с ними"
todo "Можно сделать подсказку"
show location navigation
label .quests_tutorial:
todo "Обьяснение что такое квесты"
todo "Основные - двигают по сюжету."
todo "В зависимости от событий обновляются возможности взаимодействий"
todo "Сейчас попробуйте прогуляться"
show location navigation
label .kate:
show kate neutral todo
if not LazyCondition.labels.is_seen("prologue.meet_kate"):
jump prologue.meet_kate
else:
jump prologue.kate_ask_3d_printer_searching_toby
todo "Дефолтная фраза"
show location navigation

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

View File

@@ -0,0 +1,29 @@
define location univercity_teaching_room:
background "location univercity_teaching_room background_day"
entity kate:
idle_image "location univercity_teaching_room kate_day"
transform hover_brightness(on_hover=.2)
focus_mask True
is_active_condition LazyCondition.Not(LazyCondition.images.ImageOnLayer("kate"))
action Jump("univercity_teaching_room.kate")
entity door:
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)
action PaC.Jump("univercity_coridor")
event:
condition LazyCondition.labels.NeverSeenLabel("univercity_teaching_room.point_and_click_tutorial")
action Jump("univercity_teaching_room.point_and_click_tutorial")
event:
condition LazyCondition.labels.BetweenLabels(
"prologue.meet_kate",
"univercity_teaching_room.quests_tutorial"
)
action Jump("univercity_teaching_room.quests_tutorial")

View File

@@ -0,0 +1,62 @@
label prologue:
jump prologue.start
label .start:
scene cg prologue desktop
todo """Монолог-экспозиция Итана: кто он (студент последних курсов, генетика, специализация — популяционная и репродуктивная биология),
стажёр в проекте 'Autonomous Closed-Loop Habitat', который направлен на колонизацию космического пространства и полетов к другим планетам. Чем занимается сейчас — дописывает заявку.
Итан: 'Осталось только вписать себя в соавторы...
ПРЕДЛОЖИТЬ ИГРОКУ ВПИСАТЬ ИМЯ. По умолчанию — 'Ethan'. Принять любое имя, далее по тексту именно так к нему и обращаются.
Итан сохраняет документ
"""
show location univercity_teaching_room with dissolve
todo """Видно преподавательскую, Кейт на фоне.
"Итан: 'Готово. Надо сказать своему руководителю, что я закончил. Вот она как раз поливает цветок
"""
jump location univercity_teaching_room
label .meet_kate:
todo """
- "Кейт стоит у стеллажа, тянулась за верхней полкой — блузка задралась, обнажила талию и край лифчика. Когда оборачивается — замечает, что Итан смотрит, чуть поправляет блузку, но не злится, усмехается. Фансервис-момент 1."
- "Экспозиция: Catherine "Cate" Reeves, 35, доктор наук, экосистемная биология, научный руководитель проекта. Заботливая, гиперопекающая, но уважает автономию."
- "Кейт: 'Итан, ты закончил? Дай посмотрю... О, прекрасно. Кажется, всё готово для подачи.'"
- "Разговор о гранте: ответ должен прийти сегодня вечером. Кейт мягко улыбается. 'Если выиграем — это будет наш маленький триумф.'"
- "Кейт вспоминает: 'Кстати, Итан. 3D-принтер в мастерской бункера снова сломан — мигает красным. Тебе не сложно найти Тоби и попросить его глянуть? Я бы сама, но у меня ещё образцы.'"
- "АКТИВИРОВАТЬ КВЕСТ fix_3d_printer (со статусом search_toby)."
- "Кейт: 'Если что — Тоби где-то в здании. Спроси у кого-нибудь из наших, его видели.'"
"""
hide kate with dissolve
jump location univercity_teaching_room
label .kate_ask_3d_printer_searching_toby:
todo """
- "Кейт: 'Ну как, нашёл Тоби?'"
- "Итан: 'Сейчас иду искать.'"
"""
show location navigation

View File

View File

@@ -1,8 +1,6 @@
label start:
"Game starts here"
return
jump prologue
label splashscreen:

View File

@@ -25,18 +25,10 @@ screen say(who, what):
yanchor 1.0
ypos .96
vbox:
if who is not None:
frame:
id "namebox"
xysize (512, 128)
xoffset 50
yoffset -100
text who:
align (0.5, 0.5)
id "who"
color "#FFF"
font gui.fonts.nozhik
text what id "what"

View File

@@ -25,7 +25,7 @@ screen notify(message):
text "[message!tq]":
size 47
align (0.5, 0.5)
color gui.accent_color
color gui.colors.accent
bold True
at gui.transforms.notify_transform

View File

@@ -51,6 +51,17 @@ init -498 python hide:
layer_composer=AutoMediaCollector.OptionalMovieLayerComposer()
)
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/locations.rpy"
).set_media_location(
r"locations/(?P<tag>[^/]+)/images/"
).set_common_tag(
r"location"
).add_layer_logic(
"base",
"(?P<variant>[^./]+/[^./]+).(?:jpg|png|jpeg)",
layer_composer=AutoMediaCollector.OptionalMovieLayerComposer()
)
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/cg.rpy"
).set_media_location(
r"images/events/(?P<tag>[^./]+)/"

View File

@@ -2,6 +2,6 @@ init -500 python:
AutoMediaCollector.set_delayed_mode(True)
tint_matrix_map = [
("night", (151, 164, 214)),
("sunset", (240, 209, 255)),
# ("night", (151, 164, 214)),
# ("sunset", (240, 209, 255)),
]

View File

@@ -0,0 +1,5 @@
init:
define pl = Character("Player")
define todo = Character("#TODO", what_color="#F00", who_color="#F00")