Import types

This commit is contained in:
TheThomaas 2026-10-04 18:00:34 +02:00
parent 1f69c1ae7a
commit 6b5b806421
19 changed files with 313 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://d3uovn5djn3l6"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_8wbhe"]
[resource]
script = ExtResource("1_8wbhe")
id = 7
api_name = "bug"
names = {
"en": "Bug",
"fr": "Insecte"
}
double_damage_to = PackedStringArray("grass", "psychic", "dark")
double_damage_from = PackedStringArray("flying", "rock", "fire")
half_damage_to = PackedStringArray("fighting", "flying", "poison", "ghost", "steel", "fire", "fairy")
half_damage_from = PackedStringArray("fighting", "ground", "grass")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://b2sb3nhxn8d1l"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_tlexb"]
[resource]
script = ExtResource("1_tlexb")
id = 17
api_name = "dark"
names = {
"en": "Dark",
"fr": "Ténèbres"
}
double_damage_to = PackedStringArray("ghost", "psychic")
double_damage_from = PackedStringArray("fighting", "bug", "fairy")
half_damage_to = PackedStringArray("fighting", "dark", "fairy")
half_damage_from = PackedStringArray("ghost", "dark")
no_damage_from = PackedStringArray("psychic")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://u4rrh24n7lqm"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_chj47"]
[resource]
script = ExtResource("1_chj47")
id = 16
api_name = "dragon"
names = {
"en": "Dragon",
"fr": "Dragon"
}
double_damage_to = PackedStringArray("dragon")
double_damage_from = PackedStringArray("ice", "dragon", "fairy")
half_damage_to = PackedStringArray("steel")
half_damage_from = PackedStringArray("fire", "water", "grass", "electric")
no_damage_to = PackedStringArray("fairy")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://draumci2vnncj"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_mnrbx"]
[resource]
script = ExtResource("1_mnrbx")
id = 13
api_name = "electric"
names = {
"en": "Electric",
"fr": "Électrik"
}
double_damage_to = PackedStringArray("flying", "water")
double_damage_from = PackedStringArray("ground")
half_damage_to = PackedStringArray("grass", "electric", "dragon")
half_damage_from = PackedStringArray("flying", "steel", "electric")
no_damage_to = PackedStringArray("ground")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://debvgvltea8hm"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_1b80q"]
[resource]
script = ExtResource("1_1b80q")
id = 18
api_name = "fairy"
names = {
"en": "Fairy",
"fr": "Fée"
}
double_damage_to = PackedStringArray("fighting", "dragon", "dark")
double_damage_from = PackedStringArray("poison", "steel")
half_damage_to = PackedStringArray("poison", "steel", "fire")
half_damage_from = PackedStringArray("fighting", "bug", "dark")
no_damage_from = PackedStringArray("dragon")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://ckowsokijet6w"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_fv5ey"]
[resource]
script = ExtResource("1_fv5ey")
id = 2
api_name = "fighting"
names = {
"en": "Fighting",
"fr": "Combat"
}
double_damage_to = PackedStringArray("normal", "rock", "steel", "ice", "dark")
double_damage_from = PackedStringArray("flying", "psychic", "fairy")
half_damage_to = PackedStringArray("flying", "poison", "bug", "psychic", "fairy")
half_damage_from = PackedStringArray("rock", "bug", "dark")
no_damage_to = PackedStringArray("ghost")

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://vk85e2tuws4i"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_lb67i"]
[resource]
script = ExtResource("1_lb67i")
id = 10
api_name = "fire"
names = {
"en": "Fire",
"fr": "Feu"
}
double_damage_to = PackedStringArray("bug", "steel", "grass", "ice")
double_damage_from = PackedStringArray("ground", "rock", "water")
half_damage_to = PackedStringArray("rock", "fire", "water", "dragon")
half_damage_from = PackedStringArray("bug", "steel", "fire", "grass", "ice", "fairy")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://2dhffius523d"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_so48h"]
[resource]
script = ExtResource("1_so48h")
id = 3
api_name = "flying"
names = {
"en": "Flying",
"fr": "Vol"
}
double_damage_to = PackedStringArray("fighting", "bug", "grass")
double_damage_from = PackedStringArray("rock", "electric", "ice")
half_damage_to = PackedStringArray("rock", "steel", "electric")
half_damage_from = PackedStringArray("fighting", "bug", "grass")
no_damage_from = PackedStringArray("ground")

View file

@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://bj8dhmiy87bh1"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_c51j8"]
[resource]
script = ExtResource("1_c51j8")
id = 8
api_name = "ghost"
names = {
"en": "Ghost",
"fr": "Spectre"
}
double_damage_to = PackedStringArray("ghost", "psychic")
double_damage_from = PackedStringArray("ghost", "dark")
half_damage_to = PackedStringArray("dark")
half_damage_from = PackedStringArray("poison", "bug")
no_damage_to = PackedStringArray("normal")
no_damage_from = PackedStringArray("normal", "fighting")

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://b5innmgrb00rn"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_yt746"]
[resource]
script = ExtResource("1_yt746")
id = 12
api_name = "grass"
names = {
"en": "Grass",
"fr": "Plante"
}
double_damage_to = PackedStringArray("ground", "rock", "water")
double_damage_from = PackedStringArray("flying", "poison", "bug", "fire", "ice")
half_damage_to = PackedStringArray("flying", "poison", "bug", "steel", "fire", "grass", "dragon")
half_damage_from = PackedStringArray("ground", "water", "grass", "electric")

View file

@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://bvpfkfet7mv1p"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_7v6hs"]
[resource]
script = ExtResource("1_7v6hs")
id = 5
api_name = "ground"
names = {
"en": "Ground",
"fr": "Sol"
}
double_damage_to = PackedStringArray("poison", "rock", "steel", "fire", "electric")
double_damage_from = PackedStringArray("water", "grass", "ice")
half_damage_to = PackedStringArray("bug", "grass")
half_damage_from = PackedStringArray("poison", "rock")
no_damage_to = PackedStringArray("flying")
no_damage_from = PackedStringArray("electric")

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://da6f3qls2m42d"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_6xv3d"]
[resource]
script = ExtResource("1_6xv3d")
id = 15
api_name = "ice"
names = {
"en": "Ice",
"fr": "Glace"
}
double_damage_to = PackedStringArray("flying", "ground", "grass", "dragon")
double_damage_from = PackedStringArray("fighting", "rock", "steel", "fire")
half_damage_to = PackedStringArray("steel", "fire", "water", "ice")
half_damage_from = PackedStringArray("ice")

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://740lvgqky188"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_dqqm2"]
[resource]
script = ExtResource("1_dqqm2")
id = 1
api_name = "normal"
names = {
"en": "Normal",
"fr": "Normal"
}
double_damage_from = PackedStringArray("fighting")
half_damage_to = PackedStringArray("rock", "steel")
no_damage_to = PackedStringArray("ghost")
no_damage_from = PackedStringArray("ghost")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://qxfeuyf5roo"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_48den"]
[resource]
script = ExtResource("1_48den")
id = 4
api_name = "poison"
names = {
"en": "Poison",
"fr": "Poison"
}
double_damage_to = PackedStringArray("grass", "fairy")
double_damage_from = PackedStringArray("ground", "psychic")
half_damage_to = PackedStringArray("poison", "ground", "rock", "ghost")
half_damage_from = PackedStringArray("fighting", "poison", "bug", "grass", "fairy")
no_damage_to = PackedStringArray("steel")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://bcx8ydecx1nfi"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_xmk0t"]
[resource]
script = ExtResource("1_xmk0t")
id = 14
api_name = "psychic"
names = {
"en": "Psychic",
"fr": "Psy"
}
double_damage_to = PackedStringArray("fighting", "poison")
double_damage_from = PackedStringArray("bug", "ghost", "dark")
half_damage_to = PackedStringArray("steel", "psychic")
half_damage_from = PackedStringArray("fighting", "psychic")
no_damage_to = PackedStringArray("dark")

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://c5obtgyqgr7jw"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_lb2ci"]
[resource]
script = ExtResource("1_lb2ci")
id = 6
api_name = "rock"
names = {
"en": "Rock",
"fr": "Roche"
}
double_damage_to = PackedStringArray("flying", "bug", "fire", "ice")
double_damage_from = PackedStringArray("fighting", "ground", "steel", "water", "grass")
half_damage_to = PackedStringArray("fighting", "ground", "steel")
half_damage_from = PackedStringArray("normal", "flying", "poison", "fire")

View file

@ -0,0 +1,17 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://b1ht154c5tfyp"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_xgt8n"]
[resource]
script = ExtResource("1_xgt8n")
id = 9
api_name = "steel"
names = {
"en": "Steel",
"fr": "Acier"
}
double_damage_to = PackedStringArray("rock", "ice", "fairy")
double_damage_from = PackedStringArray("fighting", "ground", "fire")
half_damage_to = PackedStringArray("steel", "fire", "water", "electric")
half_damage_from = PackedStringArray("normal", "flying", "rock", "bug", "steel", "grass", "psychic", "ice", "dragon", "fairy")
no_damage_from = PackedStringArray("poison")

View file

@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://dmkjvnhd122mk"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_dw5nx"]
[resource]
script = ExtResource("1_dw5nx")
id = 19
api_name = "stellar"
names = {
"en": "Stellar",
"fr": "Stellaire"
}

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="TypeData" format=3 uid="uid://bjto6jcyuw62m"]
[ext_resource type="Script" uid="uid://cvvmd5x42xk8n" path="res://addons/pokeapi_importer/data/type_data.gd" id="1_i1epf"]
[resource]
script = ExtResource("1_i1epf")
id = 11
api_name = "water"
names = {
"en": "Water",
"fr": "Eau"
}
double_damage_to = PackedStringArray("ground", "rock", "fire")
double_damage_from = PackedStringArray("grass", "electric")
half_damage_to = PackedStringArray("water", "grass", "dragon")
half_damage_from = PackedStringArray("steel", "fire", "water", "ice")