- 20 Сен 2014
- 440
- 1
- Проект
- Survival in Taiga XE
https://moddota.com/forums/discussion/257/item-drop-system
Помогите разобраться со статьёй. создал файл item_drops.kv туда закинул код файл отправил в scripts/kv/item_drops.kv всё сделал по гайду но неполучается вот код
Помогите разобраться со статьёй. создал файл item_drops.kv туда закинул код файл отправил в scripts/kv/item_drops.kv всё сделал по гайду но неполучается вот код
Код:
"Drops"
{
////////////////////////////////
// ItemDrops UI Configuration //
////////////////////////////////
"MaxTime" "60"
"MaxDropsOnScreen" "3"
"ItemQualityColors"
{
"artifact" "#FFA500" //Orange
"epic" "#8847FF" //Purple
"rare" "#4B69FF" //Blue
"common" "#00FF00" //Lime Green
"component" "#FFFFFF" //White
"consumable" "#FFFFFF" //White
}
// Don't fire the item_drop event for these
"ExcludedQualities"
{
"consumable" "1"
"component" "1"
}
//////////////////////////////
// Roll Drops Configuration //
//////////////////////////////
//===============================================
// Titans
//===============================================
"Avatar_of_Earth"
{
"1"
{
"ItemSets"
{
"1" "item_boots_of_agility_16"
"2" "item_cloak_of_flames_25"
"3" "item_gauntlets_of_might_16"
"4" "item_orb_of_mana"
"5" "item_life_gem"
"6" "item_firehand_gauntlets_20"
"7" "item_robes_of_enlightenment_16"
}
"Chance" "100"
}
}
"Avatar_of_Nature"
{
"1"
{
"ItemSets"
{
"1" "item_boots_of_agility_16"
"2" "item_heros_blade"
"3" "item_gauntlets_of_might_16"
"4" "item_orb_of_mana"
"5" "item_ring_of_spell_power"
"6" "item_heros_hauberk"
"7" "item_robes_of_enlightenment_16"
"8" "item_ring_of_healing_power"
}
"Chance" "100"
}
}
"Avatar_of_Justice"
{
"1"
{
"ItemSets"
{
"1" "item_boots_of_agility_16"
"2" "item_cloak_of_flames_25"
"3" "item_gauntlets_of_might_16"
"4" "item_orb_of_mana"
"5" "item_life_gem"
"6" "item_firehand_gauntlets_20"
"7" "item_robes_of_enlightenment_16"
}
"Chance" "100"
}
}
"Avatar_of_Death"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
}
"Chance" "100"
}
}
"Avatar_of_the_Sky"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
}
"Chance" "100"
}
}
"Avatar_of_Sacrifice"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
}
"Chance" "100"
}
}
"Avatar_of_the_Sea"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
}
"Chance" "100"
}
}
"Mother_of_Earth"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
}
"Chance" "100"
}
}
//===============================================
// Demon Area
//===============================================
"npc_demon_imp" // noob tier
{
"1"
{
"Item" "item_potion_of_minor_healing"
"Chance" "10"
}
"2"
{
"Item" "item_gold_bag_100"
"Chance" "10"
}
"3"
{
"ItemSets"
{
"1" "item_talisman_of_health"
"2" "item_ring_of_regeneration"
"3" "item_apprentice_robes"
"4" "item_hard_leather_armor"
"5" "item_ring_mail"
}
"Chance" "3"
}
}
"npc_demon_hound" // noob tier
{
"1"
{
"Item" "item_potion_of_minor_healing"
"Chance" "10"
}
"2"
{
"Item" "item_potion_of_minor_healing"
"Chance" "10"
}
"3"
{
"Item" "item_gold_bag_100"
"Chance" "10"
}
"4"
{
"ItemSets"
{
"1" "item_talisman_of_health"
"2" "item_ring_of_regeneration"
"3" "item_apprentice_robes"
"4" "item_hard_leather_armor"
"5" "item_ring_mail"
}
"Chance" "8"
}
}
"npc_demon_fire" // noob tier
{
"1"
{
"Item" "item_potion_of_minor_healing"
"Chance" "10"
}
"2"
{
"Item" "item_potion_of_minor_healing"
"Chance" "10"
}
"3"
{
"Item" "item_gold_bag_100"
"Chance" "10"
}
"4"
{
"ItemSets"
{
"1" "item_talisman_of_health"
"2" "item_ring_of_regeneration"
"3" "item_apprentice_robes"
"4" "item_hard_leather_armor"
"5" "item_ring_mail"
}
"Chance" "5"
}
}
"npc_forest_bear" // tier 1
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_boots_of_agility_8"
"3" "item_tbr_broadsword"
"4" "item_tbr_circlet_of_nobility"
"5" "item_cloak_of_flames_25"
"6" "item_firehand_gauntlets_20"
"7" "item_gauntlets_of_might_8"
"8" "item_mail_shirt"
"9" "item_pendant_of_energy" // This item doesn't exist, needs to be made
"10" "item_ring_of_dodging"
//"11" "item_ring_of_health" // This item doesn't exist, needs to be made
"12" "item_ring_of_vigor"
"13" "item_robes_of_enlightenment_8"
"14" "item_wand_of_healing_power"
"15" "item_wand_of_spell_power"
}
"Chance" "5" //of dropping 1 of the set
}
"2"
{
"ItemSets"
{
"1" "item_potion_of_lesser_healing"
"2" "item_potion_of_lesser_mana"
}
"Chance" "10" //of dropping 1 of the set
}
}
"npc_nukacha"
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_tbr_ring_of_health"
"3" "item_pendant_of_energy"
//"4" "item_goldbag" // It spawns between 1 to 6 Gold Bags of 50 gold each
}
"Chance" "100"
}
}
//===============================================
// Goblin Area
//===============================================
"npc_goblin" // tier 1
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_boots_of_agility_8"
"3" "item_tbr_broadsword"
"4" "item_tbr_circlet_of_nobility"
"5" "item_cloak_of_flames_25"
"6" "item_firehand_gauntlets_20"
"7" "item_gauntlets_of_might_8"
"8" "item_mail_shirt"
"9" "item_pendant_of_energy" // This item doesn't exist, needs to be made
"10" "item_ring_of_dodging"
//"11" "item_ring_of_health" // This item doesn't exist, needs to be made
"12" "item_ring_of_vigor"
"13" "item_robes_of_enlightenment_8"
"14" "item_wand_of_healing_power"
"15" "item_wand_of_spell_power"
}
"Chance" "5" //of dropping 1 of the set
}
"2"
{
"ItemSets"
{
"1" "item_potion_of_lesser_healing"
"2" "item_potion_of_lesser_mana"
}
"Chance" "10" //of dropping 1 of the set
}
}
"npc_shaman" // tier 1
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_boots_of_agility_8"
"3" "item_tbr_broadsword"
"4" "item_tbr_circlet_of_nobility"
"5" "item_cloak_of_flames_25"
"6" "item_firehand_gauntlets_20"
"7" "item_gauntlets_of_might_8"
"8" "item_mail_shirt"
"9" "item_pendant_of_energy" // This item doesn't exist, needs to be made
"10" "item_ring_of_dodging"
//"11" "item_ring_of_health" // This item doesn't exist, needs to be made
"12" "item_ring_of_vigor"
"13" "item_robes_of_enlightenment_8"
"14" "item_wand_of_healing_power"
"15" "item_wand_of_spell_power"
}
"Chance" "5" //of dropping 1 of the set
}
"2"
{
"ItemSets"
{
"1" "item_potion_of_lesser_healing"
"2" "item_potion_of_lesser_mana"
}
"Chance" "10" //of dropping 1 of the set
}
}
//===============================================
// Black Goblin Area
//===============================================
"npc_black_goblin" // tier 1
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_boots_of_agility_8"
"3" "item_tbr_broadsword"
"4" "item_tbr_circlet_of_nobility"
"5" "item_cloak_of_flames_25"
"6" "item_firehand_gauntlets_20"
"7" "item_gauntlets_of_might_8"
"8" "item_mail_shirt"
"9" "item_pendant_of_energy" // This item doesn't exist, needs to be made
"10" "item_ring_of_dodging"
//"11" "item_ring_of_health" // This item doesn't exist, needs to be made
"12" "item_ring_of_vigor"
"13" "item_robes_of_enlightenment_8"
"14" "item_wand_of_healing_power"
"15" "item_wand_of_spell_power"
}
"Chance" "5" //of dropping 1 of the set
}
"2"
{
"ItemSets"
{
"1" "item_potion_of_lesser_healing"
"2" "item_potion_of_lesser_mana"
}
"Chance" "10" //of dropping 1 of the set
}
}
"npc_black_shaman" // tier 1
{
"1"
{
"ItemSets"
{
"1" "item_ring_of_regeneration"
"2" "item_boots_of_agility_8"
"3" "item_tbr_broadsword"
"4" "item_tbr_circlet_of_nobility"
"5" "item_cloak_of_flames_25"
"6" "item_firehand_gauntlets_20"
"7" "item_gauntlets_of_might_8"
"8" "item_mail_shirt"
"9" "item_pendant_of_energy" // This item doesn't exist, needs to be made
"10" "item_ring_of_dodging"
//"11" "item_ring_of_health" // This item doesn't exist, needs to be made
"12" "item_ring_of_vigor"
"13" "item_robes_of_enlightenment_8"
"14" "item_wand_of_healing_power"
"15" "item_wand_of_spell_power"
}
"Chance" "5" //of dropping 1 of the set
}
"2"
{
"ItemSets"
{
"1" "item_potion_of_lesser_healing"
"2" "item_potion_of_lesser_mana"
}
"Chance" "10" //of dropping 1 of the set
}
}
Последнее редактирование модератором: