Shops_30102_SalesMachine.prefab 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false,
  12. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "Shops_30102_SalesMachine",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. },
  23. {
  24. "__id__": 4
  25. },
  26. {
  27. "__id__": 7
  28. },
  29. {
  30. "__id__": 13
  31. }
  32. ],
  33. "_active": true,
  34. "_level": 1,
  35. "_components": [
  36. {
  37. "__id__": 16
  38. },
  39. {
  40. "__id__": 17
  41. },
  42. {
  43. "__id__": 23
  44. },
  45. {
  46. "__id__": 24
  47. },
  48. {
  49. "__id__": 25
  50. }
  51. ],
  52. "_prefab": {
  53. "__id__": 26
  54. },
  55. "_opacity": 255,
  56. "_color": {
  57. "__type__": "cc.Color",
  58. "r": 255,
  59. "g": 255,
  60. "b": 255,
  61. "a": 255
  62. },
  63. "_contentSize": {
  64. "__type__": "cc.Size",
  65. "width": 101,
  66. "height": 157
  67. },
  68. "_anchorPoint": {
  69. "__type__": "cc.Vec2",
  70. "x": 0.52,
  71. "y": 0.16
  72. },
  73. "_position": {
  74. "__type__": "cc.Vec3",
  75. "x": 698,
  76. "y": 179,
  77. "z": 0
  78. },
  79. "_scale": {
  80. "__type__": "cc.Vec3",
  81. "x": 1,
  82. "y": 1,
  83. "z": 1
  84. },
  85. "_quat": {
  86. "__type__": "cc.Quat",
  87. "x": 0,
  88. "y": 0,
  89. "z": 0,
  90. "w": 1
  91. },
  92. "_skewX": 0,
  93. "_skewY": 0,
  94. "_zIndex": 0,
  95. "_is3DNode": false,
  96. "groupIndex": 0,
  97. "_id": ""
  98. },
  99. {
  100. "__type__": "cc.Node",
  101. "_name": "Draw",
  102. "_objFlags": 0,
  103. "_parent": {
  104. "__id__": 1
  105. },
  106. "_children": [],
  107. "_active": true,
  108. "_level": 5,
  109. "_components": [],
  110. "_prefab": {
  111. "__id__": 3
  112. },
  113. "_opacity": 255,
  114. "_color": {
  115. "__type__": "cc.Color",
  116. "r": 255,
  117. "g": 255,
  118. "b": 255,
  119. "a": 255
  120. },
  121. "_contentSize": {
  122. "__type__": "cc.Size",
  123. "width": 0,
  124. "height": 0
  125. },
  126. "_anchorPoint": {
  127. "__type__": "cc.Vec2",
  128. "x": 0,
  129. "y": 0
  130. },
  131. "_position": {
  132. "__type__": "cc.Vec3",
  133. "x": -2,
  134. "y": 51,
  135. "z": 0
  136. },
  137. "_scale": {
  138. "__type__": "cc.Vec3",
  139. "x": 1,
  140. "y": 1,
  141. "z": 1
  142. },
  143. "_skewX": 0,
  144. "_skewY": 0,
  145. "_zIndex": 0,
  146. "_is3DNode": false,
  147. "groupIndex": 0,
  148. "_id": "",
  149. "_eulerAngles": {
  150. "__type__": "cc.Vec3",
  151. "x": 0,
  152. "y": 0,
  153. "z": 0
  154. }
  155. },
  156. {
  157. "__type__": "cc.PrefabInfo",
  158. "root": {
  159. "__id__": 1
  160. },
  161. "asset": {
  162. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  163. },
  164. "fileId": "60/j9s0WFGS7sAVAcO+32+",
  165. "sync": false
  166. },
  167. {
  168. "__type__": "cc.Node",
  169. "_name": "Shops_01",
  170. "_objFlags": 0,
  171. "_parent": {
  172. "__id__": 1
  173. },
  174. "_children": [],
  175. "_active": true,
  176. "_level": 4,
  177. "_components": [
  178. {
  179. "__id__": 5
  180. }
  181. ],
  182. "_prefab": {
  183. "__id__": 6
  184. },
  185. "_opacity": 255,
  186. "_color": {
  187. "__type__": "cc.Color",
  188. "r": 255,
  189. "g": 255,
  190. "b": 255,
  191. "a": 255
  192. },
  193. "_contentSize": {
  194. "__type__": "cc.Size",
  195. "width": 120,
  196. "height": 195
  197. },
  198. "_anchorPoint": {
  199. "__type__": "cc.Vec2",
  200. "x": 0.5,
  201. "y": 0
  202. },
  203. "_position": {
  204. "__type__": "cc.Vec3",
  205. "x": -2,
  206. "y": -27,
  207. "z": 0
  208. },
  209. "_scale": {
  210. "__type__": "cc.Vec3",
  211. "x": 0.8,
  212. "y": 0.8,
  213. "z": 1
  214. },
  215. "_skewX": 0,
  216. "_skewY": 0,
  217. "_zIndex": 0,
  218. "_is3DNode": false,
  219. "groupIndex": 0,
  220. "_id": "",
  221. "_eulerAngles": {
  222. "__type__": "cc.Vec3",
  223. "x": 0,
  224. "y": 0,
  225. "z": 0
  226. }
  227. },
  228. {
  229. "__type__": "cc.Sprite",
  230. "_name": "",
  231. "_objFlags": 0,
  232. "node": {
  233. "__id__": 4
  234. },
  235. "_enabled": true,
  236. "_srcBlendFactor": 770,
  237. "_dstBlendFactor": 771,
  238. "_spriteFrame": {
  239. "__uuid__": "4ecc42f3-1839-4bc4-844c-2d751cd82621"
  240. },
  241. "_type": 0,
  242. "_sizeMode": 0,
  243. "_fillType": 0,
  244. "_fillCenter": {
  245. "__type__": "cc.Vec2",
  246. "x": 0,
  247. "y": 0
  248. },
  249. "_fillStart": 0,
  250. "_fillRange": 0,
  251. "_isTrimmedMode": true,
  252. "_state": 0,
  253. "_atlas": null,
  254. "_id": ""
  255. },
  256. {
  257. "__type__": "cc.PrefabInfo",
  258. "root": {
  259. "__id__": 1
  260. },
  261. "asset": {
  262. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  263. },
  264. "fileId": "7dLauuaMVBKo6+VZBLaHzo",
  265. "sync": false
  266. },
  267. {
  268. "__type__": "cc.Node",
  269. "_name": "DialogBox",
  270. "_objFlags": 0,
  271. "_parent": {
  272. "__id__": 1
  273. },
  274. "_children": [
  275. {
  276. "__id__": 8
  277. }
  278. ],
  279. "_active": false,
  280. "_level": 5,
  281. "_components": [
  282. {
  283. "__id__": 11
  284. }
  285. ],
  286. "_prefab": {
  287. "__id__": 12
  288. },
  289. "_opacity": 255,
  290. "_color": {
  291. "__type__": "cc.Color",
  292. "r": 255,
  293. "g": 255,
  294. "b": 255,
  295. "a": 255
  296. },
  297. "_contentSize": {
  298. "__type__": "cc.Size",
  299. "width": 229,
  300. "height": 210
  301. },
  302. "_anchorPoint": {
  303. "__type__": "cc.Vec2",
  304. "x": 0.5,
  305. "y": 0.5
  306. },
  307. "_position": {
  308. "__type__": "cc.Vec3",
  309. "x": 129,
  310. "y": 359,
  311. "z": 0
  312. },
  313. "_scale": {
  314. "__type__": "cc.Vec3",
  315. "x": 0.6,
  316. "y": 0.6,
  317. "z": 0.6
  318. },
  319. "_skewX": 0,
  320. "_skewY": 0,
  321. "_zIndex": 0,
  322. "_is3DNode": false,
  323. "groupIndex": 0,
  324. "_id": "",
  325. "_eulerAngles": {
  326. "__type__": "cc.Vec3",
  327. "x": 0,
  328. "y": 0,
  329. "z": 0
  330. }
  331. },
  332. {
  333. "__type__": "cc.Node",
  334. "_name": "TipLabel",
  335. "_objFlags": 0,
  336. "_parent": {
  337. "__id__": 7
  338. },
  339. "_children": [],
  340. "_active": true,
  341. "_level": 6,
  342. "_components": [
  343. {
  344. "__id__": 9
  345. }
  346. ],
  347. "_prefab": {
  348. "__id__": 10
  349. },
  350. "_opacity": 255,
  351. "_color": {
  352. "__type__": "cc.Color",
  353. "r": 238,
  354. "g": 0,
  355. "b": 0,
  356. "a": 255
  357. },
  358. "_contentSize": {
  359. "__type__": "cc.Size",
  360. "width": 100,
  361. "height": 50
  362. },
  363. "_anchorPoint": {
  364. "__type__": "cc.Vec2",
  365. "x": 0.5,
  366. "y": 0.5
  367. },
  368. "_position": {
  369. "__type__": "cc.Vec3",
  370. "x": -5,
  371. "y": 41,
  372. "z": 0
  373. },
  374. "_scale": {
  375. "__type__": "cc.Vec3",
  376. "x": 1,
  377. "y": 1,
  378. "z": 1
  379. },
  380. "_quat": {
  381. "__type__": "cc.Quat",
  382. "x": 0,
  383. "y": 0,
  384. "z": 0,
  385. "w": 1
  386. },
  387. "_skewX": 0,
  388. "_skewY": 0,
  389. "_zIndex": 0,
  390. "_is3DNode": false,
  391. "groupIndex": 0,
  392. "_id": ""
  393. },
  394. {
  395. "__type__": "cc.Label",
  396. "_name": "",
  397. "_objFlags": 0,
  398. "node": {
  399. "__id__": 8
  400. },
  401. "_enabled": true,
  402. "_srcBlendFactor": 1,
  403. "_dstBlendFactor": 771,
  404. "_useOriginalSize": false,
  405. "_string": "售罄",
  406. "_N$string": "售罄",
  407. "_fontSize": 50,
  408. "_lineHeight": 50,
  409. "_enableWrapText": true,
  410. "_N$file": null,
  411. "_isSystemFontUsed": true,
  412. "_spacingX": 0,
  413. "_N$horizontalAlign": 1,
  414. "_N$verticalAlign": 1,
  415. "_N$fontFamily": "Arial",
  416. "_N$overflow": 0,
  417. "_id": ""
  418. },
  419. {
  420. "__type__": "cc.PrefabInfo",
  421. "root": {
  422. "__id__": 1
  423. },
  424. "asset": {
  425. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  426. },
  427. "fileId": "e1UUO4ZdxKl7hZsfbxik/C",
  428. "sync": false
  429. },
  430. {
  431. "__type__": "cc.Sprite",
  432. "_name": "",
  433. "_objFlags": 0,
  434. "node": {
  435. "__id__": 7
  436. },
  437. "_enabled": true,
  438. "_srcBlendFactor": 770,
  439. "_dstBlendFactor": 771,
  440. "_spriteFrame": {
  441. "__uuid__": "a9f5aa98-eb86-4632-b863-e46ce1584809"
  442. },
  443. "_type": 0,
  444. "_sizeMode": 1,
  445. "_fillType": 0,
  446. "_fillCenter": {
  447. "__type__": "cc.Vec2",
  448. "x": 0,
  449. "y": 0
  450. },
  451. "_fillStart": 0,
  452. "_fillRange": 0,
  453. "_isTrimmedMode": true,
  454. "_state": 0,
  455. "_atlas": null,
  456. "_id": ""
  457. },
  458. {
  459. "__type__": "cc.PrefabInfo",
  460. "root": {
  461. "__id__": 1
  462. },
  463. "asset": {
  464. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  465. },
  466. "fileId": "6ekO1IdthA248TzmlgMnY8",
  467. "sync": false
  468. },
  469. {
  470. "__type__": "cc.Node",
  471. "_name": "Title",
  472. "_objFlags": 0,
  473. "_parent": {
  474. "__id__": 1
  475. },
  476. "_children": [],
  477. "_active": true,
  478. "_level": 4,
  479. "_components": [
  480. {
  481. "__id__": 14
  482. }
  483. ],
  484. "_prefab": {
  485. "__id__": 15
  486. },
  487. "_opacity": 255,
  488. "_color": {
  489. "__type__": "cc.Color",
  490. "r": 255,
  491. "g": 255,
  492. "b": 255,
  493. "a": 255
  494. },
  495. "_contentSize": {
  496. "__type__": "cc.Size",
  497. "width": 97.87,
  498. "height": 40
  499. },
  500. "_anchorPoint": {
  501. "__type__": "cc.Vec2",
  502. "x": 0.5,
  503. "y": 0.5
  504. },
  505. "_position": {
  506. "__type__": "cc.Vec3",
  507. "x": 0,
  508. "y": 418,
  509. "z": 0
  510. },
  511. "_scale": {
  512. "__type__": "cc.Vec3",
  513. "x": 1,
  514. "y": 1,
  515. "z": 1
  516. },
  517. "_quat": {
  518. "__type__": "cc.Quat",
  519. "x": 0,
  520. "y": 0,
  521. "z": 0,
  522. "w": 1
  523. },
  524. "_skewX": 0,
  525. "_skewY": 0,
  526. "_zIndex": 0,
  527. "_is3DNode": false,
  528. "groupIndex": 0,
  529. "_id": ""
  530. },
  531. {
  532. "__type__": "cc.Label",
  533. "_name": "",
  534. "_objFlags": 0,
  535. "node": {
  536. "__id__": 13
  537. },
  538. "_enabled": true,
  539. "_srcBlendFactor": 1,
  540. "_dstBlendFactor": 771,
  541. "_useOriginalSize": false,
  542. "_string": "Label",
  543. "_N$string": "Label",
  544. "_fontSize": 40,
  545. "_lineHeight": 40,
  546. "_enableWrapText": true,
  547. "_N$file": null,
  548. "_isSystemFontUsed": true,
  549. "_spacingX": 0,
  550. "_N$horizontalAlign": 1,
  551. "_N$verticalAlign": 1,
  552. "_N$fontFamily": "Arial",
  553. "_N$overflow": 0,
  554. "_id": ""
  555. },
  556. {
  557. "__type__": "cc.PrefabInfo",
  558. "root": {
  559. "__id__": 1
  560. },
  561. "asset": {
  562. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  563. },
  564. "fileId": "61/k2MeSFIaaIr/jrVpcPt",
  565. "sync": false
  566. },
  567. {
  568. "__type__": "cc.Sprite",
  569. "_name": "",
  570. "_objFlags": 0,
  571. "node": {
  572. "__id__": 1
  573. },
  574. "_enabled": false,
  575. "_srcBlendFactor": 770,
  576. "_dstBlendFactor": 771,
  577. "_spriteFrame": {
  578. "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
  579. },
  580. "_type": 0,
  581. "_sizeMode": 0,
  582. "_fillType": 0,
  583. "_fillCenter": {
  584. "__type__": "cc.Vec2",
  585. "x": 0,
  586. "y": 0
  587. },
  588. "_fillStart": 0,
  589. "_fillRange": 0,
  590. "_isTrimmedMode": true,
  591. "_state": 0,
  592. "_atlas": null,
  593. "_id": ""
  594. },
  595. {
  596. "__type__": "665c9OT2R1OgqpO6W6onlaQ",
  597. "_name": "",
  598. "_objFlags": 0,
  599. "node": {
  600. "__id__": 1
  601. },
  602. "_enabled": true,
  603. "title": {
  604. "__id__": 14
  605. },
  606. "buildInfo": {
  607. "__id__": 18
  608. },
  609. "buildZone": {
  610. "__id__": 2
  611. },
  612. "_canBuild": false,
  613. "InitPosFromStore": false,
  614. "InitPos": true,
  615. "InitStartPos": {
  616. "__type__": "cc.Vec2",
  617. "x": 26,
  618. "y": 18
  619. },
  620. "InitBuildingInfo": true,
  621. "ShowTip": {
  622. "__id__": 9
  623. },
  624. "ShowTipString": "售罄",
  625. "InitWorkBuildingInfo": false,
  626. "InitWorkBuildingIndex": 0,
  627. "_id": ""
  628. },
  629. {
  630. "__type__": "BuildInfo",
  631. "buildType": 5,
  632. "id": 30102,
  633. "occupyArea": {
  634. "__type__": "cc.Vec2",
  635. "x": 1,
  636. "y": 1
  637. },
  638. "startTilePos": {
  639. "__type__": "cc.Vec2",
  640. "x": 0,
  641. "y": 0
  642. },
  643. "isItActive": false,
  644. "isItOccupied": false,
  645. "occupantPlayerInfo": null,
  646. "isThereAnItem": false,
  647. "isItSaleable": false,
  648. "isItStopOperation": false,
  649. "buildingName": "自助售货机",
  650. "BuildingPrefabName": "Shops_01_Sales-machine",
  651. "EnglishName": "",
  652. "BuildingSynopsis": "可自助售卖小商品哦!",
  653. "BuildingSprite": {
  654. "__id__": 5
  655. },
  656. "RunningCost": 10,
  657. "consumeStrength": 0,
  658. "totalConsumption": 30,
  659. "totalInventory": 3,
  660. "goodsArray": [
  661. {
  662. "__id__": 19
  663. },
  664. {
  665. "__id__": 21
  666. }
  667. ],
  668. "_goods": null,
  669. "_inventory": 0,
  670. "_targetBuildingsInfo": null,
  671. "_gotoPosistion": [],
  672. "specialSetValue": 3,
  673. "consumeStrengthAddValue": 0,
  674. "goodsPriceAddValue": 0,
  675. "AssetValue": 0
  676. },
  677. {
  678. "__type__": "goodsInfo",
  679. "isItSale": true,
  680. "goodsId": 0,
  681. "goodsName": "雪雪碧",
  682. "goodsPrice": 10,
  683. "goodsSalesRate": 25,
  684. "goodsMaterial": {
  685. "__id__": 20
  686. }
  687. },
  688. {
  689. "__type__": "goodsMaterialClass",
  690. "crops": 1,
  691. "wood": 0,
  692. "mineral": 0
  693. },
  694. {
  695. "__type__": "goodsInfo",
  696. "isItSale": false,
  697. "goodsId": 1,
  698. "goodsName": "雪雪花",
  699. "goodsPrice": 1500,
  700. "goodsSalesRate": 50,
  701. "goodsMaterial": {
  702. "__id__": 22
  703. }
  704. },
  705. {
  706. "__type__": "goodsMaterialClass",
  707. "crops": 5,
  708. "wood": 5,
  709. "mineral": 0
  710. },
  711. {
  712. "__type__": "c818fDHNAJL/KUAnaPKbekt",
  713. "_name": "",
  714. "_objFlags": 0,
  715. "node": {
  716. "__id__": 1
  717. },
  718. "_enabled": true,
  719. "isShowBuildingInfo": false,
  720. "_isInstance": false,
  721. "_ifCanEdit": false,
  722. "touchTimer": 0.8,
  723. "isAutoMove": false,
  724. "targetNode": null,
  725. "_OldIndex": 0,
  726. "_id": ""
  727. },
  728. {
  729. "__type__": "11080so8tVCfJMXcYRhAT3s",
  730. "_name": "",
  731. "_objFlags": 0,
  732. "node": {
  733. "__id__": 1
  734. },
  735. "_enabled": true,
  736. "_id": ""
  737. },
  738. {
  739. "__type__": "3b3f4TYx8NMDLX1AIrRzmKU",
  740. "_name": "",
  741. "_objFlags": 0,
  742. "node": {
  743. "__id__": 1
  744. },
  745. "_enabled": true,
  746. "_id": ""
  747. },
  748. {
  749. "__type__": "cc.PrefabInfo",
  750. "root": {
  751. "__id__": 1
  752. },
  753. "asset": {
  754. "__uuid__": "84a5735f-971b-4f92-90f0-4afd615becdb"
  755. },
  756. "fileId": "a8cdOFn1FDUKP49q/Mzviq",
  757. "sync": false
  758. }
  759. ]