Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
But apparently the game's answer is to completely avoid that scenario altogether, making that question moot. When I looked at the BoxTex.js code, it kinda looked like it searched for a mimic that had a second mimic adjacent to it and, if it found one, decided that "side-by-side" is true and "not neighbors" is false, meaning that's what it would do in that 3-mimic hypothetical, but I'm not 100% certain.
to further strengthen your statement, in the code there's a function ran(num), for one of the cases it will add the side-by-side puzzle if the floor has exactly 2 mimics and does not have the 7-box hexagon layout:
===
if (mimic == 2 && box != 7 && dungeon != 4) {
num2.push(4);
}
Like, according to the tables:
- Standard, random, robbers, and number mode, it doesn't show up at all.
- Expert mode, it only shows up on floors 11-18, which all have 2 mimics among 6 chests.
- Doubt mode, it only shows up on floor 12 (2 mimics among 6 chests), 36, and 38 (2 mimics among 9 chests).
- Confuse mode, it starts showing up on floor 26 (2 mimics among 9 chests), but confuse mode never has 3 mimics.
I think this NPC is right for level 1 and maybe level 2 dungeons, but level 3 and up seem to require higher ranks to beat the boss comfortably.
I found the lottery event without trouble but couldn't make sense of the numbers, eventually I ended up grep-ing for "random" in all the Javascript code and somehow managed to piece together that the "code" value in the events is actually a function in www/js/rpg_objects.js
of course, it'd probably be much easier for one to figure stuff out by installing RPG Maker, but I kinda don't want to bother...
{"code":122,"indent":3,"parameters":[62,62,0,2,0,3]}, // pick a number from 0 to 3 inclusive, store it in variable #62
{"code":111,"indent":3,"parameters":[1,62,0,0,0]}, // does variable #62 = 0? (aka 25% chance for this to be true) if so, continue with the indented lines below
....{"code":231,"indent":4,"parameters":[11,"scrachstar",0,0,290,234,100,100,255,0]}, // draw/show the star picture
....{"code":122,"indent":4,"parameters":[61,61,2,0,1]}, // subtract 1 from variable #61
....{"code":0,"indent":4,"parameters":[]},
{"code":412,"indent":3,"parameters":[]},
{"code":122,"indent":3,"parameters":[62,62,0,2,0,3]}, // repeat...
after the 3 scratches, variable #61 will be a number from 1 to 4 inclusive, 4 being no successful scratches and 1 being the grand prize
the lottery logic is in wwwdataCommonEvents.json, line 82/id 80
first, this line sets variable #61 to 4:
{"code":122,"indent":3,"parameters":[61,61,0,0,4]},
(char limit, continued in next comment...)
I'll also have to trust that your interpretation is correct. Thank you again. Really impressive work, as always.
So here's the question: Can slot two or three activate even if slot one did not?
My post below assumed that any slot can activate independently. But if they can't -- if slot two requires slot one is already active, and if slot three requires the first two are already active -- then the actual odds of winning would be exactly 25%.
Kyper, are you able to confirm whether that kind of condition is attached?