WoodChip, the creator of the scenario "The Fate of Emrilia", posted a handy list with the ResourceIDs he knows. In the hopes that this may help others too, I paste this information here. He also got the tip that those IDs can be seen in the resource editor.
--- Resource IDs ---
Fertile Plains: #0000000105800069
Barrens: #00000001058000DF
Wetlands: #00000001058000E0
Dense Vegetation: #000000010580006A
Mountains: #0000000105800092
Coastal Mountains: #00000001058000B1
Cavern Walls Impassable: #0000011000000153
Cavern Walls Passable: #0000011000000154
Water: #0000013D000006AA
Frozen Water: #0000013D000006BB
Blocked Water: #0000013D000006DB
Mountains Impassable: #0000012B0000058D
Lava: #0000010600000055
Temperate: #0000000105800062
Arctic: #0000000105800063
Tropical: #00000001058000DC
Blighted: #00000001058000DD
Subterranean: #00000001058000DE
Water: #0000010400000195
Water Subterranean: #0000010400000696
Volcanic: #0000012F0000157C
Alignment modifiers:
AbsorbCity+100: #0000014E00000103
OpenedBorders+50: #0000014E00000104
MadePeaceFromNeutral+100: #0000014E00000105
MadePeaceFromWar+200: #0000014E00000106
ForgedAlliance+100: #0000014E00000107
ForgedAllianceWithFormerEnemy+100: #0000014E00000108
EliminatedEvilPlayer+400: #0000014E00000109
LetGuardsGo+50: #0000014E00000129
RebuildCity+150: #0000014E0000012D
KillDedicatedToEvilUnit+(5*tier): #0000014E0000012E
CampaignSpecificEvilAlignment(-800): #0000030D0000000E
CampaignSpecificGoodAlignment(+800): #0000030D0000000F
CivilUnrest-50: #0000014E00000125
MigrateCity-100: #0000014E0000010B
RazedStructure-100: #0000014E00000118
RazedOccupiedCity-150: #0000014E00000121
RazedOwnCity-200: #0000014E00000122
CancelledOpenBorders-100: #0000014E0000011D
DeclaredWarFromNeutral-100: #0000014E0000011E
DeclaredWarFromPeace-200: #0000014E0000011F
BrokeAlliance-100: #0000014E00000120
StartedwarAgainstFormerAlly-100: #0000014E00000123
EliminatedGoodPlayer-400: #0000014E00000124
SlayedGuards-50: #0000014E0000012A
KillDedicatedToEvilUnit-(5*tier): #0000014E0000012F
WarProvocation-100: #0000014E00000130
Happiness modifiers:
Happiness-25: #0000012000000095
Happiness-50: #0000012000000087
Happiness-75: #0000012000000096
Happiness-100: #0000012000000097
Happiness-150: #0000012000000088
Happiness-200: #0000012000000098
RecruitedHero+25 / 5 turns: #0000014E0000001C
FoundCity+50 / 10 turns: #0000014E0000001E
IsThroneCity+50: #0000014E00000026
WonABattle+100 / 5 turns: #0000014E00000019
RichEmpire+100: #0000014E0000001B
VanquishedEnemyLeader+100 / 10 turns: #0000014E0000001F
AddedCityToEmpire+150 / 10 turns: #0000014E0000001A
HeroDied-25 / 5 turns: #0000014E0000003B
LostABattle-100 / 10 turns: #0000014E00000020
LostCity-100 / 10 turns: #0000014E00000021
RazedOwnCity-100 / 10 turns: #0000014E00000037
LeaderDead-100 / 10 turns: #0000014E00000038
LostACityToRebellion-100 / 10 turns: #0000014E00000039
TreasureEmpties-100: #0000014E0000003A
HurryProduction-100 / 5 turns: #0000014E0000003E
MigratedCity-100 / 5 turns: #0000014E00000131
Happiness+20: #0000012000000076
Happiness+30: #0000012000000078
Happiness+40: #000001200000007F
Happiness+50: #0000012000000079
Happiness+60: #0000012000000080
Happiness+70: #0000012000000081
Happiness+75: #0000012000000082
Happiness+80: #00000120000000E3
Happiness+100: #0000012000000083
Happiness+120: #0000012000000084
Happiness+125: #000001200000008E
Happiness+140: #0000012000000085
Happiness+150: #000001200000008F
Happiness+160: #0000012000000086
Happiness+175: #000001200000008D
Happiness+200: #0000012000000089
Happiness+225: #000001200000008A
Happiness+250: #000001200000008B
Happiness+275: #000001200000008C
Happiness+300: #0000012000000091
Happiness+375: #0000012000000092
Happiness+400: #00000120000000A4
Happiness+450: #0000012000000093
Happiness+525: #0000012000000094
LeaderDead-400 Unique: #0000014E00000011
CityPreferredClime+100 Unique: #0000014E000000A5
CityHasHero+100 Unique: #000001200000009E
CityHasLeader+50 Unique: #00000120000000A1
CityPlundering-800 Unique: #0000014E00000017
CityRecoveredRebellion+400: #000001730000000C
Spell ID
Glyphs of warding: #0000012C000000EB
Enchanted walls: #0000013D000004AE
Hallowed domain: #0000011A0000001D
Thorhedge walls: #0000013D00000473
Poison domain: #0000011A0000112D
Poison domain spell: #0000011A00001131
Night Wish: #0000011A0000083F
Corrupt the Source: #0000033A000007F3
Animate Ruins: #0000032F000002EF
Insect Plague: #0000012C000001A5
City Quake: #0000014D00000396
Dread Omen: #0000014D00000261
Wrath of God: #0000011B000005CB
Glyphs of warding: #0000014D00000252
Enchanted walls: #0000013D000004B0
Age of Magic: #0000014D00000112
Hallowed domain: #0000014D0000015A
Armageddon: #0000014D0000016C
The Great Purge: #0000014D0000015C
Global Assault: #0000014D000000DF
Thorhedge walls: #0000013D00000475
Poison domain: #0000011A00001131
The Wild Hunt: #0000011A00001148
The Great Mobilization: #0000014D000001E2
Dragon Oil: #0000013D0000048A
Age of Death: #0000032F0000035F
Damnation: #0000032F00000358
Power Ritual: #0000032F00000343
Age of Deception: #0000014D00000206
Anti Magic Field Skill: #0000014D00000294
Anti Magic Field Spell: #0000014D00000296
Rotten Wall Skill: #0000032F0000032D
Rotten Wall Spell: #0000032F0000032F
Forge Blast spell: #0000012C00000248
Incite Revolt skill: #0000011A0000060C
Incite Revolt spell: #0000011A00000606
Warp Domain skill: #0000032B00000021
Warp Domain spell: #0000032B00000024
Produce Juggernaut Skill ID: #0000011A0000069D
Summon Horned God Skill ID: #0000012C00000055
Summon Horned God Spell ID: #0000012C00000057
Produce Shadow Stalker Skill ID: #0000011A00000588
Scorched Earth Skill ID: #0000013D00000400
Scorched Earth Spell ID: #0000013D00000410
Martial Arts: #0000014D0000020F