Default purchasable items

From The DarkMod Wiki
Jump to navigationJump to search

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" "atdm:weapon_blackjack"
"startingItem_1_qty" "1"
"startingItem_2_item" "atdm:weapon_shortsword"
"startingItem_2_qty" "1"
"startingItem_3_item" "atdm:weapon_broadhead"
"startingItem_3_0_qty" "15"
"startingItem_3_1_qty" "10"
"startingItem_3_2_qty" "5"
"startingItem_4_item" "atdm: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" "atdm:weapon_broadhead"
"shopItem_1_0_qty" "25"
"shopItem_1_1_qty" "15"
"shopItem_1_2_qty" "10"
"shopItem_2_item" "atdm:weapon_waterarrow"
"shopItem_2_0_qty" "15"
"shopItem_2_1_qty" "10"
"shopItem_2_2_qty" "5"
"shopItem_3_item" "atdm:weapon_firearrow"
"shopItem_3_qty" "2"
"shopItem_4_item" "atdm:weapon_ropearrow"
"shopItem_4_qty" "4"
"shopItem_5_item" "atdm:weapon_noisemaker"
"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"