fix: Codegens trappable containers (#973)

Splits out trappable container so the logic is easier to expand.
Changes trappable containers to be code genned.
This commit is contained in:
Kamron Batman 2022-03-26 21:15:15 -07:00 • committed by GitHub
parent 81cafa0753
commit 2f6a0fad3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 234 additions and 228 deletions

View file

@ -0,0 +1,27 @@
{
"version": 3,
"type": "Server.Items.TrappableContainer",
"properties": [
{
"name": "TrapLevel",
"type": "int",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
""
]
},
{
"name": "TrapPower",
"type": "int",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
""
]
},
{
"name": "TrapType",
"type": "Server.Items.TrapType",
"rule": "EnumMigrationRule"
}
]
}