tree tuorial is triggered by tree directly, failed tree validation event added, added new quest to find seed

This commit is contained in:
2025-02-24 20:16:32 +01:00
parent 8af28ebf76
commit 3589429783
8 changed files with 1710 additions and 1363 deletions

View File

@@ -16,5 +16,5 @@ MonoBehaviour:
playmakerVersion:
showWelcomeScreen: 0
showUpgradeGuide: 0
lastAutoUpdateSignature: 6000.0.39f1__G:/PROJEKTY/BEYOND/BeyonGit/Assets__0.0.0.0
lastAutoUpdateSignature: 6000.0.39f1__/Users/marcin/projects/beyondGit/Assets__0.0.0.0
useLegacyNetworking: 0

View File

@@ -0,0 +1,440 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2772554076080626164
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name: HeadingTextQuestContent
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Plant seed in the good soil
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !u!114 &-2365914861369873985
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name: HeadingTextQuestContent
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Find Seeds
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !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: 641a501636ec3644993211c008d9a8a4, type: 3}
m_Name: CH01FindSeed
m_EditorClassIdentifier:
m_isInstance: 0
m_originalAsset: {fileID: 0}
m_fileVersion: 1
m_id:
m_text: CH01FindSeed
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_title:
m_text: Find Seeds
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_icon: {fileID: 0}
m_group:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_labels: []
m_questGiverID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_isTrackable: 1
m_showInTrackHUD: 1
m_isAbandonable: 0
m_rememberIfAbandoned: 0
m_deleteWhenComplete: 0
m_autostartConditionSet:
m_conditionList: []
m_conditionCountMode: 0
m_minConditionCount: 0
m_numTrueConditions: 0
m_offerConditionSet:
m_conditionList: []
m_conditionCountMode: 0
m_minConditionCount: 0
m_numTrueConditions: 0
m_offerConditionsUnmetContentList: []
m_offerContentList: []
m_maxTimes: 1
m_timesAccepted: 0
m_cooldownSeconds: 3600
m_cooldownSecondsRemaining: 0
m_noRepeatIfSuccessful: 0
m_saveAllIfWaitingToStart: 0
m_state: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_counterList: []
m_nodeList:
- m_id:
m_text: Quest-359020.start
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text: Start
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 0
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList: []
m_conditionCountMode: 0
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList: 01000000
m_canvasRect:
serializedVersion: 2
x: 200
y: 20
width: 120
height: 48
- m_id:
m_text: Find Seed
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 4
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList:
- {fileID: 1975784645147080676}
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList:
- {fileID: -2365914861369873985}
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList:
- {fileID: 7424381810368423630}
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList: 02000000
m_canvasRect:
serializedVersion: 2
x: 200
y: 116
width: 120
height: 48
- m_id:
m_text: Plant
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 4
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList:
- {fileID: -2772554076080626164}
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList:
- {fileID: 7591424664974099503}
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList: 03000000
m_canvasRect:
serializedVersion: 2
x: 203
y: 206
width: 120
height: 48
- m_id:
m_text: Success
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 1
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList: []
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList:
m_canvasRect:
serializedVersion: 2
x: 202
y: 336
width: 120
height: 35
m_goalEntityTypeName:
m_nextContentID: 0
--- !u!114 &1975784645147080676
MonoBehaviour:
m_ObjectHideFlags: 1
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: 6b99cc2a156c22e46b4fb74b06a4d1e8, type: 3}
m_Name: AlertQuestAction
m_EditorClassIdentifier:
m_contentList:
- {fileID: 4005861958694415728}
m_contentListSerializationProxy: []
--- !u!114 &4005861958694415728
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name: HeadingTextQuestContent
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Find Seeds
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !u!114 &7424381810368423630
MonoBehaviour:
m_ObjectHideFlags: 1
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: 5682394e55a192147a020b9edf624e51, type: 3}
m_Name: MessageQuestCondition
m_EditorClassIdentifier:
m_alreadyTrue: 0
m_senderSpecifier: 0
m_senderID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_targetSpecifier: 0
m_targetID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_message:
m_text: Seeds
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_parameter:
m_text: Found
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_value:
m_valueType: 0
m_intValue: 0
m_stringValue:
--- !u!114 &7591424664974099503
MonoBehaviour:
m_ObjectHideFlags: 1
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: 5682394e55a192147a020b9edf624e51, type: 3}
m_Name: MessageQuestCondition
m_EditorClassIdentifier:
m_alreadyTrue: 0
m_senderSpecifier: 0
m_senderID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_targetSpecifier: 0
m_targetID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_message:
m_text: TreeOfJustice
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_parameter:
m_text: Planted
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_value:
m_valueType: 0
m_intValue: 0
m_stringValue:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 81684a7c39cc54450bc167e203dda4c0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +1,143 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-7140101473831516240
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Follow the Ancient Path.
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !u!114 &-6315871691196920026
MonoBehaviour:
m_ObjectHideFlags: 1
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: 5682394e55a192147a020b9edf624e51, type: 3}
m_Name:
m_EditorClassIdentifier:
m_alreadyTrue: 0
m_senderSpecifier: 0
m_senderID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_targetSpecifier: 0
m_targetID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_message:
m_text: Mechanism
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_parameter:
m_text: Found
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_value:
m_valueType: 0
m_intValue: 0
m_stringValue:
--- !u!114 &-5677736433535961500
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Explore the Wasteland to find a way to open the gate
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !u!114 &-3856706510345368141
MonoBehaviour:
m_ObjectHideFlags: 1
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_contentID: -1
m_useQuestTitle: 0
m_headingText:
m_text: Follow the Ancient Path.
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_headingLevel: 1
--- !u!114 &-498264784325874142
MonoBehaviour:
m_ObjectHideFlags: 1
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: 5682394e55a192147a020b9edf624e51, type: 3}
m_Name:
m_EditorClassIdentifier:
m_alreadyTrue: 0
m_senderSpecifier: 0
m_senderID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_targetSpecifier: 0
m_targetID:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_message:
m_text: Gate
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_parameter:
m_text: Reached
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_value:
m_valueType: 0
m_intValue: 0
m_stringValue:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -14,14 +152,14 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_isInstance: 0
m_originalAsset: {fileID: 0}
m_fileVersion: 0
m_fileVersion: 1
m_id:
m_text: Quest-187694
m_text: CH01Main
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_title:
m_text: Quest -187694
m_text: Follow the Ancient Path
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
@@ -112,18 +250,205 @@ MonoBehaviour:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList: []
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList: []
m_conditionCountMode: 0
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList:
m_childIndexList: 01000000
m_canvasRect:
serializedVersion: 2
x: 200
y: 20
width: 120
height: 48
- m_id:
m_text: findTheGate
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 4
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList:
- {fileID: 7297874940031378794}
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList:
- {fileID: -7140101473831516240}
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList:
- {fileID: -498264784325874142}
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList: 02000000
m_canvasRect:
serializedVersion: 2
x: 203.35703
y: 108.39307
width: 120
height: 48
- m_id:
m_text: findLockMech
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 4
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList:
- {fileID: 610231898396436177}
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList:
- {fileID: -5677736433535961500}
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList:
- {fileID: -6315871691196920026}
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList: 03000000
m_canvasRect:
serializedVersion: 2
x: 204.31625
y: 202.39778
width: 120
height: 48
- m_id:
m_text: Success
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_internalName:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_nodeType: 1
m_isOptional: 0
m_state: 0
m_speaker:
m_text:
m_stringAsset: {fileID: 0}
m_textTable: {fileID: 0}
m_textTableFieldID: 0
m_stateInfoList:
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
- m_actionList: []
m_categorizedContentList:
- m_contentList: []
- m_contentList: []
- m_contentList: []
m_conditionSet:
m_conditionList: []
m_conditionCountMode: 1
m_minConditionCount: 0
m_numTrueConditions: 0
m_childIndexList:
m_canvasRect:
serializedVersion: 2
x: 217.46768
y: 474.52997
width: 120
height: 35
m_goalEntityTypeName:
m_nextContentID: 0
--- !u!114 &610231898396436177
MonoBehaviour:
m_ObjectHideFlags: 1
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: c94e8fb3b9b54114cbe8185003729c1b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_guid: 3a621e45-dcb0-4530-8aa5-c87bdec64013
--- !u!114 &7297874940031378794
MonoBehaviour:
m_ObjectHideFlags: 1
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: 6b99cc2a156c22e46b4fb74b06a4d1e8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_contentList:
- {fileID: -3856706510345368141}
m_contentListSerializationProxy: []

File diff suppressed because it is too large Load Diff

View File

@@ -9,8 +9,9 @@ namespace Beyond
public class TreesDataContainer : MonoBehaviour
{
public List<TreeStateData> treesData = new List<TreeStateData>();
public bool plantingTutorialRun = false;
}
/*
public class TreePlantingManager : Singleton<TreePlantingManager>
{
//singleton
@@ -26,8 +27,9 @@ namespace Beyond
//jakas lista obiektowa miejscowa
//miejsce
//status
//prefab z animacj¹
//prefab z animacj<EFBFBD>
//trigger?
//plant spot controller
}
*/
}

View File

@@ -100,6 +100,10 @@ namespace Beyond
[Header("Events")] public UnityEvent onHealTree;
[Header("Events")] public UnityEvent<TreeState> onStateChanged;
[Header("Events")] public UnityEvent onFullyGrown;
[Header("Events")] public UnityEvent onPlantValidatorFailed;
public TutorialController m_platingTutorialController;
private bool m_plantingTutorialRun = false;
private bool canPlayCantDoClip = true;
private void Awake()
@@ -435,12 +439,18 @@ namespace Beyond
validatorCollider.enabled = false;
infoText.text = "Plant seed";
plantingCollider.enabled = true;
if (!m_plantingTutorialRun && m_platingTutorialController != null)
{
m_plantingTutorialRun = true;
m_platingTutorialController.StartTutorial();
}
}
else
{
plantingCollider.enabled = false;
infoTextObject.SetActive(true);
infoText.text = "Requires " + itemRequiredToPlant.name;
onPlantValidatorFailed?.Invoke();
}
}
else

View File

@@ -65,11 +65,11 @@ Material:
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BlendOp: 0
- _BlendOp: 2
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 1
- _DstBlend: 10
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1