Creating mods

From Official Office Management 101 Wiki
Revision as of 01:18, 22 March 2022 by Riho (talk | contribs) (Created page with "== Getting started == Open the game folder and create folder named ''mods'' if it doesn't exist already. Navigate inside the ''mods'' folder and create a new folder for your...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Getting started

Open the game folder and create folder named mods if it doesn't exist already.

Navigate inside the mods folder and create a new folder for your mod. The name should be alphanumeric and underscores should be used instead of spaces.

Inside of the folder of your new mod create a text file named index.json. This file describes the metadata for your mod.

Example contents of index.json:

{
	"name": "Example mod name",
	"description": "This is my example mod",
	"version": "1.0",
	"date": "2022-03-19",
	"author": "tulevik.EU",
	"game_name": "Office Management 101",
	"game_version": "0.5.14_alpha",
	"game_version_code": 1522,
	"min_game_version_code": 1522,
	"affects_savegames": false,
	"requires_asset_reload": false
}

Launch the game and select Settings in the main menu. If the game detects existence of mods the Mods menu will appear.

In the Mods menu your newly created mod should appear and can be enabled and disabled.

Uploading your mod to Steam Workshop

Launch the game, select Settings and then Steam Workshop uploader.

From the Mod to upload dropdown menu select the mod you wish to upload. Set the title, description and cover image for your Workshop page and click the green checkbox button in the bottom right corner.

The image file you wish to use must be in the root folder of your game and in .png format.

You may be redirected to the [Steam Workshop terms of service page] in the process to accept the agreement.

Note that the uploaded mod will be available to the public right away.