Space Engineers

Space Engineers

IQueue Production, Resource and Inventory Manager
 This topic has been pinned, so it's probably important
jTurp  [developer] Sep 7, 2021 @ 1:42pm
Using the script with CUSTOM RESOURCES (Modded Items cont.)
I had to make a new discussion because it wouldn't let me edit the post in the other one.

If you have custom resources such as custom ores or components that double as input for other components (ie tiered tech progression), you can now list them in the modded item section as resources!

To do this, you will just need to write Custom. before the resource SubtypeId

Example: Below, the first line is a regular item using normal resources. The second line uses Tech2x as input to make Tech4x.

Tech2x=Tech2x,Component, Common Tech, 0: Iron = 90, Silicon = 80, Cobalt = 32, Silver = 24, Gold = 16 Tech4x=Tech4x,Component, Rare Tech, 0: Custom.Tech2x = 5, Uranium = 10

NOTE: As the script encounters modded items, I add the custom items to the item dictionary. When the script encounters a custom resource, I check the item dictionary for that item to make sure it's valid. This means that line two above MUST come AFTER line one, otherwise you'll get a KeyNotFound error.
Last edited by jTurp; Sep 7, 2021 @ 1:45pm
< >
Showing 1-9 of 9 comments
tindolt Feb 13, 2022 @ 2:17pm 
Does anyone have this working with betterstone?
jTurp  [developer] Feb 13, 2022 @ 6:26pm 
Originally posted by tindolt:
Does anyone have this working with betterstone?

Shoot me the link and I’ll take a look
X_Niter Mar 3, 2022 @ 8:34pm 
oh man, building this around Industrial overhaul will be fun XD>
Idk how far I'll get, work and all
X_Niter Mar 5, 2022 @ 10:48pm 
@jTurp any information regarding ingots?
Industrial Overhaul has things like polymer which come from refining oil sand, that polymer is .sbc as an ingot; Do I need to worry about adding it into modded items, or some other potential trickery?
jTurp  [developer] Mar 6, 2022 @ 6:31am 
Originally posted by X_Niter:
@jTurp any information regarding ingots?
Industrial Overhaul has things like polymer which come from refining oil sand, that polymer is .sbc as an ingot; Do I need to worry about adding it into modded items, or some other potential trickery?

Yep, you’ll need to add those to the modded items section. I can’t get the blueprint id nor the required resources for them, so I can’t auto add them like I do in the inventory sorting section
X_Niter Mar 6, 2022 @ 9:15am 
Originally posted by jTurp:
Originally posted by X_Niter:
@jTurp any information regarding ingots?
Industrial Overhaul has things like polymer which come from refining oil sand, that polymer is .sbc as an ingot; Do I need to worry about adding it into modded items, or some other potential trickery?

Yep, you’ll need to add those to the modded items section. I can’t get the blueprint id nor the required resources for them, so I can’t auto add them like I do in the inventory sorting section
How would I go about that then? I made a couple attempts at adding in those other resources but it just threw back errors.
Also realized I would need to do the same for Copper and for copper I only found "Copper = Copper" but that copper comes from ores which you mine so it's not technically a modded item or is it?
jTurp  [developer] Mar 6, 2022 @ 12:58pm 
Copper isn’t in the base game, so it is definitely a modded ore.

To add them to the modded item list, you will need to open the mod files that add the item, and find where they list out the ingredients to make the item (ie 1 Iron, 3 Cobalt, etc), as well as the blueprint subtype (not always the same as the item subtype, ask Keen..), and use that info to populate the entries in the modded item list using the format I have there
Maglin Jul 28, 2022 @ 11:44pm 
@jTurp Having an Issue adding modded ores/ingots/components to the script. I've tried everything I can think of and read as much as I could. Could you please help me out? I have what I used and the info from the mod:

Tritanium=TritaniumOreToIngot, Ingot, Tritanium Ingot, 1000, .75: Tritanium = 1
TritaniumPlate = TritaniumPlate, Component, Tritanium Plate, 1000, 1: Custom.Tritanium = 10

<Blueprint> <Id> <TypeId>BlueprintDefinition</TypeId> <SubtypeId>TritaniumOreToIngot</SubtypeId> </Id> <DisplayName>Tritanium Ingot</DisplayName> <Icon>Textures\GUI\Icons\Tritanium_Armor\Ingots\Tritanium_Ingot.dds</Icon> <Prerequisites> <Item Amount="1" TypeId="Ore" SubtypeId="Tritanium" /> </Prerequisites> <Result Amount="0.75" TypeId="Ingot" SubtypeId="Tritanium" /> <BaseProductionTimeInSeconds>1</BaseProductionTimeInSeconds> <IsPrimary>true</IsPrimary> </Blueprint> <Blueprint> <Id> <TypeId>BlueprintDefinition</TypeId> <SubtypeId>TritaniumPlate</SubtypeId> </Id> <DisplayName>Tritanium Plate</DisplayName> <Icon>Textures\GUI\Icons\Tritanium_Armor\Components\Tritanium_Plate.dds</Icon> <Prerequisites> <Item Amount="10" TypeId="Ingot" SubtypeId="Tritanium" /> </Prerequisites> <Result Amount="1" TypeId="Component" SubtypeId="TritaniumPlate" /> <BaseProductionTimeInSeconds>2</BaseProductionTimeInSeconds> <IsPrimary>true</IsPrimary> </Blueprint>
Last edited by Maglin; Jul 29, 2022 @ 2:34pm
< >
Showing 1-9 of 9 comments
Per page: 1530 50