SCP-268

Properties

The following table details each property available in the SCP268Data configuration.

Property
Type
Description
Example

ApplyScp268Effect

bool

If true, the SCP-268 effect is applied when the item is used.

true

Duration

float

How long (in seconds) the SCP-268 effect lasts.

8.0

AllowOpeningDoors

bool

Whether a player under the effect may open doors.

false

AllowUsingElevators

bool

Whether a player under the effect may use elevators.

false

AllowOpeningLockers

bool

Whether a player under the effect may open lockers.

false

AllowOpeningGenerators

bool

Whether a player under the effect may interact with generators.

false

AllowShooting

bool

Whether a player under the effect may fire weapons.

false

AllowEquipingItems

bool

Whether a player under the effect may equip/hold items.

false

OneTimeUse

bool

If true, the item is consumed on use (single use).

false

Cooldown

float

Cooldown time (in seconds) before the item can be used again.

30.0


Example Configuration (YAML)

Below is an example of how you might configure these properties in a typical YAML file that would be loaded into this data class.

CustomData:
  apply_scp268_effect: true
  duration: 8.0
  allow_opening_doors: false
  allow_using_elevators: false
  allow_opening_lockers: false
  allow_opening_generators: false
  allow_shooting: false
  allow_equiping_items: false
  one_time_use: false
  cooldown: 30.0

Last updated

Was this helpful?