Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,371

Old August 6th, 2020, 05:07 AM
Quote:
Originally Posted by mathematical Pi View Post
I have a question. I'm currently building a excel CSV file that wil randomly generate all kinds of intel for towns/cities. I want to take it a step further and have it also generate one or more item shops or other buildings in these towns.

I know I can use the import tool to load up my towns, but is there a way to have it create "sub-topics" at the same time?

for example if my csv looks like this:
Town name, some town data; Shop name; shop data

Could I get:

Topic: Town name (with the town data in correct snippets)
-- Subtopic Shop name (with the shop data in the correct snippets)
You can create a parent/child structure, but my tool doesn't allow the parents to have any other data associated with them.

At the bottom of the structure section there is a button "add parent". That is where you can choose one of the columns in your data to use as the name of a parent topic.
All rows of your data with the same name in the parent topic column will be made children of that single parent.

Note that you can also create a hierarchy of parents in that same area.

Also note that you need to be careful to choose a category type for the parents that is from the same type (Topics for World Almanac, or Articles for Mechanics Reference) as the category type your are creating all your topics/articles from. My tool has no way to know which category types are for the world almanac and which are for the mechanics reference.

Within my tool I haven't given any ability to add information to the parent topics other than just the name/prefix/suffix for the topic.

---

As an alternative, I think that the tool allows you to have a single import file contain more than one category of topics, so if you define your town category fields and your shop category fields (both without parents), then you will end up with all the data being imported in one go.

If you were to use the town name of the shop as a prefix, then it would help you sort them for manually dragging once they are in RW (holding shift or ctrl, I don't remember which, while dragging topics within RW will reassign parentage without a popup appearing each time).

Farling

Author of the Realm Works Import (http://forums.wolflair.com/showthread.php?t=58156) and Output tools (http://forums.wolflair.com/showthread.php?t=59981)

Last edited by Farling; August 6th, 2020 at 05:14 AM.
Farling is offline   #561 Reply With Quote
mathematical Pi
Junior Member
 
Join Date: Dec 2013
Posts: 9

Old August 6th, 2020, 06:06 AM
Quote:
Originally Posted by Farling View Post
You can create a parent/child structure, but my tool doesn't allow the parents to have any other data associated with them.

At the bottom of the structure section there is a button "add parent". That is where you can choose one of the columns in your data to use as the name of a parent topic.
All rows of your data with the same name in the parent topic column will be made children of that single parent.

Note that you can also create a hierarchy of parents in that same area.

Also note that you need to be careful to choose a category type for the parents that is from the same type (Topics for World Almanac, or Articles for Mechanics Reference) as the category type your are creating all your topics/articles from. My tool has no way to know which category types are for the world almanac and which are for the mechanics reference.

Within my tool I haven't given any ability to add information to the parent topics other than just the name/prefix/suffix for the topic.

---

As an alternative, I think that the tool allows you to have a single import file contain more than one category of topics, so if you define your town category fields and your shop category fields (both without parents), then you will end up with all the data being imported in one go.

If you were to use the town name of the shop as a prefix, then it would help you sort them for manually dragging once they are in RW (holding shift or ctrl, I don't remember which, while dragging topics within RW will reassign parentage without a popup appearing each time).
So with the alternative:

I create my CSV with columns:

Town; Town data; Scribe; Scribe data; Armorer; Armorer data,...
I create a structure file with added categories Shop Scribe, Shop Armorer,....

I import the data and when filling in the shop categories I use the town names as prefix so RW will sort the town and its shops together. Then all I need to do after is drag them on top of the town?

Added question: Can I import maps with the tool? like if I put town maps into the excel?
mathematical Pi is offline   #562 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,371

Old August 9th, 2020, 06:43 AM
You can import images using the tool. I think it only works if the cell contains the PATH of the file containing the image, rather than directly storing the image inside the excel spreadsheet.

Farling

Author of the Realm Works Import (http://forums.wolflair.com/showthread.php?t=58156) and Output tools (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #563 Reply With Quote
Acenoid
Senior Member
 
Join Date: Dec 2013
Posts: 778

Old August 12th, 2020, 02:13 PM
I imported already pictures using the full path and that worked for me !

Join the (unofficial) Realm-Works IRC Chat: #realm-works on the Rizon Network (https://wiki.rizon.net/index.php?title=Servers)
-> Browser Client: https://kiwiirc.com/client/irc.rizon.net
Acenoid is offline   #564 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:32 PM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.