Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# SelectedPrototypeData - Runtime Docs

## SelectedPrototypeData :: table

#### Table fields

base_type | :: IDType | The base type of the prototype. E.g. `"entity"`.
The base type of the prototype. E.g. `"entity"`.
derived_type | :: string | The `type` of the prototype. E.g. `"tree"`.
The `type` of the prototype. E.g. `"tree"`.
name | :: string | The `name` of the prototype. E.g. `"tree-05"`.
The `name` of the prototype. E.g. `"tree-05"`.
quality | :: string? | The `name` of the quality prototype if any. E.g. `"normal"`.
The `name` of the quality prototype if any. E.g. `"normal"`.

Concept used in

- CustomInputEvent