Skip to content

Commit

Permalink
gravgen adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
sayterdarkwynd committed Dec 31, 2016
1 parent cc347a0 commit d8a6e71
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"name" : "FrackinUniverse",
"requires" : [],
"steamContentId" : "729480149",
"version" : "4.30.7"
"version" : "4.30.71"
}
4 changes: 3 additions & 1 deletion objects/generic/antigravgenerator/antigravgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ function init(virtual)
end

function update(dt)
isn_projectileAllInRange("antigravgenprojectile",75)
--isn_projectileAllInRange("antigravgenprojectile",75)
local active = 1
physics.setForceEnabled("jumpForce", active)
end
19 changes: 15 additions & 4 deletions objects/generic/antigravgenerator/antigravgen.object
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"printable" : false,
"price" : 1600,
"rarity" : "rare",

"description" : "Produces anti-gravity in a 75 tile radius. Use with caution.",
"objectType" : "physics",
"description" : "Produces anti-gravity in a 30 tile radius. Use with caution.",
"shortdescription" : "^orange;Anti-Grav Generator^white;",
"race" : "generic",
"category" : "crafting",
Expand All @@ -22,7 +22,8 @@
"animationCycle" : 1,

"spaceScan" : 0.1,
"anchors" : [ "bottom" ]
"anchors" : [ "bottom" ],
"metaBoundBox" : [-30, -30, 30, 30]
},
{
"imageLayers" : [ { "image" : "antigravgen.png:<color>.<frame>", "fullbright" : true }, { "image" : "antigravgenlit.png:<color>.<frame>" } ],
Expand All @@ -33,7 +34,8 @@
"animationCycle" : 1,

"spaceScan" : 0.1,
"anchors" : [ "bottom" ]
"anchors" : [ "bottom" ],
"metaBoundBox" : [-30, -30, 30, 30]
}
],

Expand All @@ -59,5 +61,14 @@
"preciseStandPositionLeft" : [-1.0, 0.0],
"preciseStandPositionRight" : [1.0, 0.0],
"maxNpcs" : 1
},

"physicsForces" : {
"jumpForce" : {
"type" : "DirectionalForceRegion",
"rectRegion" : [-50, -50, 50, 50],
"yTargetVelocity" : 3,
"controlForce" : 700
}
}
}
5 changes: 4 additions & 1 deletion objects/generic/gravgenerator/gravgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ function init(virtual)
end

function update(dt)
isn_projectileAllInRange("gravgenprojectile",100)
--isn_projectileAllInRange("gravgenprojectile",100)
local active = 1
physics.setForceEnabled("jumpForce", active)

end
19 changes: 15 additions & 4 deletions objects/generic/gravgenerator/gravgen.object
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"printable" : false,
"price" : 1600,
"rarity" : "rare",

"description" : "Produces gravity in a small radius. Perfect for moon and asteroid bases.",
"objectType" : "physics",
"description" : "Produces gravity in a 30 tile radius. Perfect for moon and asteroid bases, or mining.",
"shortdescription" : "^orange;Gravity Generator^white;",
"race" : "generic",
"category" : "crafting",
Expand All @@ -22,7 +22,8 @@
"animationCycle" : 1,

"spaceScan" : 0.1,
"anchors" : [ "bottom" ]
"anchors" : [ "bottom" ],
"metaBoundBox" : [-30, -30, 30, 30]
},
{
"imageLayers" : [ { "image" : "gravgen.png:<color>.<frame>", "fullbright" : true }, { "image" : "gravgenlit.png:<color>.<frame>" } ],
Expand All @@ -33,7 +34,8 @@
"animationCycle" : 1,

"spaceScan" : 0.1,
"anchors" : [ "bottom" ]
"anchors" : [ "bottom" ],
"metaBoundBox" : [-30, -30, 30, 30]
}
],

Expand All @@ -59,5 +61,14 @@
"preciseStandPositionLeft" : [-1.0, 0.0],
"preciseStandPositionRight" : [1.0, 0.0],
"maxNpcs" : 1
},

"physicsForces" : {
"jumpForce" : {
"type" : "DirectionalForceRegion",
"rectRegion" : [-50, -50, 50, 50],
"yTargetVelocity" : -5,
"controlForce" : 700
}
}
}
2 changes: 1 addition & 1 deletion stats/effects/fu_armoreffects/bonesetbonus2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function init()
{stat = "sulphuricImmunity", amount = 1}
})
else
setBonusInit("fu_boneset", {
setBonusInit("fu_boneset2", {
{stat = "maxHealth", baseMultiplier = 1.0},
{stat = "powerMultiplier", baseMultiplier = 1.0},
{stat = "physicalResistance", baseMultiplier = 1.0},
Expand Down
8 changes: 4 additions & 4 deletions stats/effects/fu_armoreffects/reptilesetbonus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ function init()
setBonusInit("fu_reptileset", {
{stat = "maxHealth", baseMultiplier = 1.1},
{stat = "powerMultiplier", baseMultiplier = 1.1},
{stat = "physicalResistance", baseMultiplier = 1.1}
{stat = "physicalResistance", baseMultiplier = 1.1},
{stat = "sulphuricImmunity", amount = 1},
{stat = "protoImmunity", amount = 1},
{stat = "protoImmunity", amount = 1}
})
else
setBonusInit("fu_reptileset", {
{stat = "maxHealth", baseMultiplier = 1.0},
{stat = "powerMultiplier", baseMultiplier = 1.0},
{stat = "physicalResistance", baseMultiplier = 1.0}
{stat = "physicalResistance", baseMultiplier = 1.0},
{stat = "sulphuricImmunity", amount = 1},
{stat = "protoImmunity", amount = 1},
{stat = "protoImmunity", amount = 1}
})
end
end

0 comments on commit d8a6e71

Please sign in to comment.