Modding:ItemProto: Difference between revisions

From the Dyson Sphere Program Wiki
imported>76561198128390951
m (Added description for Build Index)
imported>76561198045853337
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Below are descriptions for all attributes of ItemProto
Below are descriptions for all attributes of ItemProto
{| class="wikitable"
 
Return to [[Modding:Modding|Modding Hub]].
 
{| class="wikitable"style=" text-align:left; background-color:#0b161c
|+
|+
!Attribute
!Attribute
Line 48: Line 51:
|Grade
|Grade
|int
|int
|
|Position of this building in the upgrade order (see Upgrades)
|-
|-
|GridIndex
|GridIndex
Line 178: Line 181:
|the Sprite of the icon
|the Sprite of the icon
|}
|}
{{Modding Navbox}}
[[Category:Modding]]

Latest revision as of 13:05, 15 June 2021

Below are descriptions for all attributes of ItemProto

Return to Modding Hub.

Attribute Type Description
Ability int
BuildIndex int Where in the build bar it shows up. Format XYY, X = page, YY = function key number. Eg Splitter's is 307.
BuildInGas bool Whether or not the building is built on gas giants
BuildMode int
CanBuild bool If it is a building
DescFields int[]
Description string The description on the tooltip
fluids int[]
fuelNeeds int[][]
FuelType int
Grade int Position of this building in the upgrade order (see Upgrades)
GridIndex int The item's location in the logistics station menu. Format XYZZ, where X is the page, Y is the row, and ZZ is the column
handcraft RecipeProto
hancraftProductCount int
handcrafts List<RecipeProto>
HeatValue long
HpMax int The hp the building has (doesn't currently change gameplay)
IconPath string where the icon is located
IsEntity bool
IsFluid bool does a tank hold it
isRaw bool
itemIds int[]
maincraft RecipeProto
maincraftProductCount int
makes List<RecipeProto> what the item makes
MiningFrom string
missingTech bool
ModelCount int
ModelIndex int
Potential long
prefabDesc PrefabDesc the PrefabDesc of the item
preTech TechProto which tech is required to unlock it
PreTechOverride int
ProduceFrom string
rawMats List<IDCNT>
ReactorInc float
recipes List<RecipeProto>
StackSize int
stationCollectorId int
Type EItemType
UnlockKey int
Upgrades int[] Array of the upgrade order of a building, e.g Assembler MK. 1, 2, 3
_iconSprite Sprite the Sprite of the icon


🍪 We use cookies to keep session information to provide you a better experience.