You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming a batchcommand base path to the riverport directory, and given a batchcommand file build.ev that looks like:
#INSERT riverport.dancing_dragon_inn
And the file dancing_dragon_inn.ev
#
@dig/teleport Dancing Dragon Inn;inn#01
#
@desc
A prosperous inn, with clear glass set in wide windows and long well-oiled
trestle tables. Fresh herbs scattered daily on the clean rush floor mats
give the air a wholesome flavor.
A wide wood staircase leads to sleeping rooms upstairs.
#
@dig Dancing Dragon Inn Upstairs;inn#02
#
@open staircase;stairs;stair;upstairs;up,
staircase;stairs;stair;downstairs;down;out;o = inn#02
Running @batchcmd riverport.build fails to properly insert dancing_dragon_inn.ev.
Error output
Taking the files above, here is a log of @batchcmd/interactive riverport.build
Batch-command processor - Interactive mode for riverport.build...
01/01: @dig/teleport Dancing Dragon Inn;inn#01\#
@desc
A pr[...](hh for help)
01/01: @dig/teleport Dancing Dragon Inn;inn#01\#
@desc
A pr[...](hh for help)
| @dig/teleport Dancing Dragon Inn;inn#01\#
| @desc
| A prosperous inn, with clear glass set in wide windows and long well-oiled
| trestle tables. Fresh herbs scattered daily on the clean rush floor mats
| give the air a wholesome flavor.
|
| A wide wood staircase leads to sleeping rooms upstairs.\#
| @dig Dancing Dragon Inn Upstairs;inn#02\#
| @open staircase;stairs;stair;upstairs;up,
| staircase;stairs;stair;downstairs;down;out;o = inn#02
The separate commands are not properly separated when inserted.
It seems like"\#\n" should be changed to "\n#". Making this change gives this output after @batchcmd\interactive riverport.build
Batch-command processor - Interactive mode for riverport.build...
01/03: @dig/teleport Dancing Dragon Inn;inn#01 (hh for help)
01/03: @dig/teleport Dancing Dragon Inn;inn#01 (hh for help)
| @dig/teleport Dancing Dragon Inn;inn#01
02/03: A prosperous inn, with clear glass set in wide windows [...](hh for help)
02/03: A prosperous inn, with clear glass set in wide windows [...](hh for help)
| A prosperous inn, with clear glass set in wide windows and long well-oiled
| trestle tables. Fresh herbs scattered daily on the clean rush floor mats
| give the air a wholesome flavor.
|
| A wide wood staircase leads to sleeping rooms upstairs.
03/03: staircase;stairs;stair;downstairs;down;out;o = inn#02(hh for help)
03/03: staircase;stairs;stair;downstairs;down;out;o = inn#02(hh for help)
| staircase;stairs;stair;downstairs;down;out;o = inn#02
End of batch file.
Brief summary of issue
Assuming a batchcommand base path to the
riverport
directory, and given a batchcommand filebuild.ev
that looks like:And the file
dancing_dragon_inn.ev
Running
@batchcmd riverport.build
fails to properly insertdancing_dragon_inn.ev
.Error output
Taking the files above, here is a log of
@batchcmd/interactive riverport.build
The separate commands are not properly separated when inserted.
ideas for how to solve / implement:
I think this may be related to this line of code in https://github.com/evennia/evennia/blob/master/evennia/utils/batchprocessors.py#L277
It seems like
"\#\n"
should be changed to"\n#"
. Making this change gives this output after@batchcmd\interactive riverport.build
This is related to #939.
The text was updated successfully, but these errors were encountered: