Modding – Service Firms

This tutorial assumes that you have already created a mod. You will learn how to convert your mod into a “service” version by changing some of your retail firms into service firms.

Step 1) Edit Buildings.DBF and change the FirmType field of those firms that will become service firms from “RETAIL” to “SERVICE“.

Example: changing Pizzeria, Fast Food Shop, and Business Shop in Real World MOD from retail firms to service firms.

The following image shows the modified Buildings.DBF.

Step 2) Open Service_Firm_Products.DBF which is a new file for defining the types of products that the service firms offer.

It contains the following fields:

BuildCode – the building code of the service firm. It should be a code defined in Buildings.DBF.

ItemClass – it specifies that the service firm offers products from this product class. It should be a code defined in Product_Classes.DBF.

If a service firm offers products from more than one product class, you can define multiple records for one service firm.

Traffic_EF – a service firm can increase customer traffic in local area. This Traffic Effect field, ranging from 0 to 100, specifies the relative strength of the service firm’s ability to boost customer traffic.

Example: adding the following records for Real World MOD.

It specifies that Fast Food Shops offer Fast Food products, and Pizzerias offer Pizzas.

The row with the BuildCode being “ENERGY”  is actually the Business Shop. In Real World MOD, Business Shops can sell Public Utilities, Insurance, Service and Telecom Products. 

Since Business Shops can offer products from these 4 product classes, 4 records have been created to link them to this firm type. For the fact that Public Utilities, Insurance, and Telecom Products are weak in driving customer traffic to local areas, their Traffic Effect variables are set to zero.

Important Notes

If the player disables the Service Firms setting while using your mod, the game (version 8.1 or later) will automatically revert the service firms back to retail firms, ensuring that the gameplay of the mod will remain intact in the absence of service firms.

However, Capitalism Lab versions prior to v8.1 cannot recognize service firms. Therefore it is important that you make two versions of your mod available to users before version 8.1 is officially released:
1) the original version of your mod for users using older versions.
2) the new version of your mod for users using v8.1 or later.

Once we roll out v8.1 as an official release, you will no longer need to maintain two separate versions, as users are expected to upgrade to the latest version and you will only need to make the new version of your mod available.

If you have any questions on this, please email us at or post on the Capitalism Lab forum.

RealWorld MOD Service Edition Download Links

If you are interested in looking at the source files of RealWorld MOD Service Edition as a reference for adding service firms into your mod, you may download the mod files from the following links:

RealWorld MOD Service Edition v12.0

RealWorld MOD Service Edition v12.0 Full Source