diff --git a/cinder.tw2 b/cinder.tw2 index a3a4cdd..97117f6 100644 --- a/cinder.tw2 +++ b/cinder.tw2 @@ -97,8 +97,7 @@ cinder_equip.tw2
-[[Зал->The hall]] -Идти на югНалевоСпуститься +[[Зал->The hall]]Идти на югНалевоСпуститься
(if: $hasMap is "yes")[ @@ -470,8 +469,7 @@ cinder_equip.tw2 [[Идти на балкон->balcony-chand]] ](replace: ?KBwindow)[[[balcony-chand]]] ]] -] -(else:)[ +](else:)[
(link: "walk")[(if: $door is 0)[(goto: "North of KB")](else:)[(goto: "NKB-door-c")]](if: $KBseen is "balcony")[[[Балкон->The Balcony]]](else:)[|KBwindow>[Go right]]Go left[[tunnel-r]] @@ -511,8 +509,7 @@ cinder_equip.tw2
-(if: $passageFound is 0) -|beddesc>[ +(if: $passageFound is 0)|beddesc>[
Up[[Игроки->card-players]][[Южный угол->South Corner]]Go Down @@ -525,17 +522,13 @@ cinder_equip.tw2
Около кровати спрятан проход. -]] -] -(else:)[ +]]](else:)[
[[Тайный проход->Secret tunnel]][[Игроки->card-players]][[Южный угол->South Corner]]Go Down
-] -|stooldesc>[] -(link: "Осмотреть стулья")[(replace: ?stooldesc)[Места для зрителей. Очаровательно.]] +]|stooldesc>[](link: "Осмотреть стулья")[(replace: ?stooldesc)[Места для зрителей. Очаровательно.]] (set: $mapPos to "qb") (if: $hasMap is "yes")[ []").attr({ - src : "sound/transition1.ogg", - autoplay : "autoplay" - }); + $("").attr({ + src: "sound/transition1.ogg", + autoplay: "autoplay" + }); }); //http://twinery.org/forum/index.php/topic,2495.0.html Calling JS with a hack if (typeof Undo == "undefined") { - var Undo = { - hide: function() { - $('div[class="equip1"]').hide(); - } - }; - window.Undo = Undo; + var Undo = { + hide: function() { + $('div[class="equip1"]').hide(); + } + }; + window.Undo = Undo; } window.onload = function() { @@ -402,25 +397,25 @@ $(function() // via https://twitter.com/javan/status/284873379062890496 // + https://twitter.com/pennig/status/285790598642946048 // re http://retrogamecrunch.com/tmp/hover - if ('createTouch' in document) - { - try - { - var ignore = /:hover\b/; - for (var i=0; i=0; j--) - { - var rule = sheet.cssRules[j]; - if (rule.type === CSSRule.STYLE_RULE && ignore.test(rule.selectorText)) - { - sheet.deleteRule(j); - } - } - } - } - catch(e){} - } + if ('createTouch' in document) + { + try + { + var ignore = /:hover\b/; + for (var i=0; i=0; j--) + { + var rule = sheet.cssRules[j]; + if (rule.type === CSSRule.STYLE_RULE && ignore.test(rule.selectorText)) + { + sheet.deleteRule(j); + } + } + } + } + catch(e){} + } }); } diff --git a/cinder_equip.tw2 b/cinder_equip.tw2 index ced2326..0debcbe 100644 --- a/cinder_equip.tw2 +++ b/cinder_equip.tw2 @@ -30,7 +30,7 @@ (set: $hasStiletto to 1) (replace: ?equiplink1b)[(display: "uneq1")] ]} -](else:) [ +](else:)[ { (click: ?equiplink1)[ (replace: ?equiplink1)[(display: "equipped1")] @@ -182,7 +182,7 @@ (replace: ?equiplink2b)[(display: "uneq2")] ]} ] -(else:) [ +(else:)[ { (click: ?equiplink2)[ (replace: ?equiplink2)[(display: "equipped2")] @@ -213,7 +213,7 @@ (replace: ?equiplink3b)[(display: "uneq3")] ]} ] -(else:) [ +(else:)[ { (click: ?equiplink3)[ (replace: ?equiplink3)[(display: "equipped3")] @@ -236,7 +236,7 @@ (replace: ?equiplink4b)[(display: "uneq4")] ]} ] -(else:) [ +(else:)[ { (click: ?equiplink4)[ (replace: ?equiplink4)[(display: "equipped4")]