ConsumableDescriptor

package
v0.0.0-...-0c1458e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Berry = FGConsumableDescriptor{
		Name:                    "Berry",
		ClassName:               "Desc_Berry_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   1.000000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=-90.000000,Roll=0.000000)`,
		MDescription: `Slot: Hands
Consumable

Can be eaten to restore one health segment.`,
		MDisplayName:        `Paleberry`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MHealthGain:         10.000000,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Environment/Berry/UI/IconDesc_Berry_256.IconDesc_Berry_256`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     true,
		MResourceSinkPoints: 0,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Environment/Berry/UI/IconDesc_Berry_64.IconDesc_Berry_64`,
		MStackSize:          resource.Small,
		MSubCategories:      ``,
	}

	EquipmentDescriptorBeacon = FGConsumableDescriptor{
		Name:                    "EquipmentDescriptorBeacon",
		ClassName:               "BP_EquipmentDescriptorBeacon_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   1.000000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=0.000000,Roll=0.000000)`,
		MDescription: `Slot: Hands
Consumable

Used to mark areas of interest. Displayed on your compass with the color and name you set for it.`,
		MDisplayName:        `Beacon`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Equipment/Beacon/UI/IconDesc_Beacon_256.IconDesc_Beacon_256`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     false,
		MResourceSinkPoints: 320,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Equipment/Beacon/UI/IconDesc_Beacon_64.IconDesc_Beacon_64`,
		MStackSize:          resource.Medium,
		MSubCategories:      ``,
	}

	Medkit = FGConsumableDescriptor{
		Name:                    "Medkit",
		ClassName:               "Desc_Medkit_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   0.200000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=0.000000,Roll=0.000000)`,
		MDescription: `Slot: Hands
Consumable

Can be inhaled to fully restore health.`,
		MDisplayName:        `Medicinal Inhaler`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MHealthGain:         100.000000,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Equipment/Medkit/UI/Inhaler_256.Inhaler_256`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     false,
		MResourceSinkPoints: 67,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Equipment/Medkit/UI/Inhaler_64.Inhaler_64`,
		MStackSize:          resource.Small,
		MSubCategories:      ``,
	}

	Nut = FGConsumableDescriptor{
		Name:                    "Nut",
		ClassName:               "Desc_Nut_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   1.000000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=-90.000000,Roll=0.000000)`,
		MDescription: `Slot: Hands
Consumable

Can be eaten to restore half a health segment.`,
		MDisplayName:        `Beryl Nut`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MHealthGain:         5.000000,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Environment/Nut/UI/Nut_256_New.Nut_256_New`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     true,
		MResourceSinkPoints: 0,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Environment/Nut/UI/Nut_64_new.Nut_64_new`,
		MStackSize:          resource.Medium,
		MSubCategories:      ``,
	}

	Parachute = FGConsumableDescriptor{
		Name:                    "Parachute",
		ClassName:               "Desc_Parachute_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   1.000000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=0.000000,Roll=0.000000)`,
		MDescription: `Slot: Body
Consumable

Slows down your fall when activated in mid-air.`,
		MDisplayName:        `Parachute`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Equipment/Beacon/UI/Parachute_256.Parachute_256`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     false,
		MResourceSinkPoints: 608,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Equipment/Beacon/UI/Parachute_64.Parachute_64`,
		MStackSize:          resource.Small,
		MSubCategories:      ``,
	}

	Shroom = FGConsumableDescriptor{
		Name:                    "Shroom",
		ClassName:               "Desc_Shroom_C",
		MAbbreviatedDisplayName: ``,
		MBuildMenuPriority:      0.000000,
		MCanBeDiscarded:         true,
		MCustomHandsMeshScale:   1.000000,
		MCustomLocation:         `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MCustomRotation:         `(Pitch=0.000000,Yaw=-90.000000,Roll=0.000000)`,
		MDescription: `Slot: Hands
Consumable

Can be eaten to restore two health segments.`,
		MDisplayName:        `Bacon Agaric`,
		MEnergyValue:        0.000000,
		MFluidColor:         `(B=0,G=0,R=0,A=0)`,
		MForm:               resource.Solid,
		MGasColor:           `(B=0,G=0,R=0,A=0)`,
		MHealthGain:         20.000000,
		MMenuPriority:       0.000000,
		MPersistentBigIcon:  `Texture2D /Game/FactoryGame/Resource/Environment/DesertShroom/UI/Mushroom_256.Mushroom_256`,
		MRadioactiveDecay:   0.000000,
		MRememberPickUp:     true,
		MResourceSinkPoints: 0,
		MSmallIcon:          `Texture2D /Game/FactoryGame/Resource/Environment/DesertShroom/UI/Mushroom_64.Mushroom_64`,
		MStackSize:          resource.Small,
		MSubCategories:      ``,
	}
)
View Source
var ClassNameToDescriptor = map[string]FGConsumableDescriptor{
	"Desc_Berry_C":                   Berry,
	"BP_EquipmentDescriptorBeacon_C": EquipmentDescriptorBeacon,
	"Desc_Medkit_C":                  Medkit,
	"Desc_Nut_C":                     Nut,
	"Desc_Parachute_C":               Parachute,
	"Desc_Shroom_C":                  Shroom,
}

Functions

This section is empty.

Types

type FGConsumableDescriptor

type FGConsumableDescriptor struct {
	Name                    string
	ClassName               string
	MAbbreviatedDisplayName string
	MBuildMenuPriority      float64
	MCanBeDiscarded         bool
	MCustomHandsMeshScale   float64
	MCustomLocation         string
	MCustomRotation         string
	MDescription            string
	MDisplayName            string
	MEnergyValue            float64
	MFluidColor             string
	MForm                   resource.Form
	MGasColor               string
	MHealthGain             float64
	MMenuPriority           float64
	MPersistentBigIcon      string
	MRadioactiveDecay       float64
	MRememberPickUp         bool
	MResourceSinkPoints     int
	MSmallIcon              string
	MStackSize              resource.StackSize
	MSubCategories          string
}

func GetByClassName

func GetByClassName(className string) (FGConsumableDescriptor, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL