From b97d0b516929630a6e2ca8e64615048b7d5ad174 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Wed, 12 May 2021 19:03:01 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=D0=9A=D0=B0=D1=80=D0=BC=D0=B0=D0=BD=D1=8B?= =?UTF-8?q?=20=D0=B8=20=D0=BC=D0=BD=D0=BE=D0=B6=D0=B5=D1=81=D1=82=D0=B2?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D0=BE=D1=81=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- room8.lua | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/room8.lua b/room8.lua index 2d5aba2..d9dac9d 100644 --- a/room8.lua +++ b/room8.lua @@ -147,7 +147,7 @@ room { } obj { - -"вешалка|вешалки/мн"; + -"вешалка/жр,но|вешалки/мн,жр,но"; nam = "room8_hanger"; found_in = 'room8_clothes'; description = 'Здесь нет вешалок, одежда висит на крючках.'; @@ -169,7 +169,7 @@ obj { }: attr 'concealed,static'; obj { - -"рычаг,кондиционер"; + -"рычаг,кондиционер/мр,но"; nam = "room8_control"; found_in = 'room8_garderob'; description = function(self) @@ -230,7 +230,7 @@ obj { }: attr 'static,supporter,scenery'; obj { - -"дверь"; + -"дверь/жр,но"; nam = 'room8_garagedoor'; found_in = 'room8_garderob'; with_key = 'thooskey'; @@ -249,7 +249,7 @@ obj { }: attr 'scenery,openable,lockable,locked'; obj { - -"замок,электронный замок"; + -"замок,электронный замок/мр,но"; nam = 'room8_lock'; before_Burn = function(self, thing) if not (thing ^ 'matches' or thing ^ 'kitchen_lighter' or thing ^ 'kerosin' or thing ^ 'lamp') then @@ -406,7 +406,7 @@ clothing = Class { -- Да, ты можешь писать "открыть крючок" потому что это синоним шкафа. -- Но то, что крючки не смоделированы, должно намекать на их несущественность. obj { - -"шкаф,гардероб/мр,но|крючки/мн,но|крючок/мр,но|одежда/жр,но"; + -"шкаф,гардероб/мр,но|крючки/мр,мн,но|крючок/мр,но|одежда/жр,но"; nam = 'room8_clothes'; before_Receive = function(self, thing) if not thing:has('clothing') then @@ -492,7 +492,7 @@ clothing { }: attr 'worn,concealed'; clothing { - -"трусы,трусики,труселя/ср,мч|белье,бельё/ср"; + -"трусы,трусики,труселя/ср,мч,мн|белье,бельё/ср"; nam = 'room8_underwear_bottom'; part = 'bottom'; description = 'Твоё нижнее бельё.'; @@ -503,7 +503,7 @@ clothing { }: attr 'worn,concealed'; clothing { - -"туфли/жр,мч|туфля/жр"; + -"туфли/жр,мч,мн|туфля/жр"; nam = 'room8_shoes'; part = 'feet'; description = 'Чёрные блестящие туфли на каблуке.'; @@ -874,8 +874,12 @@ obj { obj { -"карман/мр,но|карманы/мн,мр,но"; nam = 'room8_out_pockets'; + before_Drop = 'Нет, ты же можешь таскать с собой столько вещей!'; + before_Receive = function(self, thing) + mp:xaction('Take', thing) + end; description = 'Карманы пусты, в них нет ничего интересного.'; -}: attr 'static,concealed'; +}: attr 'concealed,container'; take('room8_out_pockets'); obj { From 4a44e3c57f39d3b712a28b79a11258f1eb329c0f Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Thu, 13 May 2021 16:48:28 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=D1=8F=D0=B7=D1=8B=D0=BA=20=D0=BA=D0=B0?= =?UTF-8?q?=D0=BA=20=D1=81=D0=B8=D0=BD=D0=BE=D0=BD=D0=B8=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- room8.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/room8.lua b/room8.lua index d9dac9d..3cb3e69 100644 --- a/room8.lua +++ b/room8.lua @@ -154,7 +154,7 @@ obj { }: attr 'concealed,static'; obj { - -"рукоятка,рукоятка рычага/жр,но|монстр/мн,од"; + -"рукоятка,рукоятка рычага/жр,но|монстр/мн,од|язык/но,мр"; nam = 'room8_control_end'; found_in = 'room8_control'; description = 'Изогнутый декоративный крюк на конце рычага изображает язык милого монстра. За эту рукоятку удобно хвататься.';