Bablo ResourcesDocs

Categories

Categories sort your placed props. Each prop is in one category or in none. A category can hold subcategories, and it can have a capacity: the most props it may hold.

Categories are shared by all maps. Use them to filter the Placed Props list, to frame a group of props on the World Map, and to export or publish only part of a map (see Import, Export & Publish).

New props start without a category.


Where the first categories come from

The first time the resource starts with no categories in the database, it creates one top-level category for each entry in Config.Categories, named after its label (see Categories). With the shipped config.lua these are the 20 categories from Furniture to Misc.

LUA
Config.Categories = {
    { id = 'furniture', label = 'Furniture' },
    { id = 'seating', label = 'Seating' },
    -- ...
    { id = 'misc', label = 'Misc' },
}

After that, the two are separate. Config.Categories also sets the categories of the Prop Browser. Changing it later does not change the categories in the Workshop, and changing the categories in the Workshop does not change the Prop Browser.

If you delete every category, they are created again from Config.Categories on the next start.


The category tree

Categories are sorted by name. Subcategories are shown under their parent.

ColumnWhat it shows
CategoryThe name. Click it to rename the category.
PropsThe props in this category and in its subcategories, on all maps: Objects here and in subcategories.
UsedFor a category with a capacity: the props filed directly in it out of the capacity, for example 8/10. — for a category without a capacity. See Capacity.
CapacityThe most props the category may hold. Empty, shown as unlimited, for no limit.

Each row ends with these buttons:

ButtonWhat it does
AssignFiles the props selected in the world under this category: Put the world selection in this category. See Filing props.
EmptyTakes every prop out of this category. See Emptying a category.
Frame on the world mapShows where the props of this category are. See Framing a category.
Move to…Moves the category under another one. See Nesting and moving.
Add subcategoryCreates a category under this one.
Remove categoryDeletes the category. See Deleting a category.

The line above the tree shows the props selected in the world, for example The world selection holds 12 object(s)., or Select objects in the world, then assign them here. when nothing is selected. Next to it is Unassign.


Creating a category

  • Top level: type a name in New category name… under the tree and press Create or Enter.
  • Subcategory: press Add subcategory on the parent, type a name in Subcategory name… and press Enter or click elsewhere. Esc cancels.

Names are 1 to 48 characters.


Renaming a category

Click the name, type the new one and press Enter or click elsewhere. When you clear the field, the old name comes back.


Nesting and moving

LUA
Config.Studio = {
    maxCategoryDepth = 4, -- nesting levels allowed in the category tree
    -- ...
}

Config.Studio.maxCategoryDepth sets how many levels the tree may have (see Workshop). A top-level category is level 1, so with 4 a category can have subcategories three levels deep. On the deepest level, Add subcategory is greyed out: Max nesting depth reached.

To move a category with everything under it, press Move to…:

  • Top level makes it a top-level category. It is only offered for subcategories.
  • Under it are the categories it can move into. The category itself, its own subcategories, its current parent and every place where the branch would get too deep are left out.
  • When there is no place to go, the menu shows Nowhere to move.

The server checks the move again. It refuses with A category can’t be moved into itself. or Categories can’t nest that deep.


Capacity

Type a number from 1 to 100,000 in Capacity and press Enter or click elsewhere. Clear the field to remove the limit.

  • The capacity counts only the props filed directly in the category, on all maps together. Props in its subcategories don’t count.
  • Filing more props than fit is refused as a whole, not in part: No room — this category takes 2 more.
  • You can set a capacity below the number of props already in the category. Nothing is taken out, but no prop can be added until there is room again.

The Used badge changes colour as the category fills up. Hover it to see the free places, for example Room for 2 more.

ColourWhen
GreyMore than Config.Studio.capWarnFree places are free.
AmberConfig.Studio.capWarnFree places or fewer are free (5 by default, see Workshop).
RedThe category is full.

Filing props

The props selected in the world

  1. Select props in the world. See Selecting & Editing Props.
  2. Open the Workshop on the Categories tab. The line at the top shows how many props are selected.
  3. Press Assign on the category.

Unassign at the top takes the selected props out of their category: Clear the category from the world selection.

  • Assign and Unassign are greyed out while nothing is selected.
  • They take the first 500 props of the selection.
  • A prop is in one category at a time, so Assign takes props out of their old category.

From the lists

  • On Placed Props: File under… for the selected rows, or Category in Object details for one prop.
  • On the World Map: Assign category in the details of a prop.

The capacity applies everywhere.


Emptying a category

Empty takes every prop filed directly in the category out of it. The props stay on the map. You are asked first: Empty Category, Seating lets go of 14 prop(s). Nothing is taken off the map. and Empty.

Props in subcategories keep their subcategory. Empty is greyed out when no props are filed directly in the category.


Deleting a category

Press Remove category. You are asked first: Delete Category, This deletes Seating. Its subcategories move up one level and its 14 object(s) become uncategorized. and Delete.

  • Its subcategories move up one level, with everything under them.
  • The props filed directly in it lose their category. They stay on the map.

Framing a category

Frame on the world map opens the World Map with a box around every prop of the category and its subcategories, and zooms in on it. The button is greyed out when the category and its subcategories hold no props.