forked from martell-gh/space-prototyper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
16 lines (15 loc) · 1.04 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
COMPONENT_TYPES = ["Empty", "MeleeWeapon", "Tag", "Wieldable", "Clothing", "TilePrying", "Item", "UseDelay",
"PointLight", "Appearance", "Sprite", "EnergySword", "DisarmMalus", "ToggleableLightVisuals"]
COMPONENT_PROPERTIES = [{"MeleeWeapon": ["attackRate", "damage", "soundHit"]},
{"damage": ["types"]},
{"types":["Blunt", "Slash", "Structural"]},
{"soundHit":["path"]},
{"Tag": ["tags"]},
{"UseDelay":["delay"]},
{"PointLight":["netsync", "enabled", "radius", "energy", "color"]},
{"Item":["size", "sprite"]},
{"Sprite":["sprite","layers","color", 'state']},
{"layers":['- state', 'color', 'visible', 'shader', 'map']},
{"EnergySword":['litDamageBonus']},
{"litDamageBonus":['types']},
{"DisarmMalus":["malus"]}]