Space Engineers

Space Engineers

Store Block - Create your own Trade Station
110 kommentarer
TheRanker 2. juni kl. 16:17 
one day the grids are showing.. now no grids are showing.. store is blank.

i cant get the store block to show anything for sale. its blank.
turned off.. turned on.. deleted.. replaced... set back up .. Nothign.. dont display a thing in the shop.

using this on a dedicated server with economy enabled.
yankeevader 9. jan. kl. 18:54 
I made an updated/modified version using this mod and NewLife's version

it's called AdminShop and combines proper spawning of vehicles from this mod with the non random stock and specifc amounts from NewLife's as well as the ability to set prices now
check it out on my workshop

Full credits and linkbacks added.
Nemui 19. dec. 2024 kl. 19:51 
is there a way to set the minimum items displayed? I keep getting like 3 items in the shop.
Nemui 19. dec. 2024 kl. 17:06 
nevermind, I figured it out
Nemui 19. dec. 2024 kl. 16:43 
how does it work? i set items to true, but they're not showing up in the shop menu
FEEÐBACK 9. nov. 2024 kl. 13:50 
+1 ! Same but with contrats would be awesome !!!!
Cyance 2. nov. 2024 kl. 8:55 
Hi! Can you make it so it can also have a contract block that does the same?
Catopia Rex 28. maj 2024 kl. 2:16 
I wrote this for my version of this mod, it should help you create your custom prefab mod. https://github.com/adrianre12/SE-SimpleStore/wiki/Custom-ships-and-rovers
PeaSmith 28. maj 2024 kl. 2:08 
I want to add the Moon Drop Pod of the base game, to the store. I create a Mod for do it, But I can't get it to appear in the customdata. Is there any example mod to follow? I think I'm doing something wrong.
AlphaMatte 4. mar. 2024 kl. 22:30 
Alright I figured it out - our minimal price for the modded comps were set to 0 so when it was calculating minimum price it had an error
AlphaMatte 4. mar. 2024 kl. 17:25 
No error in the logs just silent crashing after I change the prefab to =true in the custom data and turn the block off and on to refresh it
diK  [ophavsmand] 2. mar. 2024 kl. 3:22 
modded ships or blocks shouldn't be a problem. i haven't had any problems with them yet. is there any error in the log?
AlphaMatte 1. mar. 2024 kl. 20:51 
Hello - I followed all the steps to add my own prefabs into the store, and my prefab shows up in the custom data, and can be set to =true, but when the store reloads my client silent crashes.

Can the store handle modded blocks/ships?
diK  [ophavsmand] 1. mar. 2024 kl. 11:18 
yes
DracoNB 29. feb. 2024 kl. 11:47 
Hey this looks awesome, is it okay to modify it and reupload with credit to you?
@ThatJameson 13. feb. 2024 kl. 15:07 
so why does it just randomly put them in buy or sell?
diK  [ophavsmand] 12. feb. 2024 kl. 8:08 
yes the block works like the original economy blocks. it is only possible to choose between components, resources or ships, as with economy npc factions
@ThatJameson 12. feb. 2024 kl. 0:22 
the block just puts random items that are true, in either buy or sell, and I want it only in Buy, but there are no options to do that, its just randomised
Sneakyamr 27. juni 2023 kl. 17:51 
how do i change the store block to use AI money and not mine. I go to sell something and says the person doesnt have enough money because its using my bank as a reference to the store not the ai number
Torqs 23. juni 2023 kl. 5:17 
Is it correct that the store blocks are not linked to the NPCs faction account but instead to the NPC leaders private account? Any other account?
Because there is no difference in the NPCs credit balance when I trade with the modded block but when I use a normal economy station, the credits changes.
So how can I give the custom store block credits!?
ThePropheticWarrior 24. maj 2023 kl. 14:45 
Don't know if possible, but adding power/production/etc blocks would be great for those who play Scrapyard style!
CasualMochi 7. maj 2023 kl. 6:16 
When I transfer the block to an NPC faction, I can no longer access the block. When I want to with trade it states: Access denied
Nyxborne 4. jan. 2023 kl. 14:17 
Is there a way to add custom blueprints to this?
TV3master 1. jan. 2023 kl. 5:20 
Heyo, we are trying to use this mod for a modded rover server, but is there anyway we can have maximum ammounts for specific items? Aswell as certain item that are only avaible as sell offers?
we want the store to sell zonechips, uranium, and platinum, and buy certain ingots and ores.
Fenrir 16. nov. 2022 kl. 20:03 
This mod block fixes a current (probably unknown bug) with the store block for servers. Mod Dev, keep this up to date plz!
Wilhelm 2. nov. 2022 kl. 6:50 
I assume that the mod is looking at the keen default economy file to determine price? If so, can I include the file in the data/ of the mod and change?

PhysicalItems_Economy.sbc
Wilhelm 2. nov. 2022 kl. 6:41 
Hi dik,

I successfully added my own ship prefab to the store block in a standalone mod.

What determines the ship price? and can I manually set this?
Wilhelm 2. nov. 2022 kl. 5:35 
FYI - I only have the default ships enabled:

[MyObjectBuilder_Component]
ATV-Survivor=true
Fighter2=true
MinerSmallShip=true
Civic Hauler=true
Cursor=true
Buddy Miner=true
Atmo Constructor=true
Scout Miner=true
Solar Scout=true
Gerbil Miner=true
Kite Miner=true
Ion Light Scout=true
Ion Tug Ship=true
Turtle Miner=true
U-92 Patrol Craft=true
Lunar Scout mk.4=true
LCC-3 Freighter=true
Burstfire Bomber=true
Hydro Scout Rover=true
Lunar Scout mk.2=true
T-Ion Fade=true
Blue Ambassador Explorer=true
Red Cruiser=true
Rescue Rover 1=true
TT-15 Freighter=true
RespawnSpacePod=true
RespawnShip=true
B-980 Hauler=true
TT-420 Freighter=true
J-Class Courier=true
B-60 Bulk Freighter=true
H-01 Prospector=true
H-01 Sapper=true
PV-4 Buggy=true
MiniMerchant=true
Cargo Shuttle=true

[MyObjectBuilder_OxygenContainerObject]
OxygenBottle=false

[MyObjectBuilder_GasContainerObject]
HydrogenBottle=false

[MyObjectBuilder_ConsumableItem]
ClangCola=false
CosmicCoffee=false
Medkit=false
Powerkit=false
Wilhelm 2. nov. 2022 kl. 5:34 
Greetings dik,

Can you please tell us what the values inside the custom data control?

My purpose is to control the number of Ships offered by the store and control the number of offers of ship types in the store. What values control this?

With the below setting, I can get the ship store to populate 16 ship offers with a random Quantity offered between 1-100.



*****
;Do not activate too many objects the store has a limited number of slots
[Settings]
;Max amount per Component/Ore/Ingot
Components=15
;Max amount per AmmoMagazine
AmmoMagazine=100
;Max amount per Character Item
Character=100
;Max amount per Ship
Ships=100
Uriel Simmons a.k.a. Lanski 18. sep. 2022 kl. 2:53 
This is great,
is this also availiable for vending machines?
Torqs 9. sep. 2022 kl. 6:04 
and of course I added the items to the Custom Data in the custom store block
Torqs 9. sep. 2022 kl. 6:03 
I have made custom items for my server like licences. In the singeplayer they are displayed in the custom store block but not on the server, but this is even the case for the normal trade stations. Items work, I can spawn them but only the shops don't show it up.
I have entered my items in FactionTypes_Economy, PhysicalItems and BlueprintClasses, am I missing something?
spielviel 10. aug. 2022 kl. 6:17 
Hi. I transfered the block now to an npc. Where to place the store now? How to buy this stuff now? :D
Wilhelm 28. juli 2022 kl. 18:36 
Hello,

How do I enable the admin ships for sale, at bottom of custom data - I do not see a toggle
diK  [ophavsmand] 27. juli 2022 kl. 10:14 
Hi,
it works identically to the vanilla block except for a few restrictions.
You can choose to sell or buy only ores, ingots, components or ships like in the NPC factions.
A config is only available in the custom data.
Type of resources and their maximum number sold between 2 updates are adjustable.
The idea was to build automatic trading stations like the vanilla without changing the gameplay.
There is no regulation for supply and demand.
But it is open to everyone to implement this.
Wilhelm 26. juli 2022 kl. 19:51 
I will be checking out your mod when I get home. If this functions the way I think it might, you made what I was willing to commission for the past year.

Donation link?

For server - is there a cfg that allows admins to price control?

I see you tell us to manually change the prices in the files - is there automated price adjustment of items based off supply and demand or?

Compatible with other trade mods?
diK  [ophavsmand] 6. juli 2022 kl. 8:31 
yes that is possible.

A separate mod must be created for this.
Save your Blueprint as a prefab in "Data/Prefabs".

Copy the files from this mod here
"Blueprints.sbc" and "Components.sbc".
into your new mod and edit them according to your prefab name.
SubtypeId must be identical in all files.

Now the new mod only has to be at the top of your mod list so that it is loaded before the StoreBlock, so that it also finds all new blueprints.
Karma Knight 2. juli 2022 kl. 18:22 
is there a way to add custom ships to the store block?
Serialtasted 13. juni 2022 kl. 19:49 
The interface for this block is all blown up on my game. Is there a way to change the size of it?
diK  [ophavsmand] 27. maj 2022 kl. 3:29 
the prices are defined in the game files, to change them you can create a mod that defines new prices
Onomori 13. maj 2022 kl. 0:51 
Can you allow us to set min and max prices for the items?
Sentinel 7. maj 2022 kl. 4:10 
Sometimes the block dissapears, after a relog it is visual
<†>Baigle1<†>™ 22. apr. 2022 kl. 14:12 
This or something similar needs to be in the vanilla game. Dependency handling and ordering is also a major issue when adding mods to a world, which can be handled by the Steam dependency listing, or offloaded to the mod developers.
diK  [ophavsmand] 18. apr. 2022 kl. 12:40 
It is not Xbox compatible. Scripts are executed on the client side
Galax 12. apr. 2022 kl. 23:38 
Hi, I would like to use it on my Xbox compatible dedicated server. Is it possible? If yes, would you be so nice to upload it to mod.io? Thx!
Pikesmith 5. apr. 2022 kl. 20:50 
@Securi, it's not a guaranteed thing. Let it run for a while and check it every time it changes. They should eventually show up.
Securi 4. apr. 2022 kl. 1:01 
I can send you a picture of what I see, just message me please.:steamthumbsup:
Securi 3. apr. 2022 kl. 21:09 
@diK I followed the instructions and I see in the inventory of the "EconomySurvival Store" block the ships. However, I do not see them listed under "Buy." How does one purchase a ship?
Pikesmith 30. mar. 2022 kl. 12:06 
@RobskuWitteWel you really can't unfortunately. You can set up a cache of GPS loaded tablets manually in any store block but there's no framework (that I'm aware of) that will generate the datapad with coordinates itself. Usually when you see those it's a static base that is built with the world and the datapad is preloaded with the respawn pod.
Master Baiter 29. mar. 2022 kl. 16:24 
@SadNac to set pricing for example for vanilla ore its done in the physicalitems.sbc
example iron ore u can see the minimalpriceperunit
<PhysicalItem>
<Id>
<TypeId>Ore</TypeId>
<SubtypeId>Iron</SubtypeId>
...
<MinimalPricePerUnit>100</MinimalPricePerUnit>
<MinimumOfferAmount>1000</MinimumOfferAmount>
<MaximumOfferAmount>10000</MaximumOfferAmount>
<MinimumOrderAmount>1000</MinimumOrderAmount>
<MaximumOrderAmount>20000</MaximumOrderAmount>
<CanPlayerOrder>true</CanPlayerOrder>

<MinimumAcquisitionAmount>100</MinimumAcquisitionAmount>
<MaximumAcquisitionAmount>500</MaximumAcquisitionAmount>
</PhysicalItem>