Skip to content

Instantly share code, notes, and snippets.

@andrewschultz
Last active December 24, 2015 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewschultz/49684091e813f094c530 to your computer and use it in GitHub Desktop.
Save andrewschultz/49684091e813f094c530 to your computer and use it in GitHub Desktop.
I6 regions files: note adding the classes is not too tricky
Constant Story "america";
Constant Headline "^By A Trizbort User^^^";
Include "Parser";
Include "VerbLib";
Object Canada "Canada"
with description
"",
s_to USA,
has light;
Object USA "USA"
with description
"",
n_to Canada,
s_to Mexico,
has light;
Object Mexico "Mexico"
with description
"",
n_to USA,
s_to Guatemala,
has light;
Object Guatemala "Guatemala"
with description
"",
n_to Mexico,
has light;
[ Initialise;
location = Canada;
! "^^Your opening paragraph here...^^";
];
Include "Grammar";
Constant Story "america";
Constant Headline "^By A Trizbort User^^^";
Include "Parser";
Include "VerbLib";
Class SpeaksEnglish;
Class SpeaksSpanish;
SpeaksEnglish Canada "Canada"
with description
"",
s_to USA,
has light;
SpeaksEnglish USA "USA"
with description
"",
n_to Canada,
s_to Mexico,
has light;
SpeaksSpanish Mexico "Mexico"
with description
"",
n_to USA,
s_to Guatemala,
has light;
SpeaksSpanish Guatemala "Guatemala"
with description
"",
n_to Mexico,
has light;
[ Initialise;
location = Canada;
! "^^Your opening paragraph here...^^";
];
Include "Grammar";
<?xml version="1.0" encoding="utf-8"?>
<trizbort version="1.5.9.3">
<info />
<map>
<room id="1" name="Canada" subtitle="" x="-160" y="-96" w="96" h="64" region="SpeaksEnglish" handDrawn="no" allcornersequal="yes" ellipse="no" roundedCorners="no" octagonal="no" cornerTopLeft="15" cornerTopRight="15" cornerBottomLeft="15" cornerBottomRight="15" borderstyle="Solid" description="" roomFill="" secondFill="" secondFillLocation="Bottom" roomBorder="" roomLargeText="" roomSmallText="" />
<room id="2" name="USA" subtitle="" x="-160" y="0" w="96" h="64" region="SpeaksEnglish" handDrawn="no" allcornersequal="yes" ellipse="no" roundedCorners="no" octagonal="no" cornerTopLeft="15" cornerTopRight="15" cornerBottomLeft="15" cornerBottomRight="15" borderstyle="Solid" description="" roomFill="" secondFill="" secondFillLocation="Bottom" roomBorder="" roomLargeText="" roomSmallText="" />
<room id="3" name="Mexico" subtitle="" x="-160" y="96" w="96" h="64" region="SpeaksSpanish" handDrawn="no" allcornersequal="yes" ellipse="no" roundedCorners="no" octagonal="no" cornerTopLeft="15" cornerTopRight="15" cornerBottomLeft="15" cornerBottomRight="15" borderstyle="Solid" description="" roomFill="" secondFill="" secondFillLocation="Bottom" roomBorder="" roomLargeText="" roomSmallText="" />
<room id="4" name="Guatemala" subtitle="" x="-160" y="192" w="96" h="64" region="SpeaksSpanish" handDrawn="no" allcornersequal="yes" ellipse="no" roundedCorners="no" octagonal="no" cornerTopLeft="15" cornerTopRight="15" cornerBottomLeft="15" cornerBottomRight="15" borderstyle="Solid" description="" roomFill="" secondFill="" secondFillLocation="Bottom" roomBorder="" roomLargeText="" roomSmallText="" />
<line id="5">
<dock index="0" id="1" port="s" />
<dock index="1" id="2" port="n" />
</line>
<line id="6">
<dock index="0" id="3" port="n" />
<dock index="1" id="2" port="s" />
</line>
<line id="7">
<dock index="0" id="4" port="n" />
<dock index="1" id="3" port="s" />
</line>
</map>
<settings>
<colors>
<canvas>White</canvas>
<fill>White</fill>
<border>MidnightBlue</border>
<line>MidnightBlue</line>
<selectedLine>Gold</selectedLine>
<hoverLine>DarkOrange</hoverLine>
<largeText>MidnightBlue</largeText>
<smallText>MidnightBlue</smallText>
<lineText>MidnightBlue</lineText>
<grid>#F5F5F5</grid>
</colors>
<regions>
<NoRegion Name="NoRegion" TextColor="Blue">White</NoRegion>
<SpeaksEnglish Name="SpeaksEnglish" TextColor="Red">#0080FF</SpeaksEnglish>
<SpeaksSpanish Name="SpeaksSpanish" TextColor="Red">#FFFF80</SpeaksSpanish>
</regions>
<fonts>
<room size="13">Comic Sans MS</room>
<object size="11">Comic Sans MS</object>
<line size="9">Comic Sans MS</line>
</fonts>
<grid>
<snapTo>yes</snapTo>
<visible>yes</visible>
<showOrigin>yes</showOrigin>
<size>32</size>
</grid>
<lines>
<width>2</width>
<handDrawn>yes</handDrawn>
<arrowSize>12</arrowSize>
<textOffset>4</textOffset>
</lines>
<rooms>
<darknessStripeSize>24</darknessStripeSize>
<objectListOffset>4</objectListOffset>
<connectionStalkLength>32</connectionStalkLength>
<preferredDistanceBetweenRooms>64</preferredDistanceBetweenRooms>
<defaultRoomName>Cave</defaultRoomName>
</rooms>
<ui>
<handleSize>12</handleSize>
<snapToElementSize>16</snapToElementSize>
</ui>
<keypadNavigation>
<creationModifier>control</creationModifier>
<unexploredModifier>alt</unexploredModifier>
</keypadNavigation>
</settings>
</trizbort>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment