ajout de la prefab CompletedQUest et du script QUestHistory. Modification dans les script (BaseMonobehaviour => BaseMonoBheaviour)

This commit is contained in:
mrtoine 2025-10-13 08:42:08 +02:00
parent 3ba8dad4a2
commit 9143f3c50d
52 changed files with 1438 additions and 724 deletions

View file

@ -35,6 +35,8 @@
<available_title>Disponible(s)</available_title>
<in_qg>Au QG</in_qg>
<in_quest>En mission</in_quest>
<!-- Recap quête -->
<quest.completed.title>Récap' Quête</quest.completed.title>
<!-- QUÊTES -->
<quests.1.title>Invasion de Rats</quests.1.title>
@ -62,7 +64,6 @@
<event.plain.fight.1>Un groupe de bandit demandent un droit de passage au abord d'un pont. Vous êtes contraint de pay... de les abattre. Après un combat acharné, vos aventuriers l'emporte !</event.plain.fight.1>
<!-- OBJETS -->
<item_gold>Or</item_gold>
<item_gold_desc>Or.</item_gold_desc>

View file

@ -168,8 +168,8 @@ RectTransform:
m_Children: []
m_Father: {fileID: 3072838618752696753}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.056666672}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMin: {x: 0, y: 0.056697607}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -416,7 +416,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0.000072956085, y: -0.000015258789}
m_AnchoredPosition: {x: -0.000025205314, y: -0.000035582452}
m_SizeDelta: {x: 0, y: 300}
m_Pivot: {x: 0, y: 1}
--- !u!1 &350460613147089024
@ -944,8 +944,8 @@ MonoBehaviour:
m_Calls: []
m_text: inventory
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_sharedMaterial: {fileID: -624193526770214323, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -1518,7 +1518,7 @@ RectTransform:
m_Father: {fileID: 6799311224910918046}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -1595,9 +1595,9 @@ RectTransform:
m_Father: {fileID: 3428204698449784346}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 20}
m_SizeDelta: {x: -17, y: 20}
m_Pivot: {x: 0, y: 0}
--- !u!222 &2122576678338583654
CanvasRenderer:
@ -1680,8 +1680,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 2685396307151346427}
m_HandleRect: {fileID: 2881309443443177717}
m_Direction: 0
m_Value: 0
m_Size: 0
m_Value: 1
m_Size: 1
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
@ -1719,7 +1719,7 @@ RectTransform:
m_Father: {fileID: 6710742144378787211}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 0.99998707}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -1957,8 +1957,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 7500699926199109763}
m_HandleRect: {fileID: 1724379704039101092}
m_Direction: 2
m_Value: 1
m_Size: 1
m_Value: 0
m_Size: 0.9999999
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
@ -1998,9 +1998,9 @@ RectTransform:
m_Father: {fileID: 4491822891276527056}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: -17}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &2399151214911001308
CanvasRenderer:
@ -2572,9 +2572,9 @@ RectTransform:
m_Father: {fileID: 8068581746560711683}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: -17}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &5183539785091098361
CanvasRenderer:
@ -3012,8 +3012,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 5331052957273410202}
m_HandleRect: {fileID: 5461951377529854845}
m_Direction: 0
m_Value: 1
m_Size: 0.99999994
m_Value: 0
m_Size: 1
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
@ -3053,9 +3053,9 @@ RectTransform:
m_Father: {fileID: 3428204698449784346}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: -17}
m_Pivot: {x: 0, y: 1}
--- !u!222 &790821042176173600
CanvasRenderer:
@ -3141,7 +3141,7 @@ RectTransform:
m_Father: {fileID: 5619379698950436239}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0.99994886}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -3763,8 +3763,8 @@ MonoBehaviour:
m_Calls: []
m_text: guild_name
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_sharedMaterial: {fileID: -624193526770214323, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -4032,9 +4032,9 @@ RectTransform:
m_Father: {fileID: 4491822891276527056}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: -17}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: 1, y: 1}
--- !u!222 &6823750286419036997
CanvasRenderer:
@ -5086,7 +5086,7 @@ MonoBehaviour:
m_Content: {fileID: 8137423015168411238}
m_Horizontal: 1
m_Vertical: 1
m_MovementType: 1
m_MovementType: 2
m_Elasticity: 0.1
m_Inertia: 1
m_DecelerationRate: 0.135
@ -5252,7 +5252,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.000030517578}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3542462135374661077
@ -5725,9 +5725,9 @@ RectTransform:
m_Father: {fileID: 3876055368885639954}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: -17}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: 1, y: 1}
--- !u!222 &1759602683172727562
CanvasRenderer:
@ -5811,7 +5811,7 @@ MonoBehaviour:
m_HandleRect: {fileID: 328293514909523749}
m_Direction: 2
m_Value: 1
m_Size: 0.9997847
m_Size: 1
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
@ -6173,7 +6173,7 @@ RectTransform:
m_Father: {fileID: 2699881071253524576}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -6865,9 +6865,9 @@ RectTransform:
m_Father: {fileID: 3876055368885639954}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: -17}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3880366320823064457
CanvasRenderer:
@ -6955,9 +6955,9 @@ RectTransform:
m_Father: {fileID: 4491822891276527056}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: 20}
m_SizeDelta: {x: 0, y: 20}
m_Pivot: {x: 0, y: 0}
--- !u!222 &536723218811273033
CanvasRenderer:
@ -7474,6 +7474,18 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 8268430600917994507}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &5584013068972881911
GameObject:
m_ObjectHideFlags: 0
@ -8091,9 +8103,9 @@ RectTransform:
m_Father: {fileID: 3428204698449784346}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 0}
m_SizeDelta: {x: 20, y: -17}
m_Pivot: {x: 1, y: 1}
--- !u!222 &3900347314901675441
CanvasRenderer:
@ -8176,8 +8188,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 4760075567392361995}
m_HandleRect: {fileID: 5384227279536408190}
m_Direction: 2
m_Value: 0
m_Size: 0.10704945
m_Value: 1
m_Size: 1
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
@ -8217,9 +8229,9 @@ RectTransform:
m_Father: {fileID: 3876055368885639954}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: 20}
m_SizeDelta: {x: 0, y: 20}
m_Pivot: {x: 0, y: 0}
--- !u!222 &5746886293652869050
CanvasRenderer:
@ -8622,7 +8634,7 @@ RectTransform:
m_Father: {fileID: 3610408492675600390}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.9999999, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -8774,9 +8786,9 @@ RectTransform:
m_Father: {fileID: 8068581746560711683}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: -17}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: 1, y: 1}
--- !u!222 &3603276246973647457
CanvasRenderer:
@ -9019,7 +9031,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.000102996826, y: -0.00008282142}
m_AnchoredPosition: {x: 0.0000004582107, y: -0.000021135485}
m_SizeDelta: {x: 0, y: 300}
m_Pivot: {x: 0, y: 1}
--- !u!114 &6628848959831924696
@ -9222,7 +9234,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: -748}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7502266542887470960
CanvasRenderer:
@ -9276,6 +9288,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_isVerbose: 1
m_adventurersSO: {fileID: 11400000, guid: e17bc4be959f945c492b56a466347639, type: 2}
_content: {fileID: 8585461738485252514}
_adventurerPrefab: {fileID: 1341503220104474312, guid: 21765b2d0e5f0432abd4164ab6087032, type: 3}
_photoStudio: {fileID: 0}
--- !u!114 &5876571252886620074
@ -9793,7 +9806,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_isVerbose: 1
_questFactoryDatabase: {fileID: 11400000, guid: e8f120ee188e64915aef36c8454c8f68, type: 2}
_panel: {fileID: 8627772138779158688}
_questCardPrefab: {fileID: 6316715669414803120, guid: e000f0c5406f044fd8f7ca26d4324abb, type: 3}
--- !u!1 &6737398237813950679
@ -9863,8 +9875,8 @@ MonoBehaviour:
m_Calls: []
m_text: quests_list
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_sharedMaterial: {fileID: -624193526770214323, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -10101,7 +10113,7 @@ RectTransform:
m_Father: {fileID: 2480540214533913702}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -10285,8 +10297,8 @@ MonoBehaviour:
m_Calls: []
m_text: heroes_list
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_sharedMaterial: {fileID: -624193526770214323, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -10792,9 +10804,9 @@ RectTransform:
m_Father: {fileID: 8068581746560711683}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -17, y: 20}
m_SizeDelta: {x: 0, y: 20}
m_Pivot: {x: 0, y: 0}
--- !u!222 &3978262122137819446
CanvasRenderer:
@ -11259,7 +11271,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0.000061035156, y: -0.000045776367}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &5245041732441881304
@ -11377,6 +11389,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_isVerbose: 1
_questLogPrefab: {fileID: 8916378548461795201, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
_logPanel: {fileID: 3261389646913874471}
--- !u!1 &8295292878231353938
GameObject:
m_ObjectHideFlags: 0
@ -12563,7 +12576,7 @@ RectTransform:
m_Father: {fileID: 3333784552561598407}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -12674,8 +12687,8 @@ MonoBehaviour:
'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_sharedMaterial: {fileID: -624193526770214323, guid: 44cc5e4b4ce644394a7b14151c11fee3, type: 2}
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -13281,7 +13294,7 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 44.25
m_fontSize: 42.7
m_fontSizeBase: 60
m_fontWeight: 400
m_enableAutoSizing: 1
@ -13461,6 +13474,112 @@ MonoBehaviour:
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1001 &1790048301584481922
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8137423015168411238}
m_Modifications:
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8916378548461795201, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_Name
value: QuestLog
objectReference: {fileID: 0}
- target: {fileID: 8916378548461795201, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
--- !u!224 &4523294056981341506 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
m_PrefabInstance: {fileID: 1790048301584481922}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &6268904676365327782
PrefabInstance:
m_ObjectHideFlags: 0
@ -13507,7 +13626,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_SizeDelta.y
value: 166.5
value: 200
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalPosition.x
@ -13539,11 +13658,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0.0003314452
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0.00010396581
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -13561,11 +13680,17 @@ PrefabInstance:
propertyPath: m_Name
value: Content
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 1915739530612085586, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
m_RemovedGameObjects:
- {fileID: 2386806354432922595, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
- {fileID: 1146643167690284576, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
m_AddedGameObjects: []
- {fileID: 3665497870108466714, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
- {fileID: 422674636916425610, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 2743378854649912256, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
insertIndex: -1
addedObject: {fileID: 4523294056981341506}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 8916378548461795201, guid: e35df6e18981f45ce84747c24f0e1de4, type: 3}
insertIndex: -1
@ -13594,10 +13719,10 @@ MonoBehaviour:
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_Spacing: 5
m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 0
m_ChildControlWidth: 1
m_ChildControlHeight: 0
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0

View file

@ -7,7 +7,7 @@ using UnityEngine.UI;
namespace AudioSystem.Runtime
{
public class AudioManager : BaseMonobehaviour
public class AudioManager : BaseMonoBehaviour
{
#region Publics

View file

@ -3,7 +3,7 @@ using UnityEngine.SceneManagement;
namespace Core.Runtime
{
public class SceneLoader : BaseMonobehaviour
public class SceneLoader : BaseMonoBehaviour
{
#region Publics

View file

@ -8,7 +8,7 @@ using UnityEngine.SceneManagement;
namespace Cheat.Runtime
{
public class Cheat : BaseMonobehaviour
public class Cheat : BaseMonoBehaviour
{
#region Publics

View file

@ -4,7 +4,7 @@ using UnityEngine;
namespace Core.Runtime
{
public class BaseMonobehaviour : MonoBehaviour
public class BaseMonoBehaviour : MonoBehaviour
{
#region Publics

View file

@ -29,14 +29,14 @@ namespace Core.Runtime
return false;
}
public void SetFact<T>(string key, T value, BaseMonobehaviour.FactPersistence persistence)
public void SetFact<T>(string key, T value, BaseMonoBehaviour.FactPersistence persistence)
{
if (_facts.TryGetValue(key, out var existingFact))
{
if (existingFact is Fact<T> typedFact)
{
typedFact.Value = value;
typedFact.IsPersistent = persistence == BaseMonobehaviour.FactPersistence.Persistent;
typedFact.IsPersistent = persistence == BaseMonoBehaviour.FactPersistence.Persistent;
}
else
{
@ -45,7 +45,7 @@ namespace Core.Runtime
}
else
{
bool isPersistent = persistence == BaseMonobehaviour.FactPersistence.Persistent;
bool isPersistent = persistence == BaseMonoBehaviour.FactPersistence.Persistent;
_facts[key] = new Fact<T>(value, isPersistent);
}
}

View file

@ -7,7 +7,7 @@ using UnityEngine.SceneManagement;
namespace Core.Runtime
{
public class GameManager: BaseMonobehaviour
public class GameManager: BaseMonoBehaviour
{
#region Publics

View file

@ -6,7 +6,7 @@ using UnityEngine;
namespace Core.Runtime
{
public class LocalizationSystem : BaseMonobehaviour
public class LocalizationSystem : BaseMonoBehaviour
{
#region Publics

View file

@ -6,7 +6,7 @@ using Random = UnityEngine.Random;
namespace Core.Runtime
{
public class SceneLoader : BaseMonobehaviour
public class SceneLoader : BaseMonoBehaviour
{
#region Publics

View file

@ -3,7 +3,7 @@ using UnityEngine;
namespace Core.Runtime
{
public class UIManager : BaseMonobehaviour
public class UIManager : BaseMonoBehaviour
{
#region Publics

View file

@ -7,7 +7,7 @@ using UnityEngine;
namespace Decor.Runtime
{
public class AdventurerApearanceSpawner : BaseMonobehaviour
public class AdventurerApearanceSpawner : BaseMonoBehaviour
{
#region Publics

View file

@ -4,7 +4,7 @@ using UnityEngine;
namespace Decor.Runtime
{
public class AdventurerModelBinder : BaseMonobehaviour
public class AdventurerModelBinder : BaseMonoBehaviour
{
#region Publics

View file

@ -9,7 +9,7 @@ using UnityEngine.AI;
namespace Decor.Runtime
{
public class PortraitGenerator : BaseMonobehaviour
public class PortraitGenerator : BaseMonoBehaviour
{
#region Publics

View file

@ -7,7 +7,7 @@ using UnityEngine.UI;
namespace _.Features.Decor.Runtime
{
public class TakePhoto : BaseMonobehaviour
public class TakePhoto : BaseMonoBehaviour
{
#region Publics

View file

@ -9,7 +9,7 @@ using UnityEngine;
namespace Decor.Runtime
{
public class QuestSign: BaseMonobehaviour
public class QuestSign: BaseMonoBehaviour
{
#region private & protected

View file

@ -4,7 +4,7 @@ using UnityEngine;
namespace Goals.Runtime
{
public class GoalSystem : BaseMonobehaviour
public class GoalSystem : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace MenuSystem.Runtime.LoadGame
{
public class LoadGame : BaseMonobehaviour
public class LoadGame : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine.UI;
namespace MenuSystem.Runtime
{
public class MenuManager : BaseMonobehaviour
public class MenuManager : BaseMonoBehaviour
{
#region Publics

View file

@ -10,7 +10,7 @@ using UnityEngine;
namespace MenuSystem.Runtime
{
public class NewGame : BaseMonobehaviour
public class NewGame : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using Cursor = UnityEngine.Cursor;
namespace MenuSystem.Runtime
{
public class PauseMenu : BaseMonobehaviour
public class PauseMenu : BaseMonoBehaviour
{
#region Publics

View file

@ -3,7 +3,7 @@ using UnityEngine;
namespace MenuSystem.Runtime.Settings
{
public class AudioMenuModule : BaseMonobehaviour, IMenuModule
public class AudioMenuModule : BaseMonoBehaviour, IMenuModule
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine.UI;
namespace MenuSystem.Runtime
{
public class SettingsMenu : BaseMonobehaviour
public class SettingsMenu : BaseMonoBehaviour
{
#region Publics

View file

@ -7,7 +7,7 @@ using UnityEngine;
namespace MenuSystem.Runtime.TitleScreen
{
public class TitleScreen : BaseMonobehaviour
public class TitleScreen : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine.Serialization;
namespace Player.Runtime
{
public class Deplacements : BaseMonobehaviour
public class Deplacements : BaseMonoBehaviour
{
#region Publics

View file

@ -0,0 +1,44 @@
using Core.Runtime;
using UnityEngine;
namespace Quests.Runtime
{
public class QuestHistory : BaseMonoBehaviour
{
#region Publics
//
#endregion
#region Unity API
//
#endregion
#region Main Methods
//
#endregion
#region Utils
/* Fonctions privées utiles */
#endregion
#region Privates and Protected
[SerializeField] TextMesh _historyContent;
#endregion
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a360a2299eba4e078acfa47eac0464e3
timeCreated: 1760204281

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace Quests.Runtime._.Features.Quests
{
public class QuestInitializer : BaseMonobehaviour
public class QuestInitializer : BaseMonoBehaviour
{
void Awake()
{

View file

@ -10,7 +10,7 @@ using Random = UnityEngine.Random;
namespace Quests.Runtime
{
public class QuestManager : BaseMonobehaviour
public class QuestManager : BaseMonoBehaviour
{
#region Singleton

View file

@ -24,11 +24,11 @@ namespace GuildTycoon.Tests.Editor
// Ensure profile and base facts are set
_gameManager.Profile = "UnitTestProfile";
_gameManager.Fact = new FactDictionnary();
GameManager.m_gameFacts = _gameManager.Fact; // ensure BaseMonobehaviour access works
GameManager.m_gameFacts = _gameManager.Fact; // ensure BaseMonoBehaviour access works
// Pre-seed facts used by QuestManager
_gameManager.Fact.SetFact("accepted_quests", new List<QuestClass>(), BaseMonobehaviour.FactPersistence.Normal);
_gameManager.Fact.SetFact("events_quests_history", new Dictionary<Guid, List<QuestEventLog>>(), BaseMonobehaviour.FactPersistence.Normal);
_gameManager.Fact.SetFact("accepted_quests", new List<QuestClass>(), BaseMonoBehaviour.FactPersistence.Normal);
_gameManager.Fact.SetFact("events_quests_history", new Dictionary<Guid, List<QuestEventLog>>(), BaseMonoBehaviour.FactPersistence.Normal);
// Create QuestManager
_qmGO = new GameObject("QuestManager_Test");
@ -64,7 +64,7 @@ namespace GuildTycoon.Tests.Editor
// Seed facts with the same quest so QuestManager can update saved state
var accepted = new List<QuestClass> { new QuestClass(questId, quest.Name, quest.Description, quest.Objective, quest.Duration, quest.Difficulty, quest.Rewards, quest.MinLevel) { State = QuestStateEnum.InProgress } };
_gameManager.Fact.SetFact("accepted_quests", accepted, BaseMonobehaviour.FactPersistence.Normal);
_gameManager.Fact.SetFact("accepted_quests", accepted, BaseMonoBehaviour.FactPersistence.Normal);
QuestClass completedRaised = null;
Action<QuestClass> handler = q => completedRaised = q;

View file

@ -4,7 +4,7 @@ using UnityEngine.SceneManagement;
namespace TestFacts.Runtime
{
public class AutoLoaderGame : BaseMonobehaviour
public class AutoLoaderGame : BaseMonoBehaviour
{
#region Publics

View file

@ -6,7 +6,7 @@ using UnityEngine;
namespace TestFacts.Runtime
{
public class TestFacts : BaseMonobehaviour
public class TestFacts : BaseMonoBehaviour
{
string _fact;

View file

@ -7,7 +7,7 @@ using UnityEngine;
namespace TestFacts.Runtime
{
public class Triche : BaseMonobehaviour
public class Triche : BaseMonoBehaviour
{
[ContextMenu("Add 99999 Gold")]
void AddInfiniteGold()

View file

@ -8,7 +8,7 @@ using UnityEngine.UI;
namespace GameUI.Runtime
{
public class AdventurerCardSelectionnable : BaseMonobehaviour
public class AdventurerCardSelectionnable : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class AdventurerUIController : BaseMonobehaviour
public class AdventurerUIController : BaseMonoBehaviour
{
#region Publics

View file

@ -10,7 +10,7 @@ using UnityEngine.UI;
namespace GameUI.Runtime
{
public class RecruitementPanel: BaseMonobehaviour
public class RecruitementPanel: BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class InfoAdventurerPanel : BaseMonobehaviour
public class InfoAdventurerPanel : BaseMonoBehaviour
{
#region Publics

View file

@ -6,7 +6,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class InteractionAdventurerCard : BaseMonobehaviour
public class InteractionAdventurerCard : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class BasePanel : BaseMonobehaviour
public class BasePanel : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using TMPro;
namespace GameUI.Runtime
{
public class InfoPanel : BaseMonobehaviour
public class InfoPanel : BaseMonoBehaviour
{
#region Publics

View file

@ -4,7 +4,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class InventoryPanel : BaseMonobehaviour
public class InventoryPanel : BaseMonoBehaviour
{
#region Unity API

View file

@ -6,7 +6,7 @@ using UnityEngine;
namespace GameUI.Runtime.Events
{
public class EventsDisplayUI : BaseMonobehaviour
public class EventsDisplayUI : BaseMonoBehaviour
{
#region Publics

View file

@ -4,7 +4,7 @@ using UnityEngine;
namespace GameUI.Runtime.Events
{
public class QuestLogUI : BaseMonobehaviour
public class QuestLogUI : BaseMonoBehaviour
{
#region Publics

View file

@ -7,7 +7,7 @@ using UnityEngine;
namespace GameUI.Runtime.Events
{
public class QuestLogsListUI : BaseMonobehaviour
public class QuestLogsListUI : BaseMonoBehaviour
{
#region Publics

View file

@ -14,7 +14,7 @@ using UnityEngine.UI;
namespace GameUI.Runtime
{
public class InfoQuestPanel : BaseMonobehaviour
public class InfoQuestPanel : BaseMonoBehaviour
{
#region Publics
[Header("UI Text Elements")]

View file

@ -8,7 +8,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class InteractionQuestCard : BaseMonobehaviour
public class InteractionQuestCard : BaseMonoBehaviour
{
[SerializeField] QuestFactoryDatabase _questDatabase;

View file

@ -9,7 +9,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class QuestCardUI : BaseMonobehaviour
public class QuestCardUI : BaseMonoBehaviour
{
#region Publics

View file

@ -5,7 +5,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class QuestMini : BaseMonobehaviour
public class QuestMini : BaseMonoBehaviour
{
#region Publics

View file

@ -6,7 +6,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class QuestUIController : BaseMonobehaviour
public class QuestUIController : BaseMonoBehaviour
{
#region Publics

View file

@ -9,7 +9,7 @@ using UnityEngine;
namespace GameUI.Runtime
{
public class QuestsBoardPanel : BaseMonobehaviour
public class QuestsBoardPanel : BaseMonoBehaviour
{
#region Unity API

View file

@ -10,7 +10,7 @@ using UnityEngine.Serialization;
namespace GameUI.Runtime
{
public class QuestsPanel : BaseMonobehaviour
public class QuestsPanel : BaseMonoBehaviour
{
#region Publics

File diff suppressed because it is too large Load diff