Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// -------------------------------------------------------------------------------
// 1) Main Variables.
// -------------------------------------------------------------------------------
var BunnyWaitress = { bBunnyOutfit: false };
Object.defineProperty(BunnyWaitress, 'BunnyOutfit', {
get: function() { return BunnyWaitress.bBunnyOutfit && $karryn.isWearingWaitressClothing(); },
set: function(is_wear) { BunnyWaitress.bBunnyOutfit = is_wear; }
});
// -------------------------------------------------------------------------------
// 2) Multi-language Texts
// -------------------------------------------------------------------------------
BunnyWaitress.Scene_Boot_start = Scene_Boot.prototype.start;
Scene_Boot.prototype.start = function() {
BunnyWaitress.Scene_Boot_start.call(this);
if ($remMapSCH == null) $remMapSCH = {};
$remMapEN.BunnyWaitress__Pantyhose_Title = {text:['Bunny Waitress']};
$remMapSCH.BunnyWaitress__Pantyhose_Title = {text:['猫猫酒保服']};
$remMapRU.BunnyWaitress__Pantyhose_Title = {text:['waiting for translating']};
$remMapEN.BunnyWaitress__Pantyhose_Desc = {text:['Bunny waitress on duty!', 'Hop hop!', '\\C[13](Available during the waitressjob)']};
$remMapSCH.BunnyWaitress__Pantyhose_Desc = {text:['这是您的订单喵♥……', '……真的要打扮成这样吗……*唉*', '\\C[13](服装将在酒吧小游戏中生效)']};
$remMapRU.BunnyWaitress__Pantyhose_Desc = {text:['waiting for translating', '\\C[7]Пошив от Sushikun.']};
};
// -------------------------------------------------------------------------------
// 4) Changing outfits functions
// -------------------------------------------------------------------------------
BunnyWaitress.WearPantyhose = function(is_wear = true) {
BunnyWaitress.BunnyOutfit = is_wear;
};
// -------------------------------------------------------------------------------
// 5) Register in Hanger
// -------------------------------------------------------------------------------
BunnyWaitress.RegisterInSushiHanger = function() {
if (SushiHanger === undefined) {
console.warn("BunnyWaitress Pack: Can't register, cause '[Sushikun] Hanger' pack is not found!");
return;
}
SushiHanger.AddOutfit(
"BunnyWaitressOutfit_ModFrenzy", // Should be uniq and without spaces.
"BunnyWaitress__Pantyhose_Title",
"BunnyWaitress__Pantyhose_Desc",
"", // <- buffs.
[ "Waitress" ],
[ "waitress" ],
[ ],
function() { BunnyWaitress.WearPantyhose(true); },
function() { BunnyWaitress.WearPantyhose(false); }
);
}
BunnyWaitress.RegisterInSushiHanger(); // Execute Register.