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
本贴来自国际rpgmaker官方论坛作者:Roninator2处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/multiple-floor-damage-types.124395/