How to implement automatic classification of items through scripts? For example, I store all items in the 'A' box and automatically classify them into the BCD box.
There are many ships and bases in the workshop that use sorting via scripting. Just search for "script
Is it possible to use item Keys instead of IDs for the config? Adding and changing the IDs I want to use for the decon script is a pain after each wipe. Using Keys would negate this issue.
Yes, is is shorter thus more often used, but shpuld work just the same with keys. You can work with id lists (@ids.xy) as well!
ASTIC, Ich hab 2 Fragen: Laufen C# LCD Scripte seltener als Handlebars? (Ich habe experimentiert und das Ergebnis einer Änderung hat recht lange gebraucht) Ist der Schild Status auch in Handlebars? (in der Doku hab ich 's nicht gefunden) über C# komme ich dran, aber habe da oben genantes Problem. War warscheinlch langsam weil ein altes Mod noch auf dem Testserver gelaufen ist.... nochmal n edit: wie kann ich mit (ingame LCD) C# n Lever / Signal setzen? Danke!
I am not sure what I am doing wrong here. I'm trying to use a shop script for my player shop. The script I have requires someone to put in the exact amount of currency for each transaction. I want to make it so that you can place a stack of currency into the sale box and then it gives you as many items as you can with that amount of currency and then gives you the items and any change at the end. I can attach the script I have below. <align=center><size=+1><color=purple>Item Name Here</color></size></align> {{set 'cost' 5000}} {{set 'volume' 1}} {{#items E.S 'box33-item'}} {{set 'itemID' Id}} {{/items}} {{#items E.S 'box33'}} {{#test Id 'eq' 4347}} {{#test Count 'eq' @root.Data.cost}} {{set 'Payed' true}} <color=green>Thank you for the correct deposit.</color> {{/test}} {{/test}} {{/items}} {{#items E.S 'box33-item'}} {{#test Id 'eq' @root.Data.itemID}} {{#test Count 'lt' @root.Data.volume}} <color=red>Not enough item. {{set 'emptybox' true}} {{/test}} {{/test}} {{else}} {{set 'emptybox' true}} <color=red>The shop is empty. {{/items}} {{#items E.S 'box33'}} {{#test Id 'eq' @root.Data.itemID}} <color=red>Please remove your item. No new transactions until previous item has been removed. {{set 'emptybox' true}} {{/test}} {{/items}} {{#if @root.Data.emptybox}} Transactions halted {{else}} {{#if @root.Data.Payed}} {{#items E.S 'box33-item,box33'}} {{~set 'ShopBox1NB' ''}} {{~set 'Amount' ''}} <color=orange>Transfer In Progress</color> {{#test Id in '4347'}} {{~set 'ShopBox1NB' 'moneybox'}} {{/test}} {{#test Id in @root.Data.itemID}} {{~set 'ShopBox1NB' 'box33'}} {{~set 'Amount' @root.Data.volume}} {{/test}} {{#ok @root.Data.ShopBox1NB}} {{#move ../. @root.E.S @root.Data.ShopBox1NB @root.Data.Amount}} {{Source}} -> {{Destination}} {{/move}} {{/ok}} {{/items}} {{else}} {{#items E.S 'box33-item'}} <align=center><color=green>This box is selling {{@root.Data.volume}} {{Name}} for {{@root.Data.cost}} Gold Coins. There is {{Count}} available to purchase. Deposit exactly {{@root.Data.cost}} Gold Coins into the box and wait for this screen to inform you that your item is ready to retrieve. <smallcaps><color=red>No refunds Do no open the box until instructed to or you may lose your money</color> Item ID {{Id}} </color> {{/items}} {{/if}} {{/if}}
EmpyrionScripting: 12.0.0 All configuration entries works with item names HarvestCores, StructureTank, GardenerSalary and DeconstructBlockSubstitutions change to ItemNameId Generate ID lists (Oxygen, Fuel, Pentaxid) if not exists https://github.com/GitHub-TC/EmpyrionScripting/releases/tag/12.0.0
Love the Mod, even though we are still running on 11.4.6... Is there a variable for showing the maximum Shield like... E.S.Shieldlevel ? I'd like to have a bar display and not have to recode the 15550 if I update the ship in a manner that affects the shield <color=#ffd700> {{#use E.S.ShieldLevel}} {{bar . 0 15550 16 }} {{~format . '{0,8:}'}} {{/use}}</color> Thanks, and any help appeciated