Modding:ItemProto: Difference between revisions
From the Dyson Sphere Program Wiki
More actions
Content deleted Content added
imported>76561197971023681 add category |
imported>76561198045853337 mNo edit summary |
||
| (One intermediate revision by one other user 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 179: | Line 182: | ||
|} |
|} |
||
{{Modding Navbox}} |
|||
[[Category:Modding]] |
[[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 |