Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Assets/Data/Items/AcidBarrel.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: acid-barrel
displayName: Acid Barrel
icon: {fileID: 0}
icon: {fileID: 2800000, guid: e0bce18661e61da2da1976ff0b54a7a9, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: b0c08f38339b94aa6a5867f0a27d0623, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Battery.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: battery
displayName: Battery
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 82d96b7844a0df51799fcc3786351c46, type: 3}
modelPrefab: {fileID: 6263021957758636193, guid: 34185845e138a294d82dce3e13974f06, type: 3}
additionalData:
keys:
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Coal.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: coal
displayName: coal
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 50ddda75e925ffaa7960beeb1b85fd0d, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 3f9f20c496ab84804954e104c9f29e73, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/CopperBar.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: copper-bar
displayName: Copper Bar
icon: {fileID: 0}
icon: {fileID: 2800000, guid: dddc341434f78e23b8197cffc03a53a4, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: a6488b269fd867bfd840f43448e9b71d, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/CopperOre.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: copper-ore
displayName: Copper Ore
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 959fef316fda1984587ffcc9fee057c1, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: c04cc4750f51256c2a65b82b07c0e960, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Crystal.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: crystal
displayName: Crystal
icon: {fileID: 0}
icon: {fileID: 2800000, guid: a52f3a9e2562899b88455af5d5595957, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 619364fb76c0b707b99d1aaebcd32f45, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/FuelBarrel.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: fuel-barrel
displayName: Fuel Barrel
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 1fd4b7f3c6c2acc86ac76e4837974983, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: f98aee7f0035bf81490c075100b8c99e, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/IronBar.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: iron-bar
displayName: Iron bar
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 2b2a7451e35d42468b95ea7a283a4604, type: 3}
modelPrefab: {fileID: 8181001148266838328, guid: a315ed9d15c6045c0bd4e3a13988372f, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/IronOre.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: iron-ore
displayName: Iron ore
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 90805a8f6f4fe9d3f9f5e0ed74038ba6, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: c488f1a3d7026cab98f1a75431a1fb9e, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Lens.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: lens
displayName: Lens
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 79882538914808bf5bc86fe8b4fd0175, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 923e0323b3dc7ec758da772f8658600f, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/LubricantBarrel.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: lubricant-barrel
displayName: Lubricant Barrel
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 55fa56dd9d1511001be15a7b756b16c2, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: e1481ce457c634310a74fdde5734c9ce, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/MaterialComposite.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: material-composite
displayName: Material Composite
icon: {fileID: 0}
icon: {fileID: 2800000, guid: e03f11049571e4fb1a7b7e5815accd45, type: 3}
modelPrefab: {fileID: 5481697963393283948, guid: eb1dffa687b06e9879b2e9ec005e687f, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Mess.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: material-mess
displayName: Mess
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 74aca9b92b2f1a458b9174ce328cb7e5, type: 3}
modelPrefab: {fileID: 1363890005986749115, guid: a3751d5d286133155960b45f4ce9b0e6, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/OilBarrel.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: oil-barrel
displayName: Oil Barrel
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 98bae8cd856bb965cae7059cf5ab2a8e, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 5ac969199ff6f289099ab4998edd0228, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/Stone.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: stone
displayName: Stone
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 23fa13759e4ca4857b0ffa76c0a88354, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 6365107ee97beb753a821cc226061348, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/TinBar.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: tin-bar
displayName: Tin Bar
icon: {fileID: 0}
icon: {fileID: 2800000, guid: a5cb8f0f011be94e5a82737e03677907, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: a30f73e82edb90ce2a9c9a612ee02882, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/TinOre.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: tin-ore
displayName: Tin Ore
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 9589d8abab2fe707d8da42cd6c485b77, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 559467ef527c685ee850c37f0edb578c, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/TitaniumBar.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: titanium-bar
displayName: Titanium bar
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 41e08b542812fb450bb519a046a8c71c, type: 3}
modelPrefab: {fileID: 5953828964735165714, guid: 78de67eb5f1c9d34d863815e02e02c1a, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/TitaniumOre.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: titanium-ore
displayName: Titanium ore
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 9359c21a48840462485c5ffd809fdb40, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: d06e15a2fa57c70dd9b353f0acb849f6, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/UraniumBar.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: uranium-bar
displayName: Uranium Bar
icon: {fileID: 0}
icon: {fileID: 2800000, guid: 1f4f13444ce7f29ea86f1e9683e7bec4, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 832f36600b99b69aeb877f1b63911363, type: 3}
additionalData:
keys: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/Data/Items/UraniumOre.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
id: uranium-ore
displayName: Uranium Ore
icon: {fileID: 0}
icon: {fileID: 2800000, guid: bf12df1c8255dd5e2b575749dcbabef7, type: 3}
modelPrefab: {fileID: 1862692014303423458, guid: 5d47c927b432588a887399a2f1456cd4, type: 3}
additionalData:
keys: []
Expand Down
7 changes: 6 additions & 1 deletion Assets/Docs/Cosmobot.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Cosmobot
Code and tools documentation.

- [Programmable](Programmable/Programmable.md)
## How to...
- [How to setup Scene](HowToScene.md)

## Scripting
- [Programmable](Robots/Programmable.md)
- [RobotLogger](Robots/RobotLogger.md)
32 changes: 32 additions & 0 deletions Assets/Docs/HowToScene.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Scene

---

# Important
After starting any scene, the [GameManagerScene](../Scenes/GameManagerScene.unity) is automatically loaded additionally and is kept loaded for all time.

This behaviour is controlled by [GameManagerSceneLoader](../Scripts/Utils/GameManagerSceneLoader.cs).

# Ready to use scenes
Folder: [Assets/Scenes](../Scenes)

- [MainTestScene](../Scenes/0_MainTestScene.unity) - Scene with all working features. Some features on this scene can be still in process, but only if they can be used without causing any issues
- [Demo/FullTest](../Scenes/Demo/FullTest.unity) - Scene for presenting Demo version of game (in progress)

## Other scenes
- [Folder Demo](../Scenes/Demo) - Demo scenes for presentations
- [Folder FeatureExamples](../Scenes/FeatureExamples) - Isolated features to be tested/presented in controlled environment (without other non required features)

# Prefabs
Folder: [Assets/Prefabs](../Prefabs)

There are planty of prefabs available, these are the most useful to set up new scene from scratch:
- [Player/PlayerBase](../Prefabs/Player/PlayerBase.prefab) - Fully functional player with all in game functionality like building, interactions etc.
- Please do not move prefab's root GameObject, it should stay on `(0,0,0)` and is marked as static.
- [Player/PlayerCharacter](../Prefabs/Player/PlayerCharacter.prefab) - Just a player character
- able to move, pickup items, and interact (with limited ui)
- without any other functionality like building, etc.
- [ItemSpawner](../Prefabs/ItemSpawner.prefab) - Use to put item on scene (will change into actual item on `Awake`)
- Change `ItemInfo` property of `ItemSpawner` component to change spawned item.
- Small cross billboard with item texture will appear in scene view
- [Folder Structures/Crafters](../Prefabs/Structures/Crafters) - various Crafters for crafting
3 changes: 3 additions & 0 deletions Assets/Docs/HowToScene.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading