Multiple Floor Damage Types

Found this script by Kio Kurashi and added more to it for the request that was made on another site here

Damage for more types of floors v1.1
Kio Kurashi
Introduction

Allows you to specify different damage amounts for different tiles.

Features
Original script just specified how much damage was to be received when walking on that tile.
I modified it so that the damage will repeat when standing on the same tile without moving.
Effectively making the script a continuous floor damage script

How to Use
Place script below materials and above main.
Configure in the script your terrain tags and damage amounts.
Go into you tilesets and set the damage floor tile and terrain tags, matching what you configured in the script.
This script will check every map not just specific maps so repeating the terrain tags for
non floor damage tiles will cause them to be damage tiles.

Included is a switch that when turned on will stop the continuous damage effect.
(if you know how you can swap this so that it only works when the switch is on)
You also can specify the time interval for when the damage will reoccur. 60 = 1 second

Script
Spoiler: Multiple Floor Damage Types v1.2

Credit and Thanks
- Kio Kurashi

Terms of use
None Specified and script was provided in an open capacity so,
Free for commercial and non commercial with credit

Original thread: https://forums.rpgmakerweb.com/threads/multiple-floor-damage-types.124395/