User:ARCHIMEDIAN/Notes: Difference between revisions
ARCHIMEDIAN (talk | contribs) |
ARCHIMEDIAN (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
|} |
|} |
||
== |
== Gondola 2 Bescort == |
||
=== Arrival === |
|||
All rooms need to have a wayto and a timeto. A wayto describes the movement to get to the room. The timeto describes how long it takes to get there (0.2 seconds is the default). <code>;automap</code> handles adding this data automatically in most cases. If you map a room manually without <code>;automap</code> then you need to be sure that you include both the timeto and the wayto, forgetting one will break ;go2's ability to navigate to that room. |
|||
⚫ | |||
The gondola stops on the platform and the door silently swings open. |
|||
With a soft bump, the gondola comes to a stop at its destination. |
|||
Useful commands: |
|||
⚫ | |||
<nowiki>;e echo Room.current.inspect</nowiki> |
|||
<nowiki>;e echo Room.current.wayto</nowiki> |
|||
<nowiki>;e Map.list[room_num].description.push(XMLData.room_description) #update current room description (useful for adding night/day description to rooms)</nowiki> |
|||
</pre> |
|||
=== Delete a room === |
|||
Go to each surrounding room and perform the following, where "roomid" is the id of the room you are going to delete. It must be enclosed in quotation marks. |
|||
<pre> |
|||
<nowiki>;e Room.current.wayto.delete("roomid")</nowiki><br /> |
|||
<nowiki>;e Room.current.timeto.delete("roomid")</nowiki><br /> |
|||
</pre> |
</pre> |
||
=== Rooms === |
|||
Finally, remove the room. Roomid is NOT quoted here. Enter it as a number. |
|||
<pre> |
<pre> |
||
[Obsidian Pass, Platform] |
|||
<nowiki>;e Room[roomid] = nil</nowiki> |
|||
The greying wooden boards of the platform have been replaced by paving stones. Two massive granite pillars offer support for a set of thick rope cables that allow the gondola served by this |
|||
</pre> |
|||
platform to cross the chasm. Stacks of building stones and mortar lie off to one side, ready to add to the structure being raised around the landing. You also see a door frame. |
|||
Obvious paths: none. |
|||
Room Number: 2904 |
|||
@image="Ilitha, 64, STR south of gondola.gif" |
|||
@climate=nil |
|||
@title=["[[Obsidian Pass, Platform]]"] |
|||
@check_location=nil |
|||
@timeto={"2953"=>240.0, "2249"=>240.0, "2903"=>0.2} |
|||
@location=nil |
|||
@tags=[] |
|||
@wayto={"2953"=>StringProc.new("result = dothistimeout 'go gondola', 10, /^There is no wooden gondola here.|^[Gondola, Cab South]/; unless result =~ /^[Gondola, Cab South]/; echo 'waiting for the |
|||
gondola...'; waitfor 'The gondola stops on the platform and the door silently swings open.'; move 'go gondola'; end"), "2249"=>StringProc.new("echo 'ESCORT.LIC REQUIRED - DOWNLOAD IT!'; |
|||
start_script ('escort');wait_while{ running?('escort') }"), "2903"=>"go frame"} |
|||
@paths=["Obvious paths: none."] |
|||
@image_coords=[261, 154, 277, 170] |
|||
@terrain=nil |
|||
@description=["The greying wooden boards of the platform have been replaced by paving stones. Two massive granite pillars offer support for a set of thick rope cables that allow the gondola served |
|||
by this platform to cross the chasm. Stacks of building stones and mortar lie off to one side, ready to add to the structure being raised around the landing."]] |
|||
[escort]>go gondola |
|||
Complex Movements |
|||
[Gondola, Cab South] |
|||
<pre> |
|||
Mottled stains are worked into the wooden floor and seats of this small cab, darkening the windows to a thick black opacity. A spike of chill taints the air, the thinnest strand of some |
|||
;e Room.current.wayto['1220'] = StringProc.new(“fput 'search'; move 'go path'”) |
|||
sickly-sweet metallic scent wrapping it. |
|||
Obvious exits: north, out. |
|||
Room Number: 2951 |
|||
[exec1: @id=2953 |
|||
@image=nil |
|||
@climate=nil |
|||
@title=["[[Gondola, Cab South]]"] |
|||
@check_location=nil |
|||
@timeto={"2952"=>0.2} |
|||
@location=nil |
|||
@tags=["wood splinter", "dust bunnie", "wood chip"] |
|||
@wayto={"2952"=>"north"} |
|||
@paths=["Obvious exits: north."] |
|||
@image_coords=nil |
|||
@terrain=nil |
|||
@description=["Mottled stains are worked into the wooden floor and seats of this small cab, darkening the windows to a thick black opacity. A spike of chill taints the air, the thinnest strand of |
|||
some sickly-sweet metallic scent wrapping it."]] |
|||
[escort]>north |
|||
You stroll north. |
|||
[Gondola, Cab North] |
|||
Painted to a deep mist-twilight color, this tiny cab creaks to itself, an eerie and disconcerting sound. Seats flow out of the sides and bottom of the gondola, set there by lifesculptors who have |
|||
been long forgotten. The light hardly pierces the tinted windows, leaving this place feeling all the more isolated and chillingly empty. |
|||
Obvious exits: south. |
|||
Room Number: 2952 |
|||
[exec1: @id=2952 |
|||
@image=nil |
|||
@climate=nil |
|||
@title=["[[Gondola, Cab North]]"] |
|||
@check_location=nil |
|||
@timeto={"2953"=>0.2} |
|||
@location=nil |
|||
@tags=["wood splinter", "dust bunny", "dust bunnie", "wood chip", "shoe tack"] |
|||
@wayto={"2953"=>"south"} |
|||
@paths=["Obvious exits: south."] |
|||
@image_coords=nil |
|||
@terrain=nil |
|||
@description=["Painted to a deep mist-twilight color, this tiny cab creaks to itself, an eerie and disconcerting sound. Seats flow out of the sides and bottom of the gondola, set there by |
|||
lifesculptors who have been long forgotten. The light hardly pierces the tinted windows, leaving this place feeling all the more isolated and chillingly empty."]] |
|||
</pre> |
</pre> |
||
Update Rooms with multiple descriptions |
|||
<blockquote> |
|||
<nowiki>;repo checkout-mapdb</nowiki><br /> |
|||
<nowiki>;e Map.list[1263].description.push(XMLData.room_description)</nowiki><br /> |
|||
<nowiki>;repo upload-mapdb</nowiki><br /> |
|||
</blockquote> |
|||
== Health Text == |
== Health Text == |
Latest revision as of 08:21, 8 February 2017
Transforming Items
A set of notes to help with dr-scripts equipmanager
worn item | transformed item | verb | Item to Weapon Text | Weapon to Item Text | Notes |
---|---|---|---|---|---|
Item:Polished steel tailband with serrated edges | Weapon:Polished steel katavdar with serrated edges | turn | With a flick | With a flick | Requires a free hand to transform the item and weapon,
item must be held when transforming |
Gondola 2 Bescort
Arrival
The gondola stops on the platform and the door silently swings open. With a soft bump, the gondola comes to a stop at its destination.
Rooms
[Obsidian Pass, Platform] The greying wooden boards of the platform have been replaced by paving stones. Two massive granite pillars offer support for a set of thick rope cables that allow the gondola served by this platform to cross the chasm. Stacks of building stones and mortar lie off to one side, ready to add to the structure being raised around the landing. You also see a door frame. Obvious paths: none. Room Number: 2904 @image="Ilitha, 64, STR south of gondola.gif" @climate=nil @title=["[[Obsidian Pass, Platform]]"] @check_location=nil @timeto={"2953"=>240.0, "2249"=>240.0, "2903"=>0.2} @location=nil @tags=[] @wayto={"2953"=>StringProc.new("result = dothistimeout 'go gondola', 10, /^There is no wooden gondola here.|^[Gondola, Cab South]/; unless result =~ /^[Gondola, Cab South]/; echo 'waiting for the gondola...'; waitfor 'The gondola stops on the platform and the door silently swings open.'; move 'go gondola'; end"), "2249"=>StringProc.new("echo 'ESCORT.LIC REQUIRED - DOWNLOAD IT!'; start_script ('escort');wait_while{ running?('escort') }"), "2903"=>"go frame"} @paths=["Obvious paths: none."] @image_coords=[261, 154, 277, 170] @terrain=nil @description=["The greying wooden boards of the platform have been replaced by paving stones. Two massive granite pillars offer support for a set of thick rope cables that allow the gondola served by this platform to cross the chasm. Stacks of building stones and mortar lie off to one side, ready to add to the structure being raised around the landing."]] [escort]>go gondola [Gondola, Cab South] Mottled stains are worked into the wooden floor and seats of this small cab, darkening the windows to a thick black opacity. A spike of chill taints the air, the thinnest strand of some sickly-sweet metallic scent wrapping it. Obvious exits: north, out. Room Number: 2951 [exec1: @id=2953 @image=nil @climate=nil @title=["[[Gondola, Cab South]]"] @check_location=nil @timeto={"2952"=>0.2} @location=nil @tags=["wood splinter", "dust bunnie", "wood chip"] @wayto={"2952"=>"north"} @paths=["Obvious exits: north."] @image_coords=nil @terrain=nil @description=["Mottled stains are worked into the wooden floor and seats of this small cab, darkening the windows to a thick black opacity. A spike of chill taints the air, the thinnest strand of some sickly-sweet metallic scent wrapping it."]] [escort]>north You stroll north. [Gondola, Cab North] Painted to a deep mist-twilight color, this tiny cab creaks to itself, an eerie and disconcerting sound. Seats flow out of the sides and bottom of the gondola, set there by lifesculptors who have been long forgotten. The light hardly pierces the tinted windows, leaving this place feeling all the more isolated and chillingly empty. Obvious exits: south. Room Number: 2952 [exec1: @id=2952 @image=nil @climate=nil @title=["[[Gondola, Cab North]]"] @check_location=nil @timeto={"2953"=>0.2} @location=nil @tags=["wood splinter", "dust bunny", "dust bunnie", "wood chip", "shoe tack"] @wayto={"2953"=>"south"} @paths=["Obvious exits: south."] @image_coords=nil @terrain=nil @description=["Painted to a deep mist-twilight color, this tiny cab creaks to itself, an eerie and disconcerting sound. Seats flow out of the sides and bottom of the gondola, set there by lifesculptors who have been long forgotten. The light hardly pierces the tinted windows, leaving this place feeling all the more isolated and chillingly empty."]]
Health Text
Used for necromancer healing bit in dr-scripts combat trainer
Your body feels at full strength.
Your spirit feels full of life.
You have some minor abrasions to the right arm, some minor abrasions to the left leg, some minor abrasions to the left hand, some minor abrasions to the chest, some minor abrasions to the abdomen.
You have no significant injuries.
Your body feels somewhat battered.
Your spirit feels full of life.
You are slightly fatigued.
You have minor swelling and bruising around the right arm compounded by cuts and bruises about the right arm, minor swelling and bruising around the left arm compounded by cuts and bruises about the left arm, some tiny scratches to the right leg, minor swelling and bruising around the left leg compounded by cuts and bruises about the left leg, minor swelling and bruising around the right hand compounded by cuts and bruises about the right hand, some minor abrasions to the chest.
Notice the line 'no significant injuries' is gone