Update 'Creating a custom gate layout'

Kristian Knarvik 2021-10-30 06:15:03 +02:00
parent 6a544cbfee
commit ac36ad03ad

@ -101,4 +101,18 @@ normal buttons cannot be used since they'd fall off. Using wall coral fans work
Using `AIR` for a closed underwater gate looks weird, so `WATER` might be better. If using `AIR` for the closed gate,
you need to make sure it actually contains air when creating it. For partially submerged portals, like ones used for
boat teleportation, you need to keep water away from the portal entrance/opening until it's been created.
boat teleportation, you need to keep water away from the portal entrance/opening until it's been created.
## Economy Support:
The latest version of Stargate has support for Vault. Gate creation, destruction and use can all have different costs
associated with them. You can also define per-gate layout costs. The default cost is assigned in the config.yml file,
while the per-gate costs re defined in the .gate files. To define a certain cost to a gate just add these lines to your
.gate file:
```
createCost: 5 -- Will cost 5 currency to create
destroyCost: 5 -- Will clost 5 currency to destroy (negative to get back the spent money)
useCost: 5 -- Will cost 5 currency to use the stargate
toOwner: true -- Will send any fees to the gate's owner
```