Minor additions
This commit is contained in:
parent
104b638ee6
commit
80df686805
32
Assets/Resources/Items/BleedingSword.asset
Normal file
32
Assets/Resources/Items/BleedingSword.asset
Normal file
@ -0,0 +1,32 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
|
||||
m_Name: BleedingSword
|
||||
m_EditorClassIdentifier:
|
||||
id: 0
|
||||
name: BleedingSword
|
||||
description: Sword made from the blood of your enemies
|
||||
level: 0
|
||||
value: 3
|
||||
image: {fileID: 7296131321258663700, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
itemModel: {fileID: 5830507499881365574, guid: 690a7b48bf05f774b9db15ce3565605c, type: 3}
|
||||
price: 120
|
||||
useEffect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
StrengthBonus: 8
|
||||
EnduranceBonus: 0
|
||||
VitalityBonus: 0
|
||||
InteligenceBonus: 0
|
||||
SpeedBonus: 0
|
||||
isStackable: 0
|
||||
EquipmentType: 5
|
8
Assets/Resources/Items/BleedingSword.asset.meta
Normal file
8
Assets/Resources/Items/BleedingSword.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f8335046aa0e9e4f860fb08bad905f7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
84
Assets/Resources/Items/BleedingSword.prefab
Normal file
84
Assets/Resources/Items/BleedingSword.prefab
Normal file
@ -0,0 +1,84 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &5830507499881365574
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1256896014575454821}
|
||||
- component: {fileID: 1461611796645424848}
|
||||
m_Layer: 0
|
||||
m_Name: BleedingSword
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1256896014575454821
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5830507499881365574}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 8.154862, y: -3.987011, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &1461611796645424848
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5830507499881365574}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 3
|
||||
m_Sprite: {fileID: 7296131321258663700, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
7
Assets/Resources/Items/BleedingSword.prefab.meta
Normal file
7
Assets/Resources/Items/BleedingSword.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 690a7b48bf05f774b9db15ce3565605c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -16,7 +16,7 @@ MonoBehaviour:
|
||||
name: Golden Sword
|
||||
description: The most powerful sword ever made
|
||||
level: 0
|
||||
value: 0
|
||||
value: 1
|
||||
image: {fileID: -8999859454926596933, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
itemModel: {fileID: 2790164493770909838, guid: 2559f5cba4d858f4580ccce3904a047b, type: 3}
|
||||
price: 100
|
||||
|
@ -24,7 +24,7 @@ MonoBehaviour:
|
||||
useEffect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
StrengthBonus: 3
|
||||
StrengthBonus: 5
|
||||
EnduranceBonus: 0
|
||||
VitalityBonus: 0
|
||||
InteligenceBonus: 0
|
||||
|
@ -19,7 +19,7 @@ MonoBehaviour:
|
||||
value: 3
|
||||
image: {fileID: 1389849888674057003, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
itemModel: {fileID: 3310224593960103282, guid: a4d5dfca7c95e0242a086b8920a0c550, type: 3}
|
||||
price: 70
|
||||
price: 90
|
||||
useEffect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
|
@ -97,7 +97,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
item: {fileID: 11400000, guid: e2b2ed01bfff8e0468e4ef5207b50a60, type: 2}
|
||||
itemName: ScrollOfDarknes
|
||||
itemName: ScrollOfDarkness
|
||||
triggered: 0
|
||||
isPicked: 0
|
||||
HandleIndexInScelenObjectList: 0
|
||||
|
32
Assets/Resources/Items/SteelSword.asset
Normal file
32
Assets/Resources/Items/SteelSword.asset
Normal file
@ -0,0 +1,32 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
|
||||
m_Name: SteelSword
|
||||
m_EditorClassIdentifier:
|
||||
id: 0
|
||||
name: Steel Sword
|
||||
description: Normal, good, steel sword.
|
||||
level: 0
|
||||
value: 2
|
||||
image: {fileID: -8646935460526470913, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
itemModel: {fileID: 6473326822370538339, guid: 700ef656e302434459e3634e8f232bfb, type: 3}
|
||||
price: 60
|
||||
useEffect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
StrengthBonus: 2
|
||||
EnduranceBonus: 0
|
||||
VitalityBonus: 0
|
||||
InteligenceBonus: 0
|
||||
SpeedBonus: 0
|
||||
isStackable: 0
|
||||
EquipmentType: 5
|
8
Assets/Resources/Items/SteelSword.asset.meta
Normal file
8
Assets/Resources/Items/SteelSword.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4818460acc33d384caa8775818d962a2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
84
Assets/Resources/Items/SteelSword.prefab
Normal file
84
Assets/Resources/Items/SteelSword.prefab
Normal file
@ -0,0 +1,84 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &6473326822370538339
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4067852157387036804}
|
||||
- component: {fileID: 7024767136754657114}
|
||||
m_Layer: 0
|
||||
m_Name: SteelSword
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4067852157387036804
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6473326822370538339}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 9.23964, y: -0.9865416, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &7024767136754657114
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6473326822370538339}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 3
|
||||
m_Sprite: {fileID: -8646935460526470913, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
7
Assets/Resources/Items/SteelSword.prefab.meta
Normal file
7
Assets/Resources/Items/SteelSword.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 700ef656e302434459e3634e8f232bfb
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -17,7 +17,7 @@ MonoBehaviour:
|
||||
description: This Amulet gives one the power of Water
|
||||
level: 0
|
||||
value: 0
|
||||
image: {fileID: 0}
|
||||
image: {fileID: 3056869423434569188, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
|
||||
itemModel: {fileID: 8077255044395745669, guid: 5746269b822b8754a8ac1a3a41ff324d, type: 3}
|
||||
price: 140
|
||||
useEffect:
|
||||
|
@ -47400,6 +47400,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: OutsideWizardsHouse
|
||||
respawnCoords: {x: 165, y: -5.5, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &316324891
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -258634,19 +258635,23 @@ MonoBehaviour:
|
||||
shopModel:
|
||||
Content:
|
||||
- Key: 20
|
||||
Value: {fileID: 11400000, guid: 56c5c2b6450ca9e44bae4cf253354d38, type: 2}
|
||||
Value: {fileID: 11400000, guid: e76017225f130f3459860a42d4169494, type: 2}
|
||||
- Key: 1
|
||||
Value: {fileID: 11400000, guid: 4f8478425616c404f99961d36941d30c, type: 2}
|
||||
- Key: 16
|
||||
- Key: 6
|
||||
Value: {fileID: 11400000, guid: 43fcc69d78c8c3847bbedde817f35b45, type: 2}
|
||||
- Key: 3
|
||||
Value: {fileID: 11400000, guid: 414cc7af49ae5914a95e2c334a55af99, type: 2}
|
||||
- Key: 10
|
||||
Value: {fileID: 11400000, guid: 54f1e69d5ede2d74eb4f3f95cdb7e20a, type: 2}
|
||||
Value: {fileID: 11400000, guid: 56c5c2b6450ca9e44bae4cf253354d38, type: 2}
|
||||
- Key: 5
|
||||
Value: {fileID: 11400000, guid: c96390ceb0786494db5919aaad6a06be, type: 2}
|
||||
- Key: 13
|
||||
Value: {fileID: 11400000, guid: 5e28ddfc23a61b842bb3007b766d1649, type: 2}
|
||||
- Key: 23
|
||||
Value: {fileID: 11400000, guid: 74bb221206536b94caf425820b9d626d, type: 2}
|
||||
- Key: 28
|
||||
Value: {fileID: 11400000, guid: aa2aa2f5d3647d5468c0323e288324f5, type: 2}
|
||||
--- !u!114 &593922350
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -290774,6 +290779,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: InnVillage
|
||||
respawnCoords: {x: 0.5, y: -3, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &786753383
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -579352,6 +579358,7 @@ MonoBehaviour:
|
||||
SoundsPanel: {fileID: 1776968268}
|
||||
ControlsPanel: {fileID: 1010779221}
|
||||
LanguagePanel: {fileID: 1648926190}
|
||||
keyToSettings: 0
|
||||
--- !u!4 &1792411420
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -580026,6 +580033,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: InnVillage
|
||||
respawnCoords: {x: 0.5, y: -3, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &1800409934
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -607859,6 +607867,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: Pathway
|
||||
respawnCoords: {x: 0, y: 0, z: 10}
|
||||
isEnabled: 1
|
||||
--- !u!50 &2011880779
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -617137,6 +617146,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: Cementary
|
||||
respawnCoords: {x: 0, y: 0, z: 10}
|
||||
isEnabled: 1
|
||||
--- !u!50 &2097667785
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
|
@ -1605,7 +1605,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &228588812
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3544,6 +3544,12 @@ MonoBehaviour:
|
||||
Value: {fileID: 11400000, guid: 5cc7ba6926eaba9458a2713287847799, type: 2}
|
||||
- Key: 4
|
||||
Value: {fileID: 11400000, guid: 5ca5ea8918f15904c8bad3fe9694e5a5, type: 2}
|
||||
- Key: 7
|
||||
Value: {fileID: 11400000, guid: 5ca5ea8918f15904c8bad3fe9694e5a5, type: 2}
|
||||
- Key: 17
|
||||
Value: {fileID: 11400000, guid: b366ff81d4bcf0d4f9633bbbf7ea17df, type: 2}
|
||||
- Key: 21
|
||||
Value: {fileID: 11400000, guid: 5018db07efd330846ab41d3ed70a3c08, type: 2}
|
||||
--- !u!114 &445768719
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -20986,6 +20992,7 @@ MonoBehaviour:
|
||||
SoundsPanel: {fileID: 1820105106}
|
||||
ControlsPanel: {fileID: 630262873}
|
||||
LanguagePanel: {fileID: 1608355680}
|
||||
keyToSettings: 0
|
||||
--- !u!4 &831536787
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -26358,6 +26365,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: FirstVillage
|
||||
respawnCoords: {x: 66.5, y: 11, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &1509181477
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
|
@ -10493,6 +10493,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: FirstVillage
|
||||
respawnCoords: {x: -6, y: -2.5, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &92294486
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -785494,6 +785495,7 @@ GameObject:
|
||||
- component: {fileID: 1675160274}
|
||||
- component: {fileID: 1675160273}
|
||||
- component: {fileID: 1675160275}
|
||||
- component: {fileID: 1675160276}
|
||||
m_Layer: 0
|
||||
m_Name: DoorGateway
|
||||
m_TagString: AnimatedDoorSceneTransition
|
||||
@ -785532,6 +785534,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: WizardHouse
|
||||
respawnCoords: {x: 3.5, y: -13.5, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &1675160269
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -785700,6 +785703,19 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: WizardHouse
|
||||
respawnCoords: {x: 0, y: 0, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!114 &1675160276
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1675160266}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a60d2bf69c4ccc40ae03b215fb36f23, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &1676539860 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 3885155328586034008, guid: cb9f8e3562bc21946990964087ce388f, type: 3}
|
||||
@ -836245,6 +836261,7 @@ MonoBehaviour:
|
||||
SoundsPanel: {fileID: 1087096258}
|
||||
ControlsPanel: {fileID: 496060010}
|
||||
LanguagePanel: {fileID: 1557381315}
|
||||
keyToSettings: 0
|
||||
--- !u!4 &1934872276
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -28007,6 +28007,7 @@ MonoBehaviour:
|
||||
SoundsPanel: {fileID: 422014594}
|
||||
ControlsPanel: {fileID: 984746019}
|
||||
LanguagePanel: {fileID: 224657175}
|
||||
keyToSettings: 0
|
||||
--- !u!4 &972772842
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -32539,6 +32540,7 @@ MonoBehaviour:
|
||||
coords: {x: 0, y: 0, z: 0}
|
||||
nextMapName: OutsideWizardsHouse
|
||||
respawnCoords: {x: 0.5, y: 1, z: 0}
|
||||
isEnabled: 1
|
||||
--- !u!50 &1585128605
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -39429,6 +39431,63 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2109855382}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1001 &2115511153
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3372166038178475857, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ScrollOfDarkness
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 2.6638236
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -8.376754
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6816388368617782066, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
|
||||
--- !u!1 &2116489012
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -9,8 +9,10 @@ public class AnimatedDoorBehaviour : TriggerDoor
|
||||
|
||||
[SerializeField]
|
||||
public Gateway gateway;
|
||||
|
||||
|
||||
[SerializeField]
|
||||
public bool isEnabled = true;
|
||||
|
||||
Animator animator;
|
||||
|
||||
void Awake()
|
||||
|
@ -62,7 +62,12 @@ public class ChangeScene : MonoBehaviour
|
||||
{
|
||||
if(collision.gameObject.tag == "SceneTransition")
|
||||
{
|
||||
if(!collision.gameObject.GetComponent<DoorBehaviour>().isEnabled)
|
||||
if(collision.gameObject.GetComponent<DoorBehaviour>() != null && !collision.gameObject.GetComponent<DoorBehaviour>().isEnabled)
|
||||
{
|
||||
Debug.Log("Door are not enabled");
|
||||
return;
|
||||
}
|
||||
else if (collision.gameObject.GetComponent<AnimatedDoorBehaviour>() != null && !collision.gameObject.GetComponent<AnimatedDoorBehaviour>().isEnabled)
|
||||
{
|
||||
Debug.Log("Door are not enabled");
|
||||
return;
|
||||
|
@ -0,0 +1,17 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9890013e3eb0ea54b90ab8d093688ac6, type: 3}
|
||||
m_Name: Sandstone_Labirynth
|
||||
m_EditorClassIdentifier:
|
||||
Tiles:
|
||||
- {fileID: 11400000, guid: 405db7d55f3264a46b59a41d71c79bbf, type: 2}
|
||||
walkable: 1
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6db0f0f8f858004ca494a83a768432e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
26
Assets/Scripts/REFACTORING/Story/WizardHouse/DoorBlocking.cs
Normal file
26
Assets/Scripts/REFACTORING/Story/WizardHouse/DoorBlocking.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DoorBlocking : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
if (InventoryUIManager.Instance.FindItemInWarehouseByName("ScrollOfDarkness").Count > 0)
|
||||
{
|
||||
Debug.Log("xd");
|
||||
if (gameObject.GetComponent<DoorBehaviour>())
|
||||
gameObject.GetComponent<DoorBehaviour>().isEnabled = false;
|
||||
else if (gameObject.GetComponent<AnimatedDoorBehaviour>())
|
||||
gameObject.GetComponent<AnimatedDoorBehaviour>().isEnabled = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a60d2bf69c4ccc40ae03b215fb36f23
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -62,4 +62,7 @@ EditorBuildSettings:
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Pathway.unity
|
||||
guid: 4d2d2581a36c34345a65bb6b87de5077
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Dungeon.unity
|
||||
guid: b6120123e7d93d84491a51c1d12dc291
|
||||
m_configObjects: {}
|
||||
|
@ -6,35 +6,35 @@ EditorUserSettings:
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedScenePath-0:
|
||||
value: 22424703114646680e0b0227036c791904040c1c25242a312a2c5326ece92021
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-1:
|
||||
value: 22424703114646680e0b0227036c761e1821112620292135633c133af6f9
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-2:
|
||||
value: 22424703114646680e0b0227036c791f04120b3e1b293f7e38271427fb
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-3:
|
||||
value: 22424703114646680e0b0227036c791904040c062d2a2f223427093bc1e1223dacf238e0f323
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-4:
|
||||
value: 22424703114646680e0b0227036c6c151518162e002924393f301327eac3352ee7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-5:
|
||||
value: 22424703114646680e0b0227036c70050204112e291f2f2a2c3b1920caef212be7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-6:
|
||||
value: 22424703114646680e0b0227036c71150130192729686b700e261335ebf23939f6ee39e7a92f31352d1b
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-7:
|
||||
value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-8:
|
||||
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-9:
|
||||
RecentlyUsedScenePath-1:
|
||||
value: 22424703114646680e0b0227036c7c1100123d24383a273e2e2c5326ece92021
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-2:
|
||||
value: 22424703114646680e0b0227036c6f11021f0f2b3566333e243d04
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-3:
|
||||
value: 22424703114646680e0b0227036c791f04120b3e1b293f7e38271427fb
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-4:
|
||||
value: 22424703114646680e0b0227036c761e1821112620292135633c133af6f9
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-5:
|
||||
value: 22424703114646680e0b0227036c791904040c1c25242a312a2c5326ece92021
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-6:
|
||||
value: 22424703114646680e0b0227036c7b0518101d252266333e243d04
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-7:
|
||||
value: 22424703114646680e0b0227036c6c151518162e002924393f301327eac3352ee7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-8:
|
||||
value: 22424703114646680e0b0227036c68190c160a2e042733232867083debf42d
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-9:
|
||||
value: 22424703114646680e0b0227036c70050204112e291f2f2a2c3b1920caef212be7a923e7ee2e26
|
||||
flags: 0
|
||||
vcSharedLogLevel:
|
||||
value: 0d5e400f0650
|
||||
flags: 0
|
||||
|
Loading…
Reference in New Issue
Block a user