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.
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
game/**/*.rpyc
|
||||
*.rpymc
|
||||
*.0rpy
|
||||
*~
|
||||
**/log.txt
|
||||
**/errors.txt
|
||||
**/traceback.txt
|
||||
|
||||
3
.gitmodules
vendored
@@ -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
|
||||
|
||||
BIN
game/images/events/cg prologue/desktop.jpg
Normal file
|
After Width: | Height: | Size: 253 KiB |
BIN
game/images/sprites/kate/neutral todo.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
1
game/libs/RenPyMinigames
Submodule
0
game/locations/univercity_coridor/events.rpy
Normal file
BIN
game/locations/univercity_coridor/images/background/day.png
Normal file
|
After Width: | Height: | Size: 8.2 MiB |
BIN
game/locations/univercity_coridor/images/cafeteria_door/day.png
Normal file
|
After Width: | Height: | Size: 674 KiB |
BIN
game/locations/univercity_coridor/images/outside_door/day.png
Normal file
|
After Width: | Height: | Size: 408 KiB |
|
After Width: | Height: | Size: 918 KiB |
9
game/locations/univercity_coridor/location.rpy
Normal 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")
|
||||
31
game/locations/univercity_teaching_room/events.rpy
Normal 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
|
||||
|
After Width: | Height: | Size: 5.3 MiB |
BIN
game/locations/univercity_teaching_room/images/door/day.png
Normal file
|
After Width: | Height: | Size: 527 KiB |
BIN
game/locations/univercity_teaching_room/images/kate/day.png
Normal file
|
After Width: | Height: | Size: 269 KiB |
29
game/locations/univercity_teaching_room/location.rpy
Normal 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")
|
||||
|
||||
62
game/scenary/prologue/scenary.rpy
Normal 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
|
||||
0
game/scenary/prologue/variables.rpy
Normal file
@@ -1,8 +1,6 @@
|
||||
label start:
|
||||
|
||||
"Game starts here"
|
||||
|
||||
return
|
||||
jump prologue
|
||||
|
||||
|
||||
label splashscreen:
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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>[^./]+)/"
|
||||
|
||||
@@ -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)),
|
||||
]
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
init:
|
||||
|
||||
define pl = Character("Player")
|
||||
|
||||
define todo = Character("#TODO", what_color="#F00", who_color="#F00")
|
||||