Closed seikichin closed 5 years ago
[37m
,;;;.;,;;;;,, _
.;' ''( );.
.;' o,'.
; ) . . ; :;
:: ~ ~( ~'';,,;\~~
: '. ,,, \'....; ',
' ;.. ',,,'
; ;,,
,;;;'
[0
something like ASCII art
DGD of course supports ASCII art, but it doesn't support @long
- LONG
test blocks. You can break up strings with a backslash:
set_long("long", "\
,;;;.;,;;;;,, _\n\
.;' ''( );.\n\
.;' o,'.\n\
) . . :;\n\
:: ~ ~( ~'';,,;\~~\n\
: '. ,,, \'....; ',\n\
' .. ',,,'\n\
; ,,\n\
,;;;'\n\
");
thank you for the reply
---Original--- From: "Felix A. Croes"notifications@github.com Date: Sun, Aug 4, 2019 20:16 PM To: "dworkin/dgd"dgd@noreply.github.com; Cc: "Author"author@noreply.github.com;"seikichin"seikichin@qq.com; Subject: Re: [dworkin/dgd] separate issue (#16)
DGD of course supports ASCII art, but it doesn't support @long - LONG test blocks. You can break up strings with a backslash:
setlong("long", "\ ,;;;.;,;;;;,, \n\ .;' ''( );.\n\ .;' o,'.\n\ ) . . :;\n\ :: ~ ~( ~'';,,;\~~\n\ : '. ,,, \'....; ',\n\ ' .. ',,,'\n\ ; ,,\n\ ,;;;'\n\ ");
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
I use gurblib and I got an error: Compiler error: Sun Aug 4 20:55:55 2019:smaug:/domains/test/rooms/mice_room2.c, 8: unterminated unterminated string illegal character: '.' syntax error illegal character: '\'
inherit "/std/room"; void setup(void) {
set_short("mice room" ); setlong("\ ,;;;.;,;;;;,, \n\ .;' ''( );.\n\ .;' o,'.\n\ ) . . :;\n\ :: ~ ~( ~'';,,;\~~\n\ : '. ,,, \'....; ',\n\ ' .. ',,,'\n\ ; ,,\n\ ,;;;'\n\ "); set_exits((["down": DIR + "/mice_room3",]) );
}
You have to use a backslash at the end of the lines, exactly as in my example.
I copy your example and it doesn't work
---Original--- From: "Felix A. Croes"notifications@github.com Date: Mon, Aug 5, 2019 03:30 AM To: "dworkin/dgd"dgd@noreply.github.com; Cc: "Author"author@noreply.github.com;"seikichin"seikichin@qq.com; Subject: Re: [dworkin/dgd] separate issue (#16)
You have to use a backslash at the end of the lines, exactly as in my example.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Change the line endings for your source file to Unix style.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, August 4, 2019 5:45 PM, seikichin notifications@github.com wrote:
I copy your example and it doesn't work
---Original--- From: "Felix A. Croes"notifications@github.com Date: Mon, Aug 5, 2019 03:30 AM To: "dworkin/dgd"dgd@noreply.github.com; Cc: "Author"author@noreply.github.com;"seikichin"seikichin@qq.com; Subject: Re: [dworkin/dgd] separate issue (#16)
You have to use a backslash at the end of the lines, exactly as in my example.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Good it works !thank you!
---Original--- From: "Blain20"notifications@github.com Date: Mon, Aug 5, 2019 11:40 AM To: "dworkin/dgd"dgd@noreply.github.com; Cc: "Author"author@noreply.github.com;"seikichin"seikichin@qq.com; Subject: Re: [dworkin/dgd] separate issue (#16)
Change the line endings for your source file to Unix style.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, August 4, 2019 5:45 PM, seikichin notifications@github.com wrote:
I copy your example and it doesn't work
---Original--- From: "Felix A. Croes"notifications@github.com Date: Mon, Aug 5, 2019 03:30 AM To: "dworkin/dgd"dgd@noreply.github.com; Cc: "Author"author@noreply.github.com;"seikichin"seikichin@qq.com; Subject: Re: [dworkin/dgd] separate issue (#16)
You have to use a backslash at the end of the lines, exactly as in my example.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
does dgd support text block for example£º with fluffos I can draw a mice like this: set("long", @LONG [37m ,;;;.;,;;;;,, _ .;' ''( );. .;' o,'. ) . . :; :: ~ ~( '';,,;~ : '. ,,, '....; ', ' .. ',,,' ; ,, ,;;;' [0m LONG ); between @LONG and LONG is the text mice