Skip to content

Commit 2e141c1

Browse files
authored
Merge pull request #70 from kikutaro/issue68
くろしまくんのセリフをヒロインズに変更
2 parents 337403c + a53e609 commit 2e141c1

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

story/play.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from model.message import Message
66
from model.timer import Timer
77
from model.item import Item
8+
import random
89

910
class Play:
1011
def __init__(self, rpg):
@@ -41,6 +42,24 @@ def __init__(self, rpg):
4142

4243
self.情報表示 = True
4344

45+
self.くろしまランダムセリフ = [
46+
["Here we are!うちらの...","LEADER!"],
47+
["なんでもチャレンジ...","ACTIVE Girl!"],
48+
["かわいい 魅惑の...","MERMAID!"],
49+
["甘美なAngel","デビルの誘惑!"],
50+
["Princess...","の国から飛んできたとよ!"],
51+
["ハイトーン飾る あふれる...","Smile!"],
52+
["君の好きな声でいたいな...","DIVA!"],
53+
["みりにゃ 女子の憧れ...","Sweetie Girl!"],
54+
["みんなを照らすよ!","SUNNY!"],
55+
["努力型 天才...","Performer!"]
56+
]
57+
58+
self.くろしま今回のセリフ = random.choice(self.くろしまランダムセリフ)
59+
60+
self.くろしまセリフ = ["さなちゃんとはなしたようだね","さなきあにはおせわになってるから魔法をかけてあげよう" ,"さあ、あるいてみて!"]
61+
self.くろしまセリフ[2:2] = self.くろしま今回のセリフ
62+
4463
def start(self):
4564
pyxel.stop()
4665
self.舞香ちゃん.getMusic().BGMランダム再生()
@@ -54,8 +73,7 @@ def update(self):
5473

5574
if ("さなつん" in self.舞香ちゃん.会話済メンバー and self.舞香ちゃん.global_x // const.CELL, self.舞香ちゃん.global_y // const.CELL) in const.くろしままえ and not self.くろしまトーク and self.舞香ちゃん.向き == const.向き.:
5675
self.message.話す(const.M_TYPE.WINDOW,
57-
"くろしまくん",
58-
["さなちゃんとはなしたようだね","さなきあにはおせわになってるから魔法をかけてあげよう", "き・り・が・み・ね", "さあ、あるいてみて!"])
76+
"くろしまくん", self.くろしまセリフ)
5977
const.キャラ歩幅 = 8
6078

6179
if self.message.complete and (pyxel.btnp(pyxel.GAMEPAD1_BUTTON_A) or pyxel.btnp(pyxel.GAMEPAD1_BUTTON_B) or pyxel.btn(pyxel.KEY_RETURN)):

0 commit comments

Comments
 (0)