Feedback round: bots that keep working, Sky Mower, calmer HUD, faster menus, new map
- Robot docks and drone pads with no belt ship straight to Earth; robots widen their rings up to 4x once everything in reach is mown, travel 2.5x faster empty, hoppers 60/150 kg. Drone reach 70 m + 25 m per upgrade. - New Sky Mower: a big mowing drone on a pad, 91 sectors, flies over the grass. - Cut paint follows the blade as a strip, no disc ahead of the machine. - Sector toasts aggregate, chimes and till sounds throttled, toasts moved and narrowed. - Menus no longer rebuild on every money change (price tint follows the wallet), scroll position kept. - Map drawn as one mesh, opens near the player, ME / + / - / GLOBE, scale bar. - Key-art still (x_key) and -shotsize for the store stills; -demobots test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
BIN
Assets/Art/UI/icon_piece_skymower.png
(Stored with Git LFS)
Normal file
BIN
Assets/Art/UI/icon_piece_skymower.png
(Stored with Git LFS)
Normal file
Binary file not shown.
119
Assets/Art/UI/icon_piece_skymower.png.meta
Normal file
119
Assets/Art/UI/icon_piece_skymower.png.meta
Normal file
@ -0,0 +1,119 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 919979a3701a4a745be1128016fbf3cb
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 2
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -284,3 +284,8 @@ MonoBehaviour:
|
||||
SourcePrefabToOverride: {fileID: 0}
|
||||
SourceHashToOverride: 0
|
||||
OverridingTargetPrefab: {fileID: 0}
|
||||
- Override: 0
|
||||
Prefab: {fileID: 1014119214875213722, guid: 11058908755697042bc597c93d24e65c, type: 3}
|
||||
SourcePrefabToOverride: {fileID: 0}
|
||||
SourceHashToOverride: 0
|
||||
OverridingTargetPrefab: {fileID: 0}
|
||||
|
||||
@ -120,6 +120,7 @@ namespace GrassCutter.EditorTools
|
||||
["icon_piece_hexfoundation"] = new[] { P("SM_Foundation_Hex", 0, 0, 1, 0, 30, 0, tint: new Color(0.8f, 0.8f, 0.7f)) },
|
||||
["icon_piece_sorter"] = new[] { P("SM_BeltSorter", 0, 0, 1, 0, -30, 0) },
|
||||
["icon_piece_dronepad"] = new[] { P("SM_Drone", 0, 0.05f, 1, 18, -30, 0) },
|
||||
["icon_piece_skymower"] = new[] { P("SM_DronePad", 0, -0.2f, 0.85f, 20, -30, 0), P("SM_Drone", 0.05f, 0.22f, 0.8f, 14, -30, 0) },
|
||||
["icon_piece_launcher"] = new[] { P("SM_Launcher", 0, 0, 1, 0, -30, 0) },
|
||||
["icon_piece_launchpad"] = new[] { P("SM_LaunchPad", 0, -0.2f, 1, 25, -30, 0), P("SM_Rocket", 0.05f, 0.25f, 0.8f, 0, -30, 0) },
|
||||
// vehicles
|
||||
|
||||
@ -298,6 +298,16 @@ namespace GrassCutter.EditorTools
|
||||
if (d.id == PieceId.RobotII) bot.localScale *= GameDefs.Robot(d.id).width / GameDefs.Robot(PieceId.RobotI).width;
|
||||
go.AddComponent<RobotDock>().bot = bot;
|
||||
break;
|
||||
case PieceId.SkyMower:
|
||||
{
|
||||
// the drone pad, and one drone two and a half times the size of the fetching ones
|
||||
Solid(go.transform, model);
|
||||
var sky = Child(go.transform, "SM_Drone", new Vector3(0f, 0.7f, 0f), Quaternion.identity, PrimitiveType.Cube, new Vector3(1.8f, 0.5f, 1.8f), Vector3.zero);
|
||||
sky.localScale *= 3.5f;
|
||||
foreach (var r in sky.GetComponentsInChildren<Renderer>()) r.shadowCastingMode = ShadowCastingMode.On;
|
||||
go.AddComponent<RobotDock>().bot = sky;
|
||||
break;
|
||||
}
|
||||
case PieceId.Dryer:
|
||||
case PieceId.Press:
|
||||
var plinth = Solid(go.transform, model);
|
||||
|
||||
@ -269,3 +269,8 @@ MonoBehaviour:
|
||||
SourcePrefabToOverride: {fileID: 0}
|
||||
SourceHashToOverride: 0
|
||||
OverridingTargetPrefab: {fileID: 0}
|
||||
- Override: 0
|
||||
Prefab: {fileID: 1014119214875213722, guid: 11058908755697042bc597c93d24e65c, type: 3}
|
||||
SourcePrefabToOverride: {fileID: 0}
|
||||
SourceHashToOverride: 0
|
||||
OverridingTargetPrefab: {fileID: 0}
|
||||
|
||||
339
Assets/Prefabs/Piece_SkyMower.prefab
Normal file
339
Assets/Prefabs/Piece_SkyMower.prefab
Normal file
@ -0,0 +1,339 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &516213818068215756
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4157395477649009620}
|
||||
- component: {fileID: 3772078875101558848}
|
||||
m_Layer: 13
|
||||
m_Name: Solid
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4157395477649009620
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 516213818068215756}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 2.2299998, z: 0.030786753}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 5226597753466009795}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &3772078875101558848
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 516213818068215756}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 2.9, y: 4.46, z: 2.9655745}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1014119214875213722
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5226597753466009795}
|
||||
- component: {fileID: 1637519848642767554}
|
||||
- component: {fileID: 6292545142657729150}
|
||||
- component: {fileID: 1352870283157758522}
|
||||
m_Layer: 13
|
||||
m_Name: Piece_SkyMower
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5226597753466009795
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1014119214875213722}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 850079168502502324}
|
||||
- {fileID: 4157395477649009620}
|
||||
- {fileID: 3485286928380051316}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1637519848642767554
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1014119214875213722}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Netcode.Runtime::Unity.Netcode.NetworkObject
|
||||
GlobalObjectIdHash: 0
|
||||
InScenePlacedSourceGlobalObjectIdHash: 0
|
||||
m_InScenePlacedDisabledByDefault: 0
|
||||
DeferredDespawnTick: 0
|
||||
Ownership: 1
|
||||
AlwaysReplicateAsRoot: 0
|
||||
SynchronizeTransform: 1
|
||||
m_InScenePlaced: 0
|
||||
ActiveSceneSynchronization: 0
|
||||
SceneMigrationSynchronization: 1
|
||||
SpawnWithObservers: 1
|
||||
DontDestroyWithOwner: 1
|
||||
AutoObjectParentSync: 1
|
||||
SyncOwnerTransformWhenParented: 1
|
||||
AllowOwnerToParent: 0
|
||||
--- !u!114 &6292545142657729150
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1014119214875213722}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b8baa8ad05bf317418f3c510defc8b7e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::GrassCutter.BuildPiece
|
||||
ShowTopMostFoldoutHeaderGroup: 1
|
||||
piece: 39
|
||||
--- !u!114 &1352870283157758522
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1014119214875213722}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7bf64db802ef6514b9f51564dfd066a2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::GrassCutter.RobotDock
|
||||
ShowTopMostFoldoutHeaderGroup: 0
|
||||
bot: {fileID: 3485286928380051316}
|
||||
--- !u!1001 &884586802284885087
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 5226597753466009795}
|
||||
m_Modifications:
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalScale.x
|
||||
value: 3.2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 3.2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 3.2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.00000004371139
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 635547659545568360, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: SM_DronePad
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8934777400606672865, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
--- !u!4 &850079168502502324 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 6fcc91f42be4fa046aacfc875d847867, type: 3}
|
||||
m_PrefabInstance: {fileID: 884586802284885087}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &4022981670043572383
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 5226597753466009795}
|
||||
m_Modifications:
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalScale.x
|
||||
value: 3.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 3.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 3.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.00000004371139
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -526116204353515621, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 635547659545568360, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: SM_Drone
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1922603261211966785, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3079240183916851159, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5060707588488127178, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8934777400606672865, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9033346751733972626, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
propertyPath: m_Layer
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
--- !u!4 &3485286928380051316 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 3ffb66a1ea1f7664797d47bad6a5f4d7, type: 3}
|
||||
m_PrefabInstance: {fileID: 4022981670043572383}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
7
Assets/Prefabs/Piece_SkyMower.prefab.meta
Normal file
7
Assets/Prefabs/Piece_SkyMower.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 11058908755697042bc597c93d24e65c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -370,6 +370,7 @@ MonoBehaviour:
|
||||
- {fileID: 2800000, guid: c07f1b8e377d43f43a31caf20c315286, type: 3}
|
||||
- {fileID: 2800000, guid: b11632e6c25de2b4391a301d56c47244, type: 3}
|
||||
- {fileID: 2800000, guid: 4db0a234071c0174e9d1641fa5e522dd, type: 3}
|
||||
- {fileID: 2800000, guid: 919979a3701a4a745be1128016fbf3cb, type: 3}
|
||||
- {fileID: 2800000, guid: 5c19894ed7325e54dabf1ac949736d22, type: 3}
|
||||
- {fileID: 2800000, guid: 588ace0d5e0933848933111141676c2a, type: 3}
|
||||
- {fileID: 2800000, guid: 94a725a7e1bf2c3439965ddeabc4219f, type: 3}
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading +{0} % Entladetempo
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW im Umkreis von 34 m. Folgt der Sonne und liefert den ganzen Tag volle Leistung.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW im Umkreis von 16 m, weniger bei tiefer Sonne, nachts gar nichts.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 Sektoren, ein breiterer Schnitt und ein größerer Tank.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW im Umkreis von 24 m, weniger bei tiefer Sonne, nachts gar nichts.
|
||||
A belt already ends here Hier endet schon ein Band
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Ein Band, das nahe an einem Anschluss endet, rastet dort ein. Endet es auf einem anderen Band, belädt es dieses von der Seite.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! WEHE, IHR HÖRT JETZT AUF!
|
||||
DONE FERTIG
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Tipp zweimal SPACE in der Luft für einen Schub nach vorn. Angetrieben von … Gras, natürlich.
|
||||
DRAG turn · WHEEL zoom · M close DRAG drehen · WHEEL zoomen · M schließen
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Fahr einen Mäher auf den Rost, und er leert sich in den Behälter. Zwei Klappen hinten legen es als Bündel auf Bänder.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Fahr in den Hof am Fuß der Rampe, und es wird beim Abladen bezahlt. Auf dem Platz vor einer Garage geht es ins Silo, und zwei Anschlüsse hinten machen daraus Bündel für deine Bänder.
|
||||
Driver's seat · R for the chase view Fahrersitz · R für die Verfolgerkamera
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Er braucht kein Dock und zieht von selbst zum nächsten unfertigen Sektor weiter, solange es Gras gibt.
|
||||
It rips up the grass in its path and it will throw you around! Sie reißt das Gras auf ihrem Weg aus und wirbelt dich herum!
|
||||
It's actually pretty. Eigentlich ganz hübsch.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Seine Drohnen fliegen zu losen Grasbündeln im Umkreis von 40 m und holen sie herein. Die vordere Klappe legt sie aufs Band. Zwei Drohnen, eine mehr pro Upgrade.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Tipp zweimal SPACE in der Luft für einen Schub.
|
||||
JOIN BEITRETEN
|
||||
@ -373,7 +370,6 @@ mowing mäht
|
||||
MOWING MÄHT
|
||||
Mowing Tractor Mähtraktor
|
||||
Mown Gemäht
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Mäht die 19 Sektoren um sein Dock. Das Dock bindet, was er bringt, zu Bündeln fürs Band.
|
||||
Music Musik
|
||||
My grandmother mowed faster, and she used her teeth. Meine Oma hat schneller gemäht, und zwar mit den Zähnen.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Zweiter Atem
|
||||
+30% walking speed +30 % Gehgeschwindigkeit
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 kg Gras aus deinem Werkzeug. {1}, {2} für 2½ Minuten
|
||||
Bring 1 kg of grass in your tool: mow a little first Bring 1 kg Gras im Werkzeug mit: erst ein bisschen mähen
|
||||
onto the belt aufs Band
|
||||
straight to Earth direkt zur Erde
|
||||
straight to Earth, {0} m around direkt zur Erde, {0} m Umkreis
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Mäht die Sektoren um sein Dock und danach immer weiter draußen. Mit Band schickt das Dock Bündel darauf, ohne Band schickt es das Gras selbst zur Erde.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Beginnt mit 37 Sektoren, breiterem Schnitt und größerem Behälter.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Seine Drohnen holen lose Grasbündel im Umkreis von 70 m (25 m mehr pro Upgrade). Mit Band an der vorderen Luke geht es aufs Band, ohne direkt zur Erde. Zwei Drohnen, eine mehr pro Upgrade.
|
||||
Sky Mower Himmelsmäher
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Eine große Mähdrohne. Sie fliegt über Felsen und Hügel, mäht 91 Sektoren um ihren Platz und dann immer weiter draußen. Kein Band nötig: Der Platz schickt das Gras zur Erde.
|
||||
{0} sectors mown clean +{1} {0} Sektoren sauber gemäht +{1}
|
||||
ME ICH
|
||||
GLOBE GLOBUS
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG bewegen · WHEEL zoomen · SPACE zurück zu dir · M schließen
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading +{0} % de velocidad de descarga
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW en 34 m a la redonda. Sigue al sol, así que da toda su potencia el día entero.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW en 16 m a la redonda; menos con el sol bajo y nada de noche.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 sectores, un corte más ancho y una tolva más grande.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW en 24 m a la redonda; menos con el sol bajo y nada de noche.
|
||||
A belt already ends here Aquí ya termina una cinta
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Una cinta que acaba cerca de una boca se engancha a ella. Una cinta que acaba sobre otra cinta la carga por el lateral.
|
||||
@ -168,7 +167,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! ¡NI SE OS OCURRA PARAR AHORA!
|
||||
DONE LISTO
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Pulsa dos veces SPACE en el aire para lanzarte hacia delante. Funciona con... hierba, obviamente.
|
||||
DRAG turn · WHEEL zoom · M close DRAG girar · WHEEL zoom · M cerrar
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Sube una segadora a la rejilla y se vacía en el cajón. Dos compuertas traseras lo ponen en las cintas en forma de fardos.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Entra en el patio al pie de la rampa y se cobra según se descarga. En la plataforma delante de un garaje va al silo, y dos bocas traseras lo convierten en fardos para tus cintas.
|
||||
Driver's seat · R for the chase view Asiento del conductor · R para la vista exterior
|
||||
@ -310,7 +308,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. No necesita muelle y pasa solo al siguiente sector sin terminar, mientras quede hierba.
|
||||
It rips up the grass in its path and it will throw you around! ¡Arranca la hierba a su paso y te va a zarandear!
|
||||
It's actually pretty. La verdad es que es bonita.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Sus drones vuelan hasta los fardos de hierba sueltos a menos de 40 m y los traen. La compuerta delantera los pone en una cinta. Dos drones, uno más por mejora.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Pulsa dos veces SPACE en el aire para lanzarte.
|
||||
JOIN UNIRSE
|
||||
@ -372,7 +369,6 @@ mowing segando
|
||||
MOWING SEGANDO
|
||||
Mowing Tractor Tractor segador
|
||||
Mown Segado
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Siega los 19 sectores alrededor de su muelle. El muelle ata en fardos lo que trae y los pasa a la cinta.
|
||||
Music Música
|
||||
My grandmother mowed faster, and she used her teeth. Mi abuela segaba más rápido, y eso que usaba los dientes.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Segundo aire
|
||||
+30% walking speed +30 % de velocidad al caminar
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 kg de hierba de tu herramienta. {1}, {2} durante 2 minutos y medio
|
||||
Bring 1 kg of grass in your tool: mow a little first Trae 1 kg de hierba en tu herramienta: corta un poco primero
|
||||
onto the belt a la cinta
|
||||
straight to Earth directo a la Tierra
|
||||
straight to Earth, {0} m around directo a la Tierra, {0} m a la redonda
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Siega los sectores alrededor de su base y luego cada vez más lejos. Con cinta, la base manda fardos por ella; sin cinta, envía la hierba a la Tierra por su cuenta.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Empieza con 37 sectores, un corte más ancho y una tolva mayor.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Sus drones recogen fardos de hierba sueltos a 70 m (25 m más por mejora). Con una cinta en la escotilla delantera van por ella; sin cinta, directo a la Tierra. Dos drones, uno más por mejora.
|
||||
Sky Mower Segadora aérea
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Un gran dron segador. Vuela sobre rocas y colinas, siega 91 sectores alrededor de su plataforma y luego más lejos. No necesita cinta: la plataforma envía la hierba a la Tierra.
|
||||
{0} sectors mown clean +{1} {0} sectores segados del todo +{1}
|
||||
ME YO
|
||||
GLOBE GLOBO
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG mover · WHEEL zoom · SPACE volver a ti · M cerrar
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0} M
|
||||
+{0}% unloading +{0} % de déchargement
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW dans un rayon de 34 m. Suit le soleil, donc donne toute sa puissance toute la journée.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW dans un rayon de 16 m, moins quand le soleil est bas, rien la nuit.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 secteurs, une coupe plus large et une plus grande trémie.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW dans un rayon de 24 m, moins quand le soleil est bas, rien la nuit.
|
||||
A belt already ends here Un tapis se termine déjà ici
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Un tapis qui se termine près d'un port s'y raccorde. Un tapis qui se termine sur un autre tapis le charge par le côté.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! N'ESSAYEZ MÊME PAS DE VOUS ARRÊTER !
|
||||
DONE TERMINÉ
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Appuie deux fois sur SPACE en l'air pour un élan vers l'avant. Carburant : de l'herbe, évidemment.
|
||||
DRAG turn · WHEEL zoom · M close DRAG tourner · WHEEL zoom · M fermer
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Roule sur la grille avec une tondeuse et elle se vide dans la cuve. Deux trappes à l'arrière envoient le tout sur des tapis, en bottes.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Entre dans la cour au pied de la rampe : c'est payé à mesure que ça se vide. Sur l'aire devant un garage, ça part dans le silo, et deux ports à l'arrière en font des bottes pour tes tapis.
|
||||
Driver's seat · R for the chase view Siège conducteur · R pour la vue poursuite
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Elle n'a pas besoin de borne et passe seule au secteur inachevé suivant, tant qu'il reste de l'herbe.
|
||||
It rips up the grass in its path and it will throw you around! Elle arrache l'herbe sur son passage et elle va te faire voltiger !
|
||||
It's actually pretty. C'est plutôt joli, en fait.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Ses drones vont chercher les bottes d'herbe qui traînent dans un rayon de 40 m et les ramènent. La trappe avant les met sur un tapis. Deux drones, un de plus par amélioration.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack : {0}. Appuie deux fois sur SPACE en l'air pour un élan.
|
||||
JOIN REJOINDRE
|
||||
@ -373,7 +370,6 @@ mowing tonte en cours
|
||||
MOWING TONTE
|
||||
Mowing Tractor Tracteur-tondeuse
|
||||
Mown Tondu
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Tond les 19 secteurs autour de sa borne. La borne lie ce qu'il rapporte en bottes pour le tapis.
|
||||
Music Musique
|
||||
My grandmother mowed faster, and she used her teeth. Ma grand-mère tondait plus vite, et avec ses dents.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Second souffle
|
||||
+30% walking speed +30 % de vitesse de marche
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0} : 1 kg d'herbe de ton outil. {1}, {2} pendant 2 min 30
|
||||
Bring 1 kg of grass in your tool: mow a little first Il faut 1 kg d'herbe dans ton outil : tonds un peu d'abord
|
||||
onto the belt sur le tapis
|
||||
straight to Earth direct vers la Terre
|
||||
straight to Earth, {0} m around direct vers la Terre, {0} m autour
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Tond les secteurs autour de sa base, puis de plus en plus loin. Avec un tapis, la base y envoie des bottes ; sans tapis, elle expédie l'herbe vers la Terre elle-même.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Commence avec 37 secteurs, une coupe plus large et une plus grande trémie.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Ses drones vont chercher les bottes d'herbe qui traînent dans un rayon de 70 m (25 m de plus par amélioration). Avec un tapis à la trappe avant, elles partent dessus ; sinon, direct vers la Terre. Deux drones, un de plus par amélioration.
|
||||
Sky Mower Tondeuse volante
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Un grand drone tondeur. Il survole rochers et collines, tond 91 secteurs autour de sa piste puis plus loin. Pas besoin de tapis : la piste envoie l'herbe vers la Terre.
|
||||
{0} sectors mown clean +{1} {0} secteurs tondus à ras +{1}
|
||||
ME MOI
|
||||
GLOBE GLOBE
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG déplacer · WHEEL zoom · SPACE revenir à vous · M fermer
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading +{0}% scarico
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW entro 34 m. Segue il sole, quindi dà piena potenza tutto il giorno.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW entro 16 m, meno col sole basso, niente di notte.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 settori, un taglio più largo e una tramoggia più grande.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW entro 24 m, meno col sole basso, niente di notte.
|
||||
A belt already ends here Qui finisce già un nastro
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Un nastro che finisce vicino a una porta si aggancia da solo. Un nastro che finisce su un altro nastro lo carica di lato.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! NON OSATE FERMARVI ORA!
|
||||
DONE FATTO
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Premi due volte SPACE in aria per uno scatto in avanti. Alimentato a... erba, ovviamente.
|
||||
DRAG turn · WHEEL zoom · M close DRAG ruota · WHEEL zoom · M chiudi
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Porta una falciatrice sulla griglia e si svuota nella vasca. Due portelli sul retro la mettono sui nastri in fasci.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Entra nel cortile ai piedi della rampa e l'erba viene pagata mentre scende. Sulla piazzola davanti a un garage va nel silo, e due porte sul retro la trasformano in fasci per i tuoi nastri.
|
||||
Driver's seat · R for the chase view Posto di guida · R per la visuale esterna
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Non gli serve una rimessa e passa da solo al prossimo settore non finito, finché c'è erba.
|
||||
It rips up the grass in its path and it will throw you around! Strappa l'erba sul suo cammino e ti farà volare!
|
||||
It's actually pretty. In effetti è bella.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. I suoi droni volano verso i fasci d'erba sparsi entro 40 m e li riportano. Il portello anteriore li mette su un nastro. Due droni, uno in più per ogni potenziamento.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Premi due volte SPACE in aria per uno scatto.
|
||||
JOIN ENTRA
|
||||
@ -373,7 +370,6 @@ mowing falcia
|
||||
MOWING TAGLIO
|
||||
Mowing Tractor Trattore falciatore
|
||||
Mown Falciati
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Falcia i 19 settori intorno alla sua rimessa. La rimessa lega ciò che porta in fasci per il nastro.
|
||||
Music Musica
|
||||
My grandmother mowed faster, and she used her teeth. Mia nonna falciava più in fretta, e usava i denti.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Secondo fiato
|
||||
+30% walking speed +30% velocità di camminata
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 kg d'erba dal tuo attrezzo. {1}, {2} per 2 minuti e mezzo
|
||||
Bring 1 kg of grass in your tool: mow a little first Servono 1 kg d'erba nel tuo attrezzo: prima falcia un po'
|
||||
onto the belt sul nastro
|
||||
straight to Earth dritto sulla Terra
|
||||
straight to Earth, {0} m around dritto sulla Terra, {0} m intorno
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Falcia i settori attorno alla base e poi sempre più lontano. Con un nastro la base ci manda i fasci, senza spedisce l'erba sulla Terra da sola.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Parte con 37 settori, un taglio più largo e una tramoggia più grande.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. I suoi droni recuperano i fasci d'erba sparsi entro 70 m (25 m in più per potenziamento). Con un nastro al portello anteriore vanno lì, senza dritti sulla Terra. Due droni, uno in più per potenziamento.
|
||||
Sky Mower Falciatrice volante
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Un grande drone falciatore. Vola sopra rocce e colline, falcia 91 settori attorno alla pista e poi più lontano. Niente nastro: la pista spedisce l'erba sulla Terra.
|
||||
{0} sectors mown clean +{1} {0} settori falciati a zero +{1}
|
||||
ME IO
|
||||
GLOBE GLOBO
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG sposta · WHEEL zoom · SPACE torna a te · M chiudi
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading 荷降ろし+{0}%
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 半径34 m内に16 kW。太陽を追いかけるので、一日中フル出力。
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 半径16 m内に3 kW。日が低いと減り、夜はゼロ。
|
||||
37 sectors, a wider cut and a bigger hopper. 37セクター、広い刈り幅、大きなホッパー。
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 半径24 m内に7.5 kW。日が低いと減り、夜はゼロ。
|
||||
A belt already ends here ここには既にベルトの終点がある
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. ポートの近くで終わるベルトは自動で接続される。別のベルトの上で終わるベルトは、横から合流する。
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! 今やめたらタダじゃおかんぞ!
|
||||
DONE 完了
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. 空中でSPACEを2回押すと前方へダッシュ。動力は……もちろん草だ。
|
||||
DRAG turn · WHEEL zoom · M close DRAG 回転 · WHEEL ズーム · M 閉じる
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. 草刈りマシンで格子の上に乗ると、中身が貯蔵庫に移る。背面の2つのハッチから草束としてベルトへ送り出す。
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. スロープ下のヤードに乗り入れれば、降ろした分だけ支払われる。ガレージ前のパッドではサイロに入り、背面の2つのポートから草束としてベルトへ出る。
|
||||
Driver's seat · R for the chase view 運転席 · Rで追従視点
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. ドック不要。草がある限り、自分で次の未完了セクターへ向かう。
|
||||
It rips up the grass in its path and it will throw you around! 通り道の草を根こそぎにして、あなたも吹き飛ばされますよ!
|
||||
It's actually pretty. 実は、きれいなんですよ。
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. ドローンが40 m以内に落ちている草束を回収してくる。前面のハッチからベルトに載せる。ドローンは2機、アップグレードごとに1機追加。
|
||||
Jetpack ジェットパック
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. ジェットパック:{0}。空中でSPACEを2回押すとダッシュ。
|
||||
JOIN 参加
|
||||
@ -373,7 +370,6 @@ mowing 草刈り中
|
||||
MOWING 草刈り中
|
||||
Mowing Tractor 草刈りトラクター
|
||||
Mown 刈り済み
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. ドックの周り19セクターを刈る。持ち帰った草は、ドックが草束にしてベルトへ送る。
|
||||
Music 音楽
|
||||
My grandmother mowed faster, and she used her teeth. うちのばあさんの方が速かったぞ。しかも歯で刈ってたんだ!
|
||||
N 北
|
||||
@ -954,3 +950,15 @@ Second Wind セカンドウィンド
|
||||
+30% walking speed 歩く速さ+30%
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}:道具の草 1 kg と交換。{1}、{2}(2分30秒)
|
||||
Bring 1 kg of grass in your tool: mow a little first 道具に草を1 kg入れて来よう:まず少し刈って
|
||||
onto the belt ベルトへ
|
||||
straight to Earth 地球へ直送
|
||||
straight to Earth, {0} m around 地球へ直送、半径{0} m
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. ドックの周りのセクターを刈り、終わればさらに外側へ広げる。ベルトがあればドックが草束を流し、なければ草を自分で地球へ送る。
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. 最初から37セクター、刈り幅が広く、ホッパーも大きい。
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. ドローンが70 m以内(強化ごとに+25 m)に落ちている草束を運んでくる。前のハッチにベルトがあればベルトへ、なければ地球へ直送。ドローン2機、強化ごとに1機追加。
|
||||
Sky Mower スカイモア
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. 大型の草刈りドローン。岩や丘を飛び越え、パッドの周り91セクターを刈り、終わればさらに外側へ。ベルト不要:パッドが草を地球へ送る。
|
||||
{0} sectors mown clean +{1} {0}セクターを刈り尽くした +{1}
|
||||
ME 自分
|
||||
GLOBE 地球儀
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG 移動 · WHEEL ズーム · SPACE 自分へ戻る · M 閉じる
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading 하역 속도 +{0}%
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 반경 34 m에 16 kW. 해를 따라 돌아서 하루 종일 최대 출력을 내요.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 반경 16 m에 3 kW. 해가 낮으면 줄고, 밤에는 0이에요.
|
||||
37 sectors, a wider cut and a bigger hopper. 37개 섹터, 더 넓은 베기 폭, 더 큰 호퍼.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 반경 24 m에 7.5 kW. 해가 낮으면 줄고, 밤에는 0이에요.
|
||||
A belt already ends here 여기서 이미 벨트가 끝나요
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. 포트 근처에서 끝나는 벨트는 포트에 딱 붙어요. 다른 벨트 위에서 끝나는 벨트는 옆에서 그 벨트로 짐을 실어요.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! 지금 멈추기만 해 봐!
|
||||
DONE 완료
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. 공중에서 SPACE를 두 번 누르면 앞으로 대시해요. 동력은... 당연히 풀이죠.
|
||||
DRAG turn · WHEEL zoom · M close DRAG 회전 · WHEEL 확대 · M 닫기
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. 예초기를 격자 위로 몰면 통에 비워져요. 뒤쪽 해치 두 개가 그걸 다발로 만들어 벨트에 실어요.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. 경사로 아래 마당으로 몰고 들어가면 내리는 대로 정산돼요. 차고 앞 패드에서는 사일로로 들어가고, 뒤쪽 포트 두 개가 그걸 다발로 만들어 벨트로 보내요.
|
||||
Driver's seat · R for the chase view 운전석 · R로 추적 시점
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. 도크가 필요 없고, 풀이 있는 한 스스로 다음 미완료 섹터로 이동해요.
|
||||
It rips up the grass in its path and it will throw you around! 지나가는 길의 풀을 뜯어 가고 사람도 날려 버려요!
|
||||
It's actually pretty. 사실 꽤 예뻐요.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. 드론이 40 m 안에 흩어진 풀 다발로 날아가 회수해 와요. 앞쪽 해치로 벨트에 올려요. 드론 두 대로 시작해 업그레이드마다 한 대씩 늘어요.
|
||||
Jetpack 제트팩
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. 제트팩: {0}. 공중에서 SPACE를 두 번 누르면 대시해요.
|
||||
JOIN 참가
|
||||
@ -373,7 +370,6 @@ mowing 깎는 중
|
||||
MOWING 깎는 중
|
||||
Mowing Tractor 예초 트랙터
|
||||
Mown 다 깎음
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. 도크 주변 19개 섹터를 깎아요. 가져온 풀은 도크가 다발로 묶어 벨트로 보내요.
|
||||
Music 음악
|
||||
My grandmother mowed faster, and she used her teeth. 우리 할머니는 이빨로 뜯어도 너희보다 빨랐어!
|
||||
N 북
|
||||
@ -954,3 +950,15 @@ Second Wind 재충전
|
||||
+30% walking speed 걷기 속도 +30%
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 도구에 담긴 풀 1kg. {1}, {2} (2분 30초 동안)
|
||||
Bring 1 kg of grass in your tool: mow a little first 도구에 풀 1kg을 담아 오세요: 먼저 조금 베세요
|
||||
onto the belt 벨트로
|
||||
straight to Earth 지구로 바로
|
||||
straight to Earth, {0} m around 지구로 바로, 반경 {0} m
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. 도크 주변 섹터를 깎고, 다 끝나면 더 바깥으로 나간다. 벨트가 있으면 도크가 다발을 보내고, 없으면 풀을 직접 지구로 보낸다.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. 처음부터 37섹터, 더 넓은 날, 더 큰 호퍼.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. 드론이 70 m 안(업그레이드마다 +25 m)에 놓인 풀 다발을 가져온다. 앞 해치에 벨트가 있으면 벨트로, 없으면 지구로 바로. 드론 2대, 업그레이드마다 1대 추가.
|
||||
Sky Mower 스카이 모어
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. 커다란 풀베기 드론. 바위와 언덕 위를 날며 패드 주변 91섹터를 깎고, 끝나면 더 바깥으로. 벨트 필요 없음: 패드가 풀을 지구로 보낸다.
|
||||
{0} sectors mown clean +{1} 섹터 {0}개 깨끗이 정리 +{1}
|
||||
ME 나
|
||||
GLOBE 지구본
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG 이동 · WHEEL 확대 · SPACE 내 위치로 · M 닫기
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0} mln
|
||||
+{0}% unloading +{0}% szybkości rozładunku
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW w promieniu 34 m. Podąża za słońcem, więc przez cały dzień daje pełną moc.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW w promieniu 16 m, mniej przy nisko stojącym słońcu, nic w nocy.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 sektorów, szerszy pokos i większy zbiornik.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW w promieniu 24 m, mniej przy nisko stojącym słońcu, nic w nocy.
|
||||
A belt already ends here Tu już kończy się taśma
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Taśma kończąca się przy wylocie sama się do niego dopina. Taśma kończąca się na innej taśmie zrzuca na nią ładunek z boku.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! NIE WAŻCIE SIĘ TERAZ PRZESTAĆ!
|
||||
DONE GOTOWE
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Wciśnij dwa razy SPACE w powietrzu, żeby wystrzelić do przodu. Napędzany... trawą, a jakże.
|
||||
DRAG turn · WHEEL zoom · M close DRAG obrót · WHEEL przybliżenie · M zamknij
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Wjedź kosiarką na kratę, a opróżni się do zasobnika. Dwie klapy z tyłu wydają zawartość na taśmy jako snopki.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Wjedź na plac u stóp rampy, a trawa zostanie opłacona w trakcie rozładunku. Na placu przed garażem trafia do silosu, a dwa wyloty z tyłu zamieniają ją w snopki na twoje taśmy.
|
||||
Driver's seat · R for the chase view Fotel kierowcy · R widok z tyłu
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Nie potrzebuje doku i sam rusza do następnego niedokończonego sektora, dopóki jest trawa.
|
||||
It rips up the grass in its path and it will throw you around! Wyrywa trawę na swojej drodze i będzie tobą rzucać!
|
||||
It's actually pretty. Właściwie to ładne.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Jego drony wylatują po luzem leżące snopki trawy w promieniu 40 m i je przynoszą. Przednia klapa wydaje je na taśmę. Dwa drony, plus jeden z każdym ulepszeniem.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Wciśnij dwa razy SPACE w powietrzu, żeby zrobić zryw.
|
||||
JOIN DOŁĄCZ
|
||||
@ -373,7 +370,6 @@ mowing kosi
|
||||
MOWING KOSZENIE
|
||||
Mowing Tractor Traktor koszący
|
||||
Mown Skoszone
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Kosi 19 sektorów wokół swojego doku. Dok wiąże to, co robot przyniesie, w snopki na taśmę.
|
||||
Music Muzyka
|
||||
My grandmother mowed faster, and she used her teeth. Moja babcia kosiła szybciej, a używała zębów.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Drugi oddech
|
||||
+30% walking speed +30% szybkości chodu
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 kg trawy z twojego narzędzia. {1}, {2} przez 2,5 minuty
|
||||
Bring 1 kg of grass in your tool: mow a little first Przynieś 1 kg trawy w narzędziu: najpierw trochę skoś
|
||||
onto the belt na taśmę
|
||||
straight to Earth prosto na Ziemię
|
||||
straight to Earth, {0} m around prosto na Ziemię, {0} m wokół
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Kosi sektory wokół stacji, a potem coraz dalej. Z taśmą stacja wysyła nią snopki, bez taśmy sama śle trawę na Ziemię.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Zaczyna od 37 sektorów, ma szerszy pokos i większy zbiornik.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Jego drony zbierają leżące luzem snopki trawy w promieniu 70 m (25 m więcej za ulepszenie). Z taśmą przy przednim włazie trafiają na nią, bez taśmy prosto na Ziemię. Dwa drony, jeden więcej za ulepszenie.
|
||||
Sky Mower Kosiarka powietrzna
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Duży dron koszący. Lata nad skałami i wzgórzami, kosi 91 sektorów wokół lądowiska, a potem dalej. Bez taśmy: lądowisko samo śle trawę na Ziemię.
|
||||
{0} sectors mown clean +{1} {0} sektorów wykoszonych do czysta +{1}
|
||||
ME JA
|
||||
GLOBE GLOBUS
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG przesuń · WHEEL przybliżenie · SPACE wróć do siebie · M zamknij
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0} mi
|
||||
+{0}% unloading +{0}% de descarga
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 kW num raio de 34 m. Segue o sol, então dá potência total o dia inteiro.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 kW num raio de 16 m, menos com o sol baixo, nada à noite.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 setores, corte mais largo e caçamba maior.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 kW num raio de 24 m, menos com o sol baixo, nada à noite.
|
||||
A belt already ends here Já tem uma esteira terminando aqui
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Uma esteira que termina perto de uma porta se encaixa nela. Uma esteira que termina em outra esteira carrega nela pela lateral.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! NEM PENSEM EM PARAR AGORA!
|
||||
DONE PRONTO
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Toque duas vezes em SPACE no ar para um impulso para a frente. Movido a... grama, é claro.
|
||||
DRAG turn · WHEEL zoom · M close DRAG girar · WHEEL zoom · M fechar
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Leve um cortador até a grelha e ele esvazia no compartimento. Duas comportas atrás põem tudo nas esteiras como fardos.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Entre no pátio ao pé da rampa e a carga é paga conforme sai. Na plataforma em frente a uma garagem ela vai para o silo, e duas portas atrás a transformam em fardos para as suas esteiras.
|
||||
Driver's seat · R for the chase view Banco do motorista · R para a câmera de perseguição
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Ele não precisa de doca e segue sozinho para o próximo setor inacabado, enquanto houver grama.
|
||||
It rips up the grass in its path and it will throw you around! Ele arranca a grama pelo caminho e vai jogar você longe!
|
||||
It's actually pretty. Até que é bonito.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Os drones dela voam até fardos de grama soltos num raio de 40 m e os trazem. A comporta da frente os põe numa esteira. Dois drones, mais um por melhoria.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Toque duas vezes em SPACE no ar para um impulso.
|
||||
JOIN ENTRAR
|
||||
@ -373,7 +370,6 @@ mowing cortando
|
||||
MOWING CORTANDO
|
||||
Mowing Tractor Trator Cortador
|
||||
Mown Cortado
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Corta os 19 setores ao redor da sua doca. A doca amarra o que ele traz em fardos para a esteira.
|
||||
Music Música
|
||||
My grandmother mowed faster, and she used her teeth. Minha avó cortava mais rápido, e ela usava os dentes.
|
||||
N N
|
||||
@ -954,3 +950,15 @@ Second Wind Segundo fôlego
|
||||
+30% walking speed +30% de velocidade de caminhada
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 kg de grama da sua ferramenta. {1}, {2} por 2 minutos e meio
|
||||
Bring 1 kg of grass in your tool: mow a little first Traga 1 kg de grama na sua ferramenta: corte um pouco antes
|
||||
onto the belt para a esteira
|
||||
straight to Earth direto para a Terra
|
||||
straight to Earth, {0} m around direto para a Terra, {0} m ao redor
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Corta os setores em volta da base e depois cada vez mais longe. Com esteira, a base manda fardos por ela; sem esteira, envia a grama para a Terra sozinha.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Começa com 37 setores, corte mais largo e reservatório maior.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Seus drones buscam fardos de grama soltos a até 70 m (25 m a mais por melhoria). Com esteira na escotilha da frente vão por ela; sem esteira, direto para a Terra. Dois drones, mais um por melhoria.
|
||||
Sky Mower Cortador Aéreo
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Um grande drone cortador. Voa sobre pedras e morros, corta 91 setores em volta da plataforma e depois mais longe. Sem esteira: a plataforma envia a grama para a Terra.
|
||||
{0} sectors mown clean +{1} {0} setores limpos +{1}
|
||||
ME EU
|
||||
GLOBE GLOBO
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG mover · WHEEL zoom · SPACE voltar a você · M fechar
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0} млн
|
||||
+{0}% unloading +{0}% к разгрузке
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 16 кВт в радиусе 34 м. Следит за солнцем, поэтому весь день выдаёт полную мощность.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 3 кВт в радиусе 16 м. Меньше при низком солнце, ночью — ничего.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 секторов, полоса шире и бункер больше.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 7,5 кВт в радиусе 24 м. Меньше при низком солнце, ночью — ничего.
|
||||
A belt already ends here Здесь уже кончается конвейер
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Конвейер, который кончается у порта, сам к нему цепляется. Конвейер, который кончается на другом конвейере, подаёт груз на него сбоку.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! НЕ СМЕЙТЕ ОСТАНАВЛИВАТЬСЯ!
|
||||
DONE ГОТОВО
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Дважды нажми SPACE в воздухе, чтобы рвануть вперёд. Работает на... траве, конечно.
|
||||
DRAG turn · WHEEL zoom · M close DRAG — вращать · WHEEL — масштаб · M — закрыть
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Заезжай косилкой на решётку, и она опустеет в приёмник. Два люка сзади выдают траву на конвейеры связками.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Заезжай во двор у подножия пандуса — трава оплачивается по мере выгрузки. На площадке перед гаражом она уходит в хранилище, а два порта сзади превращают её в связки для твоих конвейеров.
|
||||
Driver's seat · R for the chase view Место водителя · R — вид сзади
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Ему не нужен док: он сам переходит к следующему недокошенному сектору, пока есть трава.
|
||||
It rips up the grass in its path and it will throw you around! Он вырывает траву на пути и будет тебя швырять!
|
||||
It's actually pretty. Это даже красиво.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Его дроны летают за брошенными связками травы в радиусе 40 м и приносят их. Передний люк выкладывает их на конвейер. Два дрона, плюс по одному за каждое улучшение.
|
||||
Jetpack Джетпак
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Джетпак: {0}. Дважды нажми SPACE в воздухе для рывка.
|
||||
JOIN ВОЙТИ
|
||||
@ -373,7 +370,6 @@ mowing косит
|
||||
MOWING КОСИТ
|
||||
Mowing Tractor Трактор-косилка
|
||||
Mown Скошено
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Косит 19 секторов вокруг своего дока. Док вяжет привезённую траву в связки для конвейера.
|
||||
Music Музыка
|
||||
My grandmother mowed faster, and she used her teeth. Моя бабушка косила быстрее, а она траву зубами щипала.
|
||||
N С
|
||||
@ -954,3 +950,15 @@ Second Wind Второе дыхание
|
||||
+30% walking speed +30% к скорости ходьбы
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: 1 кг травы из инструмента. {1}, {2} на 2,5 минуты
|
||||
Bring 1 kg of grass in your tool: mow a little first Нужен 1 кг травы в инструменте: сначала покоси
|
||||
onto the belt на ленту
|
||||
straight to Earth сразу на Землю
|
||||
straight to Earth, {0} m around сразу на Землю, радиус {0} м
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. Косит секторы вокруг дока, а когда скосит — уходит всё дальше. С лентой док отправляет связки по ней, без ленты сам шлёт траву на Землю.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. Сразу 37 секторов, шире захват и больше бункер.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Дроны собирают связки травы, лежащие в радиусе 70 м (+25 м за улучшение). С лентой у передней заслонки — на ленту, без неё — сразу на Землю. Два дрона, по одному за улучшение.
|
||||
Sky Mower Небесная косилка
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Большой дрон-косильщик. Летает над камнями и холмами, косит 91 сектор вокруг площадки и потом уходит дальше. Лента не нужна: площадка сама шлёт траву на Землю.
|
||||
{0} sectors mown clean +{1} Скошено начисто секторов: {0} +{1}
|
||||
ME Я
|
||||
GLOBE ГЛОБУС
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG — двигать · WHEEL — масштаб · SPACE — к себе · M — закрыть
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0} Mn
|
||||
+{0}% unloading +%{0} boşaltma
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 34 m içinde 16 kW. Güneşi takip eder, bu yüzden bütün gün tam güç verir.
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 16 m içinde 3 kW; güneş alçaldıkça azalır, gece hiç vermez.
|
||||
37 sectors, a wider cut and a bigger hopper. 37 sektör, daha geniş kesim ve daha büyük hazne.
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 24 m içinde 7,5 kW; güneş alçaldıkça azalır, gece hiç vermez.
|
||||
A belt already ends here Burada zaten bir bant bitiyor
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. Bir portun yakınında biten bant ona kendiliğinden bağlanır. Başka bir bandın üstünde biten bant ona yandan yükler.
|
||||
@ -169,7 +168,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! SAKIN ŞİMDİ DURMAYA KALKMAYIN!
|
||||
DONE TAMAM
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. Havada SPACE'e iki kez basınca ileri atılırsın. Yakıtı mı? Çim tabii ki.
|
||||
DRAG turn · WHEEL zoom · M close DRAG çevir · WHEEL yakınlaş · M kapat
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. Biçme makinesini ızgaranın üstüne sür, haznesi bölmeye boşalsın. Arkadaki iki kapak bunu demet olarak bantlara verir.
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. Rampanın dibindeki avluya sür, boşaldıkça parası ödenir. Garajın önündeki platformda silonun içine gider, arkadaki iki port da bunu bantların için demete çevirir.
|
||||
Driver's seat · R for the chase view Sürücü koltuğu · takip kamerası için R
|
||||
@ -311,7 +309,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. Yuvaya ihtiyacı yoktur; çim olduğu sürece kendi başına sıradaki bitmemiş sektöre geçer.
|
||||
It rips up the grass in its path and it will throw you around! Yolundaki çimi söküyor ve seni oradan oraya fırlatacak!
|
||||
It's actually pretty. Aslında güzel.
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. Dronları 40 m içinde ortada kalmış çim demetlerine uçup onları getirir. Ön kapak onları banda koyar. İki dron, her yükseltmede bir tane daha.
|
||||
Jetpack Jetpack
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. Jetpack: {0}. Atılmak için havada SPACE'e iki kez bas.
|
||||
JOIN KATIL
|
||||
@ -373,7 +370,6 @@ mowing biçiyor
|
||||
MOWING BİÇİYOR
|
||||
Mowing Tractor Biçme Traktörü
|
||||
Mown Biçildi
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. Yuvasının çevresindeki 19 sektörü biçer. Yuva, getirdiklerini bant için demet yapar.
|
||||
Music Müzik
|
||||
My grandmother mowed faster, and she used her teeth. Babaannem daha hızlı biçerdi, hem de dişleriyle.
|
||||
N K
|
||||
@ -954,3 +950,15 @@ Second Wind İkinci nefes
|
||||
+30% walking speed +%30 yürüme hızı
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}: aletinden 1 kg çim. {1}, 2,5 dakika boyunca {2}
|
||||
Bring 1 kg of grass in your tool: mow a little first Aletinde 1 kg çim getir: önce biraz biç
|
||||
onto the belt banta
|
||||
straight to Earth doğrudan Dünya'ya
|
||||
straight to Earth, {0} m around doğrudan Dünya'ya, {0} m çevre
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. İstasyonunun çevresindeki sektörleri biçer, bitince daha uzağa gider. Bant varsa istasyon demetleri banda gönderir, yoksa çimi kendisi Dünya'ya yollar.
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. 37 sektörle başlar, daha geniş kesim ve daha büyük hazne.
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. Dronları 70 m içinde (her yükseltmede +25 m) açıkta duran çim demetlerini getirir. Ön kapakta bant varsa banta, yoksa doğrudan Dünya'ya. İki dron, her yükseltmede bir fazla.
|
||||
Sky Mower Gök Biçici
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. Büyük bir biçme dronu. Kayaların ve tepelerin üstünden uçar, pistinin çevresindeki 91 sektörü biçer, sonra daha uzağa gider. Bant gerekmez: pist çimi Dünya'ya gönderir.
|
||||
{0} sectors mown clean +{1} {0} sektör tamamen biçildi +{1}
|
||||
ME BEN
|
||||
GLOBE KÜRE
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG taşı · WHEEL yakınlaş · SPACE sana dön · M kapat
|
||||
|
||||
@ -10,7 +10,6 @@ ${0}M ${0}M
|
||||
+{0}% unloading 卸料速度 +{0}%
|
||||
16 kW within 34 m. Follows the sun, so it gives its full power all day. 34 m 范围内供电 16 kW。会追着太阳转,全天满功率发电。
|
||||
3 kW within 16 m, less when the sun is low, nothing at night. 16 m 范围内供电 3 kW,太阳低时发电减少,夜里不发电。
|
||||
37 sectors, a wider cut and a bigger hopper. 覆盖 37 个区块,割幅更宽,料斗更大。
|
||||
7.5 kW within 24 m, less when the sun is low, nothing at night. 24 m 范围内供电 7.5 kW,太阳低时发电减少,夜里不发电。
|
||||
A belt already ends here 这里已经有传送带的终点了
|
||||
A belt ending near a port snaps onto it. A belt ending on another belt loads onto it from the side. 传送带的终点靠近接口时会自动接上。终点落在另一条传送带上时,会从侧面汇入。
|
||||
@ -168,7 +167,6 @@ Doesn't mow. Fast, and carries four bundles: E loads the one in your arms, T tip
|
||||
DON'T YOU DARE STOP NOW! 现在谁敢停下来试试!
|
||||
DONE 完成
|
||||
Double-tap SPACE in the air for a dash forward. Powered by... grass, obviously. 空中双击 SPACE 向前冲刺。动力来源嘛……当然是草。
|
||||
DRAG turn · WHEEL zoom · M close DRAG 旋转 · WHEEL 缩放 · M 关闭
|
||||
Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles. 把割草机开上格栅,草就会倒进料仓。后面的两个舱口会把草打成草捆送上传送带。
|
||||
Drive into the yard at the foot of the ramp and it's paid as it comes off. On the pad in front of a garage it goes into the silo, and two ports at the back turn that into bundles for your belts. 开进坡道下方的货场,卸下多少就结算多少。停在车库前的车库坪上,草会进入筒仓,后面的两个接口会把它打成草捆送上传送带。
|
||||
Driver's seat · R for the chase view 驾驶座 · R 切换追随视角
|
||||
@ -310,7 +308,6 @@ It carries on from where it ended until it lands on a port or you press RIGHT CL
|
||||
It needs no dock and goes on to the next unfinished sector by itself, for as long as there is grass. 它不需要机器人坞,会自己去下一个没割完的区块,只要还有草就不停。
|
||||
It rips up the grass in its path and it will throw you around! 它会卷走沿途的草,还会把你甩飞!
|
||||
It's actually pretty. 其实还挺好看的。
|
||||
Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade. 它的无人机会飞去 40 m 内散落的草捆,把它们带回来。前舱口把草捆送上传送带。初始两架无人机,每次升级多一架。
|
||||
Jetpack 喷气背包
|
||||
Jetpack: {0}. Double-tap SPACE in the air for a dash. 喷气背包:{0}。空中双击 SPACE 冲刺。
|
||||
JOIN 加入
|
||||
@ -372,7 +369,6 @@ mowing 割草中
|
||||
MOWING 割草中
|
||||
Mowing Tractor 割草拖拉机
|
||||
Mown 已割完
|
||||
Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt. 负责割机器人坞周围的 19 个区块。机器人坞会把它带回的草打成草捆送上传送带。
|
||||
Music 音乐
|
||||
My grandmother mowed faster, and she used her teeth. 我奶奶割得都比你们快,她还是用牙啃的。
|
||||
N 北
|
||||
@ -954,3 +950,15 @@ Second Wind 重获活力
|
||||
+30% walking speed 行走速度 +30%
|
||||
{0}: 1 kg of grass from your tool. {1}, {2} for 2½ minutes {0}:从工具里拿出 1 公斤草。{1},{2},持续 2 分 30 秒
|
||||
Bring 1 kg of grass in your tool: mow a little first 工具里要有 1 公斤草:先去割一点
|
||||
onto the belt 送上传送带
|
||||
straight to Earth 直送地球
|
||||
straight to Earth, {0} m around 直送地球,半径 {0} 米
|
||||
Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself. 割完停靠站周围的区块后会继续向外扩展。有传送带时停靠站把草捆送上去,没有就直接把草送往地球。
|
||||
Starts with 37 sectors, a wider cut and a bigger hopper. 一开始就有 37 个区块,割幅更宽,料斗更大。
|
||||
Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade. 无人机会把 70 米内(每次升级 +25 米)散落的草捆运回来。前舱口接了传送带就送上传送带,没接就直送地球。两架无人机,每次升级多一架。
|
||||
Sky Mower 空中割草机
|
||||
A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth. 一架大型割草无人机。飞越岩石和山丘,割完停机坪周围 91 个区块后继续向外。无需传送带:停机坪直接把草送往地球。
|
||||
{0} sectors mown clean +{1} {0} 个区块已割净 +{1}
|
||||
ME 我
|
||||
GLOBE 地球仪
|
||||
DRAG move · WHEEL zoom · SPACE back to you · M close DRAG 移动 · WHEEL 缩放 · SPACE 回到自己 · M 关闭
|
||||
|
||||
10393
Assets/Scenes/Main.unity
10393
Assets/Scenes/Main.unity
File diff suppressed because it is too large
Load Diff
60
Assets/Scripts/Core/DemoBot.Bots.cs
Normal file
60
Assets/Scripts/Core/DemoBot.Bots.cs
Normal file
@ -0,0 +1,60 @@
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GrassCutter
|
||||
{
|
||||
public partial class DemoBot
|
||||
{
|
||||
/// <summary>
|
||||
/// -demobots: a Robot Mk I, a Sky Mower and a Drone Pad, none of them with a belt. All three should keep earning on
|
||||
/// their own: the robot and the sky mower widen their rings once they are done, the pad ships what its drones bring.
|
||||
/// </summary>
|
||||
IEnumerator Bots()
|
||||
{
|
||||
TeamState.DeleteSave();
|
||||
yield return new WaitForSeconds(2f);
|
||||
NetSession.Instance.HostLocal();
|
||||
while (!Me || !Ts) yield return null;
|
||||
yield return new WaitForSeconds(3f);
|
||||
Clock(11f);
|
||||
|
||||
var robotAt = Soil17(140f, -40f);
|
||||
var skyAt = Soil17(-120f, 60f);
|
||||
var padAt = Soil17(40f, 150f);
|
||||
Quaternion Face(Vector3 p) => Quaternion.LookRotation(Vector3.ProjectOnPlane(Vector3.forward, Planet.Up(p)), Planet.Up(p));
|
||||
var robot = Spawner.Instance.SpawnPiece(PieceId.RobotI, robotAt, Face(robotAt), robotAt, true).GetComponent<RobotDock>();
|
||||
var sky = Spawner.Instance.SpawnPiece(PieceId.SkyMower, skyAt, Face(skyAt), skyAt, true).GetComponent<RobotDock>();
|
||||
var pad = Spawner.Instance.SpawnPiece(PieceId.DronePad, padAt, Face(padAt), padAt, true).GetComponent<DronePad>();
|
||||
for (int i = 0; i < 9; i++)
|
||||
{
|
||||
var a = Quaternion.AngleAxis(i * 40f, Planet.Up(padAt)) * Vector3.ProjectOnPlane(Vector3.forward, Planet.Up(padAt)).normalized * (12f + i * 6f);
|
||||
Spawner.Instance.SpawnCargo(CargoKind.Grass, Planet.Surface(padAt + a) + Planet.Up(padAt + a) * 0.6f, Quaternion.identity, Vector3.zero);
|
||||
}
|
||||
yield return new WaitForSeconds(1f);
|
||||
Log($"bots built: robot {(robot ? "ok" : "MISSING")}, sky {(sky ? "ok" : "MISSING")}, pad {(pad ? "ok" : "MISSING")}");
|
||||
if (!robot || !sky || !pad) yield break;
|
||||
|
||||
double money = Ts.Money.Value;
|
||||
Mowbot.Haste = 25f;
|
||||
yield return new WaitForSeconds(3f);
|
||||
var skyUp = Planet.Up(sky.Shown);
|
||||
yield return Look("bot01_sky_mower", sky.Shown + skyUp * 5f + Vector3.ProjectOnPlane(Vector3.right, skyUp).normalized * 9f, sky.Shown, 0.2f);
|
||||
yield return Look("bot02_robot", robot.Shown + Planet.Up(robot.Shown) * 3f + Vector3.right * 4f, robot.Shown, 0.2f);
|
||||
for (int k = 1; k <= 6; k++)
|
||||
{
|
||||
yield return new WaitForSeconds(15f);
|
||||
Log($"t+{k * 15} s at {Mowbot.Haste:0}x: earned {Ts.Money.Value - money:0}, closed {Ts.Closed.Value}");
|
||||
Log($" robot: {robot.Prompt}");
|
||||
Log($" sky: {sky.Prompt} alt {Planet.Altitude(sky.ShownBody.position) - Planet.Altitude(sky.Shown):0.0} m");
|
||||
Log($" pad: {pad.Prompt}, delivered {pad.Delivered}");
|
||||
}
|
||||
skyUp = Planet.Up(sky.Shown);
|
||||
yield return Look("bot03_sky_late", sky.Shown + skyUp * 7f + Vector3.ProjectOnPlane(Vector3.forward, skyUp).normalized * -12f, sky.Shown, 0.2f);
|
||||
yield return Look("bot04_pad", padAt + Planet.Up(padAt) * 6f + Vector3.right * 8f, padAt, 0.2f);
|
||||
Mowbot.Haste = 1f;
|
||||
Log("bots done");
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Core/DemoBot.Bots.cs.meta
Normal file
2
Assets/Scripts/Core/DemoBot.Bots.cs.meta
Normal file
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 054f406d5f753b04ea40bd5f12cbd553
|
||||
@ -3003,6 +3003,11 @@ namespace GrassCutter
|
||||
yield return Sizes();
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Has("-demobots"))
|
||||
{
|
||||
yield return Bots();
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Has("-demobelts"))
|
||||
{
|
||||
yield return Belts();
|
||||
|
||||
@ -51,6 +51,7 @@ namespace GrassCutter
|
||||
Cheats.Run("ship 60");
|
||||
BuildRules.AnyGround = true;
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
yield return StillKey();
|
||||
yield return StillCrew();
|
||||
yield return StillMachines();
|
||||
yield return StillFactory();
|
||||
@ -79,6 +80,55 @@ namespace GrassCutter
|
||||
|
||||
// ───────────────────────── by day ─────────────────────────
|
||||
|
||||
/// <summary>
|
||||
/// `x_key`: the key art, from the game itself. The crew mows across the meadow in a staggered line, each trailing a
|
||||
/// cut stripe, under the ringed giant. The camera looks the giant's way, so it hangs over the field; `-shotsize`
|
||||
/// picks the frame (wide for the capsules and hero, upright for the library and vertical capsules), and the
|
||||
/// lens widens on an upright frame so the giant and the crew both fit.
|
||||
/// </summary>
|
||||
IEnumerator StillKey()
|
||||
{
|
||||
if (!Wanted("x_key")) yield break;
|
||||
Sky(0.55f, false);
|
||||
bool tall = H > W;
|
||||
// the spot and the lens can be tried from the command line without a new build
|
||||
float x = Arg("-keyx", -80f), z = Arg("-keyz", 300f);
|
||||
float dist = Arg("-keydist", tall ? 11f : 10f), aimUp = Arg("-keyaim", tall ? 10f : 9f), fov = Arg("-keyfov", tall ? 66f : 58f);
|
||||
float spread = Arg("-keyspread", tall ? 2.4f : 3.6f);
|
||||
// the giant hangs at (-0.55, 0.42, 0.72) in the sky above the base: look past it to the right, so it hangs
|
||||
// over the left of the field and leaves the right for the logo
|
||||
var giant = new Vector2(-0.55f, 0.72f).normalized;
|
||||
var look = Rotate(giant, -Arg("-keyturn", tall ? 4f : 12f));
|
||||
var right = new Vector2(look.y, -look.x);
|
||||
var walk = (right * 0.55f - look * 0.85f).normalized; // toward us and a little across, faces showing
|
||||
var abreast = new Vector2(walk.y, -walk.x); // across the frame
|
||||
Vector3 At(Vector2 p, float h = 0f) => On(p.x, p.y, h);
|
||||
var mid = new Vector2(x, z);
|
||||
var who = new[] { 4, 1, 6, 2 };
|
||||
var tools = new[] { ToolId.WideScythe, ToolId.LongScythe, ToolId.WideScythe, ToolId.Scythe };
|
||||
for (int i = 0; i < who.Length; i++)
|
||||
{
|
||||
// a shallow V: the middle two lead, the outer two a step behind
|
||||
var start = mid + abreast * ((i - 1.5f) * spread) - walk * (Mathf.Abs(i - 1.5f) * 1.4f);
|
||||
MowMap.Cut(At(start - walk * 45f), At(start), 2.4f);
|
||||
var s0 = start;
|
||||
Actor(who[i], At(start), new Vector3(walk.x, 0f, walk.y), tools[i], true, s => At(s0 + walk * (s * 1.1f)));
|
||||
}
|
||||
var cam = mid - look * dist;
|
||||
var aim = mid + look * 30f;
|
||||
yield return Still("x_key", t => new Lens(At(cam, tall ? 2.6f : 2.8f), At(aim, aimUp), fov), 2f);
|
||||
Strike();
|
||||
}
|
||||
|
||||
static float Arg(string flag, float fallback) =>
|
||||
float.TryParse(CommandLine.Get(flag), System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out float v) ? v : fallback;
|
||||
|
||||
static Vector2 Rotate(Vector2 v, float degrees)
|
||||
{
|
||||
float r = degrees * Mathf.Deg2Rad, c = Mathf.Cos(r), s = Mathf.Sin(r);
|
||||
return new Vector2(v.x * c - v.y * s, v.x * s + v.y * c);
|
||||
}
|
||||
|
||||
IEnumerator StillCrew()
|
||||
{
|
||||
if (!Wanted(X("x_crew"))) yield break;
|
||||
|
||||
@ -117,7 +117,14 @@ namespace GrassCutter
|
||||
[DefaultExecutionOrder(-2000)]
|
||||
public partial class Trailer : MonoBehaviour
|
||||
{
|
||||
const int W = 2560, H = 1440;
|
||||
/// <summary>The frame: 2560x1440 unless `-shotsize WxH` asks for another (key art is shot big, and upright too).</summary>
|
||||
static readonly int W = ShotSize(0, 2560), H = ShotSize(1, 1440);
|
||||
|
||||
static int ShotSize(int i, int fallback)
|
||||
{
|
||||
var p = (CommandLine.Get("-shotsize") ?? "").Split('x');
|
||||
return p.Length == 2 && int.TryParse(p[i], out int v) && v >= 64 && v <= 8192 ? v : fallback;
|
||||
}
|
||||
public string Folder;
|
||||
Camera _cam;
|
||||
RenderTexture _rt;
|
||||
|
||||
@ -525,6 +525,33 @@ namespace GrassCutter
|
||||
return false;
|
||||
}
|
||||
|
||||
static readonly List<Port> s_belted = new List<Port>();
|
||||
|
||||
/// <summary>Does a belt leave any of this piece's hatches?</summary>
|
||||
public static bool Belted(BuildPiece piece)
|
||||
{
|
||||
if (!piece) return false;
|
||||
s_belted.Clear();
|
||||
piece.Ports(s_belted);
|
||||
foreach (var p in s_belted)
|
||||
if (!p.input && Nearest(p.at, true, Joined, piece, out var next, out _, out _) && next.GetComponentInChildren<Conveyor>()) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Server: a silo with no belt out sends what it holds straight to Earth, a batch every few seconds (one payment
|
||||
/// and one message per batch, not one per kilo). A belt is for more money (bales, bricks), never a must.
|
||||
/// </summary>
|
||||
public static void Ship(NetworkVariable<float> silo, Vector3 at, ref float next)
|
||||
{
|
||||
if (silo.Value < 1f || Time.time < next) return;
|
||||
next = Time.time + 3f;
|
||||
var ts = TeamState.Instance;
|
||||
if (!ts) return;
|
||||
ts.ServerDeposit(silo.Value, CargoKind.Grass, at);
|
||||
silo.Value = 0f;
|
||||
}
|
||||
|
||||
/// <summary>Does a belt already end here?</summary>
|
||||
public static bool Taken(Vector3 at)
|
||||
{
|
||||
|
||||
@ -7,12 +7,14 @@ namespace GrassCutter
|
||||
/// <summary>
|
||||
/// A pad of fetching drones. Bundles of grass lying loose within <see cref="Range"/> of it (thrown down, dropped off the
|
||||
/// end of a belt, flung by a twister) are flown in, one per drone per trip, and go into the pad's silo, which puts them
|
||||
/// on the belts like any other silo. A trip is one synced value per drone (where to, when it left), and every peer flies
|
||||
/// on the belts like any other silo, or with no belt out sends them straight to Earth: tie a bundle, drop it, the drones
|
||||
/// do the walking. A trip is one synced value per drone (where to, when it left), and every peer flies
|
||||
/// the drone along the same plan from it: up, across, down, grab, up, back, down onto the pad.
|
||||
/// </summary>
|
||||
public class DronePad : SiloPiece
|
||||
{
|
||||
public const float Range = 40f;
|
||||
/// <summary>How far the drones go from a Mk I pad; every upgrade adds <see cref="RangePerTier"/>.</summary>
|
||||
public const float Range = 70f, RangePerTier = 25f;
|
||||
const float Room = 60f, Cruise = 7f, Climb = 3f, Speed = 6f, Hover = 1.35f, GrabTime = 0.8f, Carry = 1f, Look = 0.5f;
|
||||
const int Most = 4;
|
||||
/// <summary>A drone at rest on the pad.</summary>
|
||||
@ -41,6 +43,8 @@ namespace GrassCutter
|
||||
/// <summary>Two drones at Mk I, one more per upgrade, four at most.</summary>
|
||||
int Count => Mathf.Min(Most, 2 + (Piece ? Piece.Tier.Value : 0));
|
||||
float Fly => Speed * Mathf.Sqrt(Piece ? Piece.TierMul : 1f);
|
||||
float Reach => Range + RangePerTier * (Piece ? Piece.Tier.Value : 0);
|
||||
float _shipAt;
|
||||
double Now => NetworkManager ? NetworkManager.ServerTime.Time : Time.timeAsDouble;
|
||||
|
||||
public override string Prompt
|
||||
@ -49,7 +53,8 @@ namespace GrassCutter
|
||||
{
|
||||
int out_ = 0;
|
||||
for (int i = 0; i < Count; i++) if (Trip(i).Value.w >= 0f) out_++;
|
||||
return Loc.F("Drone Pad: {0} drones, {1} out · {2} of {3}", Count, out_, GameDefs.Kilos(Silo.Value), GameDefs.Kilos(Room));
|
||||
return Loc.F("Drone Pad: {0} drones, {1} out · {2} of {3}", Count, out_, GameDefs.Kilos(Silo.Value), GameDefs.Kilos(Room))
|
||||
+ " · " + (BeltNet.Belted(Piece) ? Loc.T("onto the belt") : Loc.F("straight to Earth, {0} m around", Mathf.RoundToInt(Reach)));
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,8 +164,11 @@ namespace GrassCutter
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
if (Belted()) base.Update();
|
||||
bool belted = Belted();
|
||||
if (belted) base.Update();
|
||||
if (!IsServer || !IsSpawned) return;
|
||||
// no belt out: what the drones bring goes straight to Earth, so they never stand idle on a full silo
|
||||
if (!belted) BeltNet.Ship(Silo, transform.position, ref _shipAt);
|
||||
double now = Now;
|
||||
bool look = Time.time >= _nextLook;
|
||||
if (look) _nextLook = Time.time + Look;
|
||||
@ -224,7 +232,7 @@ namespace GrassCutter
|
||||
for (int k = 0; k < Most; k++) if (Trip(k).Value.w >= 0f) out_++;
|
||||
if (Silo.Value + (out_ + 1) * GameDefs.BundleKg > Room) return;
|
||||
Cargo best = null;
|
||||
float bestD = Range * Range;
|
||||
float bestD = Reach * Reach;
|
||||
var here = transform.position;
|
||||
foreach (var c in Cargo.All)
|
||||
{
|
||||
|
||||
@ -36,7 +36,7 @@ namespace GrassCutter
|
||||
public enum PieceCat : byte { Services, Logistics, Production, Power, Structures, Decor, Count }
|
||||
|
||||
public enum PieceId : byte { Depot, Belt, Splitter, Merger, Square, Hex, Dryer, Press, SolarS, SolarM, SolarL, Garage, Binder, RobotI, RobotII, Reaper, Catcher, Pole, BatteryS, BatteryL, UnloadBay, DronePad, Intake,
|
||||
Wall, WindowWall, DoorWall, Railing, Fence, Floor, FlatRoof, Roof, Stairs, Steps, Pillar, Planter, Lamppost, Bench, Crates, Flagpole, Count }
|
||||
Wall, WindowWall, DoorWall, Railing, Fence, Floor, FlatRoof, Roof, Stairs, Steps, Pillar, Planter, Lamppost, Bench, Crates, Flagpole, SkyMower, Count }
|
||||
|
||||
/// <summary>How a structure finds its place: anywhere, on the edge of a deck, or on top of the walls (a storey up).</summary>
|
||||
public enum Fit : byte { Free, Edge, Top }
|
||||
@ -135,6 +135,8 @@ namespace GrassCutter
|
||||
public string name { get => Loc.T(nameEn); set => nameEn = value; }
|
||||
public int reach;
|
||||
public float width, speed, hopper;
|
||||
/// <summary>Flies this high over the grass (0: drives on it).</summary>
|
||||
public float hover;
|
||||
}
|
||||
|
||||
public class PanelDef
|
||||
@ -311,9 +313,9 @@ namespace GrassCutter
|
||||
new PieceDef { id = PieceId.Binder, cat = PieceCat.Logistics, name = Loc.N("Binder"), icon = "icon_piece_binder", model = "SM_Binder", prefab = "Piece_Binder", price = 100, sizeX = 2, sizeZ = 2,
|
||||
desc = Loc.N("E hands it what's in your tool. It ties the grass into bundles and puts them on the belt at its front.") },
|
||||
new PieceDef { id = PieceId.RobotI, cat = PieceCat.Services, name = Loc.N("Robot Mk I"), icon = "icon_piece_robot", model = "SM_RobotDock", prefab = "Piece_RobotI", price = 250, sizeX = 3, sizeZ = 3,
|
||||
desc = Loc.N("Mows the 19 sectors around its dock. The dock ties what it brings into bundles for the belt.") },
|
||||
desc = Loc.N("Mows the sectors around its dock, then further out once they are done. With a belt the dock sends bundles down it, without one it ships the grass to Earth itself.") },
|
||||
new PieceDef { id = PieceId.RobotII, cat = PieceCat.Services, name = Loc.N("Robot Mk II"), icon = "icon_piece_robot2", model = "SM_RobotDock", prefab = "Piece_RobotII", price = 500, sizeX = 3, sizeZ = 3,
|
||||
desc = Loc.N("37 sectors, a wider cut and a bigger hopper.") },
|
||||
desc = Loc.N("Starts with 37 sectors, a wider cut and a bigger hopper.") },
|
||||
new PieceDef { id = PieceId.Reaper, cat = PieceCat.Services, name = Loc.N("Reaper"), icon = "icon_piece_reaper", model = "SM_Reaper", prefab = "Piece_Reaper", price = 20000, sizeX = 3, sizeZ = 4,
|
||||
desc = Loc.N("Goes from sector to sector on its own and shoots every bundle into a Bundle Catcher, from anywhere on the planet.") },
|
||||
new PieceDef { id = PieceId.Catcher, cat = PieceCat.Services, name = Loc.N("Bundle Catcher"), icon = "icon_piece_catcher", model = "SM_BundleCatcher", prefab = "Piece_Catcher", price = 1500, sizeX = 3, sizeZ = 3,
|
||||
@ -327,7 +329,7 @@ namespace GrassCutter
|
||||
new PieceDef { id = PieceId.UnloadBay, cat = PieceCat.Logistics, name = Loc.N("Unload Bay"), icon = "icon_piece_unloadbay", model = "SM_UnloadBay", prefab = "Piece_UnloadBay", price = 150, sizeX = 4, sizeZ = 7,
|
||||
desc = Loc.N("Drive a mower onto the grate and it empties into the bin. Two hatches at the back put it on belts as bundles.") },
|
||||
new PieceDef { id = PieceId.DronePad, cat = PieceCat.Logistics, name = Loc.N("Drone Pad"), icon = "icon_piece_dronepad", model = "SM_DronePad", prefab = "Piece_DronePad", price = 600, sizeX = 3, sizeZ = 3, scale = 3.2f,
|
||||
desc = Loc.N("Its drones fly out to bundles of grass lying loose within 40 m and bring them in. The front hatch puts them on a belt. Two drones, one more per upgrade.") },
|
||||
desc = Loc.N("Its drones fly out to bundles of grass lying loose within 70 m (25 m more per upgrade) and bring them in. With a belt on the front hatch they go down it, without one straight to Earth. Two drones, one more per upgrade.") },
|
||||
new PieceDef { id = PieceId.Intake, cat = PieceCat.Services, company = true, name = Loc.N("Base Intake"), icon = "icon_piece_hopper", model = "SM_BaseIntake", prefab = "Piece_Intake", sizeX = 3, sizeZ = 2,
|
||||
desc = Loc.N("A low hopper against the side of the base: drop grass in or run a belt to it, and it's paid and on its way to Earth.") },
|
||||
|
||||
@ -364,6 +366,9 @@ namespace GrassCutter
|
||||
desc = Loc.N("Company crates, stacked two high.") },
|
||||
new PieceDef { id = PieceId.Flagpole, cat = PieceCat.Decor, name = Loc.N("Flagpole"), icon = "icon_piece_flagpole", model = "SM_Flagpole", prefab = "Piece_Flagpole", price = 5, sizeX = 1, sizeZ = 1,
|
||||
desc = Loc.N("The crew's own flag, four metres up.") },
|
||||
// (appended: the list follows PieceId, and saves keep the ids)
|
||||
new PieceDef { id = PieceId.SkyMower, cat = PieceCat.Services, name = Loc.N("Sky Mower"), icon = "icon_piece_skymower", model = "SM_DronePad", prefab = "Piece_SkyMower", price = 4000, sizeX = 3, sizeZ = 3, scale = 3.2f,
|
||||
desc = Loc.N("A big mowing drone. It flies over rocks and hills, works 91 sectors around its pad and goes further out once they are mown. No belt needed: the pad sends the grass to Earth.") },
|
||||
};
|
||||
|
||||
public static PieceDef Piece(PieceId id) => Pieces[(int)id];
|
||||
@ -379,7 +384,7 @@ namespace GrassCutter
|
||||
{
|
||||
case PieceId.Belt: case PieceId.Splitter: case PieceId.Merger: return UpgradeKind.Belt;
|
||||
case PieceId.Dryer: case PieceId.Press: case PieceId.Binder: return UpgradeKind.Machine;
|
||||
case PieceId.RobotI: case PieceId.RobotII: case PieceId.Reaper: return UpgradeKind.Robot;
|
||||
case PieceId.RobotI: case PieceId.RobotII: case PieceId.Reaper: case PieceId.SkyMower: return UpgradeKind.Robot;
|
||||
case PieceId.Garage: case PieceId.UnloadBay: case PieceId.Catcher: case PieceId.DronePad: return UpgradeKind.Silo;
|
||||
default: return UpgradeKind.None;
|
||||
}
|
||||
@ -498,9 +503,10 @@ namespace GrassCutter
|
||||
|
||||
public static readonly RobotDef[] Robots =
|
||||
{
|
||||
new RobotDef { piece = PieceId.RobotI, name = Loc.N("Robot Mk I"), reach = 2, width = 0.9f, speed = 1.6f, hopper = 20f },
|
||||
new RobotDef { piece = PieceId.RobotII, name = Loc.N("Robot Mk II"), reach = 3, width = 1.2f, speed = 2.2f, hopper = 50f },
|
||||
new RobotDef { piece = PieceId.RobotI, name = Loc.N("Robot Mk I"), reach = 2, width = 0.9f, speed = 1.6f, hopper = 60f },
|
||||
new RobotDef { piece = PieceId.RobotII, name = Loc.N("Robot Mk II"), reach = 3, width = 1.2f, speed = 2.2f, hopper = 150f },
|
||||
new RobotDef { piece = PieceId.Reaper, name = Loc.N("Reaper"), width = 1.8f, speed = 3f, hopper = 40f },
|
||||
new RobotDef { piece = PieceId.SkyMower, name = Loc.N("Sky Mower"), reach = 5, width = 2f, speed = 4f, hopper = 300f, hover = 2.4f },
|
||||
};
|
||||
|
||||
public static RobotDef Robot(PieceId id)
|
||||
|
||||
@ -16,7 +16,7 @@ namespace GrassCutter
|
||||
/// <summary>The demo's fast forward, on the server.</summary>
|
||||
public static float Haste = 1f;
|
||||
|
||||
const float Tick = 0.2f, Overrun = 0.6f, IdleWait = 5f;
|
||||
const float Tick = 0.2f, Overrun = 0.6f, IdleWait = 5f, TravelMul = 2.5f;
|
||||
const float EngineVolume = 0.16f;
|
||||
const int SearchLimit = 4000;
|
||||
|
||||
@ -104,8 +104,9 @@ namespace GrassCutter
|
||||
All.Add(this);
|
||||
if (IsServer) Seat(Planet.Up(transform.position));
|
||||
_shown = _from = _to = At.Value;
|
||||
_bobPhase = Random.value * 6.28f;
|
||||
At.OnValueChanged += Heard;
|
||||
_engine = Sfx.Loop("robot_mower_loop", Body, 0f);
|
||||
_engine = Sfx.Loop(Def.hover > 0f ? "drone_loop" : "robot_mower_loop", Body, 0f);
|
||||
}
|
||||
|
||||
public override void OnNetworkDespawn()
|
||||
@ -202,7 +203,14 @@ namespace GrassCutter
|
||||
var turn = Quaternion.Slerp(was, Quaternion.LookRotation(flat * nose, up), 1f - Mathf.Exp(-6f * Time.deltaTime));
|
||||
// it glides: no shake, no bob, the moving parts do the living
|
||||
bool going = _leg < 1f && (_to - _from).sqrMagnitude > 1e-4f;
|
||||
body.SetPositionAndRotation(_shown, turn);
|
||||
// a flyer hangs over the grass, bobbing a little, and leans into the way it goes
|
||||
var at = _shown;
|
||||
if (Def.hover > 0f)
|
||||
{
|
||||
at += up * (Def.hover + Mathf.Sin(Time.time * 1.9f + _bobPhase) * 0.15f);
|
||||
turn *= Quaternion.Euler((going ? 8f : 0f) * -nose, 0f, Mathf.Sin(Time.time * 1.3f + _bobPhase) * 2f);
|
||||
}
|
||||
body.SetPositionAndRotation(at, turn);
|
||||
Animate(body, Vector3.SignedAngle(was * Vector3.forward, turn * Vector3.forward, up) / Mathf.Max(1e-3f, Time.deltaTime), going);
|
||||
}
|
||||
|
||||
@ -218,6 +226,7 @@ namespace GrassCutter
|
||||
float _roll, _level;
|
||||
bool _parts;
|
||||
float _spun, _nextBlink = 2f, _blinkAt = -1f, _swayX, _swayV, _wasGoing, _go;
|
||||
float _bobPhase;
|
||||
|
||||
void Animate(Transform body, float turnRate, bool going)
|
||||
{
|
||||
@ -226,7 +235,7 @@ namespace GrassCutter
|
||||
_parts = true;
|
||||
foreach (var c in body.GetComponentsInChildren<Transform>(true))
|
||||
{
|
||||
if (c.name.StartsWith("Spin")) _spin.Add((c, BaseRot.LocalAxisFor(c, body.up)));
|
||||
if (c.name.StartsWith("Spin") || c.name.StartsWith("Rotor")) _spin.Add((c, BaseRot.LocalAxisFor(c, body.up)));
|
||||
else if (c.name.StartsWith("Blink")) _blink.Add((c, BaseRot.LocalAxisFor(c, body.up), c.localScale));
|
||||
else if (c.name.StartsWith("Sway")) _sway.Add(c);
|
||||
else if (c.name.StartsWith("Wheel_"))
|
||||
@ -238,7 +247,8 @@ namespace GrassCutter
|
||||
if (c != body) BaseRot.Of(c);
|
||||
}
|
||||
}
|
||||
_spun += Time.deltaTime * (Mowing.Value ? 1400f : 0f);
|
||||
// a flyer's rotors never stop: it would fall out of the sky
|
||||
_spun += Time.deltaTime * (Def.hover > 0f ? 1900f : Mowing.Value ? 1400f : 0f);
|
||||
foreach (var (t, axis) in _spin)
|
||||
t.localRotation = BaseRot.Of(t) * Quaternion.AngleAxis(_spun, axis == 0 ? Vector3.right : axis == 1 ? Vector3.up : Vector3.forward);
|
||||
// the wheels roll with the ground going by, the clippings rise in the hopper
|
||||
@ -291,7 +301,8 @@ namespace GrassCutter
|
||||
var from = Planet.OnSurface(Dir);
|
||||
// not RotateTowards: it calls anything under a tenth of a degree "there already", and that is 4 m on this ball
|
||||
var gap = goal - Dir;
|
||||
float step = Def.speed * Boost * dt / Planet.Radius;
|
||||
// on the way somewhere (to a sector, home to unload) it goes faster than it mows
|
||||
float step = Def.speed * Boost * (Homing || _travel ? TravelMul : 1f) * dt / Planet.Radius;
|
||||
if (gap.magnitude > step) Dir = (Dir + gap.normalized * step).normalized;
|
||||
else
|
||||
{
|
||||
|
||||
@ -4,7 +4,11 @@ using UnityEngine;
|
||||
|
||||
namespace GrassCutter
|
||||
{
|
||||
/// <summary>A robot mower and its dock: it works the rings of sectors around the dock, and the dock ties what it brings into bundles for the belt.</summary>
|
||||
/// <summary>
|
||||
/// A robot mower and its dock: it works the rings of sectors around the dock, and the dock ties what it brings into
|
||||
/// bundles for the belt, or with no belt sends it straight to Earth. When everything in its rings is mown it takes the
|
||||
/// next ring out, up to four times its first reach, so a dock keeps working for a long time without being moved.
|
||||
/// </summary>
|
||||
public class RobotDock : Mowbot, IPorts
|
||||
{
|
||||
const float SiloRoom = 100f, UnloadRate = 5f;
|
||||
@ -13,12 +17,14 @@ namespace GrassCutter
|
||||
public readonly NetworkVariable<float> Silo = new NetworkVariable<float>();
|
||||
|
||||
bool _unloading;
|
||||
int _turn, _area;
|
||||
int _turn, _area, _reach;
|
||||
float _shipAt;
|
||||
|
||||
protected override Transform Body => bot;
|
||||
protected override bool NoseOnBack => true;
|
||||
protected override Vector3 Origin => transform.position;
|
||||
protected override int Reach => Def.reach;
|
||||
protected override int Reach => _reach > 0 ? _reach : Def.reach;
|
||||
int MaxReach => Def.reach * 4;
|
||||
protected override Vector3 HomeDir => Planet.Up(transform.position);
|
||||
|
||||
public override string Prompt
|
||||
@ -26,17 +32,19 @@ namespace GrassCutter
|
||||
get
|
||||
{
|
||||
if (_area == 0) _area = Area();
|
||||
return Loc.F("{0}: {1}, {2} of {3}, {4} sectors, dock holds {5}", Def.name, MoodText, GameDefs.Kilos(Hopper.Value), GameDefs.Kilos(HopperCap), _area, GameDefs.Kilos(Silo.Value));
|
||||
return Loc.F("{0}: {1}, {2} of {3}, {4} sectors, dock holds {5}", Def.name, MoodText, GameDefs.Kilos(Hopper.Value), GameDefs.Kilos(HopperCap), _area, GameDefs.Kilos(Silo.Value))
|
||||
+ " · " + (BeltNet.Belted(GetComponent<BuildPiece>()) ? Loc.T("onto the belt") : Loc.T("straight to Earth"));
|
||||
}
|
||||
}
|
||||
|
||||
public override float[] State
|
||||
{
|
||||
get => new[] { Hopper.Value, Dir.x, Dir.y, Dir.z, Silo.Value };
|
||||
get => new[] { Hopper.Value, Dir.x, Dir.y, Dir.z, Silo.Value, Reach };
|
||||
set
|
||||
{
|
||||
base.State = value;
|
||||
if (value != null && value.Length > 4) Silo.Value = value[4];
|
||||
if (value != null && value.Length > 5) _reach = Mathf.Clamp((int)value[5], Def.reach, MaxReach);
|
||||
}
|
||||
}
|
||||
|
||||
@ -47,7 +55,9 @@ namespace GrassCutter
|
||||
|
||||
protected override bool Stay(float dt)
|
||||
{
|
||||
BeltNet.Drain(GetComponent<BuildPiece>(), Silo, ref _turn);
|
||||
var piece = GetComponent<BuildPiece>();
|
||||
if (BeltNet.Belted(piece)) BeltNet.Drain(piece, Silo, ref _turn);
|
||||
else BeltNet.Ship(Silo, transform.position, ref _shipAt);
|
||||
if (_unloading)
|
||||
{
|
||||
float give = Mathf.Min(Hopper.Value, UnloadRate * dt, SiloRoom - Silo.Value);
|
||||
@ -58,7 +68,8 @@ namespace GrassCutter
|
||||
}
|
||||
if (Hopper.Value >= 0.01f)
|
||||
{
|
||||
Mood.Value = (byte)(give > 0f ? RobotMood.Unloading : RobotMood.Waiting);
|
||||
// with no belt the dock ships every few seconds: that is unloading, not waiting for a belt
|
||||
Mood.Value = (byte)(give > 0f || !BeltNet.Belted(piece) ? RobotMood.Unloading : RobotMood.Waiting);
|
||||
return true;
|
||||
}
|
||||
Hopper.Value = 0f;
|
||||
@ -72,8 +83,23 @@ namespace GrassCutter
|
||||
|
||||
protected override void NoWork()
|
||||
{
|
||||
// its rings are done: one more ring out, and look again
|
||||
if (Reach < MaxReach)
|
||||
{
|
||||
_reach = Reach + 1;
|
||||
_area = 0;
|
||||
Mood.Value = (byte)RobotMood.Travelling;
|
||||
return;
|
||||
}
|
||||
if (Vector3.Dot(Dir, HomeDir) < 0.9999999f || Hopper.Value > 0f) GoHome();
|
||||
else Mood.Value = (byte)RobotMood.Finished;
|
||||
}
|
||||
|
||||
public override void Moved(Vector3 at)
|
||||
{
|
||||
base.Moved(at);
|
||||
_reach = Def.reach;
|
||||
_area = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -79,7 +79,8 @@ namespace GrassCutter
|
||||
public override void OnNetworkSpawn()
|
||||
{
|
||||
Instance = this;
|
||||
Money.OnValueChanged += (a, b) => { MoneyChanged?.Invoke(a, b); Changed?.Invoke(); };
|
||||
// the wallet has its own event: cards that rebuilt on every coin lost their scroll and their clicks
|
||||
Money.OnValueChanged += (a, b) => MoneyChanged?.Invoke(a, b);
|
||||
Perks.OnListChanged += _ => Changed?.Invoke();
|
||||
Opened.OnListChanged += _ => Changed?.Invoke();
|
||||
Tiles.OnListChanged += _ => { TilesChanged?.Invoke(); Changed?.Invoke(); };
|
||||
|
||||
@ -341,7 +341,7 @@ namespace GrassCutter
|
||||
if (overMeadow && !onDeck && Tank.Value < Capacity && driving)
|
||||
{
|
||||
mowing = true;
|
||||
float kg = MowMap.Cut(_hasCut ? _lastCut : ip, ip, CutWidth) * GameDefs.GrassDensity;
|
||||
float kg = MowMap.Cut(_hasCut ? _lastCut : ip, ip, CutWidth, blade: true) * GameDefs.GrassDensity;
|
||||
Tank.Value = Mathf.Min(Capacity, Tank.Value + kg);
|
||||
if (Tank.Value >= Capacity - 0.01f) { Sfx.Play("tank_full", 0.8f); Assistant.Say("asst_hopper"); Hud.Toast(Loc.F("{0} hopper full: unload at the base yard, a garage pad or an Unload Bay (follow the UNLOAD markers)", Def.name), Hud.ToastKind.Warn); }
|
||||
_lastCut = ip;
|
||||
@ -511,7 +511,7 @@ namespace GrassCutter
|
||||
// someone else's machine: mow the same strip here
|
||||
if (!IsOwner)
|
||||
{
|
||||
MowMap.Cut(_seenCut ? _seenAt : ip, ip, CutWidth);
|
||||
MowMap.Cut(_seenCut ? _seenAt : ip, ip, CutWidth, blade: true);
|
||||
_seenAt = ip;
|
||||
_seenCut = true;
|
||||
}
|
||||
|
||||
@ -42,8 +42,9 @@ namespace GrassCutter
|
||||
_grid = UIK.El("tree-graph supply-grid", body);
|
||||
_detail = UIK.El("tree-detail", body);
|
||||
|
||||
// a machine or an upgrade arrives a moment after the server says so
|
||||
// a machine or an upgrade arrives a moment after the server says so; the wallet only recolours the prices
|
||||
Card.schedule.Execute(Refresh).Every(250);
|
||||
UIK.FollowWallet(Card);
|
||||
Refresh();
|
||||
}
|
||||
|
||||
@ -53,14 +54,15 @@ namespace GrassCutter
|
||||
var me = Me;
|
||||
if (!ts || !me) return;
|
||||
_money.text = UIK.Money(ts.Money.Value);
|
||||
var key = $"{_selected} {Math.Floor(ts.Money.Value)}";
|
||||
Status();
|
||||
// rebuilt only when what you own changes: not for the money, not for the hopper
|
||||
var key = $"{_selected}";
|
||||
foreach (var d in GameDefs.Vehicles)
|
||||
{
|
||||
var v = Mine(d.kind);
|
||||
key += v ? "1" : "0";
|
||||
if (!v) continue;
|
||||
for (int i = 0; i < v.Tuned.Count; i++) key += v.Tuned[i];
|
||||
key += v.Tank.Value.ToString("0");
|
||||
}
|
||||
if (key == _shown) return;
|
||||
bool first = _shown == null;
|
||||
@ -82,7 +84,7 @@ namespace GrassCutter
|
||||
UIK.Text(d.bed > 0 ? Loc.F("{0} bundles", d.bed) : Loc.F("{0:0.##} m · {1:0} kg", d.width, d.hopper), "supply-sub", e, false).pickingMode = PickingMode.Ignore;
|
||||
var t = UIK.Text(v ? Loc.T("OWNED") : UIK.Money(d.price), "supply-tag", e, false);
|
||||
t.pickingMode = PickingMode.Ignore;
|
||||
t.EnableInClassList("supply-tag-afford", !v && Ts.Money.Value >= d.price);
|
||||
if (!v) UIK.Costs(t, d.price, "supply-tag-afford", null);
|
||||
e.RegisterCallback<ClickEvent>(_ => { _selected = d.kind; Sfx.Play("ui_click", 0.6f, 1.1f); Refresh(); });
|
||||
e.RegisterCallback<MouseEnterEvent>(_ => Sfx.Play("ui_hover", 0.35f, 1.2f));
|
||||
if (animate) UIK.PopIn(e, 0.03f * index, 0.3f);
|
||||
@ -93,31 +95,56 @@ namespace GrassCutter
|
||||
var ts = Ts;
|
||||
var d = GameDefs.Vehicle(_selected);
|
||||
var v = Mine(_selected);
|
||||
// the same machine again (an upgrade landed): stay where the list was scrolled to
|
||||
var keep = _tunes != null && _tunesFor == _selected ? _tunes.scrollOffset : Vector2.zero;
|
||||
_detail.Clear();
|
||||
_tunes = null;
|
||||
_status = null;
|
||||
var top = UIK.El("detail-top", _detail);
|
||||
top.style.backgroundColor = new Color(0.9f, 0.8f, 0.55f);
|
||||
UIK.Img(AssetBank.I.Tex(d.icon), "detail-icon", top);
|
||||
UIK.Text(d.name, "t-h1 t-dark t-center detail-title", _detail);
|
||||
UIK.Text(d.desc, "item-desc t-center", _detail, false).style.whiteSpace = WhiteSpace.Normal;
|
||||
if (v) UIK.Text(d.bed > 0 ? Loc.F("Bed: {0} of {1}", v.Bed.Count, d.bed) : Loc.F("Strip {0:0.##} m · top speed {1:0} km/h · {2} of {3}", v.CutWidth, v.TopSpeed * 3.6f, GameDefs.Kilos(v.Tank.Value), GameDefs.Kilos(v.Capacity)), "t-small t-dark t-center", _detail, false).style.whiteSpace = WhiteSpace.Normal;
|
||||
if (v)
|
||||
{
|
||||
_status = UIK.Text("", "t-small t-dark t-center", _detail, false);
|
||||
_status.style.whiteSpace = WhiteSpace.Normal;
|
||||
Status();
|
||||
}
|
||||
if (!v)
|
||||
{
|
||||
bool can = ts.Money.Value >= d.price;
|
||||
var b = UIK.Btn(Loc.F("BUY {0}", UIK.Money(d.price)), () =>
|
||||
{
|
||||
if (!can) { Sfx.Play("error", 0.7f); Assistant.Say("asst_nocash"); Hud.Toast(Loc.T("Not enough cash: mow more!"), Hud.ToastKind.Warn); return; }
|
||||
if (!UIK.CanPay(d.price)) { Sfx.Play("error", 0.7f); Assistant.Say("asst_nocash"); Hud.Toast(Loc.T("Not enough cash: mow more!"), Hud.ToastKind.Warn); return; }
|
||||
ts.BuyVehicleRpc((byte)d.kind, _garage);
|
||||
Sfx.Play("cash_register", 0.9f);
|
||||
}, can ? "btn btn-green" : "btn btn-grey", _detail);
|
||||
}, "btn", _detail);
|
||||
UIK.Costs(b, d.price);
|
||||
b.style.alignSelf = Align.Stretch;
|
||||
return;
|
||||
}
|
||||
var call = UIK.Btn(Loc.T("CALL IT HERE"), () => { ts.CallVehicleRpc(v.NetworkObjectId, _garage); Sfx.Play("ui_click", 0.7f); }, "btn btn-green", _detail);
|
||||
call.style.alignSelf = Align.Stretch;
|
||||
var list = new ScrollView(ScrollViewMode.Vertical);
|
||||
var list = _tunes = new ScrollView(ScrollViewMode.Vertical);
|
||||
_tunesFor = _selected;
|
||||
list.AddToClassList("tune-list");
|
||||
_detail.Add(list);
|
||||
for (int i = 0; i < (int)TuneId.Count; i++) Tune(list.contentContainer, v, (TuneId)i);
|
||||
UIK.KeepScroll(list, keep);
|
||||
}
|
||||
|
||||
ScrollView _tunes;
|
||||
VehicleKind _tunesFor;
|
||||
Label _status;
|
||||
|
||||
/// <summary>The machine's line of numbers, kept up to date in place (its hopper fills while the card is open).</summary>
|
||||
void Status()
|
||||
{
|
||||
if (_status == null) return;
|
||||
var d = GameDefs.Vehicle(_selected);
|
||||
var v = Mine(_selected);
|
||||
if (!v) return;
|
||||
_status.text = d.bed > 0 ? Loc.F("Bed: {0} of {1}", v.Bed.Count, d.bed) : Loc.F("Strip {0:0.##} m · top speed {1:0} km/h · {2} of {3}", v.CutWidth, v.TopSpeed * 3.6f, GameDefs.Kilos(v.Tank.Value), GameDefs.Kilos(v.Capacity));
|
||||
}
|
||||
|
||||
void Tune(VisualElement parent, Vehicle v, TuneId id)
|
||||
@ -127,17 +154,17 @@ namespace GrassCutter
|
||||
int level = v.Level(id);
|
||||
bool max = level >= d.prices.Length;
|
||||
double price = max ? 0d : GameDefs.TunePrice(v.kind, id, level);
|
||||
bool can = !max && Ts.Money.Value >= price;
|
||||
var row = UIK.El("tune-row", parent);
|
||||
var names = UIK.El("tune-names", row);
|
||||
UIK.Text($"{d.name} {level}/{d.prices.Length}", "t-small t-dark", names, false);
|
||||
UIK.Text(max ? d.effect(level) : d.effect(level + 1), "tune-effect", names, false);
|
||||
UIK.Btn(max ? Loc.T("MAX") : UIK.Money(price), () =>
|
||||
var b = UIK.Btn(max ? Loc.T("MAX") : UIK.Money(price), () =>
|
||||
{
|
||||
if (!can) { Sfx.Play("error", 0.7f); return; }
|
||||
if (max || !UIK.CanPay(price)) { Sfx.Play("error", 0.7f); return; }
|
||||
Ts.TuneVehicleRpc(v.NetworkObjectId, (byte)id);
|
||||
Sfx.Play("cash_register", 0.9f);
|
||||
}, (can ? "btn btn-green" : "btn btn-grey") + " btn-small", row);
|
||||
}, max ? "btn btn-grey btn-small" : "btn btn-small", row);
|
||||
if (!max) UIK.Costs(b, price);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -86,10 +86,25 @@ namespace GrassCutter
|
||||
|
||||
void OnAnnouncement(string a) => Toast(Loc.Unpack(a), ToastKind.Info);
|
||||
|
||||
// closed sectors add up on one line instead of a toast and a chime each: a tractor closes them back to back
|
||||
Label _closedLine;
|
||||
int _closedCount;
|
||||
double _closedPay;
|
||||
float _closedAt = -99f, _chimeAt = -99f;
|
||||
|
||||
void OnSectorClosed(int id, double pay)
|
||||
{
|
||||
Toast(Loc.F("Sector {0:N0} mown clean! +{1}", id + 1, UIK.Money(pay)), ToastKind.Money);
|
||||
Sfx.Play("perk_unlock", 0.7f);
|
||||
bool fresh = _closedLine == null || _closedLine.parent == null || Time.unscaledTime - _closedAt > 8f;
|
||||
_closedAt = Time.unscaledTime;
|
||||
if (fresh) { _closedCount = 0; _closedPay = 0d; }
|
||||
_closedCount++;
|
||||
_closedPay += pay;
|
||||
string text = _closedCount == 1
|
||||
? Loc.F("Sector {0:N0} mown clean! +{1}", id + 1, UIK.Money(pay))
|
||||
: Loc.F("{0} sectors mown clean +{1}", _closedCount, UIK.Money(_closedPay));
|
||||
if (fresh) _closedLine = Toast(text, ToastKind.Money, 5f);
|
||||
else { _closedLine.text = text; Linger(_closedLine, 5f); }
|
||||
if (Time.unscaledTime - _chimeAt > 45f) { _chimeAt = Time.unscaledTime; Sfx.Play("perk_unlock", 0.3f); }
|
||||
}
|
||||
|
||||
void OnMarkFound(string who, int id, double pay)
|
||||
@ -222,17 +237,26 @@ namespace GrassCutter
|
||||
if (Instance != null) Instance._toasts.Clear();
|
||||
}
|
||||
|
||||
public static void Toast(string text, ToastKind kind = ToastKind.Info)
|
||||
public static void Toast(string text, ToastKind kind = ToastKind.Info) => Instance?.Toast(text, kind, 3.5f);
|
||||
|
||||
/// <summary>A line under the compass, out of the way of the phone and the hands: three at most, gone in a few seconds.</summary>
|
||||
Label Toast(string text, ToastKind kind, float hold)
|
||||
{
|
||||
var h = Instance;
|
||||
if (h == null) return;
|
||||
// don't stack the same message
|
||||
foreach (var c in h._toasts.Children()) if (c is Label l && l.text == text) { UIK.Punch(l, 0.1f); return; }
|
||||
var t = UIK.Text(text, "toast t-body", h._toasts, false);
|
||||
// don't stack the same message: the one showing stays a little longer
|
||||
foreach (var c in _toasts.Children()) if (c is Label l && l.text == text) { Linger(l, hold); return l; }
|
||||
var t = UIK.Text(text, "toast t-body", _toasts, false);
|
||||
t.AddToClassList(kind switch { ToastKind.Good => "toast-good", ToastKind.Warn => "toast-warn", ToastKind.Money => "toast-money", _ => "" });
|
||||
UIK.SlideIn(t, new Vector2(300, 0), 0f, 0.4f);
|
||||
Tween.Delay(t, 4f, () => UIK.Fade(t, 0f, 0.4f, () => t.RemoveFromHierarchy()));
|
||||
while (h._toasts.childCount > 5) h._toasts.RemoveAt(0);
|
||||
UIK.SlideIn(t, new Vector2(0, -24), 0f, 0.3f);
|
||||
Linger(t, hold);
|
||||
while (_toasts.childCount > 3) _toasts.RemoveAt(0);
|
||||
return t;
|
||||
}
|
||||
|
||||
static void Linger(Label t, float hold)
|
||||
{
|
||||
Tween.Kill(t);
|
||||
t.style.opacity = 1f;
|
||||
Tween.Delay(t, hold, () => UIK.Fade(t, 0f, 0.4f, () => t.RemoveFromHierarchy()));
|
||||
}
|
||||
|
||||
public static void OnLocalPlayerSpawned(PlayerAgent p)
|
||||
@ -277,14 +301,33 @@ namespace GrassCutter
|
||||
void OnDeposited(Vector3 at, double pay, double kg)
|
||||
{
|
||||
var ear = CameraFx.Cam ? CameraFx.Cam.transform.position : at;
|
||||
if ((ear - at).sqrMagnitude < 30f * 30f) Sfx.PlayAt("cash_register", at, 0.2f, 1f, 0.08f, 0.35f);
|
||||
FloatText(Loc.F("+{0} · {1} for Earth", UIK.Money(pay), GameDefs.Kilos(kg)), at + Planet.Up(at) * 0.8f, new Color(0.45f, 1f, 0.62f), 0.7f);
|
||||
if (_local != null && (at - _local.transform.position).sqrMagnitude < 196f) Receipt(pay, kg);
|
||||
bool mine = _local != null && (at - _local.transform.position).sqrMagnitude < 196f;
|
||||
// belts and drones hand in all the time: the till rings for your own hand-ins, and then not every second
|
||||
if (mine && Time.unscaledTime - _tillAt > 2.5f && (ear - at).sqrMagnitude < 30f * 30f)
|
||||
{
|
||||
_tillAt = Time.unscaledTime;
|
||||
Sfx.PlayAt("cash_register", at, 0.2f, 1f, 0.08f, 0.35f);
|
||||
}
|
||||
// one number per spot, adding up while it keeps arriving
|
||||
bool same = _floatLine != null && _floatLine.parent != null && Time.unscaledTime - _floatAt < 1.2f && (at - _floatSpot).sqrMagnitude < 64f;
|
||||
if (same) { _floatPay += pay; _floatKg += kg; }
|
||||
else { _floatPay = pay; _floatKg = kg; _floatSpot = at; }
|
||||
_floatAt = Time.unscaledTime;
|
||||
var line = Loc.F("+{0} · {1} for Earth", UIK.Money(_floatPay), GameDefs.Kilos(_floatKg));
|
||||
if (same) _floatLine.text = line;
|
||||
else _floatLine = FloatText(line, at + Planet.Up(at) * 0.8f, new Color(0.45f, 1f, 0.62f), 0.7f);
|
||||
if (mine) Receipt(pay, kg);
|
||||
}
|
||||
|
||||
/// <summary>What the depot took, added up while it keeps arriving.</summary>
|
||||
Label _floatLine;
|
||||
Vector3 _floatSpot;
|
||||
double _floatPay, _floatKg;
|
||||
float _floatAt = -99f, _tillAt = -99f, _tickUntil;
|
||||
|
||||
void Receipt(double pay, double kg)
|
||||
{
|
||||
_tickUntil = Time.unscaledTime + 1.5f;
|
||||
if (Time.unscaledTime - _slipAt > 3f) _slipKg = _slipPay = 0d;
|
||||
_slipAt = Time.unscaledTime;
|
||||
_slipKg += kg;
|
||||
@ -433,7 +476,8 @@ namespace GrassCutter
|
||||
double diff = _targetMoney - _shownMoney;
|
||||
_shownMoney += diff * Mathf.Min(1f, Time.unscaledDeltaTime * 9f);
|
||||
if (System.Math.Abs(_shownMoney - _targetMoney) < 0.02) _shownMoney = _targetMoney;
|
||||
if (diff > 0 && Time.unscaledTime - _lastTick > 0.07f) { _lastTick = Time.unscaledTime; Sfx.Play("coin_tick", 0.09f, 1.2f, 0.1f); }
|
||||
// only while your own hand-in counts up: the robots' and belts' money comes in quietly
|
||||
if (diff > 0 && Time.unscaledTime < _tickUntil && Time.unscaledTime - _lastTick > 0.12f) { _lastTick = Time.unscaledTime; Sfx.Play("coin_tick", 0.07f, 1.2f, 0.1f); }
|
||||
}
|
||||
_money.text = UIK.Money(_shownMoney);
|
||||
|
||||
|
||||
@ -6,23 +6,33 @@ using UnityEngine.UIElements;
|
||||
namespace GrassCutter
|
||||
{
|
||||
/// <summary>
|
||||
/// M: the globe of Herbaria-7. Drag turns it, the wheel zooms in until every sector is its own hexagon. Sectors nobody
|
||||
/// has touched are the meadow, begun ones gold, finished ones the pale straw of mown ground.
|
||||
/// M: the map of Herbaria-7. It opens close in on you, a few hundred metres across, where every sector is its own
|
||||
/// hexagon; the wheel zooms out to the whole ball and back, dragging turns it, SPACE (or ME) brings you back to the
|
||||
/// middle. Untouched sectors are the meadow, begun ones gold, finished ones the pale straw of mown ground.
|
||||
///
|
||||
/// The sectors go to the screen as one plain triangle mesh, not as painted paths: a few thousand hexagons cost next to
|
||||
/// nothing that way, where tessellating them as shapes every repaint made the old globe stutter once much was mown.
|
||||
/// </summary>
|
||||
public class MapScreen
|
||||
{
|
||||
const float MaxZoom = 60f, HexZoom = 14f;
|
||||
const int MaxHexes = 1400;
|
||||
/// <summary>Closest in: the view this many metres across.</summary>
|
||||
const float NearestMetres = 90f;
|
||||
/// <summary>Where it opens: this many metres across.</summary>
|
||||
const float OpenMetres = 650f;
|
||||
/// <summary>Hexagons from this many pixels across; smaller and each worked sector is a speck.</summary>
|
||||
const float HexPixels = 7f;
|
||||
const int MaxHexes = 9000;
|
||||
|
||||
public VisualElement Card { get; }
|
||||
readonly VisualElement _chart;
|
||||
readonly Label _stats;
|
||||
readonly VisualElement _chart, _scaleBar;
|
||||
readonly Label _stats, _scaleText;
|
||||
Quaternion _view;
|
||||
float _zoom;
|
||||
bool _dragging;
|
||||
float _zoom = -1f;
|
||||
bool _dragging, _follow = true;
|
||||
Vector2 _last;
|
||||
|
||||
static readonly Color Meadow = new Color(0.27f, 0.47f, 0.17f);
|
||||
static readonly Color Grid = new Color(0.19f, 0.34f, 0.12f);
|
||||
static readonly Color Space = new Color(0.09f, 0.11f, 0.13f);
|
||||
static readonly Color Lines = new Color(1f, 1f, 1f, 0.1f);
|
||||
static readonly Color Rim = new Color(0.72f, 0.86f, 0.5f, 0.8f);
|
||||
@ -32,53 +42,100 @@ namespace GrassCutter
|
||||
static readonly Color Stake = new Color(1f, 0.45f, 0.35f);
|
||||
static readonly Color Robot = new Color(0.55f, 0.8f, 1f);
|
||||
static readonly Color Station = new Color(1f, 0.85f, 0.3f);
|
||||
static readonly Color Border = new Color(0.1f, 0.14f, 0.05f, 0.5f);
|
||||
static readonly Color Unload = new Color(0.98f, 0.55f, 0.2f);
|
||||
|
||||
static readonly Dictionary<int, Vector3[]> s_corners = new Dictionary<int, Vector3[]>();
|
||||
readonly HashSet<int> _seen = new HashSet<int>();
|
||||
readonly Queue<int> _queue = new Queue<int>();
|
||||
readonly Dictionary<int, MowMap.Mask> _masks = new Dictionary<int, MowMap.Mask>();
|
||||
readonly List<Vertex> _verts = new List<Vertex>();
|
||||
readonly List<ushort> _tris = new List<ushort>();
|
||||
|
||||
public MapScreen(VisualElement layer, Action close, float zoom = 1f)
|
||||
{
|
||||
_zoom = zoom;
|
||||
Card = UIK.El("card rig-map", layer);
|
||||
var header = UIK.El("card-header", Card);
|
||||
UIK.Text("HERBARIA-7", "t-h1 t-dark", header);
|
||||
_stats = UIK.Text("", "t-body t-dark", header, false);
|
||||
var tools = UIK.El("map-tools", header);
|
||||
UIK.Btn(Loc.T("ME"), () => { _follow = true; Centre(); }, "btn btn-small", tools);
|
||||
UIK.Btn("+", () => ZoomBy(1.6f), "btn btn-small", tools);
|
||||
UIK.Btn("−", () => ZoomBy(1f / 1.6f), "btn btn-small", tools);
|
||||
UIK.Btn(Loc.T("GLOBE"), () => { _zoom = 1f; _chart.MarkDirtyRepaint(); }, "btn btn-small", tools);
|
||||
UIK.Btn("X", close, "btn btn-red btn-small", header);
|
||||
_chart = UIK.El("map-chart", Card);
|
||||
_chart.pickingMode = PickingMode.Position;
|
||||
_chart.style.overflow = Overflow.Hidden;
|
||||
_chart.focusable = true;
|
||||
_chart.generateVisualContent += Draw;
|
||||
_chart.RegisterCallback<WheelEvent>(e => { _zoom = Mathf.Clamp(_zoom * (e.delta.y > 0 ? 0.8f : 1.25f), 1f, MaxZoom); _chart.MarkDirtyRepaint(); });
|
||||
_chart.RegisterCallback<PointerDownEvent>(e => { _dragging = true; _last = e.position; _chart.CapturePointer(e.pointerId); });
|
||||
_chart.RegisterCallback<WheelEvent>(e => ZoomBy(e.delta.y > 0 ? 0.8f : 1.25f));
|
||||
_chart.RegisterCallback<PointerDownEvent>(e => { _dragging = true; _follow = false; _last = e.position; _chart.CapturePointer(e.pointerId); });
|
||||
_chart.RegisterCallback<PointerUpEvent>(e => { _dragging = false; _chart.ReleasePointer(e.pointerId); });
|
||||
_chart.RegisterCallback<PointerMoveEvent>(e =>
|
||||
{
|
||||
if (!_dragging) return;
|
||||
var d = (Vector2)e.position - _last;
|
||||
_last = e.position;
|
||||
float k = 57.3f / (Radius * _zoom);
|
||||
float k = 57.3f / (Radius * Zoom);
|
||||
_view = Quaternion.Euler(d.y * k, d.x * k, 0f) * _view;
|
||||
_chart.MarkDirtyRepaint();
|
||||
});
|
||||
_chart.schedule.Execute(() =>
|
||||
{
|
||||
var kb = UnityEngine.InputSystem.Keyboard.current;
|
||||
if (kb != null && kb.spaceKey.wasPressedThisFrame) { _follow = true; Centre(); }
|
||||
}).Every(0);
|
||||
|
||||
// the scale: a bar and what it measures, bottom left over the chart
|
||||
var scale = UIK.El("map-scale", _chart);
|
||||
_scaleBar = UIK.El("map-scale-bar", scale);
|
||||
_scaleText = UIK.Text("", "t-small map-scale-text", scale, false);
|
||||
|
||||
var legend = UIK.El("map-legend", Card);
|
||||
Key(legend, Meadow, Loc.T("Untouched"));
|
||||
Key(legend, Begun, Loc.T("Started"));
|
||||
Key(legend, Done, Loc.T("Mown"));
|
||||
Key(legend, Base, Loc.T("Base"));
|
||||
Key(legend, Unload, Loc.T("Unload"));
|
||||
Key(legend, Stake, Loc.T("Stake or point done"));
|
||||
Key(legend, Robot, Loc.T("Robot"));
|
||||
Key(legend, Station, Loc.T("Station"));
|
||||
UIK.Text(Loc.T("DRAG turn · WHEEL zoom · M close"), "t-small t-muted", legend, false);
|
||||
UIK.Text(Loc.T("DRAG move · WHEEL zoom · SPACE back to you · M close"), "t-small t-muted", legend, false);
|
||||
|
||||
Centre();
|
||||
Refresh();
|
||||
_chart.schedule.Execute(Refresh).Every(500);
|
||||
}
|
||||
|
||||
/// <summary>The planet's radius on screen, against the chart's size, at this zoom.</summary>
|
||||
float Zoom
|
||||
{
|
||||
get
|
||||
{
|
||||
// the first time it knows its size: open a few hundred metres across
|
||||
if (_zoom < 0f && _chart.contentRect.width > 4f) _zoom = Mathf.Clamp(PxPerMetre(OpenMetres) * Planet.Radius / Radius, 1f, MaxZoom);
|
||||
return _zoom < 0f ? 1f : _zoom;
|
||||
}
|
||||
}
|
||||
|
||||
float MaxZoom => Mathf.Max(1f, PxPerMetre(NearestMetres) * Planet.Radius / Radius);
|
||||
float PxPerMetre(float across) => Mathf.Max(100f, _chart.contentRect.width) / across;
|
||||
|
||||
void ZoomBy(float k)
|
||||
{
|
||||
_zoom = Mathf.Clamp(Zoom * k, 1f, MaxZoom);
|
||||
_chart.MarkDirtyRepaint();
|
||||
}
|
||||
|
||||
/// <summary>You in the middle, north up.</summary>
|
||||
void Centre()
|
||||
{
|
||||
var me = PlayerAgent.Local;
|
||||
var up = me ? Planet.Up(me.transform.position) : Vector3.up;
|
||||
var north = Vector3.ProjectOnPlane(Vector3.up, up);
|
||||
if (north.sqrMagnitude < 1e-4f) north = Vector3.forward;
|
||||
_view = Quaternion.Inverse(Quaternion.LookRotation(up, north));
|
||||
Refresh();
|
||||
_chart.schedule.Execute(Refresh).Every(300);
|
||||
_chart?.MarkDirtyRepaint();
|
||||
}
|
||||
|
||||
void Refresh()
|
||||
@ -86,6 +143,8 @@ namespace GrassCutter
|
||||
var ts = TeamState.Instance;
|
||||
MowMap.Count();
|
||||
if (ts) _stats.text = Loc.F("{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet", MowMap.Started, ts.Closed.Value, ts.Mown01 * 100.0);
|
||||
// keeps up with you as you go, until you drag it somewhere else
|
||||
if (_follow) Centre();
|
||||
_chart.MarkDirtyRepaint();
|
||||
}
|
||||
|
||||
@ -109,7 +168,7 @@ namespace GrassCutter
|
||||
{
|
||||
var v = _view * d;
|
||||
front = v.z > 0f;
|
||||
return _chart.contentRect.center + new Vector2(v.x, -v.y) * Radius * _zoom;
|
||||
return _chart.contentRect.center + new Vector2(v.x, -v.y) * Radius * Zoom;
|
||||
}
|
||||
|
||||
/// <summary>A sector's corners, in order round its middle.</summary>
|
||||
@ -127,15 +186,6 @@ namespace GrassCutter
|
||||
|
||||
static float Angle(HexGrid.Sector s, Vector3 n) => Mathf.Atan2(Vector3.Dot(n - s.c, s.e2), Vector3.Dot(n - s.c, s.e1));
|
||||
|
||||
void Hex(Painter2D p, HexGrid.Sector s)
|
||||
{
|
||||
var c = Corners(s);
|
||||
p.BeginPath();
|
||||
p.MoveTo(Screen(c[0], out _));
|
||||
for (int i = 1; i < c.Length; i++) p.LineTo(Screen(c[i], out _));
|
||||
p.ClosePath();
|
||||
}
|
||||
|
||||
static Color Shade(MowMap.Mask m) => m == null || !m.keep ? Meadow : m.done ? Done : Begun;
|
||||
|
||||
void Draw(MeshGenerationContext ctx)
|
||||
@ -143,23 +193,28 @@ namespace GrassCutter
|
||||
var r = _chart.contentRect;
|
||||
if (r.width < 4f) return;
|
||||
var ts = TeamState.Instance;
|
||||
float size = Radius * Zoom;
|
||||
float hexPx = Mathf.Sqrt(GameDefs.SectorArea) / Planet.Radius * size;
|
||||
|
||||
var p = ctx.painter2D;
|
||||
p.fillColor = Space;
|
||||
p.BeginPath(); p.MoveTo(new Vector2(r.xMin, r.yMin)); p.LineTo(new Vector2(r.xMax, r.yMin)); p.LineTo(new Vector2(r.xMax, r.yMax)); p.LineTo(new Vector2(r.xMin, r.yMax)); p.ClosePath(); p.Fill();
|
||||
float size = Radius * _zoom;
|
||||
p.fillColor = Meadow;
|
||||
p.fillColor = hexPx >= HexPixels ? Grid : Meadow;
|
||||
p.BeginPath(); p.Arc(r.center, size, 0f, 360f); p.Fill();
|
||||
|
||||
if (_zoom >= HexZoom) Hexes(p, r);
|
||||
else Dots(p);
|
||||
Lattice(p);
|
||||
_masks.Clear();
|
||||
foreach (var m in MowMap.All) _masks[m.s.id] = m;
|
||||
if (hexPx >= HexPixels) Hexes(ctx, r);
|
||||
else Dots(ctx, r, Mathf.Max(1.5f, hexPx * 0.5f));
|
||||
if (Zoom < 6f) Lattice(p);
|
||||
p.strokeColor = Rim;
|
||||
p.lineWidth = 3f;
|
||||
p.BeginPath(); p.Arc(r.center, size, 0f, 360f); p.Stroke();
|
||||
|
||||
// what stands on the ball
|
||||
Dot(p, Vector3.up, 7f, Base);
|
||||
foreach (var b in BuildPiece.All)
|
||||
if (b && (b.piece == PieceId.UnloadBay || b.piece == PieceId.Intake)) Dot(p, Planet.Up(b.transform.position), 5f, Unload);
|
||||
if (ts)
|
||||
{
|
||||
foreach (int id in ts.Found)
|
||||
@ -173,6 +228,18 @@ namespace GrassCutter
|
||||
if (v) Arrow(p, v.transform, 7f, new Color(0.96f, 0.9f, 0.72f));
|
||||
foreach (var pl in PlayerAgent.All)
|
||||
if (pl) Arrow(p, pl.transform, pl.IsOwner ? 11f : 8f, pl.Tint);
|
||||
Scale(size);
|
||||
}
|
||||
|
||||
/// <summary>A round number of metres about a fifth of the chart wide.</summary>
|
||||
void Scale(float size)
|
||||
{
|
||||
float pxPerM = size / Planet.Radius;
|
||||
float want = _chart.contentRect.width * 0.18f / pxPerM;
|
||||
float step = Mathf.Pow(10f, Mathf.Floor(Mathf.Log10(Mathf.Max(1f, want))));
|
||||
float metres = want >= step * 5f ? step * 5f : want >= step * 2f ? step * 2f : step;
|
||||
_scaleBar.style.width = metres * pxPerM;
|
||||
_scaleText.text = metres >= 1000f ? Loc.F("{0:0.0} km", metres / 1000f) : Loc.F("{0:0} m", metres);
|
||||
}
|
||||
|
||||
void Dot(Painter2D p, Vector3 dir, float size, Color col)
|
||||
@ -185,39 +252,51 @@ namespace GrassCutter
|
||||
p.BeginPath(); p.Arc(at, size, 0f, 360f); p.Fill(); p.Stroke();
|
||||
}
|
||||
|
||||
/// <summary>Far out each worked sector is a speck.</summary>
|
||||
void Dots(Painter2D p)
|
||||
// ───────────────────────── the sectors, as a mesh ─────────────────────────
|
||||
|
||||
void Flush(MeshGenerationContext ctx)
|
||||
{
|
||||
float size = Mathf.Max(1.5f, 13f / Planet.Radius * Radius * _zoom);
|
||||
foreach (bool done in new[] { false, true })
|
||||
{
|
||||
p.fillColor = done ? Done : Begun;
|
||||
p.BeginPath();
|
||||
foreach (var m in MowMap.All)
|
||||
{
|
||||
if (!m.keep || m.done != done) continue;
|
||||
var at = Screen(m.s.c, out bool front);
|
||||
if (!front) continue;
|
||||
p.MoveTo(at + new Vector2(size, 0f));
|
||||
p.Arc(at, size, 0f, 360f);
|
||||
}
|
||||
p.Fill();
|
||||
}
|
||||
if (_verts.Count == 0) return;
|
||||
var mesh = ctx.Allocate(_verts.Count, _tris.Count);
|
||||
mesh.SetAllVertices(_verts.ToArray());
|
||||
mesh.SetAllIndices(_tris.ToArray());
|
||||
_verts.Clear();
|
||||
_tris.Clear();
|
||||
}
|
||||
|
||||
/// <summary>Close up, every sector in view, walking out from the one in the middle.</summary>
|
||||
void Hexes(Painter2D p, Rect r)
|
||||
void Vert(Vector2 at, Color32 c) => _verts.Add(new Vertex { position = new Vector3(at.x, at.y, Vertex.nearZ), tint = c });
|
||||
|
||||
/// <summary>Far out each worked sector is a speck.</summary>
|
||||
void Dots(MeshGenerationContext ctx, Rect r, float half)
|
||||
{
|
||||
var view = new Rect(r.x - half, r.y - half, r.width + half * 2f, r.height + half * 2f);
|
||||
foreach (var m in _masks.Values)
|
||||
{
|
||||
if (!m.keep) continue;
|
||||
var at = Screen(m.s.c, out bool front);
|
||||
if (!front || !view.Contains(at)) continue;
|
||||
if (_verts.Count > 60000) Flush(ctx);
|
||||
Color32 c = m.done ? Done : Begun;
|
||||
int k = _verts.Count;
|
||||
Vert(at + new Vector2(-half, -half), c);
|
||||
Vert(at + new Vector2(half, -half), c);
|
||||
Vert(at + new Vector2(half, half), c);
|
||||
Vert(at + new Vector2(-half, half), c);
|
||||
_tris.Add((ushort)k); _tris.Add((ushort)(k + 1)); _tris.Add((ushort)(k + 2));
|
||||
_tris.Add((ushort)k); _tris.Add((ushort)(k + 2)); _tris.Add((ushort)(k + 3));
|
||||
}
|
||||
Flush(ctx);
|
||||
}
|
||||
|
||||
/// <summary>Close up, every sector in view, walking out from the one in the middle; each a little smaller than it is, so the grid shows between.</summary>
|
||||
void Hexes(MeshGenerationContext ctx, Rect r)
|
||||
{
|
||||
var masks = new Dictionary<int, MowMap.Mask>();
|
||||
foreach (var m in MowMap.All) masks[m.s.id] = m;
|
||||
_seen.Clear();
|
||||
_queue.Clear();
|
||||
int first = HexGrid.SectorAt(Quaternion.Inverse(_view) * Vector3.forward);
|
||||
_queue.Enqueue(first);
|
||||
_seen.Add(first);
|
||||
var view = new Rect(r.x - 40f, r.y - 40f, r.width + 80f, r.height + 80f);
|
||||
p.strokeColor = Border;
|
||||
p.lineWidth = 1f;
|
||||
var view = new Rect(r.x - 60f, r.y - 60f, r.width + 120f, r.height + 120f);
|
||||
int drawn = 0;
|
||||
while (_queue.Count > 0 && drawn < MaxHexes)
|
||||
{
|
||||
@ -225,14 +304,23 @@ namespace GrassCutter
|
||||
var at = Screen(s.c, out bool front);
|
||||
if (!front || !view.Contains(at)) continue;
|
||||
drawn++;
|
||||
masks.TryGetValue(s.id, out var m);
|
||||
p.fillColor = Shade(m);
|
||||
Hex(p, s);
|
||||
p.Fill();
|
||||
p.Stroke();
|
||||
_masks.TryGetValue(s.id, out var m);
|
||||
Color32 col = Shade(m);
|
||||
var c = Corners(s);
|
||||
if (_verts.Count + c.Length + 1 > 65000) Flush(ctx);
|
||||
int k = _verts.Count;
|
||||
Vert(at, col);
|
||||
for (int i = 0; i < c.Length; i++) Vert(Vector2.LerpUnclamped(at, Screen(c[i], out _), 0.92f), col);
|
||||
for (int i = 0; i < c.Length; i++)
|
||||
{
|
||||
_tris.Add((ushort)k);
|
||||
_tris.Add((ushort)(k + 1 + i));
|
||||
_tris.Add((ushort)(k + 1 + (i + 1) % c.Length));
|
||||
}
|
||||
foreach (int n in s.neighbours)
|
||||
if (_seen.Add(n)) _queue.Enqueue(n);
|
||||
}
|
||||
Flush(ctx);
|
||||
}
|
||||
|
||||
/// <summary>Latitude and longitude every 30°.</summary>
|
||||
|
||||
@ -27,7 +27,7 @@ namespace GrassCutter
|
||||
UIK.Btn("X", close, "btn btn-red btn-small", header);
|
||||
_body = UIK.El(null, Card);
|
||||
Refresh();
|
||||
// the numbers follow the wallet and the piece while the card is up
|
||||
// the card follows the piece while it is up; the wallet only recolours the price
|
||||
int was = Stamp();
|
||||
Card.schedule.Execute(() =>
|
||||
{
|
||||
@ -35,9 +35,10 @@ namespace GrassCutter
|
||||
int now = Stamp();
|
||||
if (now != was) { was = now; Refresh(); }
|
||||
}).Every(200);
|
||||
UIK.FollowWallet(Card);
|
||||
}
|
||||
|
||||
int Stamp() => !_p ? 0 : _p.Setting * 31 + (TeamState.Instance ? (int)TeamState.Instance.Money.Value : 0);
|
||||
int Stamp() => !_p ? 0 : _p.Setting;
|
||||
|
||||
void Refresh()
|
||||
{
|
||||
@ -56,17 +57,16 @@ namespace GrassCutter
|
||||
if (tier < GameDefs.MaxTier)
|
||||
{
|
||||
double price = GameDefs.UpgradePrice(_p, tier);
|
||||
bool can = ts.Money.Value >= price;
|
||||
var up = UIK.El("tune-row", _body);
|
||||
var upNames = UIK.El("tune-names", up);
|
||||
UIK.Text(Loc.F("Upgrade to {0}", GameDefs.TierName(tier + 1)), "t-small t-dark", upNames, false);
|
||||
UIK.Text(Loc.F("{0}.", Cap(GameDefs.TierEffect(kind, tier + 1))), "tune-effect", upNames, false);
|
||||
UIK.Btn(UIK.Money(price), () =>
|
||||
UIK.Costs(UIK.Btn(UIK.Money(price), () =>
|
||||
{
|
||||
if (!can) { Sfx.Play("error", 0.7f); return; }
|
||||
if (!UIK.CanPay(price)) { Sfx.Play("error", 0.7f); return; }
|
||||
_p.UpgradeRpc();
|
||||
Sfx.Play("cash_register", 0.9f);
|
||||
}, (can ? "btn btn-green" : "btn btn-grey") + " btn-small", up);
|
||||
}, "btn btn-small", up), price);
|
||||
}
|
||||
else UIK.Text(Loc.T("Fully upgraded."), "tune-effect", _body, false);
|
||||
}
|
||||
|
||||
@ -92,6 +92,9 @@ namespace GrassCutter
|
||||
|
||||
TeamState.Changed += Refresh;
|
||||
Card.RegisterCallback<DetachFromPanelEvent>(_ => TeamState.Changed -= Refresh);
|
||||
// the wallet moves all the time: it recolours the prices, the pill and the tab counts, it doesn't rebuild the tree
|
||||
UIK.FollowWallet(Card);
|
||||
Card.schedule.Execute(Wallet).Every(250);
|
||||
// open on the first tree that has something affordable
|
||||
// a single tree needs no tab row
|
||||
if (TreeCount == 1) tabs.style.display = DisplayStyle.None;
|
||||
@ -144,7 +147,7 @@ namespace GrassCutter
|
||||
Vector2 NodeCenter(PerkDef d) => NodePos(d) + new Vector2(Node, Node) * 0.5f;
|
||||
static Vector2 HubPos => new Vector2(CanvasW * 0.5f - Node * 0.5f, PadY);
|
||||
|
||||
void Rebuild(bool animate)
|
||||
void Wallet()
|
||||
{
|
||||
var ts = Ts;
|
||||
if (!ts) return;
|
||||
@ -156,6 +159,13 @@ namespace GrassCutter
|
||||
_tabBadges[i].text = n > 0 ? n.ToString() : "";
|
||||
_tabBadges[i].style.display = n > 0 ? DisplayStyle.Flex : DisplayStyle.None;
|
||||
}
|
||||
}
|
||||
|
||||
void Rebuild(bool animate)
|
||||
{
|
||||
var ts = Ts;
|
||||
if (!ts) return;
|
||||
Wallet();
|
||||
|
||||
// nodes
|
||||
foreach (var n in _nodes.Values) n.RemoveFromHierarchy();
|
||||
@ -180,7 +190,8 @@ namespace GrassCutter
|
||||
node.pickingMode = PickingMode.Position;
|
||||
var pos = NodePos(d);
|
||||
node.style.left = pos.x; node.style.top = pos.y;
|
||||
node.AddToClassList(maxed ? "node-maxed" : lvl > 0 ? "node-owned" : !avail ? "node-locked" : afford ? "node-afford" : "node-available");
|
||||
if (maxed || lvl > 0 || !avail) node.AddToClassList(maxed ? "node-maxed" : lvl > 0 ? "node-owned" : "node-locked");
|
||||
else UIK.Costs(node, d.PriceFor(lvl), "node-afford", "node-available");
|
||||
if (d.id == _selected) node.AddToClassList("node-selected");
|
||||
var icon = UIK.Img(AssetBank.I.Tex(d.icon), "node-icon", node);
|
||||
icon.pickingMode = PickingMode.Ignore;
|
||||
@ -261,7 +272,6 @@ namespace GrassCutter
|
||||
bool maxed = lvl >= d.maxLevel;
|
||||
bool avail = ts.PerkAvailable(d);
|
||||
long price = d.PriceFor(lvl);
|
||||
bool afford = ts.Money.Value >= price;
|
||||
|
||||
var top = UIK.El("detail-top", _detail);
|
||||
top.style.backgroundColor = Color.Lerp(TreeColors[(int)_tree], Color.white, 0.55f);
|
||||
@ -292,7 +302,8 @@ namespace GrassCutter
|
||||
}
|
||||
else
|
||||
{
|
||||
var b = UIK.Btn(lvl > 0 ? Loc.F("UPGRADE {0}", UIK.Money(price)) : Loc.F("UNLOCK {0}", UIK.Money(price)), () => Buy(d, afford), afford ? "btn btn-green" : "btn btn-grey", _detail);
|
||||
var b = UIK.Btn(lvl > 0 ? Loc.F("UPGRADE {0}", UIK.Money(price)) : Loc.F("UNLOCK {0}", UIK.Money(price)), () => Buy(d, UIK.CanPay(price)), "btn", _detail);
|
||||
UIK.Costs(b, price);
|
||||
b.style.alignSelf = Align.Stretch;
|
||||
}
|
||||
if (animate) UIK.SlideIn(_detail, new Vector2(40, 0), 0.05f, 0.3f);
|
||||
|
||||
@ -36,14 +36,15 @@ namespace GrassCutter
|
||||
UIK.Text(Stations.Name(i), "t-small t-dark", names, false);
|
||||
float metres = Mathf.Acos(Mathf.Clamp(Vector3.Dot(up, Stations.Dir(i)), -1f, 1f)) * Planet.Radius;
|
||||
UIK.Text(Compass.Distance(metres), "tune-effect", names, false);
|
||||
bool can = i != here && ts.Money.Value >= GameDefs.TravelPrice;
|
||||
UIK.Btn(i == here ? Loc.T("HERE") : UIK.Money(GameDefs.TravelPrice), () =>
|
||||
bool there = i == here;
|
||||
var go = UIK.Btn(there ? Loc.T("HERE") : UIK.Money(GameDefs.TravelPrice), () =>
|
||||
{
|
||||
if (!can) { Sfx.Play("error", 0.7f); return; }
|
||||
if (there || !UIK.CanPay(GameDefs.TravelPrice)) { Sfx.Play("error", 0.7f); return; }
|
||||
ts.TravelRpc(id);
|
||||
Sfx.Play("cash_register", 0.9f);
|
||||
close();
|
||||
}, (can ? "btn btn-green" : "btn btn-grey") + " btn-small", row);
|
||||
}, there ? "btn btn-grey btn-small" : "btn btn-small", row);
|
||||
if (!there) UIK.Costs(go, GameDefs.TravelPrice);
|
||||
}
|
||||
if (hidden > 0) UIK.Text(Loc.F("{0} more out there. Walk up to one and it opens.", hidden), "tune-effect", list.contentContainer, false);
|
||||
}
|
||||
|
||||
@ -55,6 +55,9 @@ namespace GrassCutter
|
||||
foreach (var o in GameDefs.ToolOrder)
|
||||
if (me && !me.Owns(o)) { _selected = (int)o; break; }
|
||||
Rebuild(true);
|
||||
// the wallet moves all the time: it recolours the prices and the pill, it doesn't rebuild the card
|
||||
UIK.FollowWallet(Card);
|
||||
Card.schedule.Execute(() => { if (Ts) _money.text = UIK.Money(Ts.Money.Value); }).Every(250);
|
||||
}
|
||||
|
||||
void Refresh() => Rebuild(false);
|
||||
@ -73,12 +76,12 @@ namespace GrassCutter
|
||||
string sub = GameDefs.IsBlade(t) ? Loc.F("{0:0.#} cm · {1:0.##} kg", ts.ToolWidth(t) * 100f, ts.ToolCap(t)) : Loc.T("Build menu");
|
||||
double price = ts.ToolPrice(d);
|
||||
string tag = me.Owns(t) ? (me.Tools.Belt.Contains(t) ? Loc.T("ON BELT") : Loc.T("OWNED")) : price <= 0d ? Loc.T("FREE") : UIK.Money(price);
|
||||
Item(i, d.icon, d.name, sub, tag, !me.Owns(t) && ts.Money.Value >= price, animate);
|
||||
Item(i, d.icon, d.name, sub, tag, me.Owns(t) ? -1d : price, animate);
|
||||
}
|
||||
int slots = me.BeltSlots.Value;
|
||||
bool maxed = slots >= GameDefs.MaxBeltSlots;
|
||||
long slotPrice = GameDefs.BeltSlotPrice(slots);
|
||||
Item(SlotItem, "icon_perk_release", Loc.T("Belt Slot"), Loc.F("{0} / {1} slots", slots, GameDefs.MaxBeltSlots), maxed ? Loc.T("MAXED") : UIK.Money(slotPrice), !maxed && ts.Money.Value >= slotPrice, animate);
|
||||
Item(SlotItem, "icon_perk_release", Loc.T("Belt Slot"), Loc.F("{0} / {1} slots", slots, GameDefs.MaxBeltSlots), maxed ? Loc.T("MAXED") : UIK.Money(slotPrice), maxed ? -1d : slotPrice, animate);
|
||||
Gear(JetItem, GearId.Jetpack, "icon_perk_jetpack", Loc.T("Jetpack"), Loc.T("Dash in the air"), animate);
|
||||
Gear(BootItem, GearId.Boots, "icon_perk_boots", Loc.T("Gravity Boots"), Loc.T("G: Earth's pull"), animate);
|
||||
Gear(NightItem, GearId.NightVision, "icon_perk_pure", Loc.T("Night Vision"), Loc.T("N: see in the dark"), animate);
|
||||
@ -89,10 +92,10 @@ namespace GrassCutter
|
||||
{
|
||||
bool has = Me.HasGear(g);
|
||||
long price = GameDefs.GearPrice(g);
|
||||
Item(id, icon, name, sub, has ? Loc.T("OWNED") : UIK.Money(price), !has && Ts.Money.Value >= price, animate);
|
||||
Item(id, icon, name, sub, has ? Loc.T("OWNED") : UIK.Money(price), has ? -1d : price, animate);
|
||||
}
|
||||
|
||||
void Item(int id, string icon, string name, string sub, string tag, bool afford, bool animate)
|
||||
void Item(int id, string icon, string name, string sub, string tag, double cost, bool animate)
|
||||
{
|
||||
var e = UIK.El("supply-item", _grid);
|
||||
e.pickingMode = PickingMode.Position;
|
||||
@ -102,7 +105,7 @@ namespace GrassCutter
|
||||
UIK.Text(sub, "supply-sub", e, false).pickingMode = PickingMode.Ignore;
|
||||
var t = UIK.Text(tag, "supply-tag", e, false);
|
||||
t.pickingMode = PickingMode.Ignore;
|
||||
t.EnableInClassList("supply-tag-afford", afford);
|
||||
if (cost >= 0d) UIK.Costs(t, cost, "supply-tag-afford", null);
|
||||
e.RegisterCallback<ClickEvent>(_ => { _selected = id; Sfx.Play("ui_click", 0.6f, 1.1f); Rebuild(false); });
|
||||
e.RegisterCallback<MouseEnterEvent>(_ => Sfx.Play("ui_hover", 0.35f, 1.2f));
|
||||
if (animate) UIK.PopIn(e, 0.03f * id, 0.3f);
|
||||
@ -172,14 +175,14 @@ namespace GrassCutter
|
||||
int slots = me.BeltSlots.Value;
|
||||
if (slots >= GameDefs.MaxBeltSlots) { Done(Loc.T("MAXED OUT!")); return; }
|
||||
long price = GameDefs.BeltSlotPrice(slots);
|
||||
Buy(Loc.F("BUY {0}", UIK.Money(price)), ts.Money.Value >= price, () => ts.BuyBeltSlotRpc());
|
||||
Buy(Loc.F("BUY {0}", UIK.Money(price)), price, () => ts.BuyBeltSlotRpc());
|
||||
}
|
||||
else if (_selected >= JetItem)
|
||||
{
|
||||
var g = _selected == JetItem ? GearId.Jetpack : _selected == BootItem ? GearId.Boots : GearId.NightVision;
|
||||
if (me.HasGear(g)) { Done(Loc.T("OWNED")); return; }
|
||||
long price = GameDefs.GearPrice(g);
|
||||
Buy(Loc.F("BUY {0}", UIK.Money(price)), ts.Money.Value >= price, () => ts.BuyGearRpc((byte)g));
|
||||
Buy(Loc.F("BUY {0}", UIK.Money(price)), price, () => ts.BuyGearRpc((byte)g));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -188,7 +191,7 @@ namespace GrassCutter
|
||||
if (!me.Owns(t))
|
||||
{
|
||||
double price = ts.ToolPrice(GameDefs.Tool(t));
|
||||
Buy(price <= 0d ? Loc.T("TAKE IT") : Loc.F("BUY {0}", UIK.Money(price)), ts.Money.Value >= price, () => ts.BuyToolRpc((byte)t));
|
||||
Buy(price <= 0d ? Loc.T("TAKE IT") : Loc.F("BUY {0}", UIK.Money(price)), price, () => ts.BuyToolRpc((byte)t));
|
||||
}
|
||||
else if (tools.Current == t) Done(Loc.T("IN YOUR HANDS"));
|
||||
else
|
||||
@ -201,11 +204,11 @@ namespace GrassCutter
|
||||
|
||||
void Done(string text) => UIK.Text(text, "price t-green t-outline t-center", _detail);
|
||||
|
||||
void Buy(string label, bool afford, Action buy)
|
||||
void Buy(string label, double cost, Action buy)
|
||||
{
|
||||
var b = UIK.Btn(label, () =>
|
||||
{
|
||||
if (!afford)
|
||||
if (!UIK.CanPay(cost))
|
||||
{
|
||||
Sfx.Play("error", 0.7f);
|
||||
Assistant.Say("asst_nocash"); Hud.Toast(Loc.T("Not enough cash: mow more!"), Hud.ToastKind.Warn);
|
||||
@ -213,7 +216,8 @@ namespace GrassCutter
|
||||
}
|
||||
buy();
|
||||
Sfx.Play("cash_register", 0.9f);
|
||||
}, afford ? "btn btn-green" : "btn btn-grey", _detail);
|
||||
}, "btn", _detail);
|
||||
UIK.Costs(b, cost);
|
||||
b.style.alignSelf = Align.Stretch;
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,6 +48,55 @@ namespace GrassCutter
|
||||
return b;
|
||||
}
|
||||
|
||||
// ───────────────────────── prices that follow the wallet ─────────────────────────
|
||||
|
||||
/// <summary>A price on something: the wallet only recolours it (<see cref="FollowWallet"/>), it never rebuilds the card.</summary>
|
||||
sealed class Price { public double cost; public string yes, no; }
|
||||
|
||||
/// <summary>
|
||||
/// Mark a button (green when you can pay, grey when you can't) or a tag (with <paramref name="yes"/> when you can) as
|
||||
/// costing this much. The money changes every second once robots and belts run; rebuilding a card for that threw
|
||||
/// away the scroll and the button under the cursor, so a click landed one time in two.
|
||||
/// </summary>
|
||||
public static T Costs<T>(T e, double cost, string yes = "btn-green", string no = "btn-grey") where T : VisualElement
|
||||
{
|
||||
e.AddToClassList("costs");
|
||||
e.userData = new Price { cost = cost, yes = yes, no = no };
|
||||
Tint(e, TeamState.Instance ? TeamState.Instance.Money.Value : 0d);
|
||||
return e;
|
||||
}
|
||||
|
||||
static void Tint(VisualElement e, double money)
|
||||
{
|
||||
if (!(e.userData is Price p)) return;
|
||||
bool can = money >= p.cost;
|
||||
if (!string.IsNullOrEmpty(p.yes)) e.EnableInClassList(p.yes, can);
|
||||
if (!string.IsNullOrEmpty(p.no)) e.EnableInClassList(p.no, !can);
|
||||
}
|
||||
|
||||
/// <summary>Recolour every price on the card a few times a second as the wallet moves.</summary>
|
||||
public static void FollowWallet(VisualElement card, long everyMs = 250)
|
||||
{
|
||||
card.schedule.Execute(() =>
|
||||
{
|
||||
var ts = TeamState.Instance;
|
||||
if (!ts) return;
|
||||
double money = ts.Money.Value;
|
||||
card.Query(className: "costs").ForEach(e => Tint(e, money));
|
||||
}).Every(everyMs);
|
||||
}
|
||||
|
||||
/// <summary>Can the team pay this right now (checked when the button is pressed, not when it was drawn).</summary>
|
||||
public static bool CanPay(double cost) => TeamState.Instance && TeamState.Instance.Money.Value >= cost;
|
||||
|
||||
/// <summary>Rebuild what is inside a scroll view without it jumping back to the top.</summary>
|
||||
public static void KeepScroll(ScrollView list, Vector2 offset)
|
||||
{
|
||||
if (list == null) return;
|
||||
list.scrollOffset = offset;
|
||||
list.schedule.Execute(() => list.scrollOffset = offset);
|
||||
}
|
||||
|
||||
public static VisualElement Img(Texture2D tex, string classes = null, VisualElement parent = null)
|
||||
{
|
||||
var e = El(classes, parent);
|
||||
|
||||
@ -264,7 +264,7 @@ namespace GrassCutter
|
||||
/// standing counts, so the whole planet is worth exactly its area. minSweep lets a blade held still eat what is
|
||||
/// under it, paint widens only what the eye sees, so that rows laid edge to edge show no seam.
|
||||
/// </summary>
|
||||
public static float Cut(Vector3 from, Vector3 to, float width, float minSweep = 0f, float paint = 0f)
|
||||
public static float Cut(Vector3 from, Vector3 to, float width, float minSweep = 0f, float paint = 0f, bool blade = false)
|
||||
{
|
||||
var up = Planet.Up(to);
|
||||
var flat = Vector3.ProjectOnPlane(to - from, up);
|
||||
@ -296,9 +296,22 @@ namespace GrassCutter
|
||||
if (cut <= 0f) return 0f;
|
||||
Critters.Disturb(to, half, cut);
|
||||
|
||||
float r = half + paint;
|
||||
int stamps = Mathf.Clamp(Mathf.CeilToInt(len / Mathf.Max(r, 0.25f)) + 1, 1, MaxStampsPerCut);
|
||||
for (int i = 0; i < stamps; i++) Stamp(Vector3.Lerp(from, to, stamps > 1 ? (float)i / (stamps - 1) : 1f), r);
|
||||
// a machine's header shows the strip it took and nothing ahead of it; a stroke shows round ends
|
||||
if (blade)
|
||||
{
|
||||
if (len > 1e-3f)
|
||||
foreach (int id in s_touched)
|
||||
{
|
||||
var m = Open(id);
|
||||
if (m != null) PaintStrip(m, a, b, half);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
float r = half + paint;
|
||||
int stamps = Mathf.Clamp(Mathf.CeilToInt(len / Mathf.Max(r, 0.25f)) + 1, 1, MaxStampsPerCut);
|
||||
for (int i = 0; i < stamps; i++) Stamp(Vector3.Lerp(from, to, stamps > 1 ? (float)i / (stamps - 1) : 1f), r);
|
||||
}
|
||||
return cut;
|
||||
}
|
||||
|
||||
@ -411,6 +424,41 @@ namespace GrassCutter
|
||||
if (-Vector3.Dot(d, s.borders[k]) < reach) Paint(HexGrid.Get(s.neighbours[k]), d, r);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Show the strip a header swept from a to b: square across the line of travel, as wide as the cut, and only a
|
||||
/// hand's breadth past either end so the next stroke joins on without a seam. A wide header shows a wide strip
|
||||
/// behind it, not a disc eaten out in front of it.
|
||||
/// </summary>
|
||||
static void PaintStrip(Mask m, Vector3 a, Vector3 b, float half)
|
||||
{
|
||||
var s = m.s;
|
||||
Flat(s, a, out float u0, out float v0);
|
||||
Flat(s, b, out float u1, out float v1);
|
||||
float du = u1 - u0, dv = v1 - v0, len = Mathf.Sqrt(du * du + dv * dv);
|
||||
if (len < 1e-4f) return;
|
||||
float ux = du / len, uv = dv / len;
|
||||
const float cap = 0.3f;
|
||||
float reach = half + PaintFeather + cap;
|
||||
int x0 = Mathf.Max(0, Mathf.FloorToInt((Mathf.Min(u0, u1) - reach + s.half) / m.cell));
|
||||
int x1 = Mathf.Min(Res - 1, Mathf.CeilToInt((Mathf.Max(u0, u1) + reach + s.half) / m.cell));
|
||||
int z0 = Mathf.Max(0, Mathf.FloorToInt((Mathf.Min(v0, v1) - reach + s.half) / m.cell));
|
||||
int z1 = Mathf.Min(Res - 1, Mathf.CeilToInt((Mathf.Max(v0, v1) + reach + s.half) / m.cell));
|
||||
float wide = Mathf.Max(half, MinPaintRadius);
|
||||
for (int z = z0; z <= z1; z++)
|
||||
for (int x = x0; x <= x1; x++)
|
||||
{
|
||||
float cu = Cell(m, x) - u0, cv = Cell(m, z) - v0;
|
||||
float across = Mathf.Abs(cv * ux - cu * uv);
|
||||
float t = cu * ux + cv * uv;
|
||||
float off = Mathf.Max(-t, t - len);
|
||||
float f = Mathf.Clamp01((wide - across) / PaintFeather + 0.5f) * Mathf.Clamp01((cap - off) / PaintFeather + 0.5f);
|
||||
if (f <= 0f) continue;
|
||||
byte by = (byte)(f * 255f);
|
||||
int i = (z * Res + x) * 2;
|
||||
if (by > m.rg[i]) { m.rg[i] = by; m.show = m.dirty = m.keep = true; }
|
||||
}
|
||||
}
|
||||
|
||||
static void Paint(HexGrid.Sector s, Vector3 d, float r)
|
||||
{
|
||||
var m = Open(s.id);
|
||||
|
||||
@ -360,18 +360,19 @@
|
||||
.banner-text { font-size: 92px; color: #E6B83C; -unity-text-align: middle-center; }
|
||||
.banner-sub { font-size: 34px; -unity-text-align: middle-center; margin-top: -6px; }
|
||||
.toasts {
|
||||
position: absolute; left: 34px; top: 260px; width: 760px;
|
||||
align-items: flex-start;
|
||||
position: absolute; left: 0; right: 0; top: 92px;
|
||||
align-items: center;
|
||||
}
|
||||
.toast {
|
||||
background-color: rgba(42, 33, 20,0.9);
|
||||
border-radius: 20px;
|
||||
padding: 10px 20px 10px 20px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 22px;
|
||||
border-left-width: 8px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 18px;
|
||||
border-left-width: 6px;
|
||||
border-color: #4FAE2E;
|
||||
max-width: 620px; white-space: normal;
|
||||
max-width: 520px; white-space: normal;
|
||||
-unity-text-align: middle-center;
|
||||
}
|
||||
.toast-good { border-color: #8CCF2E; }
|
||||
.toast-warn { border-color: #D9A12B; }
|
||||
@ -737,7 +738,12 @@
|
||||
.contract-actions { flex-direction: row; justify-content: space-between; width: 600px; margin-top: 10px; }
|
||||
|
||||
/* map */
|
||||
.rig-map { width: 1100px; height: 900px; }
|
||||
.rig-map { width: 1500px; height: 940px; }
|
||||
.map-tools { flex-direction: row; margin-left: auto; margin-right: 10px; }
|
||||
.map-tools .btn { margin-left: 6px; min-width: 56px; }
|
||||
.map-scale { position: absolute; left: 18px; bottom: 16px; align-items: flex-start; }
|
||||
.map-scale-bar { height: 6px; background-color: rgba(255, 255, 255, 0.85); border-radius: 3px; }
|
||||
.map-scale-text { color: #FFFFFF; margin-top: 2px; }
|
||||
.map-chart { flex-grow: 1; border-radius: 18px; overflow: hidden; margin-top: 8px; }
|
||||
.map-legend { flex-direction: row; align-items: center; margin-top: 10px; flex-wrap: wrap; }
|
||||
.map-key { flex-direction: row; align-items: center; margin-right: 18px; }
|
||||
@ -839,7 +845,7 @@
|
||||
.tank-glass { border-color: #8B5E34; border-radius: 12px; background-color: rgba(42, 33, 20, 0.85); }
|
||||
.tank-shine { background-color: rgba(255, 255, 255, 0.1); }
|
||||
.tank-fill { background-color: #6FB83F; }
|
||||
.toast { padding: 12px 22px 12px 22px; }
|
||||
.toast { padding: 8px 18px 8px 18px; }
|
||||
.toast-good, .toast-warn, .toast-money { border-left-width: 0; }
|
||||
.toast-warn { -unity-background-image-tint-color: #F4B8A0; }
|
||||
.bar, .bar-wide, .res-bar, .order-bar, .jet { background-color: rgba(26, 20, 11, 0.8); border-radius: 3px; }
|
||||
|
||||
Reference in New Issue
Block a user