<aside> 📦
DTADD.acs
</aside>
<aside> âš¡ int DefineAssistItem(str itemTag, str itemActor, str itemIcon, int itemAmount, int itemGroup, int itemMap)
</aside>
This function adds a new assist item to the internal list of assist items used for map randomization.
itemTag: String - The item's language tag, or its proper name (Ex. "TAG_EDDIE" or "Eddie")itemActor: String - The actor's class name. (Ex. "EddieSummon")itemIcon: String - The icon's spawn sprite. (Ex. "WEAPQ0")itemAmount: Int - How many are obtained upon pickup?itemGroup: Int - The item's group, used for determining if an item can be replaced with another. Accepted values include:
DTADD_GRP_JUMP: Vertical boost items such as Rush CoilDTADD_GRP_DASH: Horizontal boost items such as Item-2DTADD_GRP_FLIGHT: Flight items or items with extreme mobilityDTADD_GRP_WEAPON: Items that augment the weapon such as Beat SupportDTADD_GRP_GIFT: Items that give you some other item such as Eddie SummonDTADD_GRP_ATTACK: Attack summons such as TangoDTADD_GRP_ESCAPE: On-demand escapes such as Exit UnitDTADD_GRP_HEAL: Items that heal such as E TanksDTADD_GRP_RELOAD: Items that give ammo such as W TanksDTADD_GRP_FULLRESTORE: Items that restore both such as M TanksDTADD_GRP_PASSIVE: Items that give some passive effect such as Energy BalanceritemMap: Bool - Can you pick this item up from maps?This is a block of code that would add Wire Adaptor to the list of assist items, assuming that it did not already exist which it does already in base MM8BDM.
Script "wire_itemdef" OPEN {
DefineAssistItem("TAG_WIREADAPTOR", "WireAdaptor", "WADPA0", 2, DTADD_GRP_FLIGHT, true);
}