SashaFierce
08-05-2015, 05:22 AM
Would it be helpful to have a changelog here on the PC for MapDB changes?
I attempted to checkout the mapdb but it's currently saying it's checked out by someone. I'd like to make the following changes to Ta'Vaalor.
This will stow anything in the left hand, so you can go through the gate and avoid the 15 seconds of RT, and then get the item back out. (It uses the left hand so that bards do not lose mana for a sonic weapon, if you use both a weapon and shield, I don't have a solution for that at the moment, except for walking all the way around through the catacombs possibly.)
FROM: (Room 5906)
[exec1: {"3523"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'"), "10494"=>"southeast"}]
TO:
;e Room[5906].wayto['3523'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (Room 5827)
[exec1: {"5828"=>"northeast", "3490"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'")}]
TO:
;e Room[5827].wayto['3490'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (Room 3727)
[exec1: {"6104"=>"northwest", "3483"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'")}]
TO:
;e Room[3727].wayto['3483'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (5907)
[exec1: {"3516"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'"), "5948"=>"southwest"}]
TO:
;e Room[5907].wayto['3516'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
-------------------------
I also attempted the following but it did not work: (To change the 10.0 to 0.2)
FROM: (Room 5906)
;e echo Room.current.timeto
[exec1: {"3523"=>StringProc.new("if (UserVars.mapdb_have_vaalor_papers == 'yes') or GameObj.inv.any? { |i| (i.name == 'eahnor wyvern badge') or i.contents.any? { |o| o.name == 'ivory vellum document' } }; 0.2; else; 10.0; end"), "10494"=>0.2}]
TO:
;e Room[5906].timeto[3523] = StringProc.new("if (UserVars.mapdb_have_vaalor_papers == 'yes') or GameObj.inv.any? { |i| (i.name == 'eahnor wyvern badge') or i.contents.any? { |o| o.name == 'ivory vellum document' } }; 0.2; else; 0.2; end")
>;go2 3523
--- Lich: go2 active.
[go2: error: failed to find a path between your current room (5906) and destination room (3523)]
I attempted to checkout the mapdb but it's currently saying it's checked out by someone. I'd like to make the following changes to Ta'Vaalor.
This will stow anything in the left hand, so you can go through the gate and avoid the 15 seconds of RT, and then get the item back out. (It uses the left hand so that bards do not lose mana for a sonic weapon, if you use both a weapon and shield, I don't have a solution for that at the moment, except for walking all the way around through the catacombs possibly.)
FROM: (Room 5906)
[exec1: {"3523"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'"), "10494"=>"southeast"}]
TO:
;e Room[5906].wayto['3523'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (Room 5827)
[exec1: {"5828"=>"northeast", "3490"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'")}]
TO:
;e Room[5827].wayto['3490'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (Room 3727)
[exec1: {"6104"=>"northwest", "3483"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'")}]
TO:
;e Room[3727].wayto['3483'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
FROM: (5907)
[exec1: {"3516"=>StringProc.new("fput 'unhide' if invisible?; move 'go gate'"), "5948"=>"southwest"}]
TO:
;e Room[5907].wayto['3516'] = StringProc.new("fput 'unhide' if invisible?; empty_left_hand; move 'go gate'; fill_left_hand")
-------------------------
I also attempted the following but it did not work: (To change the 10.0 to 0.2)
FROM: (Room 5906)
;e echo Room.current.timeto
[exec1: {"3523"=>StringProc.new("if (UserVars.mapdb_have_vaalor_papers == 'yes') or GameObj.inv.any? { |i| (i.name == 'eahnor wyvern badge') or i.contents.any? { |o| o.name == 'ivory vellum document' } }; 0.2; else; 10.0; end"), "10494"=>0.2}]
TO:
;e Room[5906].timeto[3523] = StringProc.new("if (UserVars.mapdb_have_vaalor_papers == 'yes') or GameObj.inv.any? { |i| (i.name == 'eahnor wyvern badge') or i.contents.any? { |o| o.name == 'ivory vellum document' } }; 0.2; else; 0.2; end")
>;go2 3523
--- Lich: go2 active.
[go2: error: failed to find a path between your current room (5906) and destination room (3523)]