test-nodes: Adds tests for checking some nodes: consumables, materials, projectiles, throwables and weapons.
Lightning projectile is special, since its image is under "scrolls/" (originally specified in "items/misc/lightning.lua").
Fix crash when trying to use lightning scroll.
Resolve issues with scrolls
test-nodes: Refactor check*
Merge branch 'master' into test-nodes

* master: (78 commits)
  Acquire messages all have colours now
  Fix enemy flashing on high frequency attacks
  Fix trampoline blur
  Change tabs to 2 spaces
  Check for player existence to fix tests
  Really fix player states this time
  Fix player states in dialog and chest spawns
  new collisions: falling acorns fix
  new collisions: baseball tweak
  Don't interpret any keypresses if player is dead
  new collisions: fix to baseball, snowmen, moving platforms
  Remove the last remains of smart spawntype
  Remove dialogs and prompts on player death
  Create player die function
  Remove obsolete gameover.lua
  Chest spawn animation
  new collisions: village-forest-2 and small baseball update
  new collisions: redo special tiles and fix spiders
  village treeline ladders
  ladders and droppable platforms
  level platform tweaks
  Align zippy sprite to base and match dimensions
  Reset player x velocity when they freeze
  new_collisions: more level tweaks/fixes
  other level fixes
  greendale fixes 2
  update to half tile fix
  greendale fixes 1
  fix to half height blocks
  fix to 2.5D
  fix platform issues
  new_collisions: various fixes/tweaks
  new collisions: fix bat and update winterwonderland ladders
  new_collisions: fix inventory drop after master merge
  new_collisions: remove redundant code in projectile.lua
  Fix some broken tests
  new_collisions: fix tests and revert town to regular
  new_collisions: no more stuttering down slopes
  Burn Buildings Fix
  various tile fixes
  new_collisions: re-add airplane
  new collisions: partial tiles
  Update tilesets and collision levels take 2
  new_collisions: vents offset fix, gay island fix
  new_collisions: level tweaking
  new_collisions: quick fix for all levels
  new collisions: some level fixes, wip: half tiles
  new_collisions: more cleaning, adding bboxs
  new collisions: various fixes
  new collisions: assorted fixes
  ...

Conflicts:
	src/inventory.lua
	src/items/item.lua
Merge pull request #2232 from AlfonZ42/test-nodes

Test loading some kinds of nodes