Fixed the guidebook listing every single rule (#28680)

* Well i tried this way

* New approach (start)

* Did it

* makes spacelaw available, put it under sec
This commit is contained in:
AJCM-git
2024-06-07 07:28:55 -04:00
committed by GitHub
parent 7ba26f4592
commit accf8adf97
7 changed files with 73 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls" xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
xmlns:fancyTree="clr-namespace:Content.Client.UserInterface.Controls.FancyTree" xmlns:fancyTree="clr-namespace:Content.Client.UserInterface.Controls.FancyTree"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
SetSize="750 700" SetSize="850 700"
MinSize="100 200" MinSize="100 200"
Resizable="True" Resizable="True"
Title="{Loc 'guidebook-window-title'}"> Title="{Loc 'guidebook-window-title'}">
@@ -21,9 +21,13 @@
Margin="0 5 10 5"> Margin="0 5 10 5">
</LineEdit> </LineEdit>
</BoxContainer> </BoxContainer>
<BoxContainer Access="Internal" Name="ReturnContainer" Orientation="Horizontal" HorizontalAlignment="Right" Visible="False">
<Button Name="HomeButton" Text="{Loc 'ui-rules-button-home'}" Margin="0 0 10 0"/>
</BoxContainer>
<ScrollContainer Name="Scroll" HScrollEnabled="False" HorizontalExpand="True" VerticalExpand="True"> <ScrollContainer Name="Scroll" HScrollEnabled="False" HorizontalExpand="True" VerticalExpand="True">
<Control> <Control>
<BoxContainer Orientation="Vertical" Name="EntryContainer" Margin="5 5 5 5" Visible="False"/> <BoxContainer Orientation="Vertical" Name="EntryContainer" Margin="5 5 5 5" Visible="False">
</BoxContainer>
<BoxContainer Orientation="Vertical" Name="Placeholder" Margin="5 5 5 5"> <BoxContainer Orientation="Vertical" Name="Placeholder" Margin="5 5 5 5">
<Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text'}"/> <Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text'}"/>
<Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text-2'}"/> <Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text-2'}"/>

View File

@@ -3,6 +3,7 @@ using Content.Client.Guidebook.RichText;
using Content.Client.UserInterface.ControlExtensions; using Content.Client.UserInterface.ControlExtensions;
using Content.Client.UserInterface.Controls; using Content.Client.UserInterface.Controls;
using Content.Client.UserInterface.Controls.FancyTree; using Content.Client.UserInterface.Controls.FancyTree;
using Content.Client.UserInterface.Systems.Info;
using Content.Shared.Guidebook; using Content.Shared.Guidebook;
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
@@ -36,7 +37,13 @@ public sealed partial class GuidebookWindow : FancyWindow, ILinkClickHandler
private void OnSelectionChanged(TreeItem? item) private void OnSelectionChanged(TreeItem? item)
{ {
if (item != null && item.Metadata is GuideEntry entry) if (item != null && item.Metadata is GuideEntry entry)
{
ShowGuide(entry); ShowGuide(entry);
var isRulesEntry = entry.RuleEntry;
ReturnContainer.Visible = isRulesEntry;
HomeButton.OnPressed += _ => ShowGuide(entry);
}
else else
ClearSelectedGuide(); ClearSelectedGuide();
} }
@@ -153,6 +160,10 @@ public sealed partial class GuidebookWindow : FancyWindow, ILinkClickHandler
return null; return null;
} }
var rulesProto = UserInterfaceManager.GetUIController<InfoUIController>().GetCoreRuleEntry();
if (entry.RuleEntry && entry.Id != rulesProto.Id)
return null;
var item = Tree.AddItem(parent); var item = Tree.AddItem(parent);
item.Metadata = entry; item.Metadata = entry;
var name = Loc.GetString(entry.Name); var name = Loc.GetString(entry.Name);

View File

@@ -124,6 +124,9 @@ public sealed class GuidebookUIController : UIController, IOnStateEntered<LobbyS
{ {
if (GuidebookButton != null) if (GuidebookButton != null)
GuidebookButton.Pressed = false; GuidebookButton.Pressed = false;
if (_guideWindow != null)
_guideWindow.ReturnContainer.Visible = false;
} }
private void OnWindowOpen() private void OnWindowOpen()

View File

@@ -39,6 +39,8 @@ public class GuideEntry
/// </summary> /// </summary>
[DataField] public bool FilterEnabled = default!; [DataField] public bool FilterEnabled = default!;
[DataField] public bool RuleEntry;
/// <summary> /// <summary>
/// Priority for sorting top-level guides when shown in a tree / table of contents. /// Priority for sorting top-level guides when shown in a tree / table of contents.
/// If the guide is the child of some other guide, the order simply determined by the order of children in <see cref="Children"/>. /// If the guide is the child of some other guide, the order simply determined by the order of children in <see cref="Children"/>.

View File

@@ -1,35 +1,41 @@
- type: guideEntry # Default for forks and stuff. Should not be listed anywhere if the server is using a custom ruleset. - type: guideEntry # Default for forks and stuff. Should not be listed anywhere if the server is using a custom ruleset.
id: DefaultRuleset id: DefaultRuleset
name: guide-entry-rules name: guide-entry-rules
ruleEntry: true
text: "/ServerInfo/Guidebook/ServerRules/DefaultRules.xml" text: "/ServerInfo/Guidebook/ServerRules/DefaultRules.xml"
- type: guideEntry - type: guideEntry
id: CoreRuleset id: CoreRuleset
name: guide-entry-rules-core-only name: guide-entry-rules-core-only
ruleEntry: true
priority: 0 priority: 0
text: "/ServerInfo/Guidebook/ServerRules/WizDenCoreOnlyRules.xml" text: "/ServerInfo/Guidebook/ServerRules/WizDenCoreOnlyRules.xml"
- type: guideEntry - type: guideEntry
id: StandardRuleset id: StandardRuleset
name: guide-entry-rules-lrp name: guide-entry-rules-lrp
ruleEntry: true
priority: 5 priority: 5
text: "/ServerInfo/Guidebook/ServerRules/WizDenLRPRules.xml" text: "/ServerInfo/Guidebook/ServerRules/WizDenLRPRules.xml"
- type: guideEntry - type: guideEntry
id: MRPRuleset id: MRPRuleset
name: guide-entry-rules-mrp name: guide-entry-rules-mrp
ruleEntry: true
priority: 10 priority: 10
text: "/ServerInfo/Guidebook/ServerRules/WizDenMRPRules.xml" text: "/ServerInfo/Guidebook/ServerRules/WizDenMRPRules.xml"
- type: guideEntry - type: guideEntry
id: RoleTypes id: RoleTypes
name: guide-entry-rules-role-types name: guide-entry-rules-role-types
ruleEntry: true
priority: 20 priority: 20
text: "/ServerInfo/Guidebook/ServerRules/RoleTypes.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleTypes.xml"
- type: guideEntry - type: guideEntry
id: CoreRules id: CoreRules
name: guide-entry-rules-core name: guide-entry-rules-core
ruleEntry: true
priority: 30 priority: 30
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC0.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC0.xml"
children: children:
@@ -51,90 +57,105 @@
- type: guideEntry - type: guideEntry
id: RuleC1 id: RuleC1
name: guide-entry-rules-c1 name: guide-entry-rules-c1
ruleEntry: true
priority: 1 priority: 1
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC1Admins.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC1Admins.xml"
- type: guideEntry - type: guideEntry
id: RuleC2 id: RuleC2
name: guide-entry-rules-c2 name: guide-entry-rules-c2
ruleEntry: true
priority: 2 priority: 2
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC2DBAD.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC2DBAD.xml"
- type: guideEntry - type: guideEntry
id: RuleC3 id: RuleC3
name: guide-entry-rules-c3 name: guide-entry-rules-c3
ruleEntry: true
priority: 3 priority: 3
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC3NoHate.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC3NoHate.xml"
- type: guideEntry - type: guideEntry
id: RuleC4 id: RuleC4
name: guide-entry-rules-c4 name: guide-entry-rules-c4
ruleEntry: true
priority: 4 priority: 4
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC4NoERP.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC4NoERP.xml"
- type: guideEntry - type: guideEntry
id: RuleC5 id: RuleC5
name: guide-entry-rules-c5 name: guide-entry-rules-c5
ruleEntry: true
priority: 5 priority: 5
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC5Metacomms.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC5Metacomms.xml"
- type: guideEntry - type: guideEntry
id: RuleC6 id: RuleC6
name: guide-entry-rules-c6 name: guide-entry-rules-c6
ruleEntry: true
priority: 6 priority: 6
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC6BanEvasion.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC6BanEvasion.xml"
- type: guideEntry - type: guideEntry
id: RuleC7 id: RuleC7
name: guide-entry-rules-c7 name: guide-entry-rules-c7
ruleEntry: true
priority: 7 priority: 7
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC7EnglishOnly.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC7EnglishOnly.xml"
- type: guideEntry - type: guideEntry
id: RuleC8 id: RuleC8
name: guide-entry-rules-c8 name: guide-entry-rules-c8
ruleEntry: true
priority: 8 priority: 8
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC8Exploits.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC8Exploits.xml"
- type: guideEntry - type: guideEntry
id: RuleC9 id: RuleC9
name: guide-entry-rules-c9 name: guide-entry-rules-c9
ruleEntry: true
priority: 9 priority: 9
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC9Multikey.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC9Multikey.xml"
- type: guideEntry - type: guideEntry
id: RuleC10 id: RuleC10
name: guide-entry-rules-c10 name: guide-entry-rules-c10
ruleEntry: true
priority: 10 priority: 10
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC10AHelp.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC10AHelp.xml"
- type: guideEntry - type: guideEntry
id: RuleC11 id: RuleC11
name: guide-entry-rules-c11 name: guide-entry-rules-c11
ruleEntry: true
priority: 11 priority: 11
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC11AhelpThreats.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC11AhelpThreats.xml"
- type: guideEntry - type: guideEntry
id: RuleC12 id: RuleC12
name: guide-entry-rules-c12 name: guide-entry-rules-c12
ruleEntry: true
priority: 12 priority: 12
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC12MinAge.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC12MinAge.xml"
- type: guideEntry - type: guideEntry
id: RuleC13 id: RuleC13
name: guide-entry-rules-c13 name: guide-entry-rules-c13
ruleEntry: true
priority: 13 priority: 13
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml"
- type: guideEntry - type: guideEntry
id: RuleC14 id: RuleC14
name: guide-entry-rules-c14 name: guide-entry-rules-c14
ruleEntry: true
priority: 14 priority: 14
text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC14ICinOOC.xml" text: "/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC14ICinOOC.xml"
- type: guideEntry - type: guideEntry
id: RoleplayRules id: RoleplayRules
name: guide-entry-rules-roleplay name: guide-entry-rules-roleplay
ruleEntry: true
priority: 40 priority: 40
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR0.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR0.xml"
children: children:
@@ -157,96 +178,112 @@
- type: guideEntry - type: guideEntry
id: RuleR1 id: RuleR1
name: guide-entry-rules-r1 name: guide-entry-rules-r1
ruleEntry: true
priority: 1 priority: 1
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR1Silicons.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR1Silicons.xml"
- type: guideEntry - type: guideEntry
id: RuleR2 id: RuleR2
name: guide-entry-rules-r2 name: guide-entry-rules-r2
ruleEntry: true
priority: 2 priority: 2
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR2Familiars.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR2Familiars.xml"
- type: guideEntry - type: guideEntry
id: RuleR3 id: RuleR3
name: guide-entry-rules-r3 name: guide-entry-rules-r3
ruleEntry: true
priority: 3 priority: 3
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR3NormalRP.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR3NormalRP.xml"
- type: guideEntry - type: guideEntry
id: RuleR4 id: RuleR4
name: guide-entry-rules-r4 name: guide-entry-rules-r4
ruleEntry: true
priority: 4 priority: 4
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR4Metashield.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR4Metashield.xml"
- type: guideEntry - type: guideEntry
id: RuleR5 id: RuleR5
name: guide-entry-rules-r5 name: guide-entry-rules-r5
ruleEntry: true
priority: 5 priority: 5
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR5Arrivals.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR5Arrivals.xml"
- type: guideEntry - type: guideEntry
id: RuleR6 id: RuleR6
name: guide-entry-rules-r6 name: guide-entry-rules-r6
ruleEntry: true
priority: 6 priority: 6
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR6SelfAntag.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR6SelfAntag.xml"
- type: guideEntry - type: guideEntry
id: RuleR7 id: RuleR7
name: guide-entry-rules-r7 name: guide-entry-rules-r7
ruleEntry: true
priority: 7 priority: 7
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR7RoundStalling.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR7RoundStalling.xml"
- type: guideEntry - type: guideEntry
id: RuleR8 id: RuleR8
name: guide-entry-rules-r8 name: guide-entry-rules-r8
ruleEntry: true
priority: 8 priority: 8
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR8NoFriendlyAntag.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR8NoFriendlyAntag.xml"
- type: guideEntry - type: guideEntry
id: RuleR9 id: RuleR9
name: guide-entry-rules-r9 name: guide-entry-rules-r9
ruleEntry: true
priority: 9 priority: 9
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR9MassSabotage.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR9MassSabotage.xml"
- type: guideEntry - type: guideEntry
id: RuleR10 id: RuleR10
name: guide-entry-rules-r10 name: guide-entry-rules-r10
ruleEntry: true
priority: 10 priority: 10
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR10Subordination.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR10Subordination.xml"
- type: guideEntry - type: guideEntry
id: RuleR11 id: RuleR11
name: guide-entry-rules-r11 name: guide-entry-rules-r11
ruleEntry: true
priority: 11 priority: 11
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR11Escalation.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR11Escalation.xml"
- type: guideEntry - type: guideEntry
id: RuleR12 id: RuleR12
name: guide-entry-rules-r12 name: guide-entry-rules-r12
ruleEntry: true
priority: 12 priority: 12
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR12RoleAbandonment.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR12RoleAbandonment.xml"
- type: guideEntry - type: guideEntry
id: RuleR13 id: RuleR13
name: guide-entry-rules-r13 name: guide-entry-rules-r13
ruleEntry: true
priority: 13 priority: 13
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR13PerformRole.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR13PerformRole.xml"
- type: guideEntry - type: guideEntry
id: RuleR14 id: RuleR14
name: guide-entry-rules-r14 name: guide-entry-rules-r14
ruleEntry: true
priority: 14 priority: 14
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR14SecComStandard.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR14SecComStandard.xml"
- type: guideEntry - type: guideEntry
id: RuleR15 id: RuleR15
name: guide-entry-rules-r15 name: guide-entry-rules-r15
ruleEntry: true
priority: 15 priority: 15
text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR15SpaceLaw.xml" text: "/ServerInfo/Guidebook/ServerRules/RoleplayRules/RuleR15SpaceLaw.xml"
- type: guideEntry - type: guideEntry
id: SiliconRules id: SiliconRules
name: guide-entry-rules-silicon name: guide-entry-rules-silicon
ruleEntry: true
priority: 50 priority: 50
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS0.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS0.xml"
children: children:
@@ -264,67 +301,77 @@
- type: guideEntry - type: guideEntry
id: RuleS1 id: RuleS1
name: guide-entry-rules-s1 name: guide-entry-rules-s1
ruleEntry: true
priority: 1 priority: 1
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS1Laws.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS1Laws.xml"
- type: guideEntry - type: guideEntry
id: RuleS2 id: RuleS2
name: guide-entry-rules-s2 name: guide-entry-rules-s2
ruleEntry: true
priority: 2 priority: 2
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS2LawPriority.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS2LawPriority.xml"
- type: guideEntry - type: guideEntry
id: RuleS3 id: RuleS3
name: guide-entry-rules-s3 name: guide-entry-rules-s3
ruleEntry: true
priority: 3 priority: 3
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS3LawRedefinition.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS3LawRedefinition.xml"
- type: guideEntry - type: guideEntry
id: RuleS4 id: RuleS4
name: guide-entry-rules-s4 name: guide-entry-rules-s4
ruleEntry: true
priority: 4 priority: 4
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS4RequestChanges.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS4RequestChanges.xml"
- type: guideEntry - type: guideEntry
id: RuleS5 id: RuleS5
name: guide-entry-rules-s5 name: guide-entry-rules-s5
ruleEntry: true
priority: 5 priority: 5
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS5FreeSilicon.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS5FreeSilicon.xml"
- type: guideEntry - type: guideEntry
id: RuleS6 id: RuleS6
name: guide-entry-rules-s6 name: guide-entry-rules-s6
ruleEntry: true
priority: 6 priority: 6
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS6UnreasonableOrders.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS6UnreasonableOrders.xml"
- type: guideEntry - type: guideEntry
id: RuleS7 id: RuleS7
name: guide-entry-rules-s7 name: guide-entry-rules-s7
ruleEntry: true
priority: 7 priority: 7
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS7Consistency.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS7Consistency.xml"
- type: guideEntry - type: guideEntry
id: RuleS8 id: RuleS8
name: guide-entry-rules-s8 name: guide-entry-rules-s8
ruleEntry: true
priority: 8 priority: 8
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS8DefaultCrewDefinition.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS8DefaultCrewDefinition.xml"
- type: guideEntry - type: guideEntry
id: RuleS9 id: RuleS9
name: guide-entry-rules-s9 name: guide-entry-rules-s9
ruleEntry: true
priority: 9 priority: 9
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS9DefaultHarmDefinition.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS9DefaultHarmDefinition.xml"
- type: guideEntry - type: guideEntry
id: RuleS10 id: RuleS10
name: guide-entry-rules-s10 name: guide-entry-rules-s10
ruleEntry: true
priority: 10 priority: 10
text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS10OrderConflicts.xml" text: "/ServerInfo/Guidebook/ServerRules/SiliconRules/RuleS10OrderConflicts.xml"
- type: guideEntry - type: guideEntry
id: SpaceLaw id: SpaceLaw
name: guide-entry-rules-space-law name: guide-entry-rules-space-law
priority: 60 priority: 1
text: "/ServerInfo/Guidebook/ServerRules/SpaceLaw/SpaceLaw.xml" text: "/ServerInfo/Guidebook/ServerRules/SpaceLaw/SpaceLaw.xml"
children: children:
- SpaceLawCrimeList - SpaceLawCrimeList
@@ -359,11 +406,13 @@
- type: guideEntry - type: guideEntry
id: BanTypes id: BanTypes
name: guide-entry-rules-ban-types name: guide-entry-rules-ban-types
ruleEntry: true
priority: 90 priority: 90
text: "/ServerInfo/Guidebook/ServerRules/BanTypes.xml" text: "/ServerInfo/Guidebook/ServerRules/BanTypes.xml"
- type: guideEntry - type: guideEntry
id: BanDurations id: BanDurations
name: guide-entry-rules-ban-durations name: guide-entry-rules-ban-durations
ruleEntry: true
priority: 100 priority: 100
text: "/ServerInfo/Guidebook/ServerRules/BanDurations.xml" text: "/ServerInfo/Guidebook/ServerRules/BanDurations.xml"

View File

@@ -6,6 +6,7 @@
- Forensics - Forensics
- Defusal - Defusal
- CriminalRecords - CriminalRecords
- SpaceLaw
- type: guideEntry - type: guideEntry
id: Forensics id: Forensics

View File

@@ -3,7 +3,6 @@
name: guide-entry-ss14 name: guide-entry-ss14
text: "/ServerInfo/Guidebook/SpaceStation14.xml" text: "/ServerInfo/Guidebook/SpaceStation14.xml"
children: children:
- SpaceLaw
- Controls - Controls
- Jobs - Jobs
- Survival - Survival
@@ -22,5 +21,3 @@
id: Glossary id: Glossary
name: guide-entry-glossary name: guide-entry-glossary
text: "/ServerInfo/Guidebook/Glossary.xml" text: "/ServerInfo/Guidebook/Glossary.xml"