changeset 162:5130fd11e400 misc

Cosmetics / indentation.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 30 Dec 2010 01:39:31 +0000
parents b666a36d7655
children 617455cb8a01
files prices.php
diffstat 1 files changed, 78 insertions(+), 76 deletions(-) [+]
line wrap: on
line diff
--- a/prices.php	Thu Dec 30 01:21:30 2010 +0000
+++ b/prices.php	Thu Dec 30 01:39:31 2010 +0000
@@ -17,28 +17,28 @@
 // Service prices with discount thresholds
 $services1_prices = array(
   "fw" => array(
-    "name" => "Feather weight",
-    "subj" => "cast",
-    "tresh" => 20,
-    "price1" => 2500,
-    "base" => 10000,
-    "price2" => 1750
+    "name"     => "Feather weight",
+    "subj"     => "cast",
+    "tresh"    => 20,
+    "price1"   => 2500,
+    "base"     => 10000,
+    "price2"   => 1750
   ),
   "prot" => array(
-    "name" => "Protect armour/weapon/item",
-    "subj" => "cast",
-    "tresh" => 20,
-    "price1" => 3000,
-    "base" => 10000,
-    "price2" => 2000
+    "name"     => "Protect armour/weapon/item",
+    "subj"     => "cast",
+    "tresh"    => 20,
+    "price1"   => 3000,
+    "base"     => 10000,
+    "price2"   => 2000
   ),
   "repair" => array(
-    "name" => "Repair armour/weapon/item",
-    "tresh" => 6,
-    "subj" => "item",
-    "price1" => 10000,
-    "price2" => 7500,
-    "extra" => " + materials"
+    "name"     => "Repair armour/weapon/item",
+    "tresh"    => 6,
+    "subj"     => "item",
+    "price1"   => 10000,
+    "price2"   => 7500,
+    "extra"    => " + materials"
   ),
 );
 
@@ -46,37 +46,36 @@
 // Services without discount threshold
 $services2_prices = array(
   "labels" => array(
-    "name" => "Labelling",
-    "subj" => "item",
-    "price" => 3000
+    "name"     => "Labelling",
+    "subj"     => "item",
+    "price"    => 3000
   ),
   "surg80" => array(
-    "name" => "Surgery to 80%",
-    "subj" => "item",
-    "price" => 10000,
+    "name"     => "Surgery to 80%",
+    "subj"     => "item",
+    "price"    => 10000,
   ),
   "surg100" => array(
-    "name" => "Surgery to 100", 
-    "subj" => "item",
-    "price" => 15000,
+    "name"     => "Surgery to 100", 
+    "subj"     => "item",
+    "price"    => 15000,
   ),
   "mip" => array(
-    "name" => "Money is Power",
-    "subj" => "cast",
-    "price" => 10000,
+    "name"     => "Money is Power",
+    "subj"     => "cast",
+    "price"    => 10000,
   ),
   "makegear" => array(
-    "name" => "Make mount gear",
-    "subj" => "item",
-    "price" => 20000,
-    "extra" => " + materials",
+    "name"     => "Make mount gear",
+    "subj"     => "item",
+    "price"    => 20000,
+    "extra"    => " + materials",
   ),
   "refitgear" => array(
-    "name" => "Refit mount gear",
-    "subj" => "item",
-    "tresh" => -1,
-    "price" => 10000,
-    "extra" => " + materials"
+    "name"     => "Refit mount gear",
+    "subj"     => "item",
+    "price"    => 10000,
+    "extra"    => " + materials"
   ),
 );
 
@@ -84,37 +83,37 @@
 // Mage reagents
 $reagent_prices = array(
   "Blast reagents" => array(
-  "acid1" => array("acid", "Acid Blast", "handful of olivine powder", 125),
-  "acid2" => array("acid", "Acid Storm", "pair of interlocked rings", 125),
+    "acid1" => array("acid", "Acid Blast",           "handful of olivine powder",    125),
+    "acid2" => array("acid", "Acid Storm",           "pair of interlocked rings",    125),
 
-  "asph1" => array("asph", "Blast Vacuum", "bronze marble", 150),
-  "asph2" => array("asph", "Vacuum Globe", "small fan", 150),
+    "asph1" => array("asph", "Blast Vacuum",         "bronze marble",                150),
+    "asph2" => array("asph", "Vacuum Globe",         "small fan",                    150),
 
-  "elec1" => array("elec", "Electrocution", "small piece of electrum wire", 125),
-  "elec2" => array("elec", "Lightning Storm", "cluster of tungsten wires", 125),
+    "elec1" => array("elec", "Electrocution",        "small piece of electrum wire", 125),
+    "elec2" => array("elec", "Lightning Storm",      "cluster of tungsten wires",    125),
 
-  "cold1" => array("cold", "Cold Ray", "steel arrowhead", 200),
-  "cold2" => array("cold", "Hailstorm", "handful of onyx gravel", 125),
+    "cold1" => array("cold", "Cold Ray",             "steel arrowhead",              200),
+    "cold2" => array("cold", "Hailstorm",            "handful of onyx gravel",       125),
 
-  "pois1" => array("pois", "Summon Carnal Spores", "silvery bark chip", 150),
-  "pois2" => array("pois", "Killing Cloud", "ebony tube", 100),
+    "pois1" => array("pois", "Summon Carnal Spores", "silvery bark chip",            150),
+    "pois2" => array("pois", "Killing Cloud",        "ebony tube",                   100),
 
-  "fire1" => array("fire", "Lava Blast", "granite sphere", 125),
-  "fire2" => array("fire", "Lava Storm", "blue cobalt cup", 125),
+    "fire1" => array("fire", "Lava Blast",           "granite sphere",               125),
+    "fire2" => array("fire", "Lava Storm",           "blue cobalt cup",              125),
 
-  "mana1" => array("mana", "Golden Arrow", "copper rod", 125),
-  "mana2" => array("mana", "Magic Eruption", "tiny platinum hammer", 125),
+    "mana1" => array("mana", "Golden Arrow",         "copper rod",                   125),
+    "mana2" => array("mana", "Magic Eruption",       "tiny platinum hammer",         125),
   ),
   
   "Prot reagents" => array(
-  "phys3" => array("phys", "Armour of Aether", "small highsteel disc", 200),
-  "acid3" => array("acid", "Acid Shield", "stone cube", 125),
-  "asph3" => array("asph", "Aura of Wind", "tiny leather bag", 275),
-  "fire3" => array("fire", "Flame Shield", "small glass cone", 150),
-  "cold3" => array("cold", "Frost Shield", "grey fur triangle", 275),
-  "elec3" => array("elec", "Lightning Shield", "small iron rod", 100),
-  "mana3" => array("mana", "Repulsor Aura", "quartz prism", 125),
-  "pois3" => array("pois", "Shield of Detoxification", "tiny amethyst crystal", 125),
+    "phys3" => array("phys", "Armour of Aether",         "small highsteel disc",     200),
+    "acid3" => array("acid", "Acid Shield",              "stone cube",               125),
+    "asph3" => array("asph", "Aura of Wind",             "tiny leather bag",         275),
+    "fire3" => array("fire", "Flame Shield",             "small glass cone",         150),
+    "cold3" => array("cold", "Frost Shield",             "grey fur triangle",        275),
+    "elec3" => array("elec", "Lightning Shield",         "small iron rod",           100),
+    "mana3" => array("mana", "Repulsor Aura",            "quartz prism",             125),
+    "pois3" => array("pois", "Shield of Detoxification", "tiny amethyst crystal",    125),
   )
 );
 
@@ -127,22 +126,23 @@
 other material combos for base ammunition, these may be negotiable. Feel
 free to inquire about other ammunition types (bullets, etc.).
 ",
-  "base" => 300,
+
+  "base" => 300, // base price per arrow
   "discount" => true,
 
   "i_fields" => 2,
   "i_price" => 2,
   "i_titles" => array("Type", "Materials", "Price / arrow", "#"),
   "prices" => array(
-    "phys" => array("Normal (phys)", "ebony, feathers, diamond", 0),
-    "psi"  => array("Psi",    "* + brain",         100),
-    "acid" => array("Acid",   "* + stomach",       100),
-    "elec" => array("Elec",   "* + tungsten",      100),
-    "mana" => array("Mana",   "* + crystalline",   150),
-    "cold" => array("Cold",   "* + ice",           150),
-    "fire" => array("Fire",   "* + fire",          250),
-    "asph" => array("Asphyx", "* + toadstool",     350),
-//    "arr_pois" => array("Poison", "* + h'cliz",        300),
+    "phys" => array("Normal (phys)", "ebony, feathers, diamond",     0),
+    "psi"  => array("Psi",           "* + brain",                    100),
+    "acid" => array("Acid",          "* + stomach",                  100),
+    "elec" => array("Elec",          "* + tungsten",                 100),
+    "mana" => array("Mana",          "* + crystalline",              150),
+    "cold" => array("Cold",          "* + ice",                      150),
+    "fire" => array("Fire",          "* + fire",                     250),
+    "asph" => array("Asphyx",        "* + toadstool",                350),
+//    "pois" => array("Poison",        "* + h'cliz",                   300),
   )
 );
 
@@ -158,6 +158,7 @@
 <br />
 <b>Salve orders will take some time to complete, I don't keep much stock on these currently.</b>
 ",
+
   "base" => 4000,
   "discount" => false,
 
@@ -165,10 +166,11 @@
   "i_price" => 1,
   "i_titles" => array("Salve", "Price / piece", "#"),
   "prices" => array(
-    "str" => array("+str", 0),
-    "con" => array("+con", 0),
-    "int" => array("+int", 0),
-    "wis" => array("+wis", 0),
+    "str"  => array("+str", 0),
+    "con"  => array("+con", 0),
+    "int"  => array("+int", 0),
+    "wis"  => array("+wis", 0),
+
     "pack" => array("white cloth pack for holding salves [0/15]", 31000),
   )
 );
@@ -189,7 +191,7 @@
   "i_price" => 1,
   "i_titles" => array("Potion", "Price / piece", "#"),
   "prices" => array(
-    "generic" => array("Generic potion", 0),
+    "generic" => array("Generic potion",                   0),
   ),
 );