Default purchasable items: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
New page: You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line. // the amo...
 
No edit summary
Line 1: Line 1:
You can use this as a default template for your purchase menu.  Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line.
You can use this as a default template for your purchase menu.  Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line.


  // the amount of starting gold
  '''// the amount of starting gold:'''


  "shop_gold_start" "700"
  "shop_gold_start" "700"


  // items the player starts with
  '''// items the player starts with:'''


  "startingItem_1_item" "weapon_blackjack"
  "startingItem_1_item" "weapon_blackjack"
Line 30: Line 29:




  //items available for purchase
  '''//items available for purchase:
 
'''
  "shopItem_1_item" "weapon_broadhead"
  "shopItem_1_item" "weapon_broadhead"
  "shopItem_1_0_qty" "25"
  "shopItem_1_0_qty" "25"

Revision as of 00:27, 12 August 2007

You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line.

// the amount of starting gold:
"shop_gold_start" "700"
// items the player starts with:
"startingItem_1_item" "weapon_blackjack"
"startingItem_1_qty" "1"
"startingItem_2_item" "weapon_shortsword"
"startingItem_2_qty" "1"
"startingItem_3_item" "weapon_broadhead"
"startingItem_3_0_qty" "15"
"startingItem_3_1_qty" "10"
"startingItem_3_2_qty" "5"
"startingItem_4_item" "weapon_waterarrow"
"startingItem_4_0_qty" "10"
"startingItem_4_1_qty" "5"
"startingItem_4_2_qty" "0"
"startingItem_5_item" "atdm:playertools_compass"
"startingItem_5_qty" "1"
"startingItem_6_item" "atdm:playertools_lockpick_bent"
"startingItem_6_qty" "1"
"startingItem_7_item" "atdm:playertools_health_potion"
"startingItem_7_0_qty" "1"
"startingItem_7_1_qty" "0"
"startingItem_7_2_qty" "0"


//items available for purchase:

"shopItem_1_item" "weapon_broadhead"
"shopItem_1_0_qty" "25"
"shopItem_1_1_qty" "15"
"shopItem_1_2_qty" "10"
"shopItem_2_item" "weapon_waterarrow"
"shopItem_2_0_qty" "15"
"shopItem_2_1_qty" "10"
"shopItem_2_2_qty" "5"
"shopItem_3_item" "weapon_firearrow"
"shopItem_3_qty" "2"
"shopItem_4_item" "weapon_ropearrow"
"shopItem_4_qty" "4"
"shopItem_5_item" "weapon_noisearrow"
"shopItem_5_qty" "3"
"shopItem_6_item" "atdm:playertools_flashbomb"
"shopItem_6_0_qty" "5"
"shopItem_6_1_qty" "3"
"shopItem_6_2_qty" "1"
"shopItem_7_item" "atdm:playertools_health_potion"
"shopItem_7_0_qty" "3"
"shopItem_7_1_qty" "2"
"shopItem_7_2_qty" "1"
"shopItem_8_item" "atdm:playertools_spyglass"
"shopItem_8_qty" "1"

[[category::editing]]