Skip to content

Commit

Permalink
Added vitality bag for vital and serpent aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
iakona committed Jan 15, 2024
1 parent 87bf0b4 commit 2fa31e6
Show file tree
Hide file tree
Showing 10 changed files with 275 additions and 0 deletions.
65 changes: 65 additions & 0 deletions objects/416644/contained/221dcb/contained/f69972/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"Name": "Custom_Model",
"Transform": {
"posX": 28.8888,
"posY": 1.1639,
"posZ": 115.441,
"rotX": -0.0005,
"rotY": -0.0046,
"rotZ": 0.0008,
"scaleX": 1.4,
"scaleY": 1.4,
"scaleZ": 1.4
},
"Nickname": "Vitality",
"Description": "[b]If no Blight is present, prevents the next Blight[/b] and is then Removed.",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 0.4314,
"g": 0.5255,
"b": 0.0471
},
"Tags": [
"Highlight",
"Label"
],
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": false,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"CustomMesh": {
"MeshURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022119052/FC12535F1B71A344E6A6124CB9F2B4A15DA13C65/",
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022064113/A19B614F0503AC802472375D98DEF627E7A22A22/",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 1,
"TypeIndex": 5,
"CustomShader": {
"SpecularColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"SpecularIntensity": 0.0,
"SpecularSharpness": 2.0,
"FresnelStrength": 0.0
},
"CastShadows": false
}
}
1 change: 1 addition & 0 deletions objects/416644/contained/221dcb/contained/index.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f69972
63 changes: 63 additions & 0 deletions objects/416644/contained/221dcb/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Name": "Custom_Model_Infinite_Bag",
"Transform": {
"posX": 118.3547,
"posY": 2.3126,
"posZ": 91.8082,
"rotX": 0.0,
"rotY": 180.0,
"rotZ": 0.0,
"scaleX": 1.4,
"scaleY": 1.4,
"scaleZ": 1.4
},
"Nickname": "Vitality",
"Description": "Vital Strength of the Earth",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 0.4314,
"g": 0.5255,
"b": 0.0471
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": false,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"MaterialIndex": -1,
"MeshIndex": -1,
"CustomMesh": {
"MeshURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022119052/FC12535F1B71A344E6A6124CB9F2B4A15DA13C65/",
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022064113/A19B614F0503AC802472375D98DEF627E7A22A22/",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 1,
"TypeIndex": 7,
"CustomShader": {
"SpecularColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"SpecularIntensity": 0.0,
"SpecularSharpness": 2.0,
"FresnelStrength": 0.0
},
"CastShadows": false
}
}
9 changes: 9 additions & 0 deletions objects/416644/contained/43249f/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ function doSetup(params)

return true
end

function onDestroy()
for _, obj in pairs(getAllObjects()) do
if obj.getName() == "Vitality" and obj.getDescription() == spiritName then
obj.destruct()
break
end
end
end
1 change: 1 addition & 0 deletions objects/416644/contained/index.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
221dcb
832edc
43249f
9f4e49
Expand Down
65 changes: 65 additions & 0 deletions objects/efad15/contained/461ce0/contained/f69972/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"Name": "Custom_Model",
"Transform": {
"posX": 28.8888,
"posY": 1.1639,
"posZ": 115.441,
"rotX": -0.0005,
"rotY": -0.0046,
"rotZ": 0.0008,
"scaleX": 1.4,
"scaleY": 1.4,
"scaleZ": 1.4
},
"Nickname": "Vitality",
"Description": "[b]If no Blight is present, prevents the next Blight[/b] and is then Removed.",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 0.4314,
"g": 0.5255,
"b": 0.0471
},
"Tags": [
"Highlight",
"Label"
],
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": false,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"CustomMesh": {
"MeshURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022119052/FC12535F1B71A344E6A6124CB9F2B4A15DA13C65/",
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022064113/A19B614F0503AC802472375D98DEF627E7A22A22/",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 1,
"TypeIndex": 5,
"CustomShader": {
"SpecularColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"SpecularIntensity": 0.0,
"SpecularSharpness": 2.0,
"FresnelStrength": 0.0
},
"CastShadows": false
}
}
1 change: 1 addition & 0 deletions objects/efad15/contained/461ce0/contained/index.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f69972
63 changes: 63 additions & 0 deletions objects/efad15/contained/461ce0/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Name": "Custom_Model_Infinite_Bag",
"Transform": {
"posX": 118.8138,
"posY": 2.3126,
"posZ": 89.4113,
"rotX": 0.0,
"rotY": 180.0,
"rotZ": 0.0,
"scaleX": 1.4,
"scaleY": 1.4,
"scaleZ": 1.4
},
"Nickname": "Vitality",
"Description": "Serpent Slumbering Beneath the Island",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 0.4314,
"g": 0.5255,
"b": 0.0471
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": false,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"MaterialIndex": -1,
"MeshIndex": -1,
"CustomMesh": {
"MeshURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022119052/FC12535F1B71A344E6A6124CB9F2B4A15DA13C65/",
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/2252424264022064113/A19B614F0503AC802472375D98DEF627E7A22A22/",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 1,
"TypeIndex": 7,
"CustomShader": {
"SpecularColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"SpecularIntensity": 0.0,
"SpecularSharpness": 2.0,
"FresnelStrength": 0.0
},
"CastShadows": false
}
}
6 changes: 6 additions & 0 deletions objects/efad15/contained/7d65c2/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@ function onDestroy()
break
end
end
for _, obj in pairs(getAllObjects()) do
if obj.getName() == "Vitality" and obj.getDescription() == spiritName then
obj.destruct()
break
end
end
end
1 change: 1 addition & 0 deletions objects/efad15/contained/index.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
461ce0
348cc9
9ad187
89be09
Expand Down

0 comments on commit 2fa31e6

Please sign in to comment.