Does the issue occur in the editor or during gameplay?
In the editor and gameplay is where it usualy starts
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
N/A
Briefly describe the issue you're experiencing:
When I start the game and try to give the player an item it just pops up as an Error message saying ITEM_0003 doesnt exist, when i quit out of playtesting the items appear in the item editor but nowhere else it just says i dont have any items. all the items disapear from the editor when you quit and reenter. but it still exists in the items folder.
Are there any errors in the in-game debug console or external console window?
yes [item_0003 doesnt exist]
Provide the steps necessary to reproduce the issue:
Make a ranged weapon that uses MP as ammo.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
[Response goes here]
I dont have a link but i do have the items folder
{
"items": [
{
"id": "ITEM_0005",
"name": "Mana Potion S",
"description": "Restores 5 MP.",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 2,
"cost": 20,
"image": "Potion.png",
"usable": true,
"num_of_uses": 1,
"script": "SMP"
},
{
"id": "ITEM_0006",
"name": "Old Staff",
"description": "Shoots a spell dealing 2-5 Damage",
"tags": ["B"],
"properties": {},
"stackable": false,
"equippable": true,
"effects": [{"amount":0,"stat":"attack","type":"stat_boost"}],
"weapon": true,
"weapon_type": "ranged",
"weapon_sound": "Magic 1.wav",
"weapon_fire_mode": "auto",
"weapon_min_damage": 2,
"weapon_max_damage": 5,
"weapon_consumption_type": "character_stat",
"weapon_ammo_stat_id": "player.stat["mp"]",
"weapon_projectile_speed": 125,
"weapon_min_range": 1,
"weapon_max_range": 6,
"weapon_projectile_object": "Spell1",
"object": "tree",
"cost": 40,
"image": "old Staff.png",
"usable": false
},
{
"id": "ITEM_0001",
"name": "Pickaxe",
"description": "Great for smashing things to bits.",
"tags": [],
"properties": {},
"stackable": false,
"tool_item": true,
"tool_item_range": 1,
"tool_item_script_mode": "entity",
"image": "Pickaxe.png",
"usable": false
},
{
"id": "ITEM_0002",
"name": "Arrow",
"description": "",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 999,
"projectile": true,
"projectile_min_damage": 1,
"projectile_max_damage": 4,
"projectile_speed": 75,
"projectile_min_range": 0,
"projectile_max_range": 8,
"projectile_sound": "Bow.wav",
"object": "Arrow",
"view_model_object": "Arrow",
"cost": 5,
"image": "Arrow.png",
"usable": false
},
{
"id": "ITEM_0003",
"name": "Bow",
"description": "",
"tags": ["B"],
"properties": {},
"stackable": false,
"equippable": true,
"effects": [{"amount":0,"stat":"attack","type":"stat_boost"}],
"weapon": true,
"weapon_type": "ranged",
"weapon_sound": "Bow.wav",
"weapon_min_damage": 1,
"weapon_max_damage": 3,
"weapon_consumption_type": "ammo_item_by_id",
"weapon_ammo_item_ids": ["ITEM_0002"],
"weapon_projectile_speed": 75,
"weapon_min_range": 0,
"weapon_max_range": 4,
"image": "Bow1.png",
"usable": false
},
{
"id": "ITEM_0007",
"name": "Beer",
"description": "+5HP +2ATK",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 15,
"image": "Beer.png",
"usable": true,
"num_of_uses": 1,
"script": "Beer"
},
{
"id": "ITEM_0008",
"name": "Bread",
"description": "+7HP",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 10,
"image": "Bread.png",
"usable": true,
"num_of_uses": 1,
"script": "FOOD 7"
},
{
"id": "ITEM_0009",
"name": "Mana fruit",
"description": "+2MAX mana",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 30,
"image": "MPF.png",
"usable": true,
"num_of_uses": 1,
"script": "SMPF"
},
{
"id": "ITEM_0010",
"name": "Fire Ball Scroll",
"description": "Deals 5 Damage and burns the target slightly. Cost 2MP",
"tags": [],
"properties": {},
"stackable": false,
"cost": 30,
"image": "Scroll.png",
"usable": true,
"num_of_uses": 1,
"script": "Fire fire fire"
},
{
"id": "ITEM_0004",
"name": "Mana Potion S - Copy",
"description": "Restores 5 MP.",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 2,
"cost": 20,
"image": "Potion.png",
"usable": true,
"num_of_uses": 1,
"script": "SMP"
},
{
"id": "ITEM_0011",
"name": "Old Staff - Copy",
"description": "Shoots a spell dealing 2-5 Damage",
"tags": ["B"],
"properties": {},
"stackable": false,
"equippable": true,
"effects": [{"amount":0,"stat":"attack","type":"stat_boost"}],
"weapon": true,
"weapon_type": "ranged",
"weapon_sound": "Magic 1.wav",
"weapon_fire_mode": "auto",
"weapon_min_damage": 2,
"weapon_max_damage": 5,
"weapon_consumption_type": "character_stat",
"weapon_ammo_stat_id": "player.stat["mp"]",
"weapon_projectile_speed": 125,
"weapon_min_range": 1,
"weapon_max_range": 6,
"weapon_projectile_object": "Spell1",
"object": "tree",
"cost": 40,
"image": "old Staff.png",
"usable": false
},
{
"id": "ITEM_0012",
"name": "Pickaxe - Copy",
"description": "Great for smashing things to bits.",
"tags": [],
"properties": {},
"stackable": false,
"tool_item": true,
"tool_item_range": 1,
"tool_item_script_mode": "entity",
"image": "Pickaxe.png",
"usable": false
},
{
"id": "ITEM_0013",
"name": "Arrow - Copy",
"description": "",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 999,
"projectile": true,
"projectile_min_damage": 1,
"projectile_max_damage": 4,
"projectile_speed": 75,
"projectile_min_range": 0,
"projectile_max_range": 8,
"projectile_sound": "Bow.wav",
"object": "Arrow",
"view_model_object": "Arrow",
"cost": 5,
"image": "Arrow.png",
"usable": false
},
{
"id": "ITEM_0014",
"name": "Bow - Copy",
"description": "",
"tags": ["B"],
"properties": {},
"stackable": false,
"equippable": true,
"effects": [{"amount":0,"stat":"attack","type":"stat_boost"}],
"weapon": true,
"weapon_type": "ranged",
"weapon_sound": "Bow.wav",
"weapon_min_damage": 1,
"weapon_max_damage": 3,
"weapon_consumption_type": "ammo_item_by_id",
"weapon_ammo_item_ids": ["ITEM_0002"],
"weapon_projectile_speed": 75,
"weapon_min_range": 0,
"weapon_max_range": 4,
"image": "Bow1.png",
"usable": false
},
{
"id": "ITEM_0015",
"name": "Beer - Copy",
"description": "+5HP +2ATK",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 15,
"image": "Beer.png",
"usable": true,
"num_of_uses": 1,
"script": "Beer"
},
{
"id": "ITEM_0016",
"name": "Bread - Copy",
"description": "+7HP",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 10,
"image": "Bread.png",
"usable": true,
"num_of_uses": 1,
"script": "FOOD 7"
},
{
"id": "ITEM_0017",
"name": "Mana fruit - Copy",
"description": "+2MAX mana",
"tags": [],
"properties": {},
"stackable": true,
"stack_limit": 99,
"cost": 30,
"image": "MPF.png",
"usable": true,
"num_of_uses": 1,
"script": "SMPF"
},
{
"id": "ITEM_0018",
"name": "Fire Ball Scroll - Copy",
"description": "Deals 5 Damage and burns the target slightly. Cost 2MP",
"tags": [],
"properties": {},
"stackable": false,
"cost": 30,
"image": "Scroll.png",
"usable": true,
"num_of_uses": 1,
"script": "Fire fire fire"
}
],
"localized": false
}
: