Skip to content

Commit

Permalink
Merge pull request #831 from Just-Natsuki-Team/v1.3.2
Browse files Browse the repository at this point in the history
v1.3.2
  • Loading branch information
Blizzardsev committed Nov 4, 2023
2 parents 920799b + cf4422a commit 8cee0ae
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://justnatsuki.club/img/logos/jn_1-3-1_logo.png" height="300"/>
<img src="https://justnatsuki.club/img/logos/jn_1-3-2_logo.png" height="300"/>
</p>
<br>

Expand Down
8 changes: 8 additions & 0 deletions game/desk-items.rpy
Expand Up @@ -236,6 +236,14 @@ init -55 python in jn_desk_items:
image_path="mod_assets/props/cards/card_pile.png"
))

__registerDeskItem(JNDeskItem(
reference_name="jn_renpy_for_dummies_held",
item_type=JNDeskItemTypes.normal,
desk_slot=JNDeskSlots.centre,
unlocked=False,
image_path="mod_assets/props/renpy_for_dummies_book_held.png"
))

__registerDeskItem(JNDeskItem(
reference_name="jn_renpy_for_dummies_closed",
item_type=JNDeskItemTypes.normal,
Expand Down
2 changes: 1 addition & 1 deletion game/options.rpy
Expand Up @@ -12,7 +12,7 @@
##
## The _() surrounding the string marks it as eligible for translation.

define config.version = "1.3.1"
define config.version = "1.3.2"
define config.name = "Just Natsuki"
define config.window_title = _("Just Natsuki - {0}".format(config.version))

Expand Down
5 changes: 3 additions & 2 deletions game/script-blackjack.rpy
Expand Up @@ -807,7 +807,8 @@ label blackjack_quit_forfeit:

$ natsuki_prompt = "You can at {i}least{/i} stick it out to the end of this one,{w=0.2} right?"
show natsuki option_wait_smug


$ natsuki_prompt = renpy.substitute(natsuki_prompt)
menu:
n "[natsuki_prompt]"

Expand Down Expand Up @@ -839,7 +840,7 @@ label blackjack_quit_forfeit:
extend 4tlrbo " Huh."
n 2tlrsl "..."
n 2ulrfl "Well.{w=0.75}{nw}"
extend 2fcsss " looks like {i}you{/i} know what they say at least,{w=0.5}{nw}"
extend 2fcsss " Looks like {i}you{/i} know what they say at least,{w=0.5}{nw}"
extend 2fsqbg " [player]."
n 6fcsbs "Guess the only winning move for you was not to play!{w=0.75}{nw}"
extend 7fchsmeme " Ehehe."
Expand Down
5 changes: 2 additions & 3 deletions game/script-events.rpy
Expand Up @@ -40,7 +40,6 @@ transform jn_confetti_fall:
# Foreground props are displayed on the desk, in front of Natsuki
image prop poetry_attempt = "mod_assets/props/poetry_attempt.png"
image prop math_attempt = "mod_assets/props/math_attempt.png"
image prop renpy_for_dummies_book_held = "mod_assets/props/renpy_for_dummies_book_held.png"
image prop a_la_mode_manga_held = "mod_assets/props/a_la_mode_manga_held.png"
image prop strawberry_milkshake = "mod_assets/props/strawberry_milkshake.png"
image prop step_by_step_manga_held = "mod_assets/props/step_by_step_manga_held.png"
Expand Down Expand Up @@ -1120,7 +1119,7 @@ label event_renpy_for_dummies:
"Enter...":
pass

show prop renpy_for_dummies_book_held zorder JN_PROP_ZORDER
$ Natsuki.setDeskItem(jn_desk_items.getDeskItem("jn_renpy_for_dummies_held"))
$ jn_events.displayVisuals("1fcspo")
$ jn_globals.force_quit_enabled = True

Expand All @@ -1136,7 +1135,7 @@ label event_renpy_for_dummies:
show black zorder JN_BLACK_ZORDER with Dissolve(0.5)
$ jnPause(2)
play audio drawer
hide prop renpy_for_dummies_book_held
$ Natsuki.clearDeskItem(jn_desk_items.JNDeskSlots.centre)
show natsuki 4nslsr
$ jnPause(4)
hide black with Dissolve(1)
Expand Down
26 changes: 19 additions & 7 deletions game/script-idles.rpy
Expand Up @@ -278,8 +278,8 @@ label idle_twitch_playing:
label idle_reading_parfait_girls:
show black zorder JN_BLACK_ZORDER with Dissolve(0.5)

if Natsuki.getDeskItemReferenceName(jn_desk_items.JNDeskSlots.left) == "jn_parfait_manga_closed":
$ Natsuki.clearDeskItem(jn_desk_items.JNDeskSlots.left)
if Natsuki.getDeskItemReferenceName(jn_desk_items.JNDeskSlots.right) == "jn_parfait_manga_closed":
$ Natsuki.clearDeskItem(jn_desk_items.JNDeskSlots.right)

$ Natsuki.setDeskItem(jn_desk_items.getDeskItem("jn_parfait_manga_held"))
$ Natsuki.setIsReadingToRight(True)
Expand Down Expand Up @@ -320,10 +320,14 @@ label idle_reading_parfait_girls:

label idle_reading_renpy_for_dummies:
show black zorder JN_BLACK_ZORDER with Dissolve(0.5)
show prop renpy_for_dummies_book_held zorder JN_PROP_ZORDER

if Natsuki.getDeskItemReferenceName(jn_desk_items.JNDeskSlots.left) == "jn_renpy_for_dummies_closed":
$ Natsuki.clearDeskItem(jn_desk_items.JNDeskSlots.left)

$ Natsuki.setDeskItem(jn_desk_items.getDeskItem("jn_renpy_for_dummies_held"))
$ Natsuki.setIsReadingToRight(True)
show natsuki reading
hide black with Dissolve(0.5)
$ Natsuki.setIsReadingToRight(True)
$ jnClickToContinue(silent=False)

n 1fdwbo "...{w=1}{nw}"
Expand All @@ -344,9 +348,17 @@ label idle_reading_renpy_for_dummies:
show black zorder JN_BLACK_ZORDER with Dissolve(0.5)
$ jnPause(0.5)
show natsuki 1fcssmeme
hide prop
play audio drawer
$ jnPause(1.3)
$ Natsuki.clearDeskItem(jn_desk_items.JNDeskSlots.centre)

if random.choice([True, False]):
play audio drawer
$ jnPause(1.3)

else:
play audio book_closing
$ Natsuki.setDeskItem(jn_desk_items.getDeskItem("jn_renpy_for_dummies_closed"))
$ jnPause(0.3)

hide black with Dissolve(0.5)
$ jnPause(1)

Expand Down
4 changes: 2 additions & 2 deletions game/script-topics.rpy
Expand Up @@ -7847,7 +7847,7 @@ label talk_thoughts_on_tea:
"I prefer tea.":
if player_tea_coffee_preference_known:
if persistent.jn_player_tea_coffee_preference == "tea":
n 1nnmss "2tnmss,{w=0.5}{nw}"
n 1nnmss "Well,{w=0.5}{nw}"
extend 1tnmss " some things never change,{w=0.2} huh?"
n 1fchsm "Ehehe."

Expand Down Expand Up @@ -11794,7 +11794,7 @@ label talk_windup_playing_things_out_loud:
n 2fcsemesi "..."
n 2fllaj "When you're taking some sort of public transport,{w=0.2} or you're just hanging around somewhere.{w=0.75}{nw}"
extend 2fllfl " That kind of thing."
n 4fcsanean "...And then some total jerk feels the need to pull our their phone just to blast out what {i}they{/i} feel like listening to."
n 4fcsanean "...And then some total jerk feels the need to pull out their phone just to blast out what {i}they{/i} feel like listening to."
n 4fsrsl "..."
n 2fnmwrl "H-{w=0.2}hey!{w=0.75}{nw}"
extend 2fcspol " I'm being serious here,{w=0.2} [player]!{w=0.75}{nw}"
Expand Down
12 changes: 10 additions & 2 deletions game/zz_data-migrations.rpy
Expand Up @@ -444,9 +444,17 @@ init python in jn_data_migrations:
return

@migration(["1.3.0"], "1.3.1", runtime=MigrationRuntimes.INIT)
def to_1_3_0():
def to_1_3_1():
jn_utils.log("Migration to 1.3.1 START")
store.persistent._jn_version = "1.3.1"
jn_utils.save_game()
jn_utils.log("Migration to 1.3.1 DONE")
return

@migration(["1.3.1"], "1.3.2", runtime=MigrationRuntimes.INIT)
def to_1_3_2():
jn_utils.log("Migration to 1.3.2 START")
store.persistent._jn_version = "1.3.2"

if store.persistent.affinity >= 7500:
store.persistent._jn_pic_aff = store.persistent.affinity
Expand All @@ -455,5 +463,5 @@ init python in jn_data_migrations:
jn_utils.log("434346".decode("hex"))

jn_utils.save_game()
jn_utils.log("Migration to 1.3.1 DONE")
jn_utils.log("Migration to 1.3.2 DONE")
return

0 comments on commit 8cee0ae

Please sign in to comment.