Difference between revisions of "User:BrianFreud"

Tag: Replaced
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: true| <!-- This does the work to convert sextant coordinates to tile coordinates.
+
[[User:BrianFreud/Shopping List]]
  
Maps:
+
[[UO:A Statue Of Dawn]]
1 = Britannia (Tram or Fel)
+
[[UO:A Statue Of Dupre]]
2 = Lost Lands
+
[[UO:A Statue Of Geoffrey]]
3 = Ilshenar
+
[[UO:A Statue Of Gwenno]]
 
+
[[UO:A Statue Of Iolo]]
START COORDINATE CONVERSION CODE -->
+
[[UO:A Statue Of Jaana]]
{{#vardefine: x1|122}}
+
[[UO:A Statue Of Julia]]
{{#vardefine: x2|0}}
+
[[UO:A Statue Of Katrina]]
{{#vardefine: x3|W}}
+
[[UO:A Statue Of Mariah]]
{{#vardefine: y1|44}}
+
[[UO:A Statue Of Minax]]
{{#vardefine: y2|38}}
+
[[UO:A Statue Of Mondain]]
{{#vardefine: y3|N}}
+
[[UO:A Statue Of Nystul]]
{{#vardefine:map|1}}
+
[[UO:A Statue Of Blackthorn]]
{{#vardefine: height|{{#switch: {{#var:map}}
+
[[UO:A Statue Of Joye]]
| 1 = 4096
+
[[UO:A Statue Of Juo’Nar]]
| 2 = 4096
+
[[UO:A Statue Of Malabelle]]
| 3 = 1600
+
[[UO:A Statue Of Shamino]]
}} }}
+
[[UO:A Statue Of Anon]]
{{#vardefine: centerY|{{#switch: {{#var:map}}
+
[[UO:A Statue Of Clainin]]
| 1 = 1624
+
[[UO:A Statue Of Crawworth]]
| 2 = 3112
+
[[UO:A Statue Of Keenonean]]
| 3 =
+
[[UO:A Statue Of Relvinian]]
}} }}
+
[[UO:A Statue Of Uzeraan]]
{{#vardefine: width|{{#switch: {{#var:map}}
+
[[UO:A Statue Of Duryn]]
| 1 = 5120
+
[[UO:A Statue Of Finth Desryn]]
| 2 = 5120
+
[[UO:A Statue Of G’Thunk]]
| 3 = 2304
+
[[UO:A Statue Of G’Splat]]
}} }}
+
[[UO:A Statue Of Gilforn]]
{{#vardefine: centerX|{{#switch: {{#var:map}}
+
[[UO:A Statue Of Halston Montil]]
| 1 = 1323
+
[[UO:A Statue Of Hartham]]
| 2 = 5936
+
[[UO:A Statue Of Junin Pince]]
| 3 =
+
[[UO:A Statue Of Kyrnia]]
}} }}
+
[[UO:A Statue Of Lathiari]]
{{#vardefine: y|{{#expr:{{#expr:{{#var:y1}}*100}}+{{#expr:{{#expr:{{#var:y2}}*10}}/6}}}}}}
+
[[UO:A Statue Of Martoo Saul]]
{{#vardefine: y|{{#ifeq: {{#var:y3}}|N|{{#expr:36000-{{#var:y}}|{{#var:y}} }} }} }}
+
[[UO:A Statue Of Sage Humbolt]]
{{#vardefine: y|{{#expr:{{#var:y}}*{{#var:height}}}}}}
+
[[UO:A Statue Of Zendella Kxriss]]
{{#vardefine: y|{{#expr:{{#var:y}}/36000}}}}
 
{{#vardefine: y|{{#expr:{{#var:centerY}}+{{#var:y}}}}}}
 
{{#vardefine: y|{{#expr:{{#var:y}} mod {{#var:height}}}}}}
 
{{#vardefine: x|{{#expr:{{#expr:{{#var:x1}}*100}}+{{#expr:{{#expr:{{#var:x2}}*10}}/6}}}}}}
 
{{#vardefine: x|{{#ifeq: {{#var:x3}}|W|{{#expr:36000-{{#var:x}}|{{#var:x}} }} }} }}
 
{{#vardefine: x|{{#expr:{{#var:x}}*{{#var:width}}}}}}
 
{{#vardefine: x|{{#expr:{{#var:x}}/36000}}}}
 
{{#vardefine: x|{{#expr:{{#var:centerX}}+{{#var:x}}}}}}
 
{{#vardefine: x|{{#expr:{{#var:x}} mod {{#var:width}}}}}}
 
 
 
<!-- END COORDINATE CONVERSION CODE  -->
 
}}
 
 
 
{{#var:x}} x {{#var:y}}
 

Latest revision as of 22:28, 1 November 2020