Show / Hide Table of Contents

The Game Resource Scriptable Object

The Game Resource scriptable object represents a resource in the in-game world, and can represent both raw materials like cotton and crude oil and refined resources like fabric and gasoline.

An Example Game Resource

Each Game Resource has:

  1. Resources Used - a list of sub-resources used in the production of 1 gram/1 unit of the particular resource. This can be left empty if the resource is a raw material.

  2. Override Information - If selected, shows the options Override Production Energy, Override Production Emission, Override Incineration Energy, Override Incineration Emission

  3. Override Production Energy - Whether to override the calculated production energy from Resources Used with Production Energy

  4. Production Energy - the energy required to produce 1 unit of the resource from its constituent resources. If Override Production Energy is selected, the total energy required to produce 1 unit of the resource from scratch.

  5. Override Production Emission - (Unused) Whether to override the calculated production emissions from Resources Used with Production Emission

  6. Production Emission - (Unused) the emissions produced in the production 1 unit of the resource from its constituent resources. If Override Production Emission is selected, the total emissions created in the production of 1 unit of the resource from scratch.

  7. Override Incineration Energy - (Unused) Whether to override the calculated incineration energy from Resources Used with Incineration Energy

  8. Incineration Energy - (Unused) the energy released in the incineration 1 unit of the resource.

  9. Override Incineration Emission - (Unused) Whether to override the calculated incineration Emission from Resources Used with Incineration Emission

  10. Incineration Emission - (Unused) the Emissions released in the incineration 1 unit of the resource.

  11. Legend Color - the color used in the game to represent the game resource.

In This Article
Back to top Generated by DocFX