Page MenuHomeCode

travel.xml in YAML
ActivePublic

Authored by dereckson on Jan 17 2022, 18:07.
travel_rules:
# -------------------------------------------------------------
# B00001 :: HyperShip
#
# B00001001 Tower
# B00001002 Core
# B00001003 Bays
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Tower
B00001001:
# HyperShip tower allows free movement, at least in corridors.
# For other locations, we should trust /explore mechanism to
# implement a security kick, if the perso have no access.
#
# Then, we allow travel to core and bays.
global_travel_to:
- B00001002
- B00001003
# To ease movement in the ship, we can write the sector name.
rewrite_rules: &hyperShipSectorRewriteRules
# Tower, at specific floor
# e.g. T42 -> B00001001 T42C1
- expression: "/^T([1-9][0-9]*)$/"
global_location: B00001001
local_location: "T$1C1"
# Tower, at specific floor and corridor
# e.g. T42C4 -> B00001001 T42C4
- expression: "/^(T[1-9][0-9]*C[1-6])$/"
global_location: B00001001
local_location: "$1"
# Core
# e.g. C4 -> B00001002 C4
- expression: ""/^C([1-8])$/"
global_location: B00001002
local_location: "C$1"
# Core
B00001002:
# From the HyperShip core, perso can travel to tower and bays.
global_travel_to:
- B00001001
- B00001003
# And we add local travel exceptions allowing limited usage
# to free travel movements to reach the 8 core cubes.
local_moves:
- alias: C1
local_location: (-10, 6, -4)
name: Secteur C1
- alias: C2
local_location: (10, 6, -4)
name: Secteur C2
- alias: C3
local_location: (-10, -6, -4)
name: Secteur C3
- alias: C4
local_location: (10, -6, -4)
name: Secteur C4
- alias: C5
local_location: (-10, 6, 4)
name: Secteur C5
- alias: C6
local_location: (10, 6, 4)
name: Secteur C6
- alias: C7
local_location: (-10, -6, 4)
name: Secteur C7
- alias: C8
local_location: (10, -6, 4)
name: Secteur C8
# To ease movement in the ship, we can write the sector name.
rewrite_rules: *hyperShipSectorRewriteRules
# Bays
B00001003:
# From the HyperShip core, perso can travel to core and bays.
global_travel_to:
- B00001001
- B00001002
# To ease movement in the ship, we can write the sector name.
rewrite_rules: *hyperShipSectorRewriteRules

Event Timeline

dereckson changed the visibility from "All Users" to "Public (No Login Required)".Mar 16 2023, 00:25