Shops_30102_SalesMachine.prefab 13 KB

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