I recently added the hostile intelligent alien to monsters.txt:
Notice that it has 10 different possible images. I believe that Monster Manuel will pick one at random to show you.
In the Monster section of the Encyclopedia, I believe we pick the first one.
I would like to modify the HTML we generate for monsters with multiple images. Perhaps like this:
For a monster with only one image:
For a monster with multiple images:
If you click on right arrow:
I know you can put dynamic links into an HTML panel; look at the Mini Browser. I believe it is done with an HTMLEditorKit - technology I know essentially nothing about.
How hard can it be?
Code:
hostile intelligent alien 2023 sgalienb1.gif,sgalienb2.gif,sgalienb3.gif,sgalienb4.gif,sgalienb5.gif,sgalienb6.gif,sgalienb7.gif,sgalienb8.gif,sgalienb9.gif,sgalienb10.gif Atk: 0 Def: 0 HP: 0 Init: -10000 P: humanoid
In the Monster section of the Encyclopedia, I believe we pick the first one.
I would like to modify the HTML we generate for monsters with multiple images. Perhaps like this:
For a monster with only one image:
Code:
[image]
For a monster with multiple images:
Code:
[image 1]
[left arrow (disabled)] 1/10 [right arrow (enabled)]
If you click on right arrow:
Code:
[image 2]
[left arrow (enabled)] 2/10 [right arrow (enabled)]
I know you can put dynamic links into an HTML panel; look at the Mini Browser. I believe it is done with an HTMLEditorKit - technology I know essentially nothing about.
How hard can it be?
