This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d07d096
commit 47001f5
Showing
120 changed files
with
218 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name = 'M79' | ||
description = ( | ||
'Уничтожает. Быстро.' | ||
'Уничтожает. Быстро.' | ||
) | ||
|
||
price = 800 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name = 'Миниган' | ||
description = ( | ||
'Тратит твои патроны. Быстро.' | ||
'Тратит твои патроны. Быстро.' | ||
) | ||
|
||
price = 650 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name = 'Мазь "Звёздочка"' | ||
description = 'Лечебная мазь универсального действия. Кажется, может вылечить даже от рака.' | ||
price = 300 | ||
|
||
usable = True | ||
disposable = True | ||
|
||
def on_use(user, reply): | ||
reply('Вот так-то лучше!') | ||
|
||
user.heal(25) | ||
|
||
user.buffs = [ b for b in user.buffs if not b.is_negative() ] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name = 'Река' | ||
|
||
|
||
def get_actions(user): | ||
return [ 'Грести', 'Вернуться в коридор' ] | ||
|
||
|
||
def enter(user, reply): | ||
reply( | ||
'Дверь, через которую ты вошел, магическим образом исчезла.\n' | ||
'Ты решаете осмотреться и замечаещь лодку, стоящую неподалёку.\n' | ||
'Тебе ничего не остается, кроме как прыгнуть в речку и плыть. Да, всё именно так.\n' | ||
'Хотя можно просто вернуться обратно в Джунгли..' | ||
) | ||
user.set_room_temp('rvr', 0) | ||
|
||
def action(user, reply, text): | ||
if text == 'Вернуться в коридор': | ||
user.leave(reply) | ||
return | ||
|
||
rvr = user.get_room_temp('rvr', 0) | ||
|
||
if user.has_item('m79') : | ||
rvr += 4 | ||
reply('Ты вспоминаешь, что у тебя есть М79, берешь его в руки и гребешь.') | ||
else: | ||
rvr += 1 | ||
reply('Ты гребешь руками. Кажется, что скоро конец') | ||
|
||
user.set_room_temp('rvr', rvr) | ||
|
||
if rvr > 8: | ||
msg = '' | ||
if user.has_item('m-16'): | ||
user.remove_item('m-16') | ||
reply('Твой М-16 теперь не стреляет.. пришлость выкинуть.') | ||
|
||
|
||
reply( | ||
'Вы пристаете к другому концу берега, вылезаете из лодки.\n' | ||
'Единственное место, куда вы можете пойти здесь - едва приоткрытая дверь.\n' | ||
'Вы открываете дверь... И выходите во *Вьетнам*!\n\n' | ||
'_Приключения начинаются_.\n\n' | ||
'..._снова_.' | ||
) | ||
|
||
user.rooms_pack = 'vietnam' | ||
user.leave(reply) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name = 'Куст' | ||
hp = 280 | ||
damage_range = (20, 35) | ||
|
||
coins = 200 | ||
|
||
loot = [ 'm-16' ] | ||
|
||
def enter(user, reply): | ||
reply('Когда ты проходил мимо куста, из него выпрыгнул солдат и ударил тебя прикладом') | ||
user.make_damage(0, 30, reply, name='Приклад') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import random | ||
|
||
name = 'Армия Вьетнамцев' | ||
|
||
hp = 1500 | ||
damage_range = ( 40, 70 ) | ||
|
||
coins = 1337 | ||
|
||
loot = [random.choice([ 'ak', 'm79' ])] | ||
|
||
def enter(user, reply): | ||
msg = ( | ||
'Огромая куча вьетнамцев, на летающих тракторах производства СССР, устроит дискотеку с фейерверком и светомузыкой. ' | ||
) | ||
reply(msg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name = 'Река' | ||
|
||
|
||
def get_actions(user): | ||
return [ 'Грести', 'Вернуться в джунгли' ] | ||
|
||
|
||
def enter(user, reply): | ||
reply( | ||
'Ты решаете осмотреться и замечаещь лодку, стоящую неподалёку.\n' | ||
'Тебе ничего не остается, кроме как прыгнуть в речку и плыть. Да, всё именно так.\n' | ||
'Хотя можно просто вернуться обратно в Джунгли..' | ||
) | ||
user.set_room_temp('rvr', 0) | ||
|
||
def action(user, reply, text): | ||
if text == 'Вернуться в джунгли': | ||
user.leave(reply) | ||
return | ||
|
||
rvr = user.get_room_temp('rvr', 0) | ||
|
||
if user.has_item('m79') : | ||
rvr += 4 | ||
reply('Ты вспоминаешь, что у тебя есть М79, берешь его в руки и гребешь.') | ||
else: | ||
rvr += 1 | ||
reply('Ты гребешь руками. Кажется, что скоро конец') | ||
|
||
user.set_room_temp('rvr', rvr) | ||
|
||
if rvr > 8: | ||
msg = '' | ||
if user.has_item('m-16'): | ||
user.remove_item('m-16') | ||
reply('Твой М-16 теперь не стреляет.. Пишлость выкинуть.') | ||
|
||
|
||
reply( | ||
'Вы пристаете к другому концу берега, вылезаете из лодки.\n' | ||
'Единственное место, куда вы можете пойти здесь - едва приоткрытая дверь.\n' | ||
'Вы открываете дверь... И выходите в Коридор!\n\n' | ||
) | ||
|
||
user.rooms_pack = 'default' | ||
user.leave(reply) |
Oops, something went wrong.