21 lines
832 B
Go
21 lines
832 B
Go
components {
|
|
id: "curse"
|
|
component: "/main/curse.script"
|
|
}
|
|
embedded_components {
|
|
id: "sprite"
|
|
type: "sprite"
|
|
data: "default_animation: \"curse\"\nmaterial: \"/builtins/materials/sprite.material\"\ntextures {\n sampler: \"texture_sampler\"\n texture: \"/main/graphics.atlas\"\n}\n"
|
|
position {
|
|
z: 0.3
|
|
}
|
|
scale {
|
|
x: 0.2
|
|
y: 0.2
|
|
}
|
|
}
|
|
embedded_components {
|
|
id: "collisionobject"
|
|
type: "collisionobject"
|
|
data: "type: COLLISION_OBJECT_TYPE_KINEMATIC\nmass: 0.0\nfriction: 0.1\nrestitution: 0.5\ngroup: \"curse\"\nmask: \"player\"\nmask: \"holding_amulet\"\nembedded_collision_shape {\n shapes {\n shape_type: TYPE_BOX\n position {\n y: 2.0\n }\n rotation {\n }\n index: 0\n count: 3\n id: \"curse_collission\"\n }\n data: 16.666666\n data: 21.43634\n data: 10.0\n}\n"
|
|
}
|