Ticket #1462 (closed enhancement: fixed)
[PATCH] Technologies should support folders
| Reported by: | michael | Owned by: | quantumstate |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 11 |
| Component: | UI & Simulation | Keywords: | patch |
| Cc: |
Description
I'd like technologies to support folders so that they can be divided by culture. I already have an example in the simulation/technologies/hellenes folder.
Example in the templates:
<ProductionQueue>
<Technologies datatype="tokens">
hellenes/special_iphicratean_reforms
</Technologies>
</ProductionQueue>
Attachments
Change History
comment:3 Changed 10 months ago by quantumstate
- Keywords patch, review added
- Summary changed from Technologies should support folders to [PATCH] Technologies should support folders
I have attached a patch. Basically I just switched the VFS function to one that could look recursively.
Changed 10 months ago by quantumstate
- Attachment recursive tech loading.2.patch added
Added error checking
comment:4 Changed 10 months ago by historic_bruno
- Keywords patch added; patch, removed
Can you make the recursion an option in Script_FindJSONFiles()?
Changed 10 months ago by quantumstate
- Attachment recursive tech loading.patch added
Made recursiveness optional
Note: See
TracTickets for help on using
tickets.
