View Full Version : List Index?
RPMiller
Apr 10th, '03, 07:33 AM
Dan,
Is there a List Index ID? In other words, if I have two martial arts both identified with a list "heading" can I use the method I mentioned in the NOT_LIST Thread to show each of the lists independently? I'm thinking it might be as simple as using the START and STOP tags. Would my guess be correct, or is there a better way?
Simon
Apr 10th, '03, 11:38 AM
Not really...
You're going to head into problems if you try to combine those concepts. The way things are intended to print out is the way they are assigned to the character. The contents of a list are simply ordered beneath it. If you skip over the list declaration (by using the IS_NOT_LIST), then you're on your own for the formatting
Simon
Apr 10th, '03, 12:13 PM
Anything that is part of a List has a "LISTPREFIX"...I'm not sure what else you could be looking for here...
Simon
Apr 10th, '03, 12:35 PM
Then just use the normal export format and call your lists "Martial Arts: Foo One" and "Martial Arts: Foo Two"
Simon
Apr 10th, '03, 01:15 PM
Use IS_LIST and you're fine. That's all you need.
The contents of IS_LIST should print out "Martial Arts: "+the name of the list + a line break + "Maneuver OCV DCV Notes"
That's easy.
I see absolutely no need to complicate things with yet more tags.
Simon
Apr 10th, '03, 03:21 PM
I don't think you're understanding how the export process works.
Say you have the following in your character:
Kung Foo
1) foo strike
2) foo block
3) foo kick
Kung Bar
1) bar strike
2) bar block
3) bar kick
If you setup your export like so, you'll be fine(line breaks added for clarity):
MARTIAL_ARTS
IS_LIST + "Martial Art: "+/IS_LIST
IFLIST + LIST_PREFIX + /IFLIST
MA_TEXT
/MARTIAL_ARTS
What that says is, for each item in the list of "Martial Arts" for the character, if the item is a list, prepend "Martial Art: ". If the item is part of a list (not a list itself), prepend the "list prefix" (e.g. "1) "). Then print the text of the item (list name, maneuver text, etc.).
This will produce the following output (once you set the line breaks appropriately):
Martial Art: Kung Foo
1) foo strike
2) foo block
3) foo kick
Martial Art: Kung Bar
1) bar strike
2) bar block
3) bar kick
Simon
Apr 10th, '03, 03:28 PM
To go still further:
MARTIAL_ARTS
IS_LIST + "Martial Art: <br> Maneuver OCV DCV Notes"+ MA_TEXT + /IS_LIST
IS_NOT_LIST + IFLIST + LIST_PREFIX + /IFLIST + MA_TEXT + /IS_NOT_LIST
/MARTIAL_ARTS
That will give:
Martial Art: Kung Foo
Maneuver OCV DCV Notes
1) foo strike
2) foo block
3) foo kick
Martial Art: Kung Bar
Maneuver OCV DCV Notes
1) bar strike
2) bar block
3) bar kick
Simon
Apr 10th, '03, 03:30 PM
The problem with your concept here is that you're not taking into account the other items that can be purchased as part of the martial arts for a character. Namely, Extra DCs (ranged and HTH), and Weapon Element.
Simon
Apr 10th, '03, 06:56 PM
Originally posted by Durnin
I don't understand this comment. Isn't Extra DCs and the like part of the martial arts text? I don't see a problem. I'm expecting to be able to buy separate DCs and weapon elements for each martial art is this not true?
The problem is that they won't follow the format of "Maneuver OCV DCV Notes" that you have noted at the head of the list. You're better off without that header.
rjcurrie
Apr 10th, '03, 07:25 PM
I'm not sure if the WG addresses characters with multiple Martial Arts styles directly or not, but in Ninja Hero, for example, there are characters with more than one style whose Martial Arts appear in the style:
Martial Arts: Kung Foo and Kung Bar
Maneuver OCV DCV Notes
Maneuver1
Maneuver2
...
Also, I don't think your idea of listing damage classes per style works, because damage classes are not bought per style but rather apply to all Martial Arts maneuvers that a character has bought.
Rod
RPMiller
Apr 11th, '03, 10:54 AM
Dan,
Thanks for all your help. Unfortunately, the above doesn't "seem" to be working. Did you put the IS_NOT_LIST tag in the 1.31 update?
I don't want to leave off the headers. I want the output per the WG. I tried what I suggested earlier about running through MARTIAL_ARTS twice, and I think this is going to give me the output I need, and if there are two or more martial arts people are just going to have to fix it in post edit unfortunately.
If there was only an Index Number for each list like there is for the individuals lines used with START tag that would be perfect, but we don't live in a perfect world so post-editing it will have to be.
Thanks again for your help! As a friendly reminder (per your request), will there still be a tag that can be used to drop off the "adders/modifiers/options" off the disadvantages? You told me to keep reminding you to add it.
Simon
Apr 11th, '03, 01:47 PM
IS_NOT_LIST is not part of 1.31 -- it was brought up after that was released. I've got it implemented, so it will be a part of 1.32
Simon
Apr 12th, '03, 04:57 AM
Originally posted by Durnin
In addition to disads one for martial arts would be great!
Essentially, splitting the name from the notes. This would be awesome if you can do it, and I would have to raise your Cool Factor (tm) even higher! :D If that's even possible
Martial arts Maneuvers have already been comletely broken apart in the MANEUVERS list.
RPMiller
Apr 12th, '03, 09:47 AM
Originally posted by rjcurrie
<snip>
Martial Arts: Kung Foo and Kung Bar
Maneuver OCV DCV Notes
Maneuver1
Maneuver2
...
Also, I don't think your idea of listing damage classes per style works, because damage classes are not bought per style but rather apply to all Martial Arts maneuvers that a character has bought. I got a reply back from Steve. Each martial art is supposed to be listed separately. You are correct about the DCs. They apply to all martial arts. Thanks again Rod.
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.