From 6a17561943678702693531b74f8daefc4deeae4e Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 17 Mar 2020 16:00:55 +0500 Subject: [PATCH] Bandage class --- experiment.t | 5 +++-- src/item/_bandage.t | 3 +++ src/item/dentalFloss.t | 4 +--- src/item/tape.t | 4 +--- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 src/item/_bandage.t diff --git a/experiment.t b/experiment.t index b4b468e..c019de4 100644 --- a/experiment.t +++ b/experiment.t @@ -60,6 +60,7 @@ gameMain: GameMainDef #include "src/item/dataCable.t" #include "src/actor/surgeryAssistant.t" -#include "src/actor/pc.t" - #include "src/action/repair.t" +#include "src/item/_bandage.t" + +#include "src/actor/pc.t" diff --git a/src/item/_bandage.t b/src/item/_bandage.t new file mode 100644 index 0000000..bb7a8d3 --- /dev/null +++ b/src/item/_bandage.t @@ -0,0 +1,3 @@ +Bandage: Thing + iobjFor(RepairWith) { verify() {} } +; diff --git a/src/item/dentalFloss.t b/src/item/dentalFloss.t index b22e1a9..3103489 100644 --- a/src/item/dentalFloss.t +++ b/src/item/dentalFloss.t @@ -1,4 +1,4 @@ -dentalFloss: Thing +dentalFloss: Bandage 'dental floss' 'dental floss' @me @@ -6,6 +6,4 @@ dentalFloss: Thing used to remove food and dental plaque from between teeth in areas a toothbrush is unable to reach." - - iobjFor(RepairWith) { verify() {} } ; diff --git a/src/item/tape.t b/src/item/tape.t index 86d880c..408e26c 100644 --- a/src/item/tape.t +++ b/src/item/tape.t @@ -41,14 +41,12 @@ tapeWall: Thing, RoomPartItem } ; -pieceOfTape: PresentLater, Thing +pieceOfTape: PresentLater, Bandage 'long safety tape/strip/piece' 'long strip of tape' @cyanRoom " Quite a long piece of safety tape. It can serve as a rope." - - iobjFor(RepairWith) { verify() {} } ; uselessTape: PresentLater, Decoration