Space Engineers

Space Engineers

评价数不足
Vending Machine Script
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
31.126 KB
2019 年 3 月 19 日 下午 12:27
1 项改动说明 ( 查看 )

订阅以下载
Vending Machine Script

描述
Script used for Vendinator3000 mod
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1682559830

Uploaded by request.

You can use this script in any custom vending machine.

Required blocks:
1.Сargo container 'Bill acceptor'
2.Сargo container 'Safe'
3.Text panel 'Bill acceptorLCD'
4.Connector 'Ejector'
5.Сargo container 'Store'
6.Button 'Change'
7.Buttons 'ItemButton1' - 'ItemButton4'
8.Text panel 'ItemLCD1' - 'ItemLCD4'

Optional blocks:
9. Artificial mass 'Artificial Mass 1' and 'Artificial Mass 2'
10. Interior\corner light 'Basket Light'
11. Landing gear 'Landing Gear' (I'm very creative)
12. Sensor 'Sensor' (another one...)
13. Warhead 'InnerLCD' (who will look for this =) ?)
14. Corner LCD 'Sign'

Note: this script was designed for the original blueprint and I haven't tested it with different configuration of blocks. Use at your own risk.

You may change script and use it in any of your creations.
3 条留言
Oldru_Vallière 2022 年 3 月 16 日 下午 3:53 
I don't know if it's possible and sadly I don't know any scripting for SE but is it possible to have this work with the space credit item?

As in instead of using ores or ingots just using the economyspace credits since they do have a physical item?
Tarius  [作者] 2019 年 6 月 13 日 下午 12:33 
Hi cryptkeeper_00769, if you share a world file with your setup and script I can look what I can do...
cryptkeeper_00769 2019 年 6 月 13 日 上午 9:05 
Hi, I have remade your vending machine using a large cargo box and 8 buttons. I am a brick when it comes to scripting but have actually managed to get the machine to correctly dispense with all 8 buttons. However the additional 4 lcds wont display anything and the buttons do not show the item name. I was wondering if you would be willing to update the script for 8 buttons & a large cargo box or take a look at the script I changed and let me know what i got wrong? Thanks