Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F20512
travel.xml in YAML
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
dereckson
Jan 17 2022, 18:07
2022-01-17 18:07:48 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
travel.xml in YAML
View Options
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
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9935
Default Alt Text
travel.xml in YAML (2 KB)
Attached To
Mode
P4 travel.xml in YAML
Attached
Detach File
Event Timeline
Log In to Comment