Skip to content

Commit 91a22f2

Browse files
committed
Inline code instead of pastebin links
1 parent cdbe04a commit 91a22f2

6 files changed

Lines changed: 970 additions & 40 deletions

File tree

_articles/abilities/item-keyvalues.md

Lines changed: 326 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,84 @@ mapName should be the name of YOUR MAP (.vmap file in Hammer or content folder),
212212

213213
Adding "_shops" to the mapName is also mandatory.
214214

215-
A template shop file can be copied from here: https://pastebin.com/KZrtm1xQ
215+
A template shop file:
216+
217+
```
218+
//<map_name>_shops.txt inside a scripts\shops\ folder
219+
220+
"dota_shops"
221+
{
222+
"consumables"
223+
{
224+
"item" "item_ingredient"
225+
"item" "item_result"
226+
}
227+
228+
"attributes"
229+
{
230+
231+
}
232+
233+
"weapons_armor"
234+
{
235+
236+
}
237+
238+
"misc"
239+
{
240+
241+
}
242+
243+
// Level 1 - Green Recipes
244+
"basics"
245+
{
246+
247+
}
248+
249+
// Level 2 - Blue Recipes
250+
"support"
251+
{
252+
253+
}
254+
255+
"magics"
256+
{
257+
258+
}
259+
260+
// Level 3 - Purple Recipes
261+
"defense"
262+
{
263+
264+
}
265+
266+
"weapons"
267+
{
268+
269+
}
270+
271+
// Level 4 - Orange / Orb / Artifacts
272+
"artifacts"
273+
{
274+
275+
}
276+
277+
"sideshop1"
278+
{
279+
280+
}
281+
282+
"sideshop2"
283+
{
284+
285+
}
286+
287+
"secretshop"
288+
{
289+
290+
}
291+
}
292+
```
216293

217294
In addition to this file, your item can have key value rules for where it can be bought
218295

@@ -226,7 +303,254 @@ You can change categories and shop tab names, with [addon_english modding]
226303

227304
To make an actual shop area inside your map on Hammer, check this other tutorial [tutorial_creating_a_custom_shop_step_by_step](https://www.reddit.com/r/Dota2Modding/comments/2dpts1/tutorial_creating_a_custom_shop_step_by_step/)
228305

229-
To disable your dota items, use [this npc_abilities_override.txt](https://pastebin.com/pGExrS4A) inside the scripts/npc folder.
306+
To disable your dota items, use this `npc_abilities_override.txt` inside the scripts/npc folder:
307+
308+
::: details npc_abilities_override.txt
309+
```
310+
// Dota Abilities Override File
311+
"DOTAAbilities"
312+
{
313+
314+
// ITEM SHOPS---------------------------------------------------
315+
316+
"item_blink" "REMOVE"
317+
"item_blades_of_attack" "REMOVE"
318+
"item_broadsword" "REMOVE"
319+
"item_chainmail" "REMOVE"
320+
"item_claymore" "REMOVE"
321+
"item_helm_of_iron_will" "REMOVE"
322+
"item_javelin" "REMOVE"
323+
"item_mithril_hammer" "REMOVE"
324+
"item_platemail" "REMOVE"
325+
"item_quarterstaff" "REMOVE"
326+
"item_quelling_blade" "REMOVE"
327+
"item_ring_of_protection" "REMOVE"
328+
"item_stout_shield" "REMOVE"
329+
"item_gauntlets" "REMOVE"
330+
"item_slippers" "REMOVE"
331+
"item_mantle" "REMOVE"
332+
"item_branches" "REMOVE"
333+
"item_belt_of_strength" "REMOVE"
334+
"item_boots_of_elves" "REMOVE"
335+
"item_robe" "REMOVE"
336+
"item_circlet" "REMOVE"
337+
"item_ogre_axe" "REMOVE"
338+
"item_blade_of_alacrity" "REMOVE"
339+
"item_staff_of_wizardry" "REMOVE"
340+
"item_ultimate_orb" "REMOVE"
341+
"item_gloves" "REMOVE"
342+
"item_lifesteal" "REMOVE"
343+
"item_ring_of_regen" "REMOVE"
344+
"item_sobi_mask" "REMOVE"
345+
"item_boots" "REMOVE"
346+
"item_gem" "REMOVE"
347+
"item_cloak" "REMOVE"
348+
"item_talisman_of_evasion" "REMOVE"
349+
"item_cheese" "REMOVE"
350+
"item_magic_stick" "REMOVE"
351+
"item_recipe_magic_wand" "REMOVE"
352+
"item_magic_wand" "REMOVE"
353+
"item_ghost" "REMOVE"
354+
"item_clarity" "REMOVE"
355+
"item_flask" "REMOVE"
356+
"item_dust" "REMOVE"
357+
"item_bottle" "REMOVE"
358+
"item_ward_observer" "REMOVE"
359+
"item_ward_sentry" "REMOVE"
360+
"item_tango" "REMOVE"
361+
"item_tango_single" "REMOVE"
362+
"item_courier" "REMOVE"
363+
"item_tpscroll" "REMOVE"
364+
"item_recipe_travel_boots" "REMOVE"
365+
"item_travel_boots" "REMOVE"
366+
"item_recipe_phase_boots" "REMOVE"
367+
"item_phase_boots" "REMOVE"
368+
"item_demon_edge" "REMOVE"
369+
"item_eagle" "REMOVE"
370+
"item_reaver" "REMOVE"
371+
"item_relic" "REMOVE"
372+
"item_hyperstone" "REMOVE"
373+
"item_ring_of_health" "REMOVE"
374+
"item_void_stone" "REMOVE"
375+
"item_mystic_staff" "REMOVE"
376+
"item_energy_booster" "REMOVE"
377+
"item_point_booster" "REMOVE"
378+
"item_vitality_booster" "REMOVE"
379+
"item_recipe_power_treads" "REMOVE"
380+
"item_power_treads" "REMOVE"
381+
"item_recipe_hand_of_midas" "REMOVE"
382+
"item_hand_of_midas" "REMOVE"
383+
"item_recipe_oblivion_staff" "REMOVE"
384+
"item_oblivion_staff" "REMOVE"
385+
"item_recipe_pers" "REMOVE"
386+
"item_pers" "REMOVE"
387+
"item_recipe_poor_mans_shield" "REMOVE"
388+
"item_poor_mans_shield" "REMOVE"
389+
"item_recipe_bracer" "REMOVE"
390+
"item_bracer" "REMOVE"
391+
"item_recipe_wraith_band" "REMOVE"
392+
"item_wraith_band" "REMOVE"
393+
"item_recipe_null_talisman" "REMOVE"
394+
"item_null_talisman" "REMOVE"
395+
"item_recipe_mekansm" "REMOVE"
396+
"item_mekansm" "REMOVE"
397+
"item_recipe_vladmir" "REMOVE"
398+
"item_vladmir" "REMOVE"
399+
"item_flying_courier" "REMOVE"
400+
"item_recipe_buckler" "REMOVE"
401+
"item_buckler" "REMOVE"
402+
"item_recipe_ring_of_basilius" "REMOVE"
403+
"item_ring_of_basilius" "REMOVE"
404+
"item_recipe_pipe" "REMOVE"
405+
"item_pipe" "REMOVE"
406+
"item_recipe_urn_of_shadows" "REMOVE"
407+
"item_urn_of_shadows" "REMOVE"
408+
"item_recipe_headdress" "REMOVE"
409+
"item_headdress" "REMOVE"
410+
"item_recipe_sheepstick" "REMOVE"
411+
"item_sheepstick" "REMOVE"
412+
"item_recipe_orchid" "REMOVE"
413+
"item_orchid" "REMOVE"
414+
"item_recipe_cyclone" "REMOVE"
415+
"item_cyclone" "REMOVE"
416+
"item_recipe_force_staff" "REMOVE"
417+
"item_force_staff" "REMOVE"
418+
"item_recipe_dagon" "REMOVE"
419+
"item_recipe_dagon_2" "REMOVE"
420+
"item_recipe_dagon_3" "REMOVE"
421+
"item_recipe_dagon_4" "REMOVE"
422+
"item_recipe_dagon_5" "REMOVE"
423+
"item_dagon" "REMOVE"
424+
"item_dagon_2" "REMOVE"
425+
"item_dagon_3" "REMOVE"
426+
"item_dagon_4" "REMOVE"
427+
"item_dagon_5" "REMOVE"
428+
"item_recipe_necronomicon" "REMOVE"
429+
"item_recipe_necronomicon_2" "REMOVE"
430+
"item_recipe_necronomicon_3" "REMOVE"
431+
"item_necronomicon" "REMOVE"
432+
"item_necronomicon_2" "REMOVE"
433+
"item_necronomicon_3" "REMOVE"
434+
"item_recipe_ultimate_scepter" "REMOVE"
435+
"item_ultimate_scepter" "REMOVE"
436+
"item_recipe_refresher" "REMOVE"
437+
"item_refresher" "REMOVE"
438+
"item_recipe_assault" "REMOVE"
439+
"item_assault" "REMOVE"
440+
"item_recipe_heart" "REMOVE"
441+
"item_heart" "REMOVE"
442+
"item_recipe_black_king_bar" "REMOVE"
443+
"item_black_king_bar" "REMOVE"
444+
"item_aegis" "REMOVE"
445+
"item_recipe_shivas_guard" "REMOVE"
446+
"item_shivas_guard" "REMOVE"
447+
"item_recipe_bloodstone" "REMOVE"
448+
"item_bloodstone" "REMOVE"
449+
"item_recipe_sphere" "REMOVE"
450+
"item_sphere" "REMOVE"
451+
"item_recipe_reflex_energy_regen_booster" "REMOVE"
452+
"item_vanguard" "REMOVE"
453+
"item_recipe_blade_mail" "REMOVE"
454+
"item_blade_mail" "REMOVE"
455+
"item_recipe_soul_booster" "REMOVE"
456+
"item_soul_booster" "REMOVE"
457+
"item_recipe_hood_of_defiance" "REMOVE"
458+
"item_hood_of_defiance" "REMOVE"
459+
"item_recipe_rapier" "REMOVE"
460+
"item_rapier" "REMOVE"
461+
"item_recipe_monkey_king_bar" "REMOVE"
462+
"item_monkey_king_bar" "REMOVE"
463+
"item_recipe_radiance" "REMOVE"
464+
"item_radiance" "REMOVE"
465+
"item_recipe_butterfly" "REMOVE"
466+
"item_butterfly" "REMOVE"
467+
"item_recipe_greater_crit" "REMOVE"
468+
"item_greater_crit" "REMOVE"
469+
"item_recipe_basher" "REMOVE"
470+
"item_basher" "REMOVE"
471+
"item_recipe_bfury" "REMOVE"
472+
"item_bfury" "REMOVE"
473+
"item_recipe_manta" "REMOVE"
474+
"item_manta" "REMOVE"
475+
"item_recipe_lesser_crit" "REMOVE"
476+
"item_lesser_crit" "REMOVE"
477+
"item_recipe_armlet" "REMOVE"
478+
"item_armlet" "REMOVE"
479+
"item_recipe_invis_sword" "REMOVE"
480+
"item_invis_sword" "REMOVE"
481+
"item_recipe_sange_and_yasha" "REMOVE"
482+
"item_sange_and_yasha" "REMOVE"
483+
"item_recipe_satanic" "REMOVE"
484+
"item_satanic" "REMOVE"
485+
"item_recipe_mjollnir" "REMOVE"
486+
"item_mjollnir" "REMOVE"
487+
"item_recipe_skadi" "REMOVE"
488+
"item_skadi" "REMOVE"
489+
"item_recipe_sange" "REMOVE"
490+
"item_sange" "REMOVE"
491+
"item_recipe_helm_of_the_dominator" "REMOVE"
492+
"item_helm_of_the_dominator" "REMOVE"
493+
"item_recipe_maelstrom" "REMOVE"
494+
"item_maelstrom" "REMOVE"
495+
"item_recipe_desolator" "REMOVE"
496+
"item_desolator" "REMOVE"
497+
"item_recipe_yasha" "REMOVE"
498+
"item_yasha" "REMOVE"
499+
"item_recipe_mask_of_madness" "REMOVE"
500+
"item_mask_of_madness" "REMOVE"
501+
"item_recipe_diffusal_blade" "REMOVE"
502+
"item_recipe_diffusal_blade_2" "REMOVE"
503+
"item_diffusal_blade" "REMOVE"
504+
"item_diffusal_blade_2" "REMOVE"
505+
"item_recipe_ethereal_blade" "REMOVE"
506+
"item_ethereal_blade" "REMOVE"
507+
"item_recipe_soul_ring" "REMOVE"
508+
"item_soul_ring" "REMOVE"
509+
"item_recipe_arcane_boots" "REMOVE"
510+
"item_arcane_boots" "REMOVE"
511+
"item_orb_of_venom" "REMOVE"
512+
"item_recipe_ancient_janggo" "REMOVE"
513+
"item_ancient_janggo" "REMOVE"
514+
"item_recipe_medallion_of_courage" "REMOVE"
515+
"item_medallion_of_courage" "REMOVE"
516+
"item_smoke_of_deceit" "REMOVE"
517+
"item_recipe_veil_of_discord" "REMOVE"
518+
"item_veil_of_discord" "REMOVE"
519+
"item_recipe_rod_of_atos" "REMOVE"
520+
"item_rod_of_atos" "REMOVE"
521+
"item_recipe_abyssal_blade" "REMOVE"
522+
"item_abyssal_blade" "REMOVE"
523+
"item_recipe_heavens_halberd" "REMOVE"
524+
"item_heavens_halberd" "REMOVE"
525+
"item_recipe_ring_of_aquila" "REMOVE"
526+
"item_ring_of_aquila" "REMOVE"
527+
"item_recipe_tranquil_boots" "REMOVE"
528+
"item_tranquil_boots" "REMOVE"
529+
"item_shadow_amulet" "REMOVE"
530+
"item_halloween_candy_corn" "REMOVE"
531+
"item_mystery_hook" "REMOVE"
532+
"item_mystery_arrow" "REMOVE"
533+
"item_mystery_missile" "REMOVE"
534+
"item_mystery_toss" "REMOVE"
535+
"item_mystery_vacuum" "REMOVE"
536+
"item_halloween_rapier" "REMOVE"
537+
"item_greevil_whistle" "REMOVE"
538+
"item_greevil_whistle_toggle" "REMOVE"
539+
"item_present" "REMOVE"
540+
"item_winter_stocking" "REMOVE"
541+
"item_winter_skates" "REMOVE"
542+
"item_winter_cake" "REMOVE"
543+
"item_winter_cookie" "REMOVE"
544+
"item_winter_coco" "REMOVE"
545+
"item_winter_ham" "REMOVE"
546+
"item_winter_kringle" "REMOVE"
547+
"item_winter_mushroom" "REMOVE"
548+
"item_winter_greevil_treat" "REMOVE"
549+
"item_winter_greevil_garbage" "REMOVE"
550+
"item_winter_greevil_chewy" "REMOVE"
551+
}
552+
```
553+
:::
230554

231555
## Cosmetic Values: Models, Effects, Tags and others.
232556
These values are optional but greatly improve the quality of your item

0 commit comments

Comments
 (0)