Skip to content
FMFallout Multiplayer Scripting APIScripting guides and API
Global objectClient APIGenerated

Workshop

const Workshop: object

Defined in: client/api.d.ts:1455

The local player’s workshop mode: the settlement build mode a workbench opens.

enter(workbench): boolean

Puts the player in workshop mode on a workbench, wherever they stand, as ObjectReference.StartWorkshop does.

string | number

A workbench reference loaded in this game.

boolean

False when it is no loaded workbench or the player is in workshop mode already.

getCurrent(): number | null

The workbench the player’s workshop mode runs on, its reference’s form ID.

number | null

Null outside workshop mode.

leave(): boolean

Ends workshop mode, as leaving its menu does; the game does it on its next frame.

boolean

False outside workshop mode.