guides:options_for_workplace
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:options_for_workplace [2020/04/23 18:19] – [Basics] vjraymon | guides:options_for_workplace [2021/02/23 11:56] (current) – title fix minotorious | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Options for workplaces | + | ====== Options for Workplaces |
===== Basics ===== | ===== Basics ===== | ||
Line 22: | Line 22: | ||
RelatedJob = { Job = " | RelatedJob = { Job = " | ||
InputInventoryCapacity = { | InputInventoryCapacity = { | ||
- | { Resource = "'' | + | { Resource = " |
}, | }, | ||
ResourceListNeeded = { | ResourceListNeeded = { | ||
- | { Resource = "'' | + | { Resource = " |
}, | }, | ||
ResourceProduced = { | ResourceProduced = { | ||
- | { Resource = "'' | + | { Resource = " |
} | } | ||
}) | }) | ||
Line 35: | Line 35: | ||
===== Same building for producing and selling ===== | ===== Same building for producing and selling ===== | ||
- | This is an example of a simple workplace | + | This is an example of a simple workplace |
<code lua> | <code lua> | ||
myMod: | myMod: | ||
- | DataType = " | + | |
- | Id = " | + | Id = " |
- | Mover = { DataType = " | + | Mover = { DataType = " |
- | ConstructorData = { | + | ConstructorData = { |
- | DataType = " | + | DataType = " |
- | CoreObjectPrefab = " | + | CoreObjectPrefab = " |
- | }, | + | }, |
- | AssetBuildingFunction = " | + | AssetBuildingFunction = " |
}) | }) | ||
myMod: | myMod: | ||
- | DataType = " | + | |
- | Id = " | + | Id = " |
- | TypeList = { " | + | TypeList = { " |
- | WorkerCapacity = 1, | + | WorkerCapacity = 1, |
- | RelatedJob = { Job = " | + | RelatedJob = { Job = " |
- | InputInventoryCapacity = { | + | InputInventoryCapacity = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceListNeeded = { | + | ResourceListNeeded = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceProduced = { | + | ResourceProduced = { |
- | { Resource = " | + | { Resource = " |
- | } | + | } |
}) | }) | ||
</ | </ | ||
Line 71: | Line 71: | ||
Workplace with 2 recipes: | Workplace with 2 recipes: | ||
- | 1) produces | + | 1) produces |
- | 2) produces | + | 2) produces |
<code lua> | <code lua> | ||
- | myMod: | + | |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | Mover = { DataType = " | + | Mover = { DataType = " |
- | ConstructorData = { | + | ConstructorData = { |
- | DataType = " | + | DataType = " |
- | CoreObjectPrefab = " | + | CoreObjectPrefab = " |
- | }, | + | }, |
AssetBuildingFunction = " | AssetBuildingFunction = " | ||
- | }) | + | |
- | myMod: | + | |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | AuthorizedFunctionList = " | + | AuthorizedFunctionList = " |
- | }) | + | }) |
- | myMod: | + | |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | AssetFunctionList = { | + | AssetFunctionList = { |
- | " | + | " |
- | " | + | " |
- | } | + | } |
- | }) | + | }) |
- | myMod: | + | |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | IsOverrideCapacity = true, | + | IsOverrideCapacity = true, |
- | CapacityPerSlot = 50, | + | CapacityPerSlot = 50, |
- | WorkerCapacity = 1, | + | WorkerCapacity = 1, |
- | RelatedJob = { Job = " | + | RelatedJob = { Job = " |
- | InputInventoryCapacity = { | + | InputInventoryCapacity = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceListNeeded = { | + | ResourceListNeeded = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceProduced = { | + | ResourceProduced = { |
- | { Resource = " | + | { Resource = " |
- | } | + | } |
- | }) | + | }) |
- | myMod: | + | |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | IsOverrideCapacity = true, | + | IsOverrideCapacity = true, |
- | CapacityPerSlot = 20, | + | CapacityPerSlot = 20, |
- | WorkerCapacity = 1, | + | WorkerCapacity = 1, |
- | RelatedJob = { Job = " | + | RelatedJob = { Job = " |
- | InputInventoryCapacity = { | + | InputInventoryCapacity = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceListNeeded = { | + | ResourceListNeeded = { |
- | { Resource = " | + | { Resource = " |
- | }, | + | }, |
- | ResourceProduced = { | + | ResourceProduced = { |
- | { Resource = " | + | { Resource = " |
- | } | + | } |
- | }) | + | }) |
</ | </ | ||
guides/options_for_workplace.1587680368.txt.gz · Last modified: 2020/04/23 18:19 by vjraymon