v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
17
assets/devel/items/active/unrealair/unrealair.activeitem
Normal file
17
assets/devel/items/active/unrealair/unrealair.activeitem
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"itemName" : "unrealair",
|
||||
"level" : 1,
|
||||
"maxStack" : 1,
|
||||
"rarity" : "legendary",
|
||||
"description" : "Made from a skateboard and a Hella Jeff drawing.",
|
||||
"shortdescription" : "Unreal Air",
|
||||
"tooltipKind" : "base",
|
||||
"twoHanded" : false,
|
||||
|
||||
"inventoryIcon" : "unrealairicon.png",
|
||||
"animation" : "unrealair.animation",
|
||||
"scripts" : ["unrealair.lua"],
|
||||
|
||||
"floatSpeed" : 8,
|
||||
"floatForce" : 70
|
||||
}
|
18
assets/devel/items/active/unrealair/unrealair.animation
Normal file
18
assets/devel/items/active/unrealair/unrealair.animation
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"animatedParts" : {
|
||||
"parts" : {
|
||||
"board" : {
|
||||
"properties" : {
|
||||
"centered" : true,
|
||||
"image" : "unrealair.png",
|
||||
"offset" : [-2.0, -0.125],
|
||||
"rotationGroup" : "board"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"rotationGroups" : {
|
||||
"board" : {}
|
||||
}
|
||||
}
|
14
assets/devel/items/active/unrealair/unrealair.lua
Normal file
14
assets/devel/items/active/unrealair/unrealair.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
function init()
|
||||
animator.rotateGroup("board", 0.6, true)
|
||||
end
|
||||
|
||||
function uninit()
|
||||
|
||||
end
|
||||
|
||||
function update(dt, fireMode, shiftHeld)
|
||||
self.aimAndDir = table.pack(activeItem.aimAngleAndDirection(-1, activeItem.ownerAimPosition()))
|
||||
activeItem.setFacingDirection(self.aimAndDir[2])
|
||||
|
||||
mcontroller.controlApproachYVelocity(config.getParameter("floatSpeed"), config.getParameter("floatForce"))
|
||||
end
|
BIN
assets/devel/items/active/unrealair/unrealair.png
Normal file
BIN
assets/devel/items/active/unrealair/unrealair.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 382 B |
BIN
assets/devel/items/active/unrealair/unrealairicon.png
Normal file
BIN
assets/devel/items/active/unrealair/unrealairicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue