Space Engineers

Space Engineers

Not enough ratings
Plushie Vendor (Example, Vendor Modding)
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block
Tags: NoScripts
File Size
Posted
219.549 KB
6 May, 2022 @ 6:12pm
1 Change Note ( view )
You need DLC to use this item.

Subscribe to download
Plushie Vendor (Example, Vendor Modding)

Description
This is a mod that re-uses the Economy DLC's Vendor Model, and sells the Plushie for 60 credits in-game.
This is an example, to showcase how to use the Vending Machine for new sales.

- This item has additional Comments in the SBC, explaining a bit about how it works.
- This item has Localization, thanks to Enenera & Inflex's work on that feature and explainations of it.
- This Item uses the DLC' model, hence the tag, Despite this, the Block Class isn't limited to DLC, the model was.

This is an example.
I don't care if you reupload or tear it apart, I wrote comments inside it specifically for that.
8 Comments
Kreeg  [author] 24 Jul @ 2:03pm 
Well, this doesn't modify the blueprints of the NPC stations and those stations aren't dynamic.
So no, but someone could possibly.
KEJWII 24 Jul @ 9:04am 
Can these be spawned at trade stations? If not, it would be nice if they spawned
Simple Giant 10 Jan, 2024 @ 4:35pm 
it seems that the machine dosnt charge the player for the item. Anyone else have this problem?
Simple Giant 9 Jan, 2024 @ 4:57pm 
Thank you, this helped me a lot. Ill credit you for it, and rewarding this post.
Kreeg  [author] 14 Jul, 2022 @ 9:20pm 
No problem, Happy Modding
REV4666 14 Jul, 2022 @ 9:13pm 
Ok thank you, I knew how to get that second line I just didn't know where that number came from.
So I will just add 1 to that number for each item then
Kreeg  [author] 14 Jul, 2022 @ 9:02pm 
Ah, that ID is a store entry ID and basically just a random number.
The plushie's ID is actually not that massive number.
Their ID is a known as a subtypeID, "EngineerPlushie" is their ID.

IE " <Item Type="MyObjectBuilder_Component" Subtype="EngineerPlushie" />" this line is what controls what the store entry entry sells.
I got this subtypeID from their containing SBC File.

For Components, that would be the Components SBC.
For tools, they were in PhysicalItems.
Keen put the Plushie under the id "EngineerPlushie" in Components SBC.
REV4666 14 Jul, 2022 @ 8:02pm 
Hello, I am trying to understand how to modify this mod a bit so it would sell more items (Powerkits and Medi Kit, Tools etc depending on the need)

Where did you get the ID: <Id>1356189434942549542</Id> for the plushie, and how do I get the Id for other Items?