1
0
Fork 0
mirror of https://github.com/Oreolek/shooter.git synced 2024-06-17 07:10:45 +03:00

Perfect hidden ending

This commit is contained in:
Alexander Yakovlev 2015-12-02 15:48:59 +07:00
parent d82de410ed
commit 70f9e51f04
5 changed files with 47 additions and 6 deletions

View file

@ -63,12 +63,30 @@ module.exports.language =
<center><h3>THE END</h3></center>
The game used the following sound effects:
The game uses following CC-BY and public domain sound effects and images:
* SpartanX109 - [Desert Eagle Fire.mp3](http://freesound.org/people/SpartanX109/sounds/89147/)
* ngphil22 - [DEagle wCasing.mp3](http://freesound.org/people/ngphil22/sounds/233322/)
* watupgroupie - [gunshots.mp3](http://freesound.org/people/watupgroupie/sounds/36815/)
* qubodup - [Bullet silhoettes](https://openclipart.org/detail/29029/bullet-silhouettes)
"""
finale_perfect: """
35 shots.
That's all it took.
Whether by impossible luck or by some higher being's meddling, there's still a lot of time left.
My job is done.
Now I can have a good New Year.
<center><h3>THE END</h3></center>
The game uses following CC-BY and public domain sound effects and images:
* SpartanX109 - [Desert Eagle Fire.mp3](http://freesound.org/people/SpartanX109/sounds/89147/)
* ngphil22 - [DEagle wCasing.mp3](http://freesound.org/people/ngphil22/sounds/233322/)
* watupgroupie - [gunshots.mp3](http://freesound.org/people/watupgroupie/sounds/36815/)
* qubodup - [Bullet silhoettes](https://openclipart.org/detail/29029/bullet-silhouettes)
"""
clips_not_found:[
"No, nothing here.",
"Come on, at least one! No, didn't find any."

View file

@ -42,6 +42,7 @@ Array.prototype.oneOf = () ->
spend_bullet = (character, system) ->
bullets = character.sandbox.clips[character.sandbox.current_clip]
character.sandbox.shots++
if bullets >= 1
coin = system.rnd.randomInt(1,2)
audio = 'shot1'
@ -197,7 +198,10 @@ situation "not_found",
return response()
situation "finale",
content: "finale".l(),
content: (character, system) ->
if character.sandbox.shots == 35
return "finale_perfect".l(),
return "finale".l(),
qualities
head:
@ -217,6 +221,7 @@ undum.game.init = (character, system) ->
character.sandbox.distance = 3
character.sandbox.seen_reload = 0
character.sandbox.seen_search = 0
character.sandbox.shots = 0
$("#title").click(() ->
$("#clip").fadeIn()
)

View file

@ -82,12 +82,30 @@ module.exports.language =
<center><h3>КОНЕЦ</h3></center>
Использованные звуковые эффекты:
В игре использованы следующие звуковые эффекты и изображения в общественном достоянии и под лицензией CC-BY:
* SpartanX109 - [Desert Eagle Fire.mp3](http://freesound.org/people/SpartanX109/sounds/89147/)
* ngphil22 - [DEagle wCasing.mp3](http://freesound.org/people/ngphil22/sounds/233322/)
* watupgroupie - [gunshots.mp3](http://freesound.org/people/watupgroupie/sounds/36815/)
* qubodup - [Bullet silhoettes](https://openclipart.org/detail/29029/bullet-silhouettes)
"""
finale_perfect: """
35 выстрелов.
Вот всё, что потребовалось.
Была ли это невероятная удача, или вмешательство высшей силы, но ещё осталось много времени.
Моя работа сделана.
А теперь Новый Год будет таким, каким он должен быть.
<center><h3>КОНЕЦ</h3></center>
В игре использованы следующие звуковые эффекты и изображения в общественном достоянии и под лицензией CC-BY:
* SpartanX109 - [Desert Eagle Fire.mp3](http://freesound.org/people/SpartanX109/sounds/89147/)
* ngphil22 - [DEagle wCasing.mp3](http://freesound.org/people/ngphil22/sounds/233322/)
* watupgroupie - [gunshots.mp3](http://freesound.org/people/watupgroupie/sounds/36815/)
* qubodup - [Bullet silhoettes](https://openclipart.org/detail/29029/bullet-silhouettes)
"""
clips_not_found:[
"Нет, ничего нет.",
"Ну хотя бы один! Нет, не нашёл."

View file

@ -16,7 +16,7 @@
<div class="label">
<h1>Thirty five shots</h1>
<h3>An online sci-fi first person text shooter</h3>
<h3>An online sci-fi first person cybertext shooter</h3>
<p>by <b><a href="http://en.oreolek.ru/">Oreolek</a></b></p>
<noscript>
<p class="noscript_message">This game requires Javascript.</p>

View file

@ -16,8 +16,8 @@
<div class="label">
<h1>Тридцать пять выстрелов</h1>
<h3>An online sci-fi first person text shooter</h3>
<p>by <b><a href="https://oreolek.ru/">Oreolek</a></b></p>
<h3>Научно-фантастический онлайн кибертекстовый шутер от первого лица</h3>
<p>от <b><a href="https://oreolek.ru/">Oreolek'а</a></b></p>
<noscript>
<p class="noscript_message">Эта игра требует Javascript.</p>
</noscript>