55 lines
1.7 KiB
TOML
55 lines
1.7 KiB
TOML
interact = [
|
|
[ 39, 39, "outer_king_palace" ]
|
|
]
|
|
npc = [
|
|
[8,66,"j","jjakke", "none", "green_black"]
|
|
]
|
|
map_script = """
|
|
if (exists $game_vars{jjakke} and $game_vars{jjakke} == 4) {
|
|
$npcs{j}->[4] = 'black_red';
|
|
}
|
|
"""
|
|
[npc_movements]
|
|
none = ['w']
|
|
|
|
[objects]
|
|
outer_king_palace = "teleport('outer_king_palace', 9, 35) "
|
|
jjakke = """
|
|
if (not exists $game_vars{jjakke}) {
|
|
$game_vars{jjakke} = 1;
|
|
dialog('King J.J. Akke', qq(Ah, yes a visitor to the crown, how quaint.));
|
|
}
|
|
elsif ($game_vars{jjakke} == 1) {
|
|
$game_vars{jjakke} = 2;
|
|
dialog('King J.J. Akke', qq(Hmm? You're still here? Ah yes, of course.\nHere take this HP Potion.\nNow go away, PEASENT. I mean, valued fellow rat.));
|
|
item('hp potion');
|
|
}
|
|
elsif ($game_vars{jjakke} == 2) {
|
|
if (exists $game_vars{mom} and $game_vars{mom} == 4) { # ie, mom tasks you to kill the king
|
|
if ($hands eq 'lil grabbies') {
|
|
$game_vars{jjakke} = 3;
|
|
dialog('King J.J. Akke', qq(What's that? You intend to kill me? ... Hahaha!\nYou can't hurt me with your lil grabbies!\nYou better *SAVE* your life!)); # fernando *will* die
|
|
} else {
|
|
$game_vars{jjakke} = 3;
|
|
dialog('King J.J. Akke', qq(What's that? You intend to kill me? ...\nWell, bring it ON!!));
|
|
}
|
|
}
|
|
else {
|
|
dialog('King J.J. Akke', qq(Go home little rat; I've given you items.\nGo tell mommy what a great King I am.));
|
|
}
|
|
}
|
|
elsif ($game_vars{jjakke} == 3) {
|
|
battle('King J.J. Akke');
|
|
quest_desc_add(qq(I killed the king for mom. I should go talk to her.), 'mom_quest');
|
|
if ($hands eq 'Cool Sword') {
|
|
dialog('King J.J. Akke', qq(Dang... that's a cool sword.\nx_x));
|
|
}
|
|
else {
|
|
dialog('King J.J. Akke', qq(I can't believe I died to such a... lame sword!\nx_x));
|
|
}
|
|
$npcs{j}->[4] = 'black_red';
|
|
$game_vars{jjakke} = 4;
|
|
$game_vars{mom} = 5;
|
|
}
|
|
|
|
"""
|