Skip to content

Commit

Permalink
war angel fix, prototyper fullbright and animation
Browse files Browse the repository at this point in the history
  • Loading branch information
sayterdarkwynd committed Sep 14, 2016
1 parent 5f13a2a commit 3fa0d4d
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 24 deletions.
43 changes: 43 additions & 0 deletions objects/generic/prototyper/prototyper.animation
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"animatedParts" : {
"stateTypes" : {
"prototyperanim" : {
"default" : "idle",
"states" : {
"idle" : {
"frames" : 1
},
"working" : {
"frames" : 6,
"cycle" : 0.5,
"mode" : "loop"
}
}
}
},

"parts" : {
"prototyperanim" : {
"properties" : {
"centered" : false
},

"partStates" : {
"prototyperanim" : {
"idle" : {
"properties" : {
"image" : "<partImage>:default.default"
}
},

"working" : {
"properties" : {
"image" : "<partImage>:default.<frame>"
}
}
}
}
}
}
}
}
26 changes: 18 additions & 8 deletions objects/generic/prototyper/prototyper.object
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,30 @@
"learnBlueprintsOnPickup" : [ "clothingfabricator", "apexpod2", "magneticshielding", "electronmicroscope", "extractionlab", "extractionlab_roof", "nanofabricator", "circuitboard", "basicminer" ],
"radioMessagesOnPickup" : [ "pickupmatterassembler" ],
"inventoryIcon" : "prototypericon.png",

"orientations" : [
{
"imageLayers" : [ { "image" : "prototyper.png:<color>.<frame>", "fullbright" : true }, { "image" : "prototyperlit.png:<color>.<frame>" } ],
"direction" : "left",
"flipImages" : true,

{
"imageLayers" : [ { "image" : "prototyper.png:<color>.<key>" }, { "image" : "prototyper_lit.png:<color>.<key>", "fullbright" : true } ],
"imagePosition" : [0, 0],
"frames" : 7,
"animationCycle" : 3.0,
"animationCycle" : 1.35,
"spaceScan" : 0.1,
"anchors" : [ "bottom" ]
},
{
"imageLayers" : [ { "image" : "prototyper.png:<color>.<frame>", "fullbright" : true }, { "image" : "prototyperlit.png:<color>.<frame>" } ],
"direction" : "right",

"imagePosition" : [0, 0],
"frames" : 7,
"animationCycle" : 1.35,
"spaceScan" : 0.1,
"fgAnchors" : [ [0, -1] ],
"collision" : "platform",
"direction" : "left",
"flipImages" : true
}
"anchors" : [ "bottom" ]
}

],
"scripts" : [ "/scripts/npcToyObject.lua" ],
"npcToy" : {
Expand Down
Binary file modified objects/generic/prototyper/prototyper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed objects/generic/prototyper/prototyper_lit.png
Binary file not shown.
Binary file added objects/generic/prototyper/prototyperlit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions stats/effects/fu_armoreffects/warangelsetbonus.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "/stats/effects/regeneration/lightregen.lua"
callbacks = { { init = init, update = update, uninit = uninit } }


require "/stats/effects/fu_armoreffects/setbonuses_common.lua"

Expand All @@ -22,6 +21,5 @@ function init()
{stat = "powerMultiplier", baseMultiplier = self.powerModifier},
{stat = "grit", amount = 0.75},
{stat = "wetImmunity", amount = 1}
},
callbacks )
})
end
2 changes: 0 additions & 2 deletions stats/effects/fu_armoreffects/warangelsetbonus.statuseffect
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
"warangelsetbonus.lua"
],

"animationConfig" : "/stats/effects/regeneration/lightregen.animation",

"label" : "Superior",
"icon" : "/interface/statuses/impervious.png"
}
24 changes: 14 additions & 10 deletions terrestrial_worlds.config.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5624,7 +5624,7 @@
{
"caveLiquid" : [ "healingliquid" ],
"caveLiquidChanceRange" : [55, 95],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "zen" ]]
]
Expand All @@ -5637,7 +5637,7 @@
{
"caveLiquid" : [ "darkwater", "water" ],
"caveLiquidChanceRange" : [25, 45],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "abandonedmines" ] ]
]
Expand All @@ -5650,7 +5650,7 @@
{
"caveLiquid" : [ "darkwater", "blacktar" ],
"caveLiquidChanceRange" : [25, 45],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "hiveold"] ]
]
Expand All @@ -5663,7 +5663,7 @@
{
"caveLiquid" : [ "blacktar", "water" ],
"caveLiquidChanceRange" : [25, 55],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "shroomcave"]]
]
Expand All @@ -5676,7 +5676,7 @@
{
"caveLiquid" : [ "water" ],
"caveLiquidChanceRange" : [45,65],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "colorfulcave"]]
]
Expand All @@ -5689,7 +5689,7 @@
{
"caveLiquid" : [ "organicsoup", "water" ],
"caveLiquidChanceRange" : [25, 95],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "crystalcave"]]
]
Expand All @@ -5702,7 +5702,7 @@
{
"caveLiquid" : [ "pus", "bio_ooze", "swampwater", "slimeliquid" ],
"caveLiquidChanceRange" : [55, 100],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "ffpoopit"]]
]
Expand All @@ -5715,7 +5715,7 @@
{
"caveLiquid" : [ "organicsoup", "darkwater", "gravrain", "healingliquid", "lava", "poison", "bio_ooze" ],
"caveLiquidChanceRange" : [25, 95],

"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],
"biome" : [
[0, [ "ffcrystalrealm"]]
]
Expand All @@ -5728,9 +5728,13 @@
{
"caveLiquid" : [ "blacktar", "darkwater", "gravrain", "lava", "poison", "bio_ooze" ],
"caveLiquidChanceRange" : [25, 95],


"blockSelector" : [ "remixedSurface", "remixedMildSurface","remixedMountainsSurface", "remixedMegaMountainsSurface", "remixedFlatsSurface" ],
"subBlockSelector" : [ "largeClumps" ],
"fgCaveSelector" : [ "normalCaves", "denseCaves", "moonCaves" ],

"biome" : [
[0, [ "wastelandmini"]]
[0, [ "wastelandmini"] ]
]
}
},
Expand Down

0 comments on commit 3fa0d4d

Please sign in to comment.