From ac36ad03ad8f7b342fa0a8d21eff716b22b4b30c Mon Sep 17 00:00:00 2001 From: Kristian Knarvik Date: Sat, 30 Oct 2021 06:15:03 +0200 Subject: [PATCH] Update 'Creating a custom gate layout' --- Creating-a-custom-gate-layout.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Creating-a-custom-gate-layout.md b/Creating-a-custom-gate-layout.md index 30eb447..1075b99 100644 --- a/Creating-a-custom-gate-layout.md +++ b/Creating-a-custom-gate-layout.md @@ -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. \ No newline at end of file +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 +``` \ No newline at end of file