Space Engineers

Space Engineers

评价数不足
Plushie Vendor (Example, Vendor Modding)
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Block
标签: NoScripts
文件大小
发表于
219.549 KB
2022 年 5 月 6 日 下午 6:12
1 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Plushie Vendor (Example, Vendor Modding)

描述
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 条留言
Kreeg  [作者] 7 月 24 日 下午 2:03 
Well, this doesn't modify the blueprints of the NPC stations and those stations aren't dynamic.
So no, but someone could possibly.
KEJWII 7 月 24 日 上午 9:04 
Can these be spawned at trade stations? If not, it would be nice if they spawned
Simple Giant 2024 年 1 月 10 日 下午 4:35 
it seems that the machine dosnt charge the player for the item. Anyone else have this problem?
Simple Giant 2024 年 1 月 9 日 下午 4:57 
Thank you, this helped me a lot. Ill credit you for it, and rewarding this post.
Kreeg  [作者] 2022 年 7 月 14 日 下午 9:20 
No problem, Happy Modding
REV4666 2022 年 7 月 14 日 下午 9:13 
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  [作者] 2022 年 7 月 14 日 下午 9:02 
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 2022 年 7 月 14 日 下午 8:02 
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?