Skip to content

Commit

Permalink
fix: replace CoreBlocks, CoreItems and BlockDropGrammar references
Browse files Browse the repository at this point in the history
- replaced by `CoreAdvancedAssets` and `DropGrammar` respectively
  • Loading branch information
jdrueckert committed May 10, 2020
1 parent b90144e commit d05fdf2
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion assets/blocks/explosives/Tnt.block
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"bottom": "CoreAssets:TntBottom"
},
"entity": {
"prefab": "CoreBlocks:TNT"
"prefab": "CoreAdvancedAssets:TNT"
}
}
2 changes: 1 addition & 1 deletion assets/blocks/furnishings/Chest.block
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"topBottom": "CoreAssets:ChestTopBottom"
},
"entity": {
"prefab": "CoreBlocks:chest"
"prefab": "CoreAdvancedAssets:chest"
},
"inventory": {
"stackable": false,
Expand Down
2 changes: 1 addition & 1 deletion assets/blocks/furnishings/Furnace.block
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"topBottom": "CoreAssets:FurnaceTopBottom"
},
"entity": {
"prefab": "CoreBlocks:chest"
"prefab": "CoreAdvancedAssets:chest"
}
}
2 changes: 1 addition & 1 deletion assets/blocks/furnishings/TrunkLeft.block
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* A trunk is interesting for two reasons: they are two blocks wide and are asymmetrical (front texture differs from the sides)
*/
{
"basedOn": "CoreBlocks:Chest",
"basedOn": "CoreAdvancedAssets:Chest",
"attachmentAllowed": false,
"family": "horizontal",
// Graphics
Expand Down
2 changes: 1 addition & 1 deletion assets/blocks/furnishings/TrunkRight.block
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* A trunk is interesting for two reasons: they are two blocks wide and are asymmetrical (front texture differs from the sides)
*/
{
"basedOn": "CoreBlocks:Chest",
"basedOn": "CoreAdvancedAssets:Chest",
"attachmentAllowed": false,
"family": "horizontal",
// Graphics
Expand Down
2 changes: 1 addition & 1 deletion assets/prefabs/explosives/dynamiteBundle.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"ExplosionAction": {
"relativeTo": "Target",
"maxRange": 256,
"damageType": "CoreItems:DestructiveExplosiveDamage"
"damageType": "CoreAdvancedAssets:DestructiveExplosiveDamage"
}
}
2 changes: 1 addition & 1 deletion assets/prefabs/explosives/gun.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"usage": "IN_DIRECTION"
},
"TunnelAction": {
"damageType": "CoreItems:NonDestructiveExplosiveDamage",
"damageType": "CoreAdvancedAssets:NonDestructiveExplosiveDamage",
"maxDestroyedBlocks": 300
},
"PlaySoundAction": {
Expand Down
2 changes: 1 addition & 1 deletion assets/prefabs/explosives/gunImproved.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"usage": "IN_DIRECTION"
},
"TunnelAction": {
"damageType": "CoreItems:DestructiveExplosiveDamage",
"damageType": "CoreAdvancedAssets:DestructiveExplosiveDamage",
"thoroughness": 0.75
},
"PlaySoundAction": {
Expand Down
12 changes: 6 additions & 6 deletions assets/prefabs/furnishings/door.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"usage": "ON_BLOCK"
},
"Door": {
"topBlockFamily": "CoreBlocks:DoorTop",
"bottomBlockFamily": "CoreBlocks:DoorBottom",
"topBlockFamily": "CoreAdvancedAssets:DoorTop",
"bottomBlockFamily": "CoreAdvancedAssets:DoorBottom",
"openSound": "CoreAssets:DoorOpen",
"closeSound": "CoreAssets:DoorClose",
"doorRegionPrefab": "CoreBlocks:doorRegion"
"doorRegionPrefab": "CoreAdvancedAssets:doorRegion"
},
"Health": {
"currentHealth": 5,
Expand All @@ -23,10 +23,10 @@
"waitBeforeRegen": 2,
"destroyEntityOnNoHealth": true
},
"BlockDropGrammar": {
"itemDrops": ["CoreBlocks:door"]
"DropGrammar": {
"itemDrops": ["CoreAdvancedAssets:door"]
},
"ActAsBlock": {
"block": "CoreBlocks:DoorTop"
"block": "CoreAdvancedAssets:DoorTop"
}
}
10 changes: 5 additions & 5 deletions assets/prefabs/furnishings/doorRegion.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "Door"
},
"Door": {
"topBlockFamily": "CoreBlocks:DoorTop",
"bottomBlockFamily": "CoreBlocks:DoorBottom",
"topBlockFamily": "CoreAdvancedAssets:DoorTop",
"bottomBlockFamily": "CoreAdvancedAssets:DoorBottom",
"openSound": "CoreAssets:DoorOpen",
"closeSound": "CoreAssets:DoorClose"
},
Expand All @@ -15,13 +15,13 @@
"waitBeforeRegen": 2,
"destroyEntityOnNoHealth": true
},
"BlockDropGrammar": {
"DropGrammar": {
"itemDrops": [
"CoreBlocks:door"
"CoreAdvancedAssets:door"
]
},
"ActAsBlock": {
"block": "CoreBlocks:DoorTop"
"block": "CoreAdvancedAssets:DoorTop"
},
"Network": {}
}
10 changes: 5 additions & 5 deletions assets/prefabs/furnishings/trunk.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"usage": "ON_BLOCK"
},
"Trunk": {
"leftBlockFamily": "CoreBlocks:TrunkLeft",
"rightBlockFamily": "CoreBlocks:TrunkRight",
"leftBlockFamily": "CoreAdvancedAssets:TrunkLeft",
"rightBlockFamily": "CoreAdvancedAssets:TrunkRight",
"openSound": "CoreAssets:DoorOpen",
"closeSound": "CoreAssets:DoorClose",
"trunkRegionPrefab": "CoreBlocks:trunkRegion"
"trunkRegionPrefab": "CoreAdvancedAssets:trunkRegion"
},
"BlockDropGrammar": {
"itemDrops": ["CoreBlocks:trunk"]
"DropGrammar": {
"itemDrops": ["CoreAdvancedAssets:trunk"]
},
"Network": {
}
Expand Down
6 changes: 3 additions & 3 deletions assets/prefabs/furnishings/trunkRegion.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"waitBeforeRegen": 2,
"destroyEntityOnNoHealth": true
},
"BlockDropGrammar": {
"DropGrammar": {
"itemDrops": [
"CoreBlocks:trunk"
"CoreAdvancedAssets:trunk"
]
},
"ActAsBlock": {
"block": "CoreBlocks:TrunkLeft"
"block": "CoreAdvancedAssets:TrunkLeft"
},
"InventoryAccess": {
"input": {
Expand Down

0 comments on commit d05fdf2

Please sign in to comment.