Items
Items come in many shapes or forms. Either a book, consumable, combat item, upgrade or cd. They can be acquired when selecting a loadout, road events, rewards, exploration and shopping.
You may define some items by creating a items.kdr file.
The following properties that exist:
| Key | Type | Required | Default | Explanation |
|---|---|---|---|---|
| dev_name | String |
Yes | N/A |
The internal name of the item. |
| title | String |
Yes | N/A |
The name of the item that the player will see in-game. |
| item_type | String |
Yes | N/A |
The item type that this item is. |
| desc | String |
Yes | N/A |
The description of the item that the player will see in-game. |
| cons_stat | String |
No | 0 |
The stat to modify. |
| cons_cure | String |
No | 0 |
The status effect to cure, if any. |
| cons_buff | String |
No | 0 |
The status effect to apply, if any. |
| cons_amount | Number |
No | N/A |
How much of the stat to modify. |
| tags | String, comma separated |
No | gas_station, super_market |
The tags this item has, will appear in X areas. See Shop Types for more. |
| price | Number |
No | 1 |
How much this item costs. |
| charges | Number |
No | 1 |
How many charges this item has left. |
| w | Number |
No | 1 |
How many width cells this item takes up. |
| h | Number |
No | 1 |
How many height cells this item takes up. |
| sprite | String |
No | spr_item_apple |
The sprite to use to represent this item. |
| pattern | String |
No | none |
The pattern this skill uses during combat, if combat item. "DEGMXA" -> Durability, Energy, Gas, Money, None, ALL. |
| music_group | String |
No | none |
The music group this item has, if CD. |
| max_shop_amount | Number |
No | 1 |
The max amount a shop may have. |
| min_shop_amount | Number |
No | 1 |
The min amount a shop may have. |
| sound | String |
No | N/A |
The name of the sfx that the item produces (for instruments). |
{
dev_name: "tab_basic_item"
title: "Do it all Gum"
item_type: "combat"
desc: A basic item.
charges: 15
desc: L@item_generic_glovebox_desc
pattern: AAXAA
tags: gas_station, super_market, candy, dairy
price: 2
w:1
h:1
sprite: spr_item_gum2
}
{
dev_name: "large_coffee"
title: "Large Coffee"
item_type: "consumable"
cons_stat: energy
cons_amount: 2
desc: L@item_coffee_desc
tags: cafe, beverage, hot, gas_station,hot_coffee,caffeine
price: 3
charges: 2
w:1
h:2
sprite: spr_item_coffee
}