7247 lines
476 KiB
JSON
7247 lines
476 KiB
JSON
{
|
|
"ThingDef": {
|
|
"keywords": [
|
|
"ThingDef"
|
|
],
|
|
"question": "What is a ThingDef?",
|
|
"embedding": [
|
|
-0.019440101459622383,
|
|
0.0362212248146534,
|
|
0.00969050731509924,
|
|
0.03294181451201439,
|
|
-0.04809800535440445,
|
|
-0.0006195055320858955,
|
|
-0.016131149604916573,
|
|
0.06724266707897186,
|
|
0.04210052639245987,
|
|
0.11746785044670105,
|
|
-0.053061433136463165,
|
|
-0.06990164518356323,
|
|
-0.038112055510282516,
|
|
-0.0914689302444458,
|
|
0.029056748375296593,
|
|
-0.017874257639050484,
|
|
0.00430237827822566,
|
|
-0.07279697805643082,
|
|
0.01387840136885643,
|
|
-0.013413080014288425,
|
|
0.027978384867310524,
|
|
0.022675195708870888,
|
|
-0.029115837067365646,
|
|
0.06281103193759918,
|
|
0.019454874098300934,
|
|
-0.05279553681612015,
|
|
0.01324320025742054,
|
|
0.06245649978518486,
|
|
-0.03876202926039696,
|
|
0.011958026327192783,
|
|
-0.0014559765113517642,
|
|
0.04142100736498833,
|
|
0.012238696217536926,
|
|
0.007696271408349276,
|
|
0.002598045626655221,
|
|
0.03973698616027832,
|
|
0.0067877862602472305,
|
|
-0.014247704297304153,
|
|
0.020001443102955818,
|
|
-0.037107549607753754,
|
|
0.036191679537296295,
|
|
-0.01231255754828453,
|
|
-0.02537849172949791,
|
|
-0.0331190787255764,
|
|
-0.04130282998085022,
|
|
-0.007703657727688551,
|
|
0.03693028539419174,
|
|
-0.06446550786495209,
|
|
-0.05066835135221481,
|
|
0.03394631668925285,
|
|
-0.012002342380583286,
|
|
0.02050369419157505,
|
|
-0.03636894375085831,
|
|
-0.017726536840200424,
|
|
0.012777878902852535,
|
|
0.03282363712787628,
|
|
0.03970744460821152,
|
|
-0.028569268062710762,
|
|
-0.004054945427924395,
|
|
0.008715547621250153,
|
|
0.009764367714524269,
|
|
0.032557740807533264,
|
|
-0.07220609486103058,
|
|
-0.023133130744099617,
|
|
0.07108341157436371,
|
|
-0.06594271957874298,
|
|
-0.011529634706676006,
|
|
-0.02477283589541912,
|
|
0.04839344695210457,
|
|
-0.016278870403766632,
|
|
-0.03831886500120163,
|
|
0.04836390167474747,
|
|
-0.07622411102056503,
|
|
-0.021818412467837334,
|
|
-0.07356512546539307,
|
|
0.026102324947714806,
|
|
-0.023133130744099617,
|
|
-0.00922518502920866,
|
|
-0.02286723256111145,
|
|
-0.022305892780423164,
|
|
0.020400289446115494,
|
|
-0.004095568787306547,
|
|
-0.03264637291431427,
|
|
-0.005713114980608225,
|
|
0.03678256273269653,
|
|
0.025629617273807526,
|
|
-0.009904702194035053,
|
|
-0.03595532476902008,
|
|
-0.028968116268515587,
|
|
0.09383247047662735,
|
|
-0.05932481214404106,
|
|
0.046620793640613556,
|
|
0.0299430750310421,
|
|
-0.01830264925956726,
|
|
0.04546856880187988,
|
|
0.07474689930677414,
|
|
-0.04446406289935112,
|
|
0.03958926722407341,
|
|
0.016603855416178703,
|
|
0.02034120075404644,
|
|
-0.03291226923465729,
|
|
-0.040948301553726196,
|
|
-0.010340480133891106,
|
|
0.06812898814678192,
|
|
0.015244822017848492,
|
|
0.07126067578792572,
|
|
-0.028569268062710762,
|
|
-0.040593769401311874,
|
|
-0.016485679894685745,
|
|
-0.0028251667972654104,
|
|
-0.006086111068725586,
|
|
0.04210052639245987,
|
|
-0.00900360383093357,
|
|
0.01716519705951214,
|
|
-0.008021257817745209,
|
|
0.06121564283967018,
|
|
-0.030312377959489822,
|
|
-0.027815891429781914,
|
|
0.05264781415462494,
|
|
-0.005343812517821789,
|
|
0.032557740807533264,
|
|
-0.051170602440834045,
|
|
0.013029004447162151,
|
|
-0.027092058211565018,
|
|
-0.002982120495289564,
|
|
0.013989192433655262,
|
|
0.040977843105793,
|
|
0.03595532476902008,
|
|
-0.01024446077644825,
|
|
-0.04797982797026634,
|
|
-0.05250009521842003,
|
|
-0.012260855175554752,
|
|
0.013582958839833736,
|
|
-0.007312196306884289,
|
|
-0.020562782883644104,
|
|
-0.0457049198448658,
|
|
0.04269140958786011,
|
|
0.03261682763695717,
|
|
-0.04682760313153267,
|
|
0.027092058211565018,
|
|
-0.037934787571430206,
|
|
-0.0015778464730829,
|
|
-0.05031381919980049,
|
|
0.009993335232138634,
|
|
0.11398163437843323,
|
|
-0.0022195102646946907,
|
|
-0.0013165646232664585,
|
|
-0.055277250707149506,
|
|
-0.02901243232190609,
|
|
0.020385516807436943,
|
|
0.018169701099395752,
|
|
-0.029381735250353813,
|
|
-0.010340480133891106,
|
|
0.015422087162733078,
|
|
-0.001591695356182754,
|
|
0.016278870403766632,
|
|
-0.009845614433288574,
|
|
-0.04452315345406532,
|
|
0.0022878311574459076,
|
|
-0.012186993844807148,
|
|
0.039973340928554535,
|
|
0.006987209897488356,
|
|
-0.04331183806061745,
|
|
0.009158710949122906,
|
|
0.004956044256687164,
|
|
-0.02161160297691822,
|
|
-0.05725671350955963,
|
|
0.03548261895775795,
|
|
-0.07202883064746857,
|
|
0.003549000481143594,
|
|
0.026235274970531464,
|
|
-0.020725276321172714,
|
|
-0.01087966188788414,
|
|
-0.0004101569938939065,
|
|
-0.004114033654332161,
|
|
-0.03072599694132805,
|
|
0.007711043581366539,
|
|
0.01349432673305273,
|
|
0.048659343272447586,
|
|
-0.04765484109520912,
|
|
0.03820068761706352,
|
|
0.009720050729811192,
|
|
0.08083301037549973,
|
|
0.010606378316879272,
|
|
0.012054044753313065,
|
|
-0.023384256288409233,
|
|
-0.03196685388684273,
|
|
0.03214412182569504,
|
|
-0.0055986312218010426,
|
|
0.0027328410651534796,
|
|
-0.033975861966609955,
|
|
0.041893716901540756,
|
|
0.050875160843133926,
|
|
0.06133381649851799,
|
|
-0.05693172663450241,
|
|
-0.009409836493432522,
|
|
0.006270762532949448,
|
|
0.02808178961277008,
|
|
0.017889030277729034,
|
|
0.0015981581527739763,
|
|
0.025452353060245514,
|
|
0.011175104416906834,
|
|
0.022187715396285057,
|
|
-0.011817690916359425,
|
|
0.05282508209347725,
|
|
-0.027225006371736526,
|
|
0.03025328926742077,
|
|
-0.00884111039340496,
|
|
0.013102864846587181,
|
|
0.0012353180209174752,
|
|
0.027313638478517532,
|
|
-0.01277049258351326,
|
|
0.04018015041947365,
|
|
-0.01921852119266987,
|
|
-0.014786886051297188,
|
|
-0.01118987612426281,
|
|
-0.04475950449705124,
|
|
-0.0007441452471539378,
|
|
-0.028332915157079697,
|
|
-0.0061267344281077385,
|
|
0.0024170870892703533,
|
|
-0.009956404566764832,
|
|
0.02651594579219818,
|
|
0.02729886770248413,
|
|
0.028510181233286858,
|
|
-0.006507116369903088,
|
|
0.03122824989259243,
|
|
0.013834085315465927,
|
|
0.02301495335996151,
|
|
-0.03580760583281517,
|
|
0.023413801565766335,
|
|
0.03598487004637718,
|
|
-0.08898721635341644,
|
|
0.06759719550609589,
|
|
0.039973340928554535,
|
|
-0.0020311656408011913,
|
|
-0.028598813340067863,
|
|
-0.025023961439728737,
|
|
0.03663484379649162,
|
|
0.03731435909867287,
|
|
-0.028303369879722595,
|
|
0.018494686111807823,
|
|
-0.0457935556769371,
|
|
0.030208973214030266,
|
|
-0.027239779010415077,
|
|
0.0013073320733383298,
|
|
-0.06399279832839966,
|
|
-0.06411097198724747,
|
|
0.028022700920701027,
|
|
-0.009653576649725437,
|
|
-0.017726536840200424,
|
|
0.0053548915311694145,
|
|
-0.055247705429792404,
|
|
-0.009358134120702744,
|
|
-0.02068096026778221,
|
|
0.0457344651222229,
|
|
-0.03105098381638527,
|
|
-0.01474995631724596,
|
|
0.005188704933971167,
|
|
0.02443307638168335,
|
|
-0.007866150699555874,
|
|
-0.0037687355652451515,
|
|
0.0005137926200404763,
|
|
-0.036664389073848724,
|
|
-0.03447811305522919,
|
|
0.017268601804971695,
|
|
-0.0031132230069488287,
|
|
-0.05406593903899193,
|
|
-0.07959215342998505,
|
|
-0.038112055510282516,
|
|
0.004051252268254757,
|
|
0.0378757007420063,
|
|
0.01720951311290264,
|
|
-0.029691949486732483,
|
|
0.001599081326276064,
|
|
0.023768331855535507,
|
|
0.007917853072285652,
|
|
0.0457344651222229,
|
|
-0.08059665560722351,
|
|
-0.0141886156052351,
|
|
-0.01765267550945282,
|
|
0.00536597054451704,
|
|
-0.011219420470297337,
|
|
-0.05001837760210037,
|
|
-0.023871736600995064,
|
|
0.019115116447210312,
|
|
0.024698974564671516,
|
|
0.021980905905365944,
|
|
0.039057470858097076,
|
|
0.021212756633758545,
|
|
0.061865612864494324,
|
|
0.015259593725204468,
|
|
-0.007441452704370022,
|
|
-0.004904341883957386,
|
|
-0.026885248720645905,
|
|
-0.018081067129969597,
|
|
0.025319403037428856,
|
|
0.03480309993028641,
|
|
-0.006832102779299021,
|
|
0.027963612228631973,
|
|
0.0009601874044165015,
|
|
0.014159071259200573,
|
|
-0.0047012255527079105,
|
|
-0.0204889215528965,
|
|
0.0866236761212349,
|
|
0.00962403230369091,
|
|
-0.013435238040983677,
|
|
-0.07480598986148834,
|
|
-0.005949468817561865,
|
|
-0.05060926452279091,
|
|
0.025452353060245514,
|
|
-0.016943614929914474,
|
|
-0.0016886373050510883,
|
|
-0.011980184353888035,
|
|
0.020592326298356056,
|
|
0.025334175676107407,
|
|
-0.04665033519268036,
|
|
-0.004435327369719744,
|
|
-0.028126105666160583,
|
|
0.01386362873017788,
|
|
-0.048009369522333145,
|
|
-0.012984688393771648,
|
|
-0.003803819417953491,
|
|
0.0181549284607172,
|
|
-0.03217366337776184,
|
|
-0.013029004447162151,
|
|
0.02588074468076229,
|
|
-0.001548302243463695,
|
|
-0.00992686115205288,
|
|
0.0012473204405978322,
|
|
0.010510358959436417,
|
|
0.004715997260063887,
|
|
0.02161160297691822,
|
|
0.016840210184454918,
|
|
-0.05489317700266838,
|
|
0.008338858373463154,
|
|
0.015377771109342575,
|
|
0.034596290439367294,
|
|
0.007755360100418329,
|
|
0.009542785584926605,
|
|
-0.032557740807533264,
|
|
0.018095839768648148,
|
|
0.023561522364616394,
|
|
-0.023694470524787903,
|
|
0.04085966944694519,
|
|
-0.008966673165559769,
|
|
0.02348766103386879,
|
|
0.056370388716459274,
|
|
-0.0378166139125824,
|
|
0.021966133266687393,
|
|
-0.006802558433264494,
|
|
-0.02619095891714096,
|
|
-0.028273826465010643,
|
|
0.024344444274902344,
|
|
-0.01278526522219181,
|
|
0.0014799812342971563,
|
|
-0.004756620619446039,
|
|
-0.0165447685867548,
|
|
-0.024241039529442787,
|
|
0.006152585614472628,
|
|
-0.02065141499042511,
|
|
0.054154571145772934,
|
|
-0.0020145471207797527,
|
|
0.006492344196885824,
|
|
0.03551216423511505,
|
|
-0.0017800397472456098,
|
|
-0.001140222535468638,
|
|
0.08130571991205215,
|
|
0.007245722226798534,
|
|
0.024373987689614296,
|
|
0.02963286079466343,
|
|
-0.03294181451201439,
|
|
0.010754099115729332,
|
|
0.01638227514922619,
|
|
-0.0347440131008625,
|
|
-0.0014605928445234895,
|
|
0.01497153751552105,
|
|
0.0204889215528965,
|
|
-0.017076563090085983,
|
|
-0.0005784205859526992,
|
|
0.07628319412469864,
|
|
0.016441363841295242,
|
|
0.004291299264878035,
|
|
-0.055572692304849625,
|
|
-0.021168438717722893,
|
|
-0.002655287506058812,
|
|
0.013272744603455067,
|
|
0.010517745278775692,
|
|
-0.011064313352108002,
|
|
-0.035718973726034164,
|
|
0.05114106088876724,
|
|
-0.014314178377389908,
|
|
0.024004684761166573,
|
|
-0.01302161905914545,
|
|
0.04747757315635681,
|
|
0.006001171190291643,
|
|
-0.015451631508767605,
|
|
0.01985372230410576,
|
|
-0.01874581351876259,
|
|
-0.0291453804820776,
|
|
0.015348226763308048,
|
|
-0.029248785227537155,
|
|
-0.03820068761706352,
|
|
0.018539004027843475,
|
|
-0.023000182583928108,
|
|
-0.021345704793930054,
|
|
-0.005528463516384363,
|
|
0.04325275123119354,
|
|
-0.0009878851706162095,
|
|
0.020769592374563217,
|
|
-0.03592578321695328,
|
|
0.012689245864748955,
|
|
0.042336877435445786,
|
|
-0.020060531795024872,
|
|
-0.07746496796607971,
|
|
-0.018184471875429153,
|
|
-0.009136552922427654,
|
|
-0.0019111422589048743,
|
|
0.06192470341920853,
|
|
-0.04647307097911835,
|
|
0.012733562849462032,
|
|
0.03435993939638138,
|
|
0.0023506127763539553,
|
|
-0.015119259245693684,
|
|
-0.010813187807798386,
|
|
-0.021552514284849167,
|
|
-0.017874257639050484,
|
|
-0.0038444427773356438,
|
|
-0.015540264546871185,
|
|
-0.0028897947631776333,
|
|
-0.06860169768333435,
|
|
-0.0173572339117527,
|
|
-0.03344406560063362,
|
|
0.05628175660967827,
|
|
0.014550532214343548,
|
|
-0.05063880607485771,
|
|
0.027328411117196083,
|
|
-0.00037230344605632126,
|
|
-0.006684381514787674,
|
|
-0.0040290942415595055,
|
|
-0.07043343782424927,
|
|
-0.01356818713247776,
|
|
0.01458746287971735,
|
|
-0.037284817546606064,
|
|
-0.03701891750097275,
|
|
0.012002342380583286,
|
|
0.047566208988428116,
|
|
-0.0048009371384978294,
|
|
0.004350387491285801,
|
|
0.01018537301570177,
|
|
-0.034448571503162384,
|
|
0.024654658511281013,
|
|
0.022010449320077896,
|
|
0.03329634666442871,
|
|
-0.016810666769742966,
|
|
0.009173482656478882,
|
|
-0.005048369988799095,
|
|
0.0094615388661623,
|
|
-0.00322955334559083,
|
|
-0.04936840385198593,
|
|
0.006584669928997755,
|
|
-0.014594849199056625,
|
|
0.03858476132154465,
|
|
0.03825977444648743,
|
|
-0.016914071515202522,
|
|
-0.021065033972263336,
|
|
-0.02115366794168949,
|
|
0.03181913495063782,
|
|
0.003914610482752323,
|
|
-0.03858476132154465,
|
|
0.027860207483172417,
|
|
0.0038333635311573744,
|
|
0.0014116601087152958,
|
|
0.00116422725841403,
|
|
0.030814630910754204,
|
|
0.002893487922847271,
|
|
0.017445866018533707,
|
|
0.004933886229991913,
|
|
0.019513962790369987,
|
|
0.016337959095835686,
|
|
0.030179429799318314,
|
|
0.010155828669667244,
|
|
0.02427058294415474,
|
|
0.005325347185134888,
|
|
-0.08461467176675797,
|
|
-0.015687985345721245,
|
|
-0.013531256467103958,
|
|
-0.0315532349050045,
|
|
0.015835706144571304,
|
|
-0.024255812168121338,
|
|
0.0007898464682511985,
|
|
-0.01986849308013916,
|
|
0.0013304135063663125,
|
|
-0.006736083887517452,
|
|
0.011950640007853508,
|
|
-0.05533634126186371,
|
|
-0.009941632859408855,
|
|
0.05598631128668785,
|
|
0.0029359576292335987,
|
|
-0.08810088783502579,
|
|
-0.015481175854802132,
|
|
0.044552695006132126,
|
|
-0.014218159951269627,
|
|
0.027476131916046143,
|
|
-0.01284435298293829,
|
|
0.016057288274168968,
|
|
-0.034596290439367294,
|
|
-2.3831575163058005e-05,
|
|
-0.021330932155251503,
|
|
0.012644929811358452,
|
|
0.009439380839467049,
|
|
-0.033680420368909836,
|
|
0.020917313173413277,
|
|
-0.02853972464799881,
|
|
-0.037609804421663284,
|
|
0.0035766982473433018,
|
|
0.10653648525476456,
|
|
-0.004623671527951956,
|
|
-0.02020825259387493,
|
|
-0.02175932377576828,
|
|
-0.029721492901444435,
|
|
-0.012704018503427505,
|
|
-0.019838949665427208,
|
|
-0.03896883875131607,
|
|
-0.05740443617105484,
|
|
0.05264781415462494,
|
|
0.01610160432755947,
|
|
-0.012659701518714428,
|
|
0.03864385187625885,
|
|
-0.032055485993623734,
|
|
-0.05152513459324837,
|
|
0.01104215532541275,
|
|
0.0519978404045105,
|
|
-0.017623132094740868,
|
|
0.031464602798223495,
|
|
0.027564765885472298,
|
|
0.03695983067154884,
|
|
0.01409998256713152,
|
|
-0.02961808815598488,
|
|
0.1197132095694542,
|
|
0.051318325102329254,
|
|
0.039057470858097076,
|
|
-0.01222392451018095,
|
|
0.03923473507165909,
|
|
0.03403495252132416,
|
|
0.05613403394818306,
|
|
0.023399028927087784,
|
|
-0.022808143869042397,
|
|
0.011485318653285503,
|
|
-0.03294181451201439,
|
|
-0.012711403891444206,
|
|
0.01988326571881771,
|
|
-0.057315804064273834,
|
|
-0.02725454978644848,
|
|
0.005724194459617138,
|
|
-0.0006171974237076938,
|
|
0.02082868106663227,
|
|
0.043282292783260345,
|
|
0.007349126972258091,
|
|
-0.037609804421663284,
|
|
-0.026560261845588684,
|
|
-0.009040533564984798,
|
|
-0.01970599964261055,
|
|
-0.03560079634189606,
|
|
0.005015132948756218,
|
|
0.02793406881392002,
|
|
0.004287606105208397,
|
|
0.014292020350694656,
|
|
0.054302290081977844,
|
|
-0.013125023804605007,
|
|
-0.02396036870777607,
|
|
0.030031709000468254,
|
|
-0.043134573847055435,
|
|
0.01042172685265541,
|
|
0.011463160626590252,
|
|
-0.020237796008586884,
|
|
0.007666727062314749,
|
|
-0.022527474910020828,
|
|
0.08408287167549133,
|
|
0.007777518127113581,
|
|
-0.024639885872602463,
|
|
0.024713747203350067,
|
|
0.0472707636654377,
|
|
-0.007282652426511049,
|
|
-0.0029156459495425224,
|
|
0.01830264925956726,
|
|
0.06476094573736191,
|
|
-0.0020625563338398933,
|
|
0.013782382942736149,
|
|
0.010074581950902939,
|
|
0.008493965491652489,
|
|
0.003914610482752323,
|
|
-0.0054176729172468185,
|
|
-0.011618267744779587,
|
|
-0.01893785037100315,
|
|
0.03388722985982895,
|
|
0.01970599964261055,
|
|
0.009380292147397995,
|
|
0.012349487282335758,
|
|
0.04930931702256203,
|
|
-0.008759863674640656,
|
|
-0.04511403664946556,
|
|
-0.02743181586265564,
|
|
0.016337959095835686,
|
|
0.03279409185051918,
|
|
0.0013054856099188328,
|
|
-0.012763106264173985,
|
|
-0.006108269095420837,
|
|
0.0015021393774077296,
|
|
-0.0029378042090684175,
|
|
0.03926428034901619,
|
|
0.029204469174146652,
|
|
-0.029248785227537155,
|
|
0.00915132462978363,
|
|
0.06375644356012344,
|
|
-0.0037114936858415604,
|
|
-0.004487029742449522,
|
|
0.014690867625176907,
|
|
-0.01970599964261055,
|
|
-0.010946136899292469,
|
|
-0.053061433136463165,
|
|
0.003803819417953491,
|
|
-0.001126373652368784,
|
|
-0.049279771745204926,
|
|
-0.015481175854802132,
|
|
-0.005269951652735472,
|
|
-0.0009731129975989461,
|
|
-0.002095793606713414,
|
|
-0.05285462364554405,
|
|
-0.020902542397379875,
|
|
0.0094541534781456,
|
|
0.05613403394818306,
|
|
-0.026752298697829247,
|
|
0.050520628690719604,
|
|
-0.022822916507720947,
|
|
-0.011802919209003448,
|
|
-0.029041975736618042,
|
|
-0.013893173076212406,
|
|
0.035246264189481735,
|
|
-0.0048821838572621346,
|
|
-0.0015732301399111748,
|
|
0.019203748553991318,
|
|
0.017431095242500305,
|
|
-0.02979535423219204,
|
|
0.01254891138523817,
|
|
-0.009993335232138634,
|
|
-0.04608899727463722,
|
|
0.011019997298717499,
|
|
-0.015555036254227161,
|
|
0.001864979392848909,
|
|
-0.026264818385243416,
|
|
0.002450324362143874,
|
|
0.03503945469856262,
|
|
0.0457049198448658,
|
|
0.021005947142839432,
|
|
0.022808143869042397,
|
|
-0.03560079634189606,
|
|
0.03235093131661415,
|
|
0.0058349850587546825,
|
|
0.0015039858408272266,
|
|
-0.0025518827605992556,
|
|
0.03173050284385681,
|
|
0.008013871498405933,
|
|
-0.0050631421618163586,
|
|
0.01750495471060276,
|
|
-0.0024097012355923653,
|
|
-0.0059531619772315025,
|
|
-0.04608899727463722,
|
|
0.010214917361736298,
|
|
0.01689929887652397,
|
|
0.0023746173828840256,
|
|
0.006374167278409004,
|
|
-0.0029950460884720087,
|
|
-0.027210233733057976,
|
|
0.022305892780423164,
|
|
0.012046659365296364,
|
|
-0.03885066136717796,
|
|
-0.03802342340350151,
|
|
0.017933346331119537,
|
|
0.024359216913580894,
|
|
-0.00309660448692739,
|
|
0.026235274970531464,
|
|
-0.04526175931096077,
|
|
-0.026131870225071907,
|
|
-0.015215277671813965,
|
|
0.031021440401673317,
|
|
-0.020754819735884666,
|
|
0.01766744814813137,
|
|
-0.07663773000240326,
|
|
0.024994418025016785,
|
|
0.05350459739565849,
|
|
-0.02493532933294773,
|
|
0.010347865521907806,
|
|
0.02162637561559677,
|
|
-0.043282292783260345,
|
|
-0.02193658985197544,
|
|
-0.03769843652844429,
|
|
-0.04348910227417946,
|
|
-0.01040695421397686,
|
|
0.04783210530877113,
|
|
-0.012792650610208511,
|
|
-0.04670942574739456,
|
|
0.07291515916585922,
|
|
0.024728519842028618,
|
|
0.008538281545042992,
|
|
0.02178886905312538,
|
|
0.012105747126042843,
|
|
-0.021360477432608604,
|
|
-0.005506305489689112,
|
|
0.007474689744412899,
|
|
0.024388760328292847,
|
|
0.02633867971599102,
|
|
-0.010310935787856579,
|
|
-0.0009961944306269288,
|
|
-0.009247343055903912,
|
|
-0.015584580600261688,
|
|
0.014085210859775543,
|
|
-0.007851378992199898,
|
|
-0.06919258087873459,
|
|
-0.020769592374563217,
|
|
-0.015185733325779438,
|
|
0.025156909599900246,
|
|
0.026885248720645905,
|
|
0.026678437367081642,
|
|
-0.05610448867082596,
|
|
-0.025777339935302734,
|
|
-0.008058188483119011,
|
|
-0.0362803116440773,
|
|
0.027402272447943687,
|
|
0.06653360277414322,
|
|
-0.028126105666160583,
|
|
-0.029573772102594376,
|
|
0.002005314454436302,
|
|
-0.03341452404856682,
|
|
-0.011640425771474838,
|
|
-0.027180690318346024,
|
|
-0.028820395469665527,
|
|
-0.009801297448575497,
|
|
-0.016795894131064415,
|
|
-0.008612142875790596,
|
|
0.02979535423219204,
|
|
-0.013767610304057598,
|
|
0.03601441532373428,
|
|
-0.01373068057000637,
|
|
0.05309097841382027,
|
|
-0.025319403037428856,
|
|
0.004557197447866201,
|
|
-0.007755360100418329,
|
|
0.03028283454477787,
|
|
-0.01371590793132782,
|
|
0.02304449863731861,
|
|
-0.03347361087799072,
|
|
-0.051347870379686356,
|
|
-0.05580904707312584,
|
|
-0.03580760583281517,
|
|
0.017386779189109802,
|
|
0.019750317558646202,
|
|
0.000533642596565187,
|
|
-0.012113133445382118,
|
|
0.044375430792570114,
|
|
-0.017948118969798088,
|
|
0.049427494406700134,
|
|
0.008501351810991764,
|
|
0.06806990504264832,
|
|
0.050845615565776825,
|
|
0.010820573195815086,
|
|
-0.006448027677834034,
|
|
0.0020237795542925596,
|
|
0.005532156676054001,
|
|
-0.04183462634682655,
|
|
-0.04088921099901199,
|
|
-0.02961808815598488,
|
|
-0.020754819735884666,
|
|
0.0758104920387268,
|
|
0.025452353060245514,
|
|
-0.003166771959513426,
|
|
0.017756082117557526,
|
|
-0.005735273472964764,
|
|
-0.02240929752588272,
|
|
0.0033218790777027607,
|
|
0.0032443255186080933,
|
|
-0.02462511509656906,
|
|
-0.03766889125108719,
|
|
0.009971177205443382,
|
|
0.025511441752314568,
|
|
0.021242300048470497,
|
|
-0.005908845458179712,
|
|
0.05057971924543381,
|
|
0.014365880750119686,
|
|
0.010370024479925632,
|
|
5.444332055049017e-05,
|
|
-0.0009740362875163555,
|
|
0.04304594174027443,
|
|
0.05347505211830139,
|
|
0.01765267550945282,
|
|
-0.020282112061977386,
|
|
-0.03249865025281906,
|
|
0.0645836815237999,
|
|
-0.006950279697775841,
|
|
0.031139615923166275,
|
|
0.01426247600466013,
|
|
-0.07391966134309769,
|
|
0.04930931702256203,
|
|
-0.012467664666473866,
|
|
-0.03515763208270073,
|
|
0.014033508487045765,
|
|
-0.01474995631724596,
|
|
-0.03953017666935921,
|
|
-0.0033791211899369955,
|
|
0.007947397418320179,
|
|
0.04387317970395088,
|
|
0.012253468856215477,
|
|
0.022778600454330444,
|
|
0.015407315455377102,
|
|
0.018657179549336433,
|
|
-0.02162637561559677,
|
|
-0.031021440401673317,
|
|
-0.005177625920623541,
|
|
0.006592055782675743,
|
|
0.026707982644438744,
|
|
0.027712486684322357,
|
|
0.045970819890499115,
|
|
-0.01018537301570177,
|
|
0.01768222078680992,
|
|
-0.0017283373745158315,
|
|
-0.017948118969798088,
|
|
0.027993155643343925,
|
|
-0.014676094986498356,
|
|
-0.007485768757760525,
|
|
-0.019277609884738922,
|
|
0.0024447848554700613,
|
|
-0.005746352486312389,
|
|
-0.020592326298356056,
|
|
-0.018686724826693535,
|
|
0.0330895371735096,
|
|
-0.03229184076189995,
|
|
-0.009660962969064713,
|
|
-0.01167735643684864,
|
|
-0.007459917571395636,
|
|
-0.019277609884738922,
|
|
-0.020577555522322655,
|
|
0.0314941480755806,
|
|
0.0003095219435635954,
|
|
0.008058188483119011,
|
|
0.0005798054626211524,
|
|
0.02446262165904045,
|
|
0.019838949665427208,
|
|
-0.020784365013241768,
|
|
-0.004933886229991913,
|
|
-0.08278292417526245,
|
|
-0.012268240563571453,
|
|
0.04159827530384064,
|
|
0.011396686546504498,
|
|
0.00016584005788899958,
|
|
0.021079806610941887,
|
|
0.03799387812614441,
|
|
-0.013560800813138485,
|
|
-0.004202666692435741,
|
|
-0.03072599694132805,
|
|
0.022601334378123283,
|
|
-0.02791929617524147,
|
|
0.005295802839100361,
|
|
-0.03108052909374237,
|
|
0.0037170331925153732,
|
|
-0.024831924587488174,
|
|
0.04496631398797035,
|
|
-0.012955144047737122,
|
|
0.00020577093528117985,
|
|
-0.007341740652918816,
|
|
-0.05223419517278671,
|
|
0.040771033614873886,
|
|
0.07149703055620193,
|
|
-0.0063150785863399506,
|
|
0.029869215562939644,
|
|
0.017298145219683647,
|
|
0.023768331855535507,
|
|
-0.008139435201883316,
|
|
0.016795894131064415,
|
|
-0.010598991997539997,
|
|
0.04638443887233734,
|
|
-0.00047640068805776536,
|
|
-0.027372727170586586,
|
|
0.022985409945249557,
|
|
0.01672203280031681,
|
|
0.037609804421663284,
|
|
-0.02430012822151184,
|
|
0.01766744814813137,
|
|
-0.02540803700685501,
|
|
-0.0005830368609167635,
|
|
0.020459378138184547,
|
|
0.03134642541408539,
|
|
-0.038407497107982635,
|
|
-0.007201405707746744,
|
|
0.025201227515935898,
|
|
-0.030238518491387367,
|
|
-0.011056927032768726,
|
|
-0.03920518979430199,
|
|
-0.017475411295890808,
|
|
-0.03480309993028641,
|
|
-0.015702757984399796,
|
|
0.003316339571028948,
|
|
-0.04210052639245987,
|
|
0.0010866736993193626,
|
|
-0.04981156811118126,
|
|
-0.01938101463019848,
|
|
0.02428535558283329,
|
|
-0.025304632261395454,
|
|
-0.014018736779689789,
|
|
-0.025348948314785957,
|
|
0.039027925580739975,
|
|
0.004974509589374065,
|
|
0.018051523715257645,
|
|
0.027165917679667473,
|
|
0.020223025232553482,
|
|
-0.03687119856476784,
|
|
-0.0260432381182909,
|
|
-0.03911655768752098,
|
|
0.04337092861533165,
|
|
0.01378976833075285,
|
|
-0.02650117315351963,
|
|
0.0268113873898983,
|
|
0.026146642863750458,
|
|
-0.02697388082742691,
|
|
-0.007829220965504646,
|
|
0.012526752427220345,
|
|
-7.657263631699607e-05,
|
|
-0.046768512576818466,
|
|
0.09495514631271362,
|
|
-0.006776707246899605,
|
|
0.02096162922680378,
|
|
0.01626409776508808,
|
|
0.02602846547961235,
|
|
0.029839670285582542,
|
|
0.0022915243171155453,
|
|
0.00834624469280243,
|
|
-0.01065808068960905,
|
|
-0.014402811415493488,
|
|
-0.04032787308096886,
|
|
0.006451720837503672,
|
|
-0.002365384716540575,
|
|
0.01340569369494915,
|
|
-0.00971266534179449,
|
|
0.025777339935302734,
|
|
0.0029710414819419384,
|
|
0.018804902210831642,
|
|
0.0006208904087543488,
|
|
0.00045470413169823587,
|
|
-0.0189526230096817,
|
|
0.045675378292798996,
|
|
0.029041975736618042,
|
|
-0.0007252185023389757,
|
|
-0.03187822178006172,
|
|
0.0060159433633089066,
|
|
-0.0033237256575375795,
|
|
-0.057463523000478745,
|
|
0.0038333635311573744,
|
|
0.0034382096491754055,
|
|
-0.020769592374563217,
|
|
0.02130138874053955,
|
|
-0.024713747203350067,
|
|
0.06399279832839966,
|
|
0.01800720766186714,
|
|
-0.008641687221825123,
|
|
-0.05707944929599762,
|
|
0.03009079582989216,
|
|
-0.018391281366348267,
|
|
-0.030666908249258995,
|
|
-0.05492272228002548,
|
|
-0.0013165646232664585,
|
|
0.03181913495063782,
|
|
-0.03090326301753521,
|
|
0.034300848841667175,
|
|
0.0018585165962576866,
|
|
-0.017918573692440987,
|
|
-0.022808143869042397,
|
|
0.0027346876449882984,
|
|
0.005443524103611708,
|
|
-0.0315236933529377,
|
|
-0.04922068491578102,
|
|
0.0027623854111880064,
|
|
-0.0021124123595654964,
|
|
0.026427311822772026,
|
|
-0.01862763613462448,
|
|
0.035896237939596176,
|
|
-0.011212035082280636,
|
|
-0.0030541345477104187,
|
|
0.022187715396285057,
|
|
-0.000870631483849138,
|
|
0.024950100108981133,
|
|
-0.012415962293744087,
|
|
-0.02459556981921196,
|
|
-0.030194200575351715,
|
|
-0.010104126296937466,
|
|
-0.00884111039340496,
|
|
0.01039956882596016,
|
|
0.005731580313295126,
|
|
0.025127366185188293,
|
|
-0.01497153751552105,
|
|
0.04242551326751709,
|
|
-0.0027273015584796667,
|
|
-0.02697388082742691,
|
|
0.05232282727956772,
|
|
-0.0033569629304111004,
|
|
-0.025939833372831345,
|
|
-0.006592055782675743,
|
|
0.0189230777323246,
|
|
-0.08733274042606354,
|
|
0.028347687795758247,
|
|
-0.007441452704370022,
|
|
-0.008242839947342873,
|
|
0.017091335728764534,
|
|
0.03456674888730049,
|
|
0.018568547442555428,
|
|
-0.011219420470297337,
|
|
0.01732769049704075,
|
|
0.02554098516702652,
|
|
-0.0003939999733120203,
|
|
-0.0019259144319221377,
|
|
0.004298685118556023,
|
|
-0.002891641343012452,
|
|
-0.030238518491387367,
|
|
0.08709638565778732,
|
|
-0.015525491908192635,
|
|
0.0027273015584796667
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\ThingDef.txt\n\npublic class ThingDef : BuildableDef\n{\n\tpublic Type thingClass;\n\n\tpublic ThingCategory category;\n\n\tpublic TickerType tickerType;\n\n\tpublic int stackLimit = 1;\n\n\tpublic IntVec2 size = IntVec2.One;\n\n\tpublic bool destroyable = true;\n\n\tpublic bool rotatable = true;\n\n\tpublic bool smallVolume;\n\n\tpublic bool useHitPoints = true;\n\n\tpublic bool receivesSignals;\n\n\tpublic List<CompProperties> comps = new List<CompProperties>();\n\n\tpublic List<ThingDef> virtualDefs = new List<ThingDef>();\n\n\tpublic ThingDef virtualDefParent;\n\n\t[NoTranslate]\n\tpublic string devNote;\n\n\tpublic List<ThingDefCountRangeClass> killedLeavingsRanges;\n\n\tpublic List<ThingDefCountClass> killedLeavings;\n\n\tpublic List<ThingDefCountClass> killedLeavingsPlayerHostile;\n\n\tpublic float killedLeavingsChance = 1f;\n\n\tpublic bool forceLeavingsAllowed;\n\n\tpublic List<ThingDefCountClass> butcherProducts;\n\n\tpublic List<ThingDefCountClass> smeltProducts;\n\n\tpublic bool smeltable;\n\n\tpublic bool burnableByRecipe;\n\n\tpublic bool randomizeRotationOnSpawn;\n\n\tpublic List<DamageMultiplier> damageMultipliers;\n\n\tpublic bool isTechHediff;\n\n\tpublic RecipeMakerProperties recipeMaker;\n\n\tpublic ThingDef minifiedDef;\n\n\tpublic bool isUnfinishedThing;\n\n\tpublic bool leaveResourcesWhenKilled;\n\n\tpublic ThingDef slagDef;\n\n\tpublic bool isFrameInt;\n\n\tpublic List<IntVec3> multipleInteractionCellOffsets;\n\n\tpublic IntVec3 interactionCellOffset = IntVec3.Zero;\n\n\tpublic bool hasInteractionCell;\n\n\tpublic ThingDef interactionCellIcon;\n\n\tpublic bool interactionCellIconReverse;\n\n\tpublic ThingDef filthLeaving;\n\n\tpublic bool forceDebugSpawnable;\n\n\tpublic bool intricate;\n\n\tpublic bool scatterableOnMapGen = true;\n\n\tpublic float deepCommonality;\n\n\tpublic int deepCountPerCell = 300;\n\n\tpublic int deepCountPerPortion = -1;\n\n\tpublic IntRange deepLumpSizeRange = IntRange.Zero;\n\n\tpublic float generateCommonality = 1f;\n\n\tpublic float generateAllowChance = 1f;\n\n\tprivate bool canOverlapZones = true;\n\n\tpublic FloatRange startingHpRange = FloatRange.One;\n\n\t[NoTranslate]\n\tpublic List<string> thingSetMakerTags;\n\n\tpublic bool alwaysFlee;\n\n\tpublic List<RecipeDef> recipes;\n\n\tpublic bool messageOnDeteriorateInStorage = true;\n\n\tpublic bool deteriorateFromEnvironmentalEffects = true;\n\n\tpublic bool canDeteriorateUnspawned;\n\n\tpublic bool canLoadIntoCaravan = true;\n\n\tpublic bool isMechClusterThreat;\n\n\tpublic FloatRange displayNumbersBetweenSameDefDistRange = FloatRange.Zero;\n\n\tpublic int minRewardCount = 1;\n\n\tpublic bool preventSkyfallersLandingOn;\n\n\tpublic FactionDef requiresFactionToAcquire;\n\n\tpublic float relicChance;\n\n\tpublic OrderedTakeGroupDef orderedTakeGroup;\n\n\tpublic int allowedArchonexusCount;\n\n\tpublic int possessionCount;\n\n\tpublic bool notifyMapRemoved;\n\n\tpublic bool canScatterOver = true;\n\n\tpublic bool genericMarketSellable = true;\n\n\tpublic bool drawHighlight;\n\n\tpublic Color? highlightColor;\n\n\tpublic bool drawHighlightOnlyForHostile;\n\n\tpublic bool autoTargetNearbyIdenticalThings;\n\n\tpublic bool preventDroppingThingsOn;\n\n\tpublic bool hiddenWhileUndiscovered;\n\n\tpublic bool disableImpassableShotOverConfigError;\n\n\tpublic bool showInSearch = true;\n\n\tpublic bool bringAlongOnGravship = true;\n\n\tpublic ThingDef dropPodFaller;\n\n\tpublic bool preventSpawningInResourcePod;\n\n\tpublic bool pathfinderDangerous;\n\n\tpublic bool noRightClickDraftAttack;\n\n\tpublic int gravshipSpawnPriority = 1;\n\n\tpublic List<string> replaceTags;\n\n\tpublic GraphicData graphicData;\n\n\tpublic DrawerType drawerType = DrawerType.RealtimeOnly;\n\n\tpublic bool drawOffscreen;\n\n\tpublic ColorGenerator colorGenerator;\n\n\tpublic float hideAtSnowOrSandDepth = 99999f;\n\n\tpublic bool drawDamagedOverlay = true;\n\n\tpublic bool castEdgeShadows;\n\n\tpublic float staticSunShadowHeight;\n\n\tpublic bool useSameGraphicForGhost;\n\n\tpublic bool useBlueprintGraphicAsGhost;\n\n\tpublic List<ThingStyleChance> randomStyle;\n\n\tpublic float randomStyleChance;\n\n\tpublic bool canEditAnyStyle;\n\n\tpublic bool dontPrint;\n\n\tpublic ThingDef defaultStuff;\n\n\tpublic int killedLeavingsExpandRect;\n\n\tpublic bool minifiedManualDraw;\n\n\tpublic float minifiedDrawScale = 1f;\n\n\tpublic Rot4 overrideMinifiedRot = Rot4.Invalid;\n\n\tpublic Vector3 minifiedDrawOffset = Vector3.zero;\n\n\tpublic float deselectedSelectionBracketFactor = 1f;\n\n\tpublic bool selectable;\n\n\tpublic bool containedPawnsSelectable;\n\n\tpublic bool containedItemsSelectable;\n\n\tpublic bool neverMultiSelect;\n\n\tpublic bool isAutoAttackableMapObject;\n\n\tpublic bool hasTooltip;\n\n\tpublic List<Type> inspectorTabs;\n\n\t[Unsaved(false)]\n\tpublic List<InspectTabBase> inspectorTabsResolved;\n\n\tpublic bool seeThroughFog;\n\n\tpublic bool drawGUIOverlay;\n\n\tpublic bool drawGUIOverlayQuality = true;\n\n\tpublic ResourceCountPriority resourceReadoutPriority;\n\n\tpublic bool resourceReadoutAlwaysShow;\n\n\tpublic bool drawPlaceWorkersWhileSelected;\n\n\tpublic bool drawPlaceWorkersWhileInstallBlueprintSelected;\n\n\tpublic ConceptDef storedConceptLearnOpportunity;\n\n\tpublic float uiIconScale = 1f;\n\n\tpublic bool hasCustomRectForSelector;\n\n\tpublic bool hideStats;\n\n\tpublic bool hideInspect;\n\n\tpublic bool onlyShowInspectString;\n\n\tpublic bool hideMainDesc;\n\n\tpublic bool alwaysHaulable;\n\n\tpublic bool designateHaulable;\n\n\tpublic List<ThingCategoryDef> thingCategories;\n\n\tpublic bool mineable;\n\n\tpublic bool socialPropernessMatters;\n\n\tpublic bool stealable = true;\n\n\tpublic SoundDef soundSpawned;\n\n\tpublic SoundDef soundDrop;\n\n\tpublic SoundDef soundPickup;\n\n\tpublic SoundDef soundInteract;\n\n\tpublic SoundDef soundImpactDefault;\n\n\tpublic SoundDef soundPlayInstrument;\n\n\tpublic SoundDef soundOpen;\n\n\tpublic bool saveCompressible;\n\n\tpublic bool isSaveable = true;\n\n\tpublic bool holdsRoof;\n\n\tpublic float fillPercent;\n\n\tpublic bool coversFloor;\n\n\tpublic bool neverOverlapFloors;\n\n\tpublic SurfaceType surfaceType;\n\n\tpublic bool wipesPlants;\n\n\tpublic bool blockPlants;\n\n\tpublic bool blockLight;\n\n\tpublic bool blockWind;\n\n\tpublic bool blockWeather;\n\n\tpublic Tradeability tradeability = Tradeability.All;\n\n\t[NoTranslate]\n\tpublic List<string> tradeTags;\n\n\tpublic bool tradeNeverStack;\n\n\tpublic bool tradeNeverGenerateStacked;\n\n\tpublic bool healthAffectsPrice = true;\n\n\tpublic ColorGenerator colorGeneratorInTraderStock;\n\n\tprivate List<VerbProperties> verbs;\n\n\tpublic List<Tool> tools;\n\n\tpublic float equippedAngleOffset;\n\n\tpublic float equippedDistanceOffset;\n\n\tpublic EquipmentType equipmentType;\n\n\tpublic TechLevel techLevel;\n\n\tpublic List<WeaponClassDef> weaponClasses;\n\n\t[NoTranslate]\n\tpublic List<string> weaponTags;\n\n\t[NoTranslate]\n\tpublic List<string> techHediffsTags;\n\n\tpublic bool violentTechHediff;\n\n\tpublic bool destroyOnDrop;\n\n\tpublic List<StatModifier> equippedStatOffsets;\n\n\tpublic SoundDef meleeHitSound;\n\n\tpublic float recoilPower = 1f;\n\n\tpublic float recoilRelaxation = 10f;\n\n\tpublic bool rotateInShelves = true;\n\n\tpublic bool mergeVerbGizmos = true;\n\n\tpublic BuildableDef entityDefToBuild;\n\n\tpublic ThingDef projectileWhenLoaded;\n\n\tpublic RulePackDef ideoBuildingNamerBase;\n\n\tpublic EntityCodexEntryDef entityCodexEntry;\n\n\tpublic IngestibleProperties ingestible;\n\n\tpublic FilthProperties filth;\n\n\tpublic GasProperties gas;\n\n\tpublic BuildingProperties building;\n\n\tpublic RaceProperties race;\n\n\tpublic ApparelProperties apparel;\n\n\tpublic MoteProperties mote;\n\n\tpublic PlantProperties plant;\n\n\tpublic ProjectileProperties projectile;\n\n\tpublic StuffProperties stuffProps;\n\n\tpublic SkyfallerProperties skyfaller;\n\n\tpublic PawnFlyerProperties pawnFlyer;\n\n\tpublic RitualFocusProperties ritualFocus;\n\n\tpublic IngredientProperties ingredient;\n\n\tpublic MapPortalProperties portal;\n\n\tpublic bool canBeUsedUnderRoof = true;\n\n\t[Unsaved(false)]\n\tprivate string descriptionDetailedCached;\n\n\t[Unsaved(false)]\n\tpublic Graphic interactionCellGraphic;\n\n\t[Unsaved(false)]\n\tprivate bool? isNaturalOrganCached;\n\n\t[Unsaved(false)]\n\tprivate bool? hasSunShadowsCached;\n\n\t[Unsaved(false)]\n\tprivate List<StyleCategoryDef> cachedRelevantStyleCategories;\n\n\tpublic const int SmallUnitPerVolume = 10;\n\n\tpublic const float SmallVolumePerUnit = 0.1f;\n\n\tpublic const float ArchonexusMaxItemStackMass = 5f;\n\n\tpublic const int ArchonexusMaxItemStackCount = 25;\n\n\tpublic const float ArchonexusMaxItemStackValue = 2000f;\n\n\tpublic const int ArchonexusAutoCalculateValue = -1;\n\n\tprivate List<RecipeDef> allRecipesCached;\n\n\tprivate static List<VerbProperties> EmptyVerbPropertiesList = new List<VerbProperties>();\n\n\tprivate Dictionary<ThingDef, Thing> concreteExamplesInt;\n\n\tpublic bool EverHaulable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!alwaysHaulable)\n\t\t\t{\n\t\t\t\treturn designateHaulable;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool EverPollutable => !building.isNaturalRock;\n\n\tpublic float VolumePerUnit\n\t{\n\t\tget\n\t\t{\n\t\t\tif (smallVolume)\n\t\t\t{\n\t\t\t\treturn 0.1f;\n\t\t\t}\n\t\t\treturn 1f;\n\t\t}\n\t}\n\n\tpublic override IntVec2 Size => size;\n\n\tpublic bool DiscardOnDestroyed => race == null;\n\n\tpublic int BaseMaxHitPoints => Mathf.RoundToInt(this.GetStatValueAbstract(StatDefOf.MaxHitPoints));\n\n\tpublic float BaseFlammability => this.GetStatValueAbstract(StatDefOf.Flammability);\n\n\tpublic float BaseMarketValue\n\t{\n\t\tget\n\t\t{\n\t\t\treturn this.GetStatValueAbstract(StatDefOf.MarketValue);\n\t\t}\n\t\tset\n\t\t{\n\t\t\tthis.SetStatBaseValue(StatDefOf.MarketValue, value);\n\t\t}\n\t}\n\n\tpublic float BaseMass => this.GetStatValueAbstract(StatDefOf.Mass);\n\n\tpublic int ArchonexusMaxAllowedCount\n\t{\n\t\tget\n\t\t{\n\t\t\tif (allowedArchonexusCount == -1)\n\t\t\t{\n\t\t\t\treturn Mathf.Min(stackLimit, 25, (BaseMass > 0f) ? ((int)(5f / BaseMass)) : 0, (BaseMarketValue > 0f) ? ((int)(2000f / BaseMarketValue)) : 0);\n\t\t\t}\n\t\t\treturn allowedArchonexusCount;\n\t\t}\n\t}\n\n\tpublic bool PlayerAcquirable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (destroyOnDrop)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (this == ThingDefOf.ReinforcedBarrel && Find.Storyteller != null && Find.Storyteller.difficulty.classicMortars)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (requiresFactionToAcquire != null && Find.World != null && Find.World.factionManager != null)\n\t\t\t{\n\t\t\t\treturn Find.FactionManager.FirstFactionOfDef(requiresFactionToAcquire) != null;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool EverTransmitsPower\n\t{\n\t\tget\n\t\t{\n\t\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t\t{\n\t\t\t\tif (comps[i] is CompProperties_Power { transmitsPower: not false })\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool Minifiable => minifiedDef != null;\n\n\tpublic bool HasThingIDNumber => category != ThingCategory.Mote;\n\n\tpublic List<RecipeDef> AllRecipes\n\t{\n\t\tget\n\t\t{\n\t\t\tif (allRecipesCached == null)\n\t\t\t{\n\t\t\t\tallRecipesCached = new List<RecipeDef>();\n\t\t\t\tif (recipes != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int i = 0; i < recipes.Count; i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tallRecipesCached.Add(recipes[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tList<RecipeDef> allDefsListForReading = DefDatabase<RecipeDef>.AllDefsListForReading;\n\t\t\t\tfor (int j = 0; j < allDefsListForReading.Count; j++)\n\t\t\t\t{\n\t\t\t\t\tif (allDefsListForReading[j].recipeUsers != null && allDefsListForReading[j].recipeUsers.Contains(this))\n\t\t\t\t\t{\n\t\t\t\t\t\tallRecipesCached.Add(allDefsListForReading[j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn allRecipesCached;\n\t\t}\n\t}\n\n\tpublic bool ConnectToPower\n\t{\n\t\tget\n\t\t{\n\t\t\tif (EverTransmitsPower)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t\t{\n\t\t\t\tif (comps[i].compClass == typeof(CompPowerBattery))\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (comps[i].compClass == typeof(CompPowerTrader))\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool CoexistsWithFloors\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!neverOverlapFloors)\n\t\t\t{\n\t\t\t\treturn !coversFloor;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic FillCategory Fillage\n\t{\n\t\tget\n\t\t{\n\t\t\tif (fillPercent < 0.01f)\n\t\t\t{\n\t\t\t\treturn FillCategory.None;\n\t\t\t}\n\t\t\tif (fillPercent > 0.99f)\n\t\t\t{\n\t\t\t\treturn FillCategory.Full;\n\t\t\t}\n\t\t\treturn FillCategory.Partial;\n\t\t}\n\t}\n\n\tpublic bool MakeFog => Fillage == FillCategory.Full;\n\n\tpublic bool CanOverlapZones\n\t{\n\t\tget\n\t\t{\n\t\t\tif (building != null && building.SupportsPlants)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (passability == Traversability.Impassable && category != ThingCategory.Plant && !HasComp(typeof(CompTransporter)))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif ((int)surfaceType >= 1)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (typeof(ISlotGroupParent).IsAssignableFrom(thingClass))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!canOverlapZones)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif ((IsBlueprint || IsFrame) && entityDefToBuild is ThingDef thingDef)\n\t\t\t{\n\t\t\t\treturn thingDef.CanOverlapZones;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool CountAsResource => resourceReadoutPriority != ResourceCountPriority.Uncounted;\n\n\tpublic List<VerbProperties> Verbs\n\t{\n\t\tget\n\t\t{\n\t\t\tif (verbs != null)\n\t\t\t{\n\t\t\t\treturn verbs;\n\t\t\t}\n\t\t\treturn EmptyVerbPropertiesList;\n\t\t}\n\t}\n\n\tpublic bool CanHaveFaction\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsBlueprint || IsFrame)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn category switch\n\t\t\t{\n\t\t\t\tThingCategory.Pawn => true, \n\t\t\t\tThingCategory.Building => true, \n\t\t\t\t_ => false, \n\t\t\t};\n\t\t}\n\t}\n\n\tpublic bool Claimable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (building != null && building.claimable)\n\t\t\t{\n\t\t\t\treturn !building.isNaturalRock;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic ThingCategoryDef FirstThingCategory\n\t{\n\t\tget\n\t\t{\n\t\t\tif (thingCategories.NullOrEmpty())\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn thingCategories[0];\n\t\t}\n\t}\n\n\tpublic float MedicineTendXpGainFactor => Mathf.Clamp(this.GetStatValueAbstract(StatDefOf.MedicalPotency) * 0.7f, 0.5f, 1f);\n\n\tpublic bool CanEverDeteriorate\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!useHitPoints)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (category != ThingCategory.Item)\n\t\t\t{\n\t\t\t\tif (plant != null)\n\t\t\t\t{\n\t\t\t\t\treturn plant.canDeteriorate;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool CanInteractThroughCorners\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category != ThingCategory.Building)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!holdsRoof)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (building != null && building.isNaturalRock && !IsSmoothed)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool AffectsRegions\n\t{\n\t\tget\n\t\t{\n\t\t\tif (passability != Traversability.Impassable && !IsDoor)\n\t\t\t{\n\t\t\t\treturn IsFence;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool AffectsReachability\n\t{\n\t\tget\n\t\t{\n\t\t\tif (AffectsRegions)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (passability == Traversability.Impassable || IsDoor)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (TouchPathEndModeUtility.MakesOccupiedCellsAlwaysReachableDiagonally(this))\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic string DescriptionDetailed\n\t{\n\t\tget\n\t\t{\n\t\t\tif (descriptionDetailedCached == null)\n\t\t\t{\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tstringBuilder.Append(description);\n\t\t\t\tif (IsApparel)\n\t\t\t\t{\n\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\tstringBuilder.AppendLine(string.Format(\"{0}: {1}\", \"Layer\".Translate(), apparel.GetLayersString()));\n\t\t\t\t\tstringBuilder.Append(string.Format(\"{0}: {1}\", \"Covers\".Translate(), apparel.GetCoveredOuterPartsString(BodyDefOf.Human)));\n\t\t\t\t\tif (equippedStatOffsets != null && equippedStatOffsets.Count > 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\t\tfor (int i = 0; i < equippedStatOffsets.Count; i++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (i > 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tStatModifier statModifier = equippedStatOffsets[i];\n\t\t\t\t\t\t\tstringBuilder.Append($\"{statModifier.stat.LabelCap}: {statModifier.ValueToStringAsOffset}\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdescriptionDetailedCached = stringBuilder.ToString();\n\t\t\t}\n\t\t\treturn descriptionDetailedCached;\n\t\t}\n\t}\n\n\tpublic bool CanBenefitFromCover\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Pawn)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (building != null && building.IsTurret)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool PotentiallySmeltable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!smeltable)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (base.MadeFromStuff)\n\t\t\t{\n\t\t\t\tforeach (ThingDef item in GenStuff.AllowedStuffsFor(this))\n\t\t\t\t{\n\t\t\t\t\tif (item.smeltable)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool HasSingleOrMultipleInteractionCells\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!hasInteractionCell)\n\t\t\t{\n\t\t\t\treturn !multipleInteractionCellOffsets.NullOrEmpty();\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool IsApparel => apparel != null;\n\n\tpublic bool IsBed => typeof(Building_Bed).IsAssignableFrom(thingClass);\n\n\tpublic bool IsWall\n\t{\n\t\tget\n\t\t{\n\t\t\tif (building != null)\n\t\t\t{\n\t\t\t\treturn building.isWall;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsCorpse => typeof(Corpse).IsAssignableFrom(thingClass);\n\n\tpublic bool IsFrame => isFrameInt;\n\n\tpublic bool IsBlueprint\n\t{\n\t\tget\n\t\t{\n\t\t\tif (entityDefToBuild != null)\n\t\t\t{\n\t\t\t\treturn category == ThingCategory.Ethereal;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsStuff => stuffProps != null;\n\n\tpublic bool IsMedicine => statBases.StatListContains(StatDefOf.MedicalPotency);\n\n\tpublic bool IsDoor => typeof(Building_Door).IsAssignableFrom(thingClass);\n\n\tpublic bool IsFence\n\t{\n\t\tget\n\t\t{\n\t\t\tif (building != null)\n\t\t\t{\n\t\t\t\treturn building.isFence;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsFilth => filth != null;\n\n\tpublic bool IsIngestible => ingestible != null;\n\n\tpublic bool IsNutritionGivingIngestible\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsIngestible)\n\t\t\t{\n\t\t\t\treturn ingestible.CachedNutrition > 0f;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsNutritionGivingIngestibleForHumanlikeBabies\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsNutritionGivingIngestible && ingestible.HumanEdible)\n\t\t\t{\n\t\t\t\treturn ingestible.babiesCanIngest;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsWeapon\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Item && (!verbs.NullOrEmpty() || !tools.NullOrEmpty()))\n\t\t\t{\n\t\t\t\treturn !IsApparel;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsCommsConsole => typeof(Building_CommsConsole).IsAssignableFrom(thingClass);\n\n\tpublic bool IsOrbitalTradeBeacon => typeof(Building_OrbitalTradeBeacon).IsAssignableFrom(thingClass);\n\n\tpublic bool IsFoodDispenser => typeof(Building_NutrientPasteDispenser).IsAssignableFrom(thingClass);\n\n\tpublic bool IsDrug\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ingestible != null)\n\t\t\t{\n\t\t\t\treturn ingestible.drugCategory != DrugCategory.None;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsPleasureDrug\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsDrug)\n\t\t\t{\n\t\t\t\treturn ingestible.joy > 0f;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsNonMedicalDrug\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsDrug)\n\t\t\t{\n\t\t\t\treturn ingestible.drugCategory != DrugCategory.Medical;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsTable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (surfaceType == SurfaceType.Eat)\n\t\t\t{\n\t\t\t\treturn HasComp(typeof(CompGatherSpot));\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsWorkTable => typeof(Building_WorkTable).IsAssignableFrom(thingClass);\n\n\tpublic bool IsShell => projectileWhenLoaded != null;\n\n\tpublic bool IsArt => IsWithinCategory(ThingCategoryDefOf.BuildingsArt);\n\n\tpublic bool IsSmoothable => building?.smoothedThing != null;\n\n\tpublic bool IsSmoothed => building?.unsmoothedThing != null;\n\n\tpublic bool IsMetal\n\t{\n\t\tget\n\t\t{\n\t\t\tif (stuffProps != null)\n\t\t\t{\n\t\t\t\treturn stuffProps.categories.Contains(StuffCategoryDefOf.Metallic);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsCryptosleepCasket => typeof(Building_CryptosleepCasket).IsAssignableFrom(thingClass);\n\n\tpublic bool IsGibbetCage => typeof(Building_GibbetCage).IsAssignableFrom(thingClass);\n\n\tpublic bool IsMechGestator => typeof(Building_MechGestator).IsAssignableFrom(thingClass);\n\n\tpublic bool IsMechRecharger => typeof(Building_MechCharger).IsAssignableFrom(thingClass);\n\n\tpublic bool IsAddictiveDrug\n\t{\n\t\tget\n\t\t{\n\t\t\tCompProperties_Drug compProperties = GetCompProperties<CompProperties_Drug>();\n\t\t\tif (compProperties != null)\n\t\t\t{\n\t\t\t\treturn compProperties.addictiveness > 0f;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsMeat\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Item && thingCategories != null)\n\t\t\t{\n\t\t\t\treturn thingCategories.Contains(ThingCategoryDefOf.MeatRaw);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsEgg\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Item && thingCategories != null)\n\t\t\t{\n\t\t\t\tif (!thingCategories.Contains(ThingCategoryDefOf.EggsFertilized))\n\t\t\t\t{\n\t\t\t\t\treturn thingCategories.Contains(ThingCategoryDefOf.EggsUnfertilized);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsLeather\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Item && thingCategories != null)\n\t\t\t{\n\t\t\t\treturn thingCategories.Contains(ThingCategoryDefOf.Leathers);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsWool\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Item && thingCategories != null)\n\t\t\t{\n\t\t\t\treturn thingCategories.Contains(ThingCategoryDefOf.Wools);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsRangedWeapon\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsWeapon)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!verbs.NullOrEmpty())\n\t\t\t{\n\t\t\t\tfor (int i = 0; i < verbs.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tif (!verbs[i].IsMeleeAttack)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsMeleeWeapon\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsWeapon)\n\t\t\t{\n\t\t\t\treturn !IsRangedWeapon;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsWeaponUsingProjectiles\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsWeapon)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!verbs.NullOrEmpty())\n\t\t\t{\n\t\t\t\tfor (int i = 0; i < verbs.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tif (verbs[i].LaunchesProjectile)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsShieldThatBlocksRanged\n\t{\n\t\tget\n\t\t{\n\t\t\tif (HasComp(typeof(CompShield)))\n\t\t\t{\n\t\t\t\treturn GetCompProperties<CompProperties_Shield>().blocksRangedWeapons;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsBuildingArtificial\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Building || IsFrame)\n\t\t\t{\n\t\t\t\tif (building != null)\n\t\t\t\t{\n\t\t\t\t\tif (!building.isNaturalRock)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn !building.isResourceRock;\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsNonResourceNaturalRock\n\t{\n\t\tget\n\t\t{\n\t\t\tif (category == ThingCategory.Building && building.isNaturalRock && !building.isResourceRock && !building.mineablePreventNaturalRockOnSurface)\n\t\t\t{\n\t\t\t\treturn !IsSmoothed;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool HasSunShadows\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!hasSunShadowsCached.HasValue)\n\t\t\t{\n\t\t\t\thasSunShadowsCached = typeof(Pawn).IsAssignableFrom(thingClass);\n\t\t\t}\n\t\t\treturn hasSunShadowsCached.Value;\n\t\t}\n\t}\n\n\tpublic bool IsNaturalOrgan\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!isNaturalOrganCached.HasValue)\n\t\t\t{\n\t\t\t\tif (category != ThingCategory.Item)\n\t\t\t\t{\n\t\t\t\t\tisNaturalOrganCached = false;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tList<BodyPartDef> allDefsListForReading = DefDatabase<BodyPartDef>.AllDefsListForReading;\n\t\t\t\t\tisNaturalOrganCached = false;\n\t\t\t\t\tfor (int i = 0; i < allDefsListForReading.Count; i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (allDefsListForReading[i].spawnThingOnRemoved == this)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisNaturalOrganCached = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn isNaturalOrganCached.Value;\n\t\t}\n\t}\n\n\tpublic bool IsFungus\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ingestible != null)\n\t\t\t{\n\t\t\t\treturn ingestible.foodType.HasFlag(FoodTypeFlags.Fungus);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsAnimalProduct\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ingestible != null)\n\t\t\t{\n\t\t\t\treturn ingestible.foodType.HasFlag(FoodTypeFlags.AnimalProduct);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsProcessedFood\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ingestible != null)\n\t\t\t{\n\t\t\t\treturn ingestible.foodType.HasFlag(FoodTypeFlags.Processed);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool CanAffectLinker\n\t{\n\t\tget\n\t\t{\n\t\t\tif (graphicData == null || !graphicData.Linked)\n\t\t\t{\n\t\t\t\treturn IsDoor;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool IsNonDeconstructibleAttackableBuilding\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsBuildingArtificial && !building.IsDeconstructible && destroyable && !mineable && building.isTargetable)\n\t\t\t{\n\t\t\t\treturn building.draftAttackNonDeconstructable;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsPlant => typeof(Plant).IsAssignableFrom(thingClass);\n\n\tpublic bool IsDeadPlant => typeof(DeadPlant).IsAssignableFrom(thingClass);\n\n\tpublic bool IsStudiable => HasAssignableCompFrom(typeof(CompStudiable));\n\n\tpublic List<StyleCategoryDef> RelevantStyleCategories\n\t{\n\t\tget\n\t\t{\n\t\t\tif (cachedRelevantStyleCategories == null)\n\t\t\t{\n\t\t\t\tcachedRelevantStyleCategories = new List<StyleCategoryDef>();\n\t\t\t\tforeach (StyleCategoryDef allDef in DefDatabase<StyleCategoryDef>.AllDefs)\n\t\t\t\t{\n\t\t\t\t\tif (allDef.thingDefStyles.NullOrEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tforeach (ThingDefStyle thingDefStyle in allDef.thingDefStyles)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (thingDefStyle.ThingDef == this)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcachedRelevantStyleCategories.Add(allDef);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn cachedRelevantStyleCategories;\n\t\t}\n\t}\n\n\tpublic string LabelAsStuff\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!stuffProps.stuffAdjective.NullOrEmpty())\n\t\t\t{\n\t\t\t\treturn stuffProps.stuffAdjective;\n\t\t\t}\n\t\t\treturn label;\n\t\t}\n\t}\n\n\tpublic bool BlocksPlanting(bool canWipePlants = false)\n\t{\n\t\tif (building != null && building.SupportsPlants)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (building != null && building.isAttachment)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (blockPlants)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\tif (!canWipePlants && category == ThingCategory.Plant)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\tif ((int)Fillage > 0)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\tif (this.IsEdifice())\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic virtual bool CanSpawnAt(IntVec3 pos, Rot4 rot, Map map)\n\t{\n\t\treturn true;\n\t}\n\n\tpublic bool EverStorable(bool willMinifyIfPossible)\n\t{\n\t\tif (typeof(MinifiedThing).IsAssignableFrom(thingClass))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\tif (!thingCategories.NullOrEmpty())\n\t\t{\n\t\t\tif (category == ThingCategory.Item)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (willMinifyIfPossible && Minifiable)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic Thing GetConcreteExample(ThingDef stuff = null)\n\t{\n\t\tif (concreteExamplesInt == null)\n\t\t{\n\t\t\tconcreteExamplesInt = new Dictionary<ThingDef, Thing>();\n\t\t}\n\t\tif (stuff == null)\n\t\t{\n\t\t\tstuff = ThingDefOf.Steel;\n\t\t}\n\t\tif (!concreteExamplesInt.ContainsKey(stuff))\n\t\t{\n\t\t\tif (race == null)\n\t\t\t{\n\t\t\t\tconcreteExamplesInt[stuff] = ThingMaker.MakeThing(this, base.MadeFromStuff ? stuff : null);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tconcreteExamplesInt[stuff] = PawnGenerator.GeneratePawn(DefDatabase<PawnKindDef>.AllDefsListForReading.FirstOrDefault((PawnKindDef pkd) => pkd.race == this));\n\t\t\t}\n\t\t}\n\t\treturn concreteExamplesInt[stuff];\n\t}\n\n\tpublic CompProperties CompDefFor<T>() where T : ThingComp\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (comps[i].compClass == typeof(T))\n\t\t\t{\n\t\t\t\treturn comps[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic CompProperties CompDefForAssignableFrom<T>() where T : ThingComp\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (typeof(T).IsAssignableFrom(comps[i].compClass))\n\t\t\t{\n\t\t\t\treturn comps[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic bool HasComp(Type compType)\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (comps[i].compClass == compType)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic bool HasComp<T>() where T : ThingComp\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (comps[i].compClass == typeof(T) || typeof(T).IsAssignableFrom(comps[i].compClass))\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic bool HasAssignableCompFrom(Type compType)\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (compType.IsAssignableFrom(comps[i].compClass))\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic T GetCompProperties<T>() where T : CompProperties\n\t{\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tif (comps[i] is T result)\n\t\t\t{\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic override void PostLoad()\n\t{\n\t\tif (graphicData != null)\n\t\t{\n\t\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t\t{\n\t\t\t\tGraphicData graphicData = this.graphicData;\n\t\t\t\tif (graphicData.shaderType == null)\n\t\t\t\t{\n\t\t\t\t\tgraphicData.shaderType = ShaderTypeDefOf.Cutout;\n\t\t\t\t}\n\t\t\t\tContentFinderRequester.requester = this;\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tgraphic = this.graphicData.Graphic;\n\t\t\t\t\tif (drawerType != DrawerType.RealtimeOnly)\n\t\t\t\t\t{\n\t\t\t\t\t\tTextureAtlasGroup textureAtlasGroup = category.ToAtlasGroup();\n\t\t\t\t\t\tgraphic.TryInsertIntoAtlas(textureAtlasGroup);\n\t\t\t\t\t\tif (textureAtlasGroup == TextureAtlasGroup.Building && Minifiable)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tgraphic.TryInsertIntoAtlas(TextureAtlasGroup.Item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tContentFinderRequester.requester = null;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (tools != null)\n\t\t{\n\t\t\tfor (int i = 0; i < tools.Count; i++)\n\t\t\t{\n\t\t\t\ttools[i].id = i.ToString();\n\t\t\t}\n\t\t}\n\t\tif (verbs != null && verbs.Count == 1 && verbs[0].label.NullOrEmpty())\n\t\t{\n\t\t\tverbs[0].label = label;\n\t\t}\n\t\tbase.PostLoad();\n\t\tif (category == ThingCategory.Building && building == null)\n\t\t{\n\t\t\tbuilding = new BuildingProperties();\n\t\t}\n\t\tbuilding?.PostLoadSpecial(this);\n\t\tapparel?.PostLoadSpecial(this);\n\t\tplant?.PostLoadSpecial(this);\n\t\tif (comps == null)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (CompProperties comp in comps)\n\t\t{\n\t\t\tcomp.PostLoadSpecial(this);\n\t\t}\n\t}\n\n\tprotected override void ResolveIcon()\n\t{\n\t\tbase.ResolveIcon();\n\t\tif (category == ThingCategory.Pawn)\n\t\t{\n\t\t\tif (!uiIconPath.NullOrEmpty())\n\t\t\t{\n\t\t\t\tuiIcon = ContentFinder<Texture2D>.Get(uiIconPath);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif (race.Humanlike)\n\t\t\t\t{\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tPawnKindDef anyPawnKind = race.AnyPawnKind;\n\t\t\t\tif (anyPawnKind != null)\n\t\t\t\t{\n\t\t\t\t\tMaterial material = ((ModsConfig.BiotechActive && anyPawnKind.RaceProps.IsMechanoid) ? anyPawnKind.lifeStages.First() : anyPawnKind.lifeStages.Last()).bodyGraphicData.Graphic.MatAt(Rot4.East);\n\t\t\t\t\tuiIcon = (Texture2D)material.mainTexture;\n\t\t\t\t\tuiIconColor = material.color;\n\t\t\t\t\tif (ShaderDatabase.TryGetUIShader(material.shader, out var uiShader) && MaterialPool.TryGetRequestForMat(material, out var request))\n\t\t\t\t\t{\n\t\t\t\t\t\trequest.shader = uiShader;\n\t\t\t\t\t\tuiIconMaterial = MaterialPool.MatFrom(request);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tThingDef thingDef = GenStuff.DefaultStuffFor(this);\n\t\t\tif (colorGenerator != null && (thingDef == null || thingDef.stuffProps.allowColorGenerators))\n\t\t\t{\n\t\t\t\tuiIconColor = colorGenerator.ExemplaryColor;\n\t\t\t}\n\t\t\telse if (thingDef != null)\n\t\t\t{\n\t\t\t\tuiIconColor = GetColorForStuff(thingDef);\n\t\t\t}\n\t\t\telse if (graphicData != null)\n\t\t\t{\n\t\t\t\tuiIconColor = graphicData.color;\n\t\t\t}\n\t\t\tif (rotatable && graphic != null && graphic != BaseContent.BadGraphic && graphic.ShouldDrawRotated && defaultPlacingRot == Rot4.South)\n\t\t\t{\n\t\t\t\tuiIconAngle = 180f + graphic.DrawRotatedExtraAngleOffset;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic override void ResolveReferences()\n\t{\n\t\tbase.ResolveReferences();\n\t\tif (ingestible != null)\n\t\t{\n\t\t\tingestible.parent = this;\n\t\t}\n\t\tif (stuffProps != null)\n\t\t{\n\t\t\tstuffProps.parent = this;\n\t\t}\n\t\tbuilding?.ResolveReferencesSpecial();\n\t\tgraphicData?.ResolveReferencesSpecial();\n\t\trace?.ResolveReferencesSpecial();\n\t\tstuffProps?.ResolveReferencesSpecial();\n\t\tapparel?.ResolveReferencesSpecial();\n\t\tif (soundImpactDefault == null)\n\t\t{\n\t\t\tsoundImpactDefault = SoundDefOf.BulletImpact_Ground;\n\t\t}\n\t\tif (soundDrop == null)\n\t\t{\n\t\t\tsoundDrop = SoundDefOf.Standard_Drop;\n\t\t}\n\t\tif (soundPickup == null)\n\t\t{\n\t\t\tsoundPickup = SoundDefOf.Standard_Pickup;\n\t\t}\n\t\tif (soundInteract == null)\n\t\t{\n\t\t\tsoundInteract = SoundDefOf.Standard_Pickup;\n\t\t}\n\t\tif (inspectorTabs != null && inspectorTabs.Any())\n\t\t{\n\t\t\tinspectorTabsResolved = new List<InspectTabBase>();\n\t\t\tfor (int i = 0; i < inspectorTabs.Count; i++)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tinspectorTabsResolved.Add(InspectTabManager.GetSharedInstance(inspectorTabs[i]));\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Could not instantiate inspector tab of type \" + inspectorTabs[i]?.ToString() + \": \" + ex);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (comps != null)\n\t\t{\n\t\t\tfor (int j = 0; j < comps.Count; j++)\n\t\t\t{\n\t\t\t\tcomps[j].ResolveReferences(this);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic override IEnumerable<string> ConfigErrors()\n\t{\n\t\tforeach (string item in base.ConfigErrors())\n\t\t{\n\t\t\tyield return item;\n\t\t}\n\t\tif (category != ThingCategory.Ethereal && label.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"no label\";\n\t\t}\n\t\tif (category == ThingCategory.Building && !IsFrame && building.IsDeconstructible && thingClass != null && typeof(Building).IsSubclassOf(thingClass))\n\t\t{\n\t\t\tyield return \"has building category and is marked as deconstructible, but thing class is not a subclass of building (\" + thingClass.Name + \")\";\n\t\t}\n\t\tif (graphicData != null)\n\t\t{\n\t\t\tforeach (string item2 in graphicData.ConfigErrors(this))\n\t\t\t{\n\t\t\t\tyield return item2;\n\t\t\t}\n\t\t}\n\t\tif (projectile != null)\n\t\t{\n\t\t\tforeach (string item3 in projectile.ConfigErrors(this))\n\t\t\t{\n\t\t\t\tyield return item3;\n\t\t\t}\n\t\t}\n\t\tif (statBases != null)\n\t\t{\n\t\t\tforeach (StatModifier statBase in statBases)\n\t\t\t{\n\t\t\t\tif (statBases.Count((StatModifier st) => st.stat == statBase.stat) > 1)\n\t\t\t\t{\n\t\t\t\t\tyield return \"defines the stat base \" + statBase.stat?.ToString() + \" more than once.\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!BeautyUtility.BeautyRelevant(category) && this.StatBaseDefined(StatDefOf.Beauty))\n\t\t{\n\t\t\tyield return \"Beauty stat base is defined, but Things of category \" + category.ToString() + \" cannot have beauty.\";\n\t\t}\n\t\tif (!BeautyUtility.BeautyRelevant(category) && this.StatBaseDefined(StatDefOf.BeautyOutdoors))\n\t\t{\n\t\t\tyield return \"BeautyOutdoors stat base is defined, but Things of category \" + category.ToString() + \" cannot have beauty.\";\n\t\t}\n\t\tif (char.IsNumber(defName[defName.Length - 1]))\n\t\t{\n\t\t\tyield return \"ends with a numerical digit, which is not allowed on ThingDefs.\";\n\t\t}\n\t\tif (thingClass == null)\n\t\t{\n\t\t\tyield return \"has null thingClass.\";\n\t\t}\n\t\tif (comps.Count > 0 && !typeof(ThingWithComps).IsAssignableFrom(thingClass))\n\t\t{\n\t\t\tyield return \"has components but it's thingClass is not a ThingWithComps\";\n\t\t}\n\t\tif (ConnectToPower && drawerType == DrawerType.RealtimeOnly && IsFrame)\n\t\t{\n\t\t\tyield return \"connects to power but does not add to map mesh. Will not create wire meshes.\";\n\t\t}\n\t\tif (costList != null)\n\t\t{\n\t\t\tforeach (ThingDefCountClass cost in costList)\n\t\t\t{\n\t\t\t\tif (cost.count == 0)\n\t\t\t\t{\n\t\t\t\t\tyield return \"cost in \" + cost.thingDef?.ToString() + \" is zero.\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tThingCategoryDef thingCategoryDef = thingCategories?.FirstOrDefault((ThingCategoryDef cat) => thingCategories.Count((ThingCategoryDef c) => c == cat) > 1);\n\t\tif (thingCategoryDef != null)\n\t\t{\n\t\t\tyield return \"has duplicate thingCategory \" + thingCategoryDef?.ToString() + \".\";\n\t\t}\n\t\tif (Fillage == FillCategory.Full && category != ThingCategory.Building)\n\t\t{\n\t\t\tyield return \"gives full cover but is not a building.\";\n\t\t}\n\t\tif (equipmentType != 0)\n\t\t{\n\t\t\tif (techLevel == TechLevel.Undefined && !destroyOnDrop)\n\t\t\t{\n\t\t\t\tyield return \"is equipment but has no tech level.\";\n\t\t\t}\n\t\t\tif (!comps.Any((CompProperties c) => typeof(CompEquippable).IsAssignableFrom(c.compClass)))\n\t\t\t{\n\t\t\t\tyield return \"is equipment but has no CompEquippable\";\n\t\t\t}\n\t\t}\n\t\tif (thingClass == typeof(Bullet) && projectile.damageDef == null)\n\t\t{\n\t\t\tyield return \" is a bullet but has no damageDef.\";\n\t\t}\n\t\tif (destroyOnDrop && tradeability != 0)\n\t\t{\n\t\t\tyield return \"destroyOnDrop but tradeability is \" + tradeability;\n\t\t}\n\t\tif (stackLimit > 1 && !drawGUIOverlay)\n\t\t{\n\t\t\tyield return \"has stackLimit > 1 but also has drawGUIOverlay = false.\";\n\t\t}\n\t\tif (damageMultipliers != null)\n\t\t{\n\t\t\tforeach (DamageMultiplier mult in damageMultipliers)\n\t\t\t{\n\t\t\t\tif (damageMultipliers.Count((DamageMultiplier m) => m.damageDef == mult.damageDef) > 1)\n\t\t\t\t{\n\t\t\t\t\tyield return \"has multiple damage multipliers for damageDef \" + mult.damageDef;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (Fillage == FillCategory.Full && !this.IsEdifice())\n\t\t{\n\t\t\tyield return \"fillPercent is 1.00 but is not edifice\";\n\t\t}\n\t\tif (base.MadeFromStuff && constructEffect != null)\n\t\t{\n\t\t\tyield return \"madeFromStuff but has a defined constructEffect (which will always be overridden by stuff's construct animation).\";\n\t\t}\n\t\tif (base.MadeFromStuff && stuffCategories.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"madeFromStuff but has no stuffCategories.\";\n\t\t}\n\t\tif (costList.NullOrEmpty() && costStuffCount <= 0 && recipeMaker != null)\n\t\t{\n\t\t\tyield return \"has a recipeMaker but no costList or costStuffCount.\";\n\t\t}\n\t\tif (costStuffCount > 0 && stuffCategories.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"has costStuffCount but no stuffCategories.\";\n\t\t}\n\t\tif (this.GetStatValueAbstract(StatDefOf.DeteriorationRate) > 1E-05f && !CanEverDeteriorate && !destroyOnDrop)\n\t\t{\n\t\t\tyield return \"has >0 DeteriorationRate but can't deteriorate.\";\n\t\t}\n\t\tif (smeltProducts != null && !smeltable)\n\t\t{\n\t\t\tyield return \"has smeltProducts but has smeltable=false\";\n\t\t}\n\t\tif (smeltable && smeltProducts.NullOrEmpty() && base.CostList.NullOrEmpty() && !IsStuff && !base.MadeFromStuff && !destroyOnDrop)\n\t\t{\n\t\t\tyield return \"is smeltable but does not give anything for smelting.\";\n\t\t}\n\t\tif (equipmentType != 0 && verbs.NullOrEmpty() && tools.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"is equipment but has no verbs or tools\";\n\t\t}\n\t\tif (Minifiable && thingCategories.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"is minifiable but not in any thing category\";\n\t\t}\n\t\tif (category == ThingCategory.Building && !Minifiable && !thingCategories.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"is not minifiable yet has thing categories (could be confusing in thing filters because it can't be moved/stored anyway)\";\n\t\t}\n\t\tif (!destroyOnDrop && !typeof(MinifiedThing).IsAssignableFrom(thingClass) && (EverHaulable || Minifiable) && (statBases.NullOrEmpty() || !statBases.Any((StatModifier s) => s.stat == StatDefOf.Mass)))\n\t\t{\n\t\t\tyield return \"is haulable, but does not have an authored mass value\";\n\t\t}\n\t\tif (ingestible == null && this.GetStatValueAbstract(StatDefOf.Nutrition) != 0f)\n\t\t{\n\t\t\tyield return \"has nutrition but ingestible properties are null\";\n\t\t}\n\t\tif (BaseFlammability != 0f && !useHitPoints && category != ThingCategory.Pawn && !destroyOnDrop)\n\t\t{\n\t\t\tyield return \"flammable but has no hitpoints (will burn indefinitely)\";\n\t\t}\n\t\tif (graphicData?.shadowData != null && staticSunShadowHeight > 0f)\n\t\t{\n\t\t\tyield return \"graphicData defines a shadowInfo but staticSunShadowHeight > 0\";\n\t\t}\n\t\tif (saveCompressible && Claimable)\n\t\t{\n\t\t\tyield return \"claimable item is compressible; faction will be unset after load\";\n\t\t}\n\t\tif (deepCommonality > 0f != deepLumpSizeRange.TrueMax > 0)\n\t\t{\n\t\t\tyield return \"if deepCommonality or deepLumpSizeRange is set, the other also must be set\";\n\t\t}\n\t\tif (deepCommonality > 0f && deepCountPerPortion <= 0)\n\t\t{\n\t\t\tyield return \"deepCommonality > 0 but deepCountPerPortion is not set\";\n\t\t}\n\t\tif (verbs != null)\n\t\t{\n\t\t\tfor (int i = 0; i < verbs.Count; i++)\n\t\t\t{\n\t\t\t\tforeach (string item4 in verbs[i].ConfigErrors(this))\n\t\t\t\t{\n\t\t\t\t\tyield return $\"verb {i}: {item4}\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (building != null)\n\t\t{\n\t\t\tforeach (string item5 in building.ConfigErrors(this))\n\t\t\t{\n\t\t\t\tyield return item5;\n\t\t\t}\n\t\t\tif ((building.isAirtight || building.isStuffableAirtight) && Fillage != FillCategory.Full)\n\t\t\t{\n\t\t\t\tyield return \"is airtight but Fillage is not Full\";\n\t\t\t}\n\t\t}\n\t\tif (apparel != null)\n\t\t{\n\t\t\tforeach (string item6 in apparel.ConfigErrors(this))\n\t\t\t{\n\t\t\t\tyield return item6;\n\t\t\t}\n\t\t}\n\t\tif (comps != null)\n\t\t{\n\t\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t\t{\n\t\t\t\tforeach (string item7 in comps[i].ConfigErrors(this))\n\t\t\t\t{\n\t\t\t\t\tyield return item7;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (race != null)\n\t\t{\n\t\t\tforeach (string item8 in race.ConfigErrors(this))\n\t\t\t{\n\t\t\t\tyield return item8;\n\t\t\t}\n\t\t\tif (race.body != null && race != null && tools != null)\n\t\t\t{\n\t\t\t\tint i;\n\t\t\t\tfor (i = 0; i < tools.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tif (tools[i].linkedBodyPartsGroup != null && !race.body.AllParts.Any((BodyPartRecord part) => part.groups.Contains(tools[i].linkedBodyPartsGroup)))\n\t\t\t\t\t{\n\t\t\t\t\t\tyield return \"has tool with linkedBodyPartsGroup \" + tools[i].linkedBodyPartsGroup?.ToString() + \" but body \" + race.body?.ToString() + \" has no parts with that group.\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (race.Animal && this.GetStatValueAbstract(StatDefOf.Wildness) < 0f)\n\t\t\t{\n\t\t\t\tyield return \"is animal but wildness is not defined\";\n\t\t\t}\n\t\t}\n\t\tif (ingestible != null)\n\t\t{\n\t\t\tforeach (string item9 in ingestible.ConfigErrors())\n\t\t\t{\n\t\t\t\tyield return item9;\n\t\t\t}\n\t\t}\n\t\tif (plant != null)\n\t\t{\n\t\t\tforeach (string item10 in plant.ConfigErrors())\n\t\t\t{\n\t\t\t\tyield return item10;\n\t\t\t}\n\t\t}\n\t\tif (tools != null)\n\t\t{\n\t\t\tTool tool = tools.SelectMany((Tool lhs) => tools.Where((Tool rhs) => lhs != rhs && lhs.id == rhs.id)).FirstOrDefault();\n\t\t\tif (tool != null)\n\t\t\t{\n\t\t\t\tyield return \"duplicate thingdef tool id \" + tool.id;\n\t\t\t}\n\t\t\tforeach (Tool tool2 in tools)\n\t\t\t{\n\t\t\t\tforeach (string item11 in tool2.ConfigErrors())\n\t\t\t\t{\n\t\t\t\t\tyield return item11;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!randomStyle.NullOrEmpty())\n\t\t{\n\t\t\tforeach (ThingStyleChance item12 in randomStyle)\n\t\t\t{\n\t\t\t\tif (item12.Chance <= 0f)\n\t\t\t\t{\n\t\t\t\t\tyield return \"style chance <= 0.\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!comps.Any((CompProperties c) => c.compClass == typeof(CompStyleable)))\n\t\t\t{\n\t\t\t\tyield return \"random style assigned, but missing CompStyleable!\";\n\t\t\t}\n\t\t}\n\t\tif (relicChance > 0f && category != ThingCategory.Item)\n\t\t{\n\t\t\tyield return \"relic chance > 0 but category != item\";\n\t\t}\n\t\tif (hasInteractionCell && !multipleInteractionCellOffsets.NullOrEmpty())\n\t\t{\n\t\t\tyield return \"both single and multiple interaction cells are defined, it should be one or the other\";\n\t\t}\n\t\tif (Fillage != FillCategory.Full && passability == Traversability.Impassable && !IsDoor && base.BuildableByPlayer && !disableImpassableShotOverConfigError)\n\t\t{\n\t\t\tyield return \"impassable, player-buildable building that can be shot/seen over.\";\n\t\t}\n\t}\n\n\tpublic static ThingDef Named(string defName)\n\t{\n\t\treturn DefDatabase<ThingDef>.GetNamed(defName);\n\t}\n\n\tpublic bool IsWithinCategory(ThingCategoryDef category)\n\t{\n\t\tif (thingCategories == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tfor (int i = 0; i < thingCategories.Count; i++)\n\t\t{\n\t\t\tfor (ThingCategoryDef thingCategoryDef = thingCategories[i]; thingCategoryDef != null; thingCategoryDef = thingCategoryDef.parent)\n\t\t\t{\n\t\t\t\tif (thingCategoryDef == category)\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic void Notify_UnlockedByResearch()\n\t{\n\t\tif (comps != null)\n\t\t{\n\t\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t\t{\n\t\t\t\tcomps[i].Notify_PostUnlockedByResearch(this);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic override IEnumerable<StatDrawEntry> SpecialDisplayStats(StatRequest req)\n\t{\n\t\tforeach (StatDrawEntry item in base.SpecialDisplayStats(req))\n\t\t{\n\t\t\tyield return item;\n\t\t}\n\t\tif (apparel != null)\n\t\t{\n\t\t\tstring coveredOuterPartsString = apparel.GetCoveredOuterPartsString(BodyDefOf.Human);\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Apparel, \"Covers\".Translate(), coveredOuterPartsString, \"Stat_Thing_Apparel_Covers_Desc\".Translate(), 2750);\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Apparel, \"Layer\".Translate(), apparel.GetLayersString(), \"Stat_Thing_Apparel_Layer_Desc\".Translate(), 2751);\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Apparel, \"Stat_Thing_Apparel_CountsAsClothingNudity_Name\".Translate(), apparel.countsAsClothingForNudity ? \"Yes\".Translate() : \"No\".Translate(), \"Stat_Thing_Apparel_CountsAsClothingNudity_Desc\".Translate(), 2753);\n\t\t\tif (ModsConfig.BiotechActive)\n\t\t\t{\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Apparel, \"Stat_Thing_Apparel_ValidLifestage\".Translate(), apparel.developmentalStageFilter.ToCommaList().CapitalizeFirst(), \"Stat_Thing_Apparel_ValidLifestage_Desc\".Translate(), 2748);\n\t\t\t}\n\t\t\tif (apparel.gender != 0)\n\t\t\t{\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Apparel, \"Stat_Thing_Apparel_Gender\".Translate(), apparel.gender.GetLabel().CapitalizeFirst(), \"Stat_Thing_Apparel_Gender_Desc\".Translate(), 2749);\n\t\t\t}\n\t\t}\n\t\tif (IsMedicine && MedicineTendXpGainFactor != 1f)\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"MedicineXpGainFactor\".Translate(), MedicineTendXpGainFactor.ToStringPercent(), \"Stat_Thing_Drug_MedicineXpGainFactor_Desc\".Translate(), 1000);\n\t\t}\n\t\tif (fillPercent > 0f && (category == ThingCategory.Item || category == ThingCategory.Building || category == ThingCategory.Plant))\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"CoverEffectiveness\".Translate(), this.BaseBlockChance().ToStringPercent(), \"CoverEffectivenessExplanation\".Translate(), 2000);\n\t\t}\n\t\tif (constructionSkillPrerequisite > 0)\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"SkillRequiredToBuild\".Translate(SkillDefOf.Construction.LabelCap), constructionSkillPrerequisite.ToString(), \"SkillRequiredToBuildExplanation\".Translate(SkillDefOf.Construction.LabelCap), 1100);\n\t\t}\n\t\tif (artisticSkillPrerequisite > 0)\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"SkillRequiredToBuild\".Translate(SkillDefOf.Artistic.LabelCap), artisticSkillPrerequisite.ToString(), \"SkillRequiredToBuildExplanation\".Translate(SkillDefOf.Artistic.LabelCap), 1100);\n\t\t}\n\t\tIEnumerable<RecipeDef> recipes = DefDatabase<RecipeDef>.AllDefsListForReading.Where((RecipeDef r) => r.products.Count == 1 && r.products.Any((ThingDefCountClass p) => p.thingDef == this) && !r.IsSurgery);\n\t\tif (recipes.Any())\n\t\t{\n\t\t\tIEnumerable<string> enumerable = (from u in recipes.Where((RecipeDef x) => x.recipeUsers != null).SelectMany((RecipeDef r) => r.recipeUsers)\n\t\t\t\tselect u.label).Concat(from x in DefDatabase<ThingDef>.AllDefsListForReading\n\t\t\t\twhere x.recipes != null && x.recipes.Any((RecipeDef y) => y.products.Any((ThingDefCountClass z) => z.thingDef == this))\n\t\t\t\tselect x.label).Distinct();\n\t\t\tif (enumerable.Any())\n\t\t\t{\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"CreatedAt\".Translate(), enumerable.ToCommaList().CapitalizeFirst(), \"Stat_Thing_CreatedAt_Desc\".Translate(), 1103);\n\t\t\t}\n\t\t\tRecipeDef recipeDef = recipes.FirstOrDefault();\n\t\t\tif (recipeDef != null && !recipeDef.ingredients.NullOrEmpty())\n\t\t\t{\n\t\t\t\tBuildableDef.tmpCostList.Clear();\n\t\t\t\tBuildableDef.tmpHyperlinks.Clear();\n\t\t\t\tfor (int j = 0; j < recipeDef.ingredients.Count; j++)\n\t\t\t\t{\n\t\t\t\t\tIngredientCount ingredientCount = recipeDef.ingredients[j];\n\t\t\t\t\tif (ingredientCount.filter.Summary.NullOrEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tIEnumerable<ThingDef> allowedThingDefs = ingredientCount.filter.AllowedThingDefs;\n\t\t\t\t\tif (allowedThingDefs.Any())\n\t\t\t\t\t{\n\t\t\t\t\t\tforeach (ThingDef p in allowedThingDefs)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (!BuildableDef.tmpHyperlinks.Any((Dialog_InfoCard.Hyperlink x) => x.def == p))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tBuildableDef.tmpHyperlinks.Add(new Dialog_InfoCard.Hyperlink(p));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tBuildableDef.tmpCostList.Add(recipeDef.IngredientValueGetter.BillRequirementsDescription(recipeDef, ingredientCount));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (BuildableDef.tmpCostList.Any())\n\t\t\t{\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"Ingredients\".Translate(), BuildableDef.tmpCostList.ToCommaList(), \"Stat_Thing_Ingredients\".Translate(), 1102, null, BuildableDef.tmpHyperlinks);\n\t\t\t}\n\t\t}\n\t\tif (thingClass != null && typeof(Building_Bed).IsAssignableFrom(thingClass) && !statBases.StatListContains(StatDefOf.BedRestEffectiveness))\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Building, StatDefOf.BedRestEffectiveness, StatDefOf.BedRestEffectiveness.valueIfMissing, StatRequest.ForEmpty());\n\t\t}\n\t\tif (!verbs.NullOrEmpty())\n\t\t{\n\t\t\tVerbProperties verb = verbs.First((VerbProperties x) => x.isPrimary);\n\t\t\tStatCategoryDef verbStatCategory = ((category == ThingCategory.Pawn) ? StatCategoryDefOf.PawnCombat : null);\n\t\t\tfloat num = verb.warmupTime;\n\t\t\tStringBuilder stringBuilder = new StringBuilder(\"Stat_Thing_Weapon_RangedWarmupTime_Desc\".Translate());\n\t\t\tstringBuilder.AppendLine();\n\t\t\tstringBuilder.AppendLine();\n\t\t\tstringBuilder.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + num.ToString(\"0.##\") + \" \" + \"LetterSecond\".Translate());\n\t\t\tif (num > 0f)\n\t\t\t{\n\t\t\t\tif (req.HasThing)\n\t\t\t\t{\n\t\t\t\t\tfloat statValue = req.Thing.GetStatValue(StatDefOf.RangedWeapon_WarmupMultiplier);\n\t\t\t\t\tnum *= statValue;\n\t\t\t\t\tif (!Mathf.Approximately(statValue, 1f))\n\t\t\t\t\t{\n\t\t\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\t\t\tstringBuilder.AppendLine(\"Stat_Thing_Weapon_WarmupTime_Multiplier\".Translate() + \": x\" + statValue.ToStringPercent());\n\t\t\t\t\t\tstringBuilder.Append(StatUtility.GetOffsetsAndFactorsFor(StatDefOf.RangedWeapon_WarmupMultiplier, req.Thing));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstringBuilder.AppendLine();\n\t\t\t\tstringBuilder.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + num.ToString(\"0.##\") + \" \" + \"LetterSecond\".Translate());\n\t\t\t\tyield return new StatDrawEntry(verbStatCategory ?? StatCategoryDefOf.Weapon_Ranged, \"RangedWarmupTime\".Translate(), num.ToString(\"0.##\") + \" \" + \"LetterSecond\".Translate(), stringBuilder.ToString(), 3555);\n\t\t\t}\n\t\t\tif (verb.defaultProjectile?.projectile.damageDef != null && verb.defaultProjectile.projectile.damageDef.harmsHealth)\n\t\t\t{\n\t\t\t\tStatCategoryDef statCat = verbStatCategory ?? StatCategoryDefOf.Weapon_Ranged;\n\t\t\t\tStringBuilder stringBuilder2 = new StringBuilder();\n\t\t\t\tstringBuilder2.AppendLine(\"Stat_Thing_Damage_Desc\".Translate());\n\t\t\t\tstringBuilder2.AppendLine();\n\t\t\t\tfloat num2 = verb.defaultProjectile.projectile.GetDamageAmount(req.Thing, stringBuilder2);\n\t\t\t\tyield return new StatDrawEntry(statCat, \"Damage\".Translate(), num2.ToString(), stringBuilder2.ToString(), 5500);\n\t\t\t\tif (verb.defaultProjectile.projectile.damageDef.armorCategory != null)\n\t\t\t\t{\n\t\t\t\t\tStringBuilder stringBuilder3 = new StringBuilder();\n\t\t\t\t\tfloat armorPenetration = verb.defaultProjectile.projectile.GetArmorPenetration(req.Thing, stringBuilder3);\n\t\t\t\t\tTaggedString taggedString = \"ArmorPenetrationExplanation\".Translate();\n\t\t\t\t\tif (stringBuilder3.Length != 0)\n\t\t\t\t\t{\n\t\t\t\t\t\ttaggedString += \"\\n\\n\" + stringBuilder3;\n\t\t\t\t\t}\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"ArmorPenetration\".Translate(), armorPenetration.ToStringPercent(), taggedString, 5400);\n\t\t\t\t}\n\t\t\t\tfloat buildingDamageFactor = verb.defaultProjectile.projectile.damageDef.buildingDamageFactor;\n\t\t\t\tfloat dmgBuildingsImpassable = verb.defaultProjectile.projectile.damageDef.buildingDamageFactorImpassable;\n\t\t\t\tfloat dmgBuildingsPassable = verb.defaultProjectile.projectile.damageDef.buildingDamageFactorPassable;\n\t\t\t\tif (buildingDamageFactor != 1f)\n\t\t\t\t{\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"BuildingDamageFactor\".Translate(), buildingDamageFactor.ToStringPercent(), \"BuildingDamageFactorExplanation\".Translate(), 5410);\n\t\t\t\t}\n\t\t\t\tif (dmgBuildingsImpassable != 1f)\n\t\t\t\t{\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"BuildingDamageFactorImpassable\".Translate(), dmgBuildingsImpassable.ToStringPercent(), \"BuildingDamageFactorImpassableExplanation\".Translate(), 5420);\n\t\t\t\t}\n\t\t\t\tif (dmgBuildingsPassable != 1f)\n\t\t\t\t{\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"BuildingDamageFactorPassable\".Translate(), dmgBuildingsPassable.ToStringPercent(), \"BuildingDamageFactorPassableExplanation\".Translate(), 5430);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (verb.defaultProjectile == null && verb.beamDamageDef != null)\n\t\t\t{\n\t\t\t\tyield return new StatDrawEntry(verbStatCategory ?? StatCategoryDefOf.Weapon_Ranged, \"ArmorPenetration\".Translate(), verb.beamDamageDef.defaultArmorPenetration.ToStringPercent(), \"ArmorPenetrationExplanation\".Translate(), 5400);\n\t\t\t}\n\t\t\tif (verb.Ranged)\n\t\t\t{\n\t\t\t\tfloat num3 = verb.burstShotCount;\n\t\t\t\tfloat num4 = verb.ticksBetweenBurstShots;\n\t\t\t\tfloat dmgBuildingsPassable = (verb?.defaultProjectile?.projectile?.stoppingPower).GetValueOrDefault();\n\t\t\t\tStringBuilder stringBuilder4 = new StringBuilder(\"Stat_Thing_Weapon_BurstShotFireRate_Desc\".Translate());\n\t\t\t\tstringBuilder4.AppendLine();\n\t\t\t\tstringBuilder4.AppendLine();\n\t\t\t\tstringBuilder4.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + verb.burstShotCount.ToString());\n\t\t\t\tstringBuilder4.AppendLine();\n\t\t\t\tStringBuilder ticksBetweenBurstShotsExplanation = new StringBuilder(\"Stat_Thing_Weapon_BurstShotFireRate_Desc\".Translate());\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine();\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine();\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + (60f / verb.ticksBetweenBurstShots.TicksToSeconds()).ToString(\"0.##\") + \" rpm\");\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine();\n\t\t\t\tStringBuilder stoppingPowerExplanation = new StringBuilder(\"StoppingPowerExplanation\".Translate());\n\t\t\t\tstoppingPowerExplanation.AppendLine();\n\t\t\t\tstoppingPowerExplanation.AppendLine();\n\t\t\t\tstoppingPowerExplanation.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + dmgBuildingsPassable.ToString(\"F1\"));\n\t\t\t\tstoppingPowerExplanation.AppendLine();\n\t\t\t\tif (req.HasThing && req.Thing.TryGetComp(out CompUniqueWeapon comp))\n\t\t\t\t{\n\t\t\t\t\tbool flag = false;\n\t\t\t\t\tbool flag2 = false;\n\t\t\t\t\tbool flag3 = false;\n\t\t\t\t\tforeach (WeaponTraitDef item2 in comp.TraitsListForReading)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (!Mathf.Approximately(item2.burstShotCountMultiplier, 1f))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (!flag)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstringBuilder4.AppendLine(\"StatsReport_WeaponTraits\".Translate() + \":\");\n\t\t\t\t\t\t\t\tflag = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnum3 *= item2.burstShotCountMultiplier;\n\t\t\t\t\t\t\tstringBuilder4.AppendLine(\" \" + item2.LabelCap + \": \" + item2.burstShotCountMultiplier.ToStringByStyle(ToStringStyle.PercentOne, ToStringNumberSense.Factor));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!Mathf.Approximately(item2.burstShotSpeedMultiplier, 1f))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (!flag2)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine(\"StatsReport_WeaponTraits\".Translate() + \":\");\n\t\t\t\t\t\t\t\tflag2 = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnum4 /= item2.burstShotSpeedMultiplier;\n\t\t\t\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine(\" \" + item2.LabelCap + \": \" + item2.burstShotSpeedMultiplier.ToStringByStyle(ToStringStyle.PercentOne, ToStringNumberSense.Factor));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!Mathf.Approximately(item2.additionalStoppingPower, 0f))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (!flag3)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstoppingPowerExplanation.AppendLine(\"StatsReport_WeaponTraits\".Translate() + \":\");\n\t\t\t\t\t\t\t\tflag3 = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdmgBuildingsPassable += item2.additionalStoppingPower;\n\t\t\t\t\t\t\tstoppingPowerExplanation.AppendLine(\" \" + item2.LabelCap + \": \" + item2.additionalStoppingPower.ToStringByStyle(ToStringStyle.FloatOne, ToStringNumberSense.Offset));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstringBuilder4.AppendLine();\n\t\t\t\tstringBuilder4.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + Mathf.CeilToInt(num3).ToString());\n\t\t\t\tfloat dmgBuildingsImpassable = 60f / ((int)num4).TicksToSeconds();\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine();\n\t\t\t\tticksBetweenBurstShotsExplanation.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + dmgBuildingsImpassable.ToString(\"0.##\") + \" rpm\");\n\t\t\t\tstoppingPowerExplanation.AppendLine();\n\t\t\t\tstoppingPowerExplanation.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + dmgBuildingsPassable.ToString(\"F1\"));\n\t\t\t\tStatCategoryDef statCat = verbStatCategory ?? StatCategoryDefOf.Weapon_Ranged;\n\t\t\t\tif (verb.showBurstShotStats && verb.burstShotCount > 1)\n\t\t\t\t{\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"BurstShotCount\".Translate(), Mathf.CeilToInt(num3).ToString(), stringBuilder4.ToString(), 5391);\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"BurstShotFireRate\".Translate(), dmgBuildingsImpassable.ToString(\"0.##\") + \" rpm\", ticksBetweenBurstShotsExplanation.ToString(), 5395);\n\t\t\t\t}\n\t\t\t\tif (dmgBuildingsPassable > 0f)\n\t\t\t\t{\n\t\t\t\t\tyield return new StatDrawEntry(statCat, \"StoppingPower\".Translate(), dmgBuildingsPassable.ToString(\"F1\"), stoppingPowerExplanation.ToString(), 5402);\n\t\t\t\t}\n\t\t\t\tfloat num5 = verb.range;\n\t\t\t\tStringBuilder stringBuilder5 = new StringBuilder(\"Stat_Thing_Weapon_Range_Desc\".Translate());\n\t\t\t\tstringBuilder5.AppendLine();\n\t\t\t\tstringBuilder5.AppendLine();\n\t\t\t\tstringBuilder5.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + num5.ToString(\"F0\"));\n\t\t\t\tif (req.HasThing)\n\t\t\t\t{\n\t\t\t\t\tfloat statValue2 = req.Thing.GetStatValue(StatDefOf.RangedWeapon_RangeMultiplier);\n\t\t\t\t\tnum5 *= statValue2;\n\t\t\t\t\tif (!Mathf.Approximately(statValue2, 1f))\n\t\t\t\t\t{\n\t\t\t\t\t\tstringBuilder5.AppendLine();\n\t\t\t\t\t\tstringBuilder5.AppendLine(\"Stat_Thing_Weapon_Range_Multiplier\".Translate() + \": x\" + statValue2.ToStringPercent());\n\t\t\t\t\t\tstringBuilder5.Append(StatUtility.GetOffsetsAndFactorsFor(StatDefOf.RangedWeapon_RangeMultiplier, req.Thing));\n\t\t\t\t\t}\n\t\t\t\t\tMap obj = req.Thing.Map ?? req.Thing.MapHeld;\n\t\t\t\t\tif (obj != null && obj.weatherManager.CurWeatherMaxRangeCap >= 0f)\n\t\t\t\t\t{\n\t\t\t\t\t\tWeatherManager weatherManager = (req.Thing.Map ?? req.Thing.MapHeld).weatherManager;\n\t\t\t\t\t\tbool num6 = num5 > weatherManager.CurWeatherMaxRangeCap;\n\t\t\t\t\t\tfloat num7 = num5;\n\t\t\t\t\t\tnum5 = Mathf.Min(num5, weatherManager.CurWeatherMaxRangeCap);\n\t\t\t\t\t\tif (num6)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstringBuilder5.AppendLine();\n\t\t\t\t\t\t\tstringBuilder5.AppendLine(\" \" + \"Stat_Thing_Weapon_Range_Clamped\".Translate(num5.ToString(\"F0\").Named(\"CAP\"), num7.ToString(\"F0\").Named(\"ORIGINAL\")));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstringBuilder5.AppendLine();\n\t\t\t\tstringBuilder5.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + num5.ToString(\"F0\"));\n\t\t\t\tyield return new StatDrawEntry(statCat, \"Range\".Translate(), num5.ToString(\"F0\"), stringBuilder5.ToString(), 5390);\n\t\t\t}\n\t\t\tif (verb.ForcedMissRadius > 0f)\n\t\t\t{\n\t\t\t\tStatCategoryDef statCat = verbStatCategory ?? StatCategoryDefOf.Weapon_Ranged;\n\t\t\t\tyield return new StatDrawEntry(statCat, \"MissRadius\".Translate(), verb.ForcedMissRadius.ToString(\"0.#\"), \"Stat_Thing_Weapon_MissRadius_Desc\".Translate(), 3557);\n\t\t\t\tyield return new StatDrawEntry(statCat, \"DirectHitChance\".Translate(), (1f / (float)GenRadial.NumCellsInRadius(verb.ForcedMissRadius)).ToStringPercent(), \"Stat_Thing_Weapon_DirectHitChance_Desc\".Translate(), 3560);\n\t\t\t}\n\t\t}\n\t\tif (plant != null)\n\t\t{\n\t\t\tforeach (StatDrawEntry item3 in plant.SpecialDisplayStats())\n\t\t\t{\n\t\t\t\tyield return item3;\n\t\t\t}\n\t\t}\n\t\tif (ingestible != null)\n\t\t{\n\t\t\tforeach (StatDrawEntry item4 in ingestible.SpecialDisplayStats())\n\t\t\t{\n\t\t\t\tyield return item4;\n\t\t\t}\n\t\t}\n\t\tif (race != null)\n\t\t{\n\t\t\tforeach (StatDrawEntry item5 in race.SpecialDisplayStats(this, req))\n\t\t\t{\n\t\t\t\tyield return item5;\n\t\t\t}\n\t\t}\n\t\tif (building != null)\n\t\t{\n\t\t\tforeach (StatDrawEntry item6 in building.SpecialDisplayStats(this, req))\n\t\t\t{\n\t\t\t\tyield return item6;\n\t\t\t}\n\t\t}\n\t\tif (isTechHediff)\n\t\t{\n\t\t\tIEnumerable<RecipeDef> enumerable2 = DefDatabase<RecipeDef>.AllDefs.Where((RecipeDef x) => x.addsHediff != null && x.IsIngredient(this));\n\t\t\tforeach (StatDrawEntry medicalStatsFromRecipeDef in MedicalRecipesUtility.GetMedicalStatsFromRecipeDefs(enumerable2))\n\t\t\t{\n\t\t\t\tyield return medicalStatsFromRecipeDef;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < comps.Count; i++)\n\t\t{\n\t\t\tforeach (StatDrawEntry item7 in comps[i].SpecialDisplayStats(req))\n\t\t\t{\n\t\t\t\tyield return item7;\n\t\t\t}\n\t\t}\n\t\tif (building != null)\n\t\t{\n\t\t\tif (building.mineableThing != null)\n\t\t\t{\n\t\t\t\tDialog_InfoCard.Hyperlink[] hyperlinks = new Dialog_InfoCard.Hyperlink[1]\n\t\t\t\t{\n\t\t\t\t\tnew Dialog_InfoCard.Hyperlink(building.mineableThing)\n\t\t\t\t};\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.BasicsImportant, \"Stat_MineableThing_Name\".Translate(), building.mineableThing.LabelCap, \"Stat_MineableThing_Desc\".Translate(), 2200, null, hyperlinks);\n\t\t\t\tStringBuilder stringBuilder6 = new StringBuilder();\n\t\t\t\tstringBuilder6.AppendLine(\"Stat_MiningYield_Desc\".Translate());\n\t\t\t\tstringBuilder6.AppendLine();\n\t\t\t\tstringBuilder6.AppendLine(\"StatsReport_DifficultyMultiplier\".Translate(Find.Storyteller.difficultyDef.label) + \": \" + Find.Storyteller.difficulty.mineYieldFactor.ToStringByStyle(ToStringStyle.PercentZero, ToStringNumberSense.Factor));\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Basics, \"Stat_MiningYield_Name\".Translate(), Mathf.CeilToInt(building.EffectiveMineableYield).ToString(\"F0\"), stringBuilder6.ToString(), 2200, null, hyperlinks);\n\t\t\t}\n\t\t\tif (building.IsTurret)\n\t\t\t{\n\t\t\t\tThingDef turret = building.turretGunDef;\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.BasicsImportant, \"Stat_Weapon_Name\".Translate(), turret.LabelCap, \"Stat_Weapon_Desc\".Translate(), 5389, null, new Dialog_InfoCard.Hyperlink[1]\n\t\t\t\t{\n\t\t\t\t\tnew Dialog_InfoCard.Hyperlink(turret)\n\t\t\t\t});\n\t\t\t\tStatRequest request = StatRequest.For(turret, null);\n\t\t\t\tforeach (StatDrawEntry item8 in turret.SpecialDisplayStats(request))\n\t\t\t\t{\n\t\t\t\t\tif (item8.category == StatCategoryDefOf.Weapon_Ranged)\n\t\t\t\t\t{\n\t\t\t\t\t\tyield return item8;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (int i = 0; i < turret.statBases.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tStatModifier statModifier = turret.statBases[i];\n\t\t\t\t\tif (statModifier.stat.category == StatCategoryDefOf.Weapon_Ranged)\n\t\t\t\t\t{\n\t\t\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Weapon_Ranged, statModifier.stat, statModifier.value, request);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (ModsConfig.OdysseyActive && Fillage == FillCategory.Full)\n\t\t\t{\n\t\t\t\tbool b = building.isAirtight || (building.isStuffableAirtight && req.StuffDef.stuffProps.isAirtight);\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.Building, \"Stat_Airtight\".Translate(), b.ToStringYesNo(), \"Stat_Airtight_Desc\".Translate(), 6100);\n\t\t\t}\n\t\t}\n\t\tif (IsMeat)\n\t\t{\n\t\t\tList<ThingDef> list = new List<ThingDef>();\n\t\t\tbool flag4 = false;\n\t\t\tforeach (ThingDef allDef in DefDatabase<ThingDef>.AllDefs)\n\t\t\t{\n\t\t\t\tif (allDef.race != null && allDef.race.meatDef == this && !allDef.IsCorpse)\n\t\t\t\t{\n\t\t\t\t\tif (!Find.HiddenItemsManager.Hidden(allDef))\n\t\t\t\t\t{\n\t\t\t\t\t\tflag4 = true;\n\t\t\t\t\t}\n\t\t\t\t\tlist.Add(allDef);\n\t\t\t\t}\n\t\t\t}\n\t\t\tyield return new StatDrawEntry(valueString: (!flag4) ? string.Format(\"({0})\", \"NotYetDiscovered\".Translate()) : string.Join(\", \", (from x in list\n\t\t\t\twhere !Find.HiddenItemsManager.Hidden(x)\n\t\t\t\tselect x into p\n\t\t\t\tselect p.label).ToArray()).CapitalizeFirst(), category: StatCategoryDefOf.BasicsPawn, label: \"Stat_SourceSpecies_Name\".Translate(), reportText: \"Stat_SourceSpecies_Desc\".Translate(), displayPriorityWithinCategory: 1200, overrideReportTitle: null, hyperlinks: Dialog_InfoCard.DefsToHyperlinks(list));\n\t\t}\n\t\tif (IsLeather)\n\t\t{\n\t\t\tList<ThingDef> list2 = new List<ThingDef>();\n\t\t\tbool flag5 = false;\n\t\t\tforeach (ThingDef allDef2 in DefDatabase<ThingDef>.AllDefs)\n\t\t\t{\n\t\t\t\tif (allDef2.race != null && allDef2.race.leatherDef == this && !allDef2.IsCorpse)\n\t\t\t\t{\n\t\t\t\t\tif (!Find.HiddenItemsManager.Hidden(allDef2))\n\t\t\t\t\t{\n\t\t\t\t\t\tflag5 = true;\n\t\t\t\t\t}\n\t\t\t\t\tlist2.Add(allDef2);\n\t\t\t\t}\n\t\t\t}\n\t\t\tyield return new StatDrawEntry(valueString: (!flag5) ? string.Format(\"({0})\", \"NotYetDiscovered\".Translate()) : string.Join(\", \", (from x in list2\n\t\t\t\twhere !Find.HiddenItemsManager.Hidden(x)\n\t\t\t\tselect x into p\n\t\t\t\tselect p.label).ToArray()).CapitalizeFirst(), category: StatCategoryDefOf.BasicsPawn, label: \"Stat_SourceSpecies_Name\".Translate(), reportText: \"Stat_SourceSpecies_Desc\".Translate(), displayPriorityWithinCategory: 1200, overrideReportTitle: null, hyperlinks: Dialog_InfoCard.DefsToHyperlinks(list2));\n\t\t}\n\t\tif (!equippedStatOffsets.NullOrEmpty())\n\t\t{\n\t\t\tfor (int i = 0; i < equippedStatOffsets.Count; i++)\n\t\t\t{\n\t\t\t\tStatDef stat = equippedStatOffsets[i].stat;\n\t\t\t\tfloat num8 = equippedStatOffsets[i].value;\n\t\t\t\tStringBuilder stringBuilder7 = new StringBuilder(stat.description);\n\t\t\t\tif (req.HasThing && stat.Worker != null)\n\t\t\t\t{\n\t\t\t\t\tstringBuilder7.AppendLine();\n\t\t\t\t\tstringBuilder7.AppendLine();\n\t\t\t\t\tstringBuilder7.AppendLine(\"StatsReport_BaseValue\".Translate() + \": \" + stat.ValueToString(num8, ToStringNumberSense.Offset, stat.finalizeEquippedStatOffset));\n\t\t\t\t\tnum8 = StatWorker.StatOffsetFromGear(req.Thing, stat);\n\t\t\t\t\tif (!stat.parts.NullOrEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tstringBuilder7.AppendLine();\n\t\t\t\t\t\tfor (int k = 0; k < stat.parts.Count; k++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstring text = stat.parts[k].ExplanationPart(req);\n\t\t\t\t\t\t\tif (!text.NullOrEmpty())\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstringBuilder7.AppendLine(text);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tstringBuilder7.AppendLine();\n\t\t\t\t\tstringBuilder7.AppendLine(\"StatsReport_FinalValue\".Translate() + \": \" + stat.ValueToString(num8, ToStringNumberSense.Offset, !stat.formatString.NullOrEmpty()));\n\t\t\t\t}\n\t\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.EquippedStatOffsets, equippedStatOffsets[i].stat, num8, StatRequest.ForEmpty(), ToStringNumberSense.Offset, null, forceUnfinalizedMode: true).SetReportText(stringBuilder7.ToString());\n\t\t\t}\n\t\t}\n\t\tif (!IsDrug)\n\t\t{\n\t\t\tyield break;\n\t\t}\n\t\tforeach (StatDrawEntry item9 in DrugStatsUtility.SpecialDisplayStats(this))\n\t\t{\n\t\t\tyield return item9;\n\t\t}\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-22 16:02:42,858"
|
|
},
|
|
"Verb": {
|
|
"keywords": [
|
|
"Verb"
|
|
],
|
|
"question": "RimWorld Verb class",
|
|
"embedding": [
|
|
0.012549128383398056,
|
|
0.016916820779442787,
|
|
0.039827682077884674,
|
|
-0.02038256824016571,
|
|
-0.001290777581743896,
|
|
-0.029686110094189644,
|
|
0.012442599050700665,
|
|
0.04221393167972565,
|
|
-0.019828617572784424,
|
|
0.13590273261070251,
|
|
0.002286824630573392,
|
|
-0.06681505590677261,
|
|
-0.029203178361058235,
|
|
0.007662993390113115,
|
|
0.07187163084745407,
|
|
0.024743160232901573,
|
|
0.03704372048377991,
|
|
-0.07857586443424225,
|
|
0.0009427825571037829,
|
|
0.012641453184187412,
|
|
-0.019530335441231728,
|
|
0.045026302337646484,
|
|
0.0015970488311722875,
|
|
0.046048980206251144,
|
|
-0.03443020582199097,
|
|
-0.0618152879178524,
|
|
0.016604335978627205,
|
|
-0.025538576766848564,
|
|
0.005994037259370089,
|
|
2.4773564291535877e-05,
|
|
-0.060849424451589584,
|
|
0.04832160100340843,
|
|
0.0074996487237513065,
|
|
-0.023819906637072563,
|
|
-0.021731937304139137,
|
|
0.036731235682964325,
|
|
-0.03573696315288544,
|
|
0.006693578790873289,
|
|
-0.035708554089069366,
|
|
-0.023422198370099068,
|
|
-0.014601589180529118,
|
|
0.010944089852273464,
|
|
-0.004520385060459375,
|
|
-0.047128476202487946,
|
|
-0.03193032369017601,
|
|
0.03687327355146408,
|
|
0.01205909438431263,
|
|
-0.06715594232082367,
|
|
-0.02813788689672947,
|
|
0.02934521622955799,
|
|
-0.010603196918964386,
|
|
-0.008380289189517498,
|
|
-0.06130394712090492,
|
|
-0.017058860510587692,
|
|
-0.023152325302362442,
|
|
0.025879470631480217,
|
|
-0.004435161594301462,
|
|
0.05613373592495918,
|
|
-0.04545241594314575,
|
|
-0.0027413489297032356,
|
|
0.02025473304092884,
|
|
-0.01712987944483757,
|
|
-0.009374560788273811,
|
|
-0.030169041827321053,
|
|
-0.021490471437573433,
|
|
-0.012911327183246613,
|
|
0.024643732234835625,
|
|
0.06380382925271988,
|
|
-0.0018944424809888005,
|
|
-0.07289431244134903,
|
|
-0.0180815402418375,
|
|
0.03664601221680641,
|
|
0.027072595432400703,
|
|
0.008302167989313602,
|
|
-0.012904224917292595,
|
|
0.03650397062301636,
|
|
-0.03156102076172829,
|
|
0.022910859435796738,
|
|
-0.05780979245901108,
|
|
0.04354909807443619,
|
|
0.010837560519576073,
|
|
-0.043463874608278275,
|
|
0.006473418325185776,
|
|
-0.004420957528054714,
|
|
0.022356906905770302,
|
|
0.056957561522722244,
|
|
0.03397568315267563,
|
|
-0.019445111975073814,
|
|
0.009466886520385742,
|
|
0.10488145053386688,
|
|
-0.031191721558570862,
|
|
-0.0038101908285170794,
|
|
0.03576537221670151,
|
|
-0.041106030344963074,
|
|
0.0009223644738085568,
|
|
0.0022530904971063137,
|
|
-0.05863361805677414,
|
|
-0.0010990252485498786,
|
|
0.0008038508240133524,
|
|
-0.023166527971625328,
|
|
0.04315138980746269,
|
|
-0.09329108893871307,
|
|
-0.05834953859448433,
|
|
0.059258587658405304,
|
|
-0.014353021048009396,
|
|
0.014587384648621082,
|
|
-0.02749871276319027,
|
|
-0.011533550918102264,
|
|
-0.0008256005239672959,
|
|
0.0008424676489084959,
|
|
0.03582218661904335,
|
|
-0.03190191462635994,
|
|
-0.035935815423727036,
|
|
0.047355737537145615,
|
|
0.0354812927544117,
|
|
0.02514086849987507,
|
|
-0.013657030649483204,
|
|
0.019516130909323692,
|
|
-0.00015357945812866092,
|
|
-0.014999297447502613,
|
|
0.04070832207798958,
|
|
0.0036131120286881924,
|
|
-0.04150373861193657,
|
|
-0.036702826619148254,
|
|
0.019516130909323692,
|
|
-0.048122745007276535,
|
|
0.013323239982128143,
|
|
0.026206159964203835,
|
|
0.03133375942707062,
|
|
0.011668487451970577,
|
|
-0.00816723145544529,
|
|
0.00759197399020195,
|
|
0.034685876220464706,
|
|
-0.0006884442991577089,
|
|
-0.019544539973139763,
|
|
0.03923111781477928,
|
|
-0.035964224487543106,
|
|
0.003160363296046853,
|
|
-0.05144645273685455,
|
|
-0.017939500510692596,
|
|
-0.018394025042653084,
|
|
0.013884292915463448,
|
|
0.024601120501756668,
|
|
0.019800208508968353,
|
|
0.022981878370046616,
|
|
-0.010375934652984142,
|
|
-0.06363338232040405,
|
|
0.033890459686517715,
|
|
0.019090015441179276,
|
|
0.01840822957456112,
|
|
-0.0374414287507534,
|
|
-0.02038256824016571,
|
|
-0.012066196650266647,
|
|
0.0507078543305397,
|
|
-0.002214029897004366,
|
|
-0.028350945562124252,
|
|
0.015098724514245987,
|
|
0.008465512655675411,
|
|
0.03244166076183319,
|
|
-0.008018090389668941,
|
|
-0.022016014903783798,
|
|
0.037725504487752914,
|
|
-0.01531178317964077,
|
|
-0.01904740370810032,
|
|
0.005994037259370089,
|
|
-0.047071658074855804,
|
|
-0.010042143054306507,
|
|
0.03886181488633156,
|
|
-0.025368129834532738,
|
|
-0.05897451192140579,
|
|
0.0066509670577943325,
|
|
0.02552437223494053,
|
|
-0.006974105257540941,
|
|
-0.01649070531129837,
|
|
0.03269733116030693,
|
|
-0.008330576121807098,
|
|
-0.03374841809272766,
|
|
0.03403249755501747,
|
|
0.08760953694581985,
|
|
0.01057478878647089,
|
|
0.012016482651233673,
|
|
0.004499079193919897,
|
|
0.03326548635959625,
|
|
0.03579377755522728,
|
|
0.005397474393248558,
|
|
-0.03934474661946297,
|
|
0.013642827048897743,
|
|
0.023720480501651764,
|
|
0.006672272924333811,
|
|
0.034344982355833054,
|
|
-0.008046498522162437,
|
|
0.08613233268260956,
|
|
-0.030027002096176147,
|
|
0.014828851446509361,
|
|
-0.023677868768572807,
|
|
-0.02271200530230999,
|
|
-0.04352068901062012,
|
|
0.047867078334093094,
|
|
-0.023677868768572807,
|
|
-0.015468025580048561,
|
|
-0.039060670882463455,
|
|
-0.029629293829202652,
|
|
-0.04729892313480377,
|
|
-0.017499180510640144,
|
|
0.014942482113838196,
|
|
0.014196778647601604,
|
|
-0.041674185544252396,
|
|
-0.032043952494859695,
|
|
0.03482791408896446,
|
|
-0.005156008526682854,
|
|
0.03707212582230568,
|
|
-0.0037640281952917576,
|
|
-0.03894703835248947,
|
|
-0.015070317313075066,
|
|
0.03479950502514839,
|
|
0.017499180510640144,
|
|
0.018734918907284737,
|
|
0.006146728992462158,
|
|
0.015354394912719727,
|
|
-0.0023986801970750093,
|
|
-0.05758253112435341,
|
|
0.012108808383345604,
|
|
-0.00415463512763381,
|
|
0.04744096100330353,
|
|
0.02580844983458519,
|
|
0.01712987944483757,
|
|
0.003478175261989236,
|
|
-0.00925382785499096,
|
|
-0.01025520171970129,
|
|
0.02391933463513851,
|
|
-0.006189340725541115,
|
|
0.014139962382614613,
|
|
-0.05610532686114311,
|
|
-0.026745906099677086,
|
|
0.047923892736434937,
|
|
-0.03996971994638443,
|
|
-0.04434451460838318,
|
|
-0.012627249583601952,
|
|
-0.025155071169137955,
|
|
0.04724210500717163,
|
|
-0.02207282930612564,
|
|
0.03758346661925316,
|
|
-0.007670095190405846,
|
|
0.02988496422767639,
|
|
0.003057385329157114,
|
|
-0.007151653524488211,
|
|
-0.014530569314956665,
|
|
0.0024732507299631834,
|
|
0.029771333560347557,
|
|
-0.026262974366545677,
|
|
0.005855549592524767,
|
|
-0.03735620528459549,
|
|
-0.022129645571112633,
|
|
-0.002796388929709792,
|
|
-0.01007765345275402,
|
|
0.03965723514556885,
|
|
-0.024956217035651207,
|
|
-0.006498275324702263,
|
|
-0.020524606108665466,
|
|
0.00700251292437315,
|
|
-0.042696863412857056,
|
|
0.011846035718917847,
|
|
0.014615792781114578,
|
|
0.022527353838086128,
|
|
-0.030936051160097122,
|
|
0.021220596507191658,
|
|
-0.006427255924791098,
|
|
-0.022087033838033676,
|
|
-0.009367459453642368,
|
|
0.02734247036278248,
|
|
-0.014239390380680561,
|
|
0.06522421538829803,
|
|
0.04042424261569977,
|
|
-0.04121965914964676,
|
|
-0.026007303968071938,
|
|
-0.0199990626424551,
|
|
0.005535962525755167,
|
|
-0.02373468317091465,
|
|
-0.013053365983068943,
|
|
0.010276507586240768,
|
|
0.006398848257958889,
|
|
0.01738554984331131,
|
|
-0.018891161307692528,
|
|
-0.022229071706533432,
|
|
0.016675354912877083,
|
|
0.012641453184187412,
|
|
0.02734247036278248,
|
|
0.012627249583601952,
|
|
0.016888413578271866,
|
|
0.026518644765019417,
|
|
-0.005404576659202576,
|
|
-0.011512245051562786,
|
|
0.01585153117775917,
|
|
0.03820843622088432,
|
|
-0.024515897035598755,
|
|
0.0015659778146073222,
|
|
-0.004523935727775097,
|
|
0.05891769379377365,
|
|
-0.04437292367219925,
|
|
0.01311018131673336,
|
|
0.045821718871593475,
|
|
-0.002782185096293688,
|
|
-0.024544304236769676,
|
|
0.007662993390113115,
|
|
0.03326548635959625,
|
|
-0.014161268249154091,
|
|
-0.004570098593831062,
|
|
-0.055622395128011703,
|
|
0.006675823591649532,
|
|
-0.06198573485016823,
|
|
-0.016220830380916595,
|
|
-0.026589663699269295,
|
|
0.05445767566561699,
|
|
-0.020169509574770927,
|
|
-0.03553810715675354,
|
|
0.02714361436665058,
|
|
-0.04246960207819939,
|
|
-0.009324847720563412,
|
|
0.002819470129907131,
|
|
0.052298687398433685,
|
|
-0.06119031459093094,
|
|
-0.018550267443060875,
|
|
-0.047355737537145615,
|
|
0.0032011994626373053,
|
|
0.016348665580153465,
|
|
-0.00980777945369482,
|
|
0.021902384236454964,
|
|
-0.03863455355167389,
|
|
0.007020267657935619,
|
|
0.022513151168823242,
|
|
-0.029913371428847313,
|
|
0.0020844193641096354,
|
|
0.03210077062249184,
|
|
0.060565344989299774,
|
|
0.01651911251246929,
|
|
0.022527353838086128,
|
|
0.011185555718839169,
|
|
-0.0004367693327367306,
|
|
0.016448093578219414,
|
|
-0.027981644496321678,
|
|
-0.0365607887506485,
|
|
-0.05519627779722214,
|
|
-0.047128476202487946,
|
|
-0.04178781434893608,
|
|
0.07130347937345505,
|
|
-0.0137351518496871,
|
|
0.03008381836116314,
|
|
0.017683830112218857,
|
|
0.04067991301417351,
|
|
0.001658302964642644,
|
|
0.0023454157635569572,
|
|
0.018962180241942406,
|
|
-0.009516599588096142,
|
|
-0.003746273461729288,
|
|
-0.00037817831616848707,
|
|
0.020297344774007797,
|
|
0.015837326645851135,
|
|
0.03110649809241295,
|
|
-0.048179563134908676,
|
|
0.008728284388780594,
|
|
0.0031745671294629574,
|
|
0.015254967845976353,
|
|
-0.0016236810479313135,
|
|
0.04229915514588356,
|
|
0.007691401056945324,
|
|
-0.004935848526656628,
|
|
-0.04261163994669914,
|
|
0.04229915514588356,
|
|
-0.02816629409790039,
|
|
0.018763326108455658,
|
|
0.010915681719779968,
|
|
-0.06414472311735153,
|
|
0.021490471437573433,
|
|
0.02414659596979618,
|
|
-0.03471428155899048,
|
|
0.035964224487543106,
|
|
0.0068107605911791325,
|
|
-0.01958715170621872,
|
|
-0.01401922944933176,
|
|
0.02140524797141552,
|
|
0.09812040627002716,
|
|
-0.01843663677573204,
|
|
0.02178875170648098,
|
|
-0.020041674375534058,
|
|
0.015368598513305187,
|
|
0.024672139436006546,
|
|
0.08016669750213623,
|
|
0.002002747030928731,
|
|
0.05235550180077553,
|
|
-0.028748653829097748,
|
|
0.05246913433074951,
|
|
-0.013635724782943726,
|
|
-0.014253593981266022,
|
|
-0.006693578790873289,
|
|
0.029430439695715904,
|
|
0.02156149037182331,
|
|
-0.020553015172481537,
|
|
0.023677868768572807,
|
|
0.0014088473981246352,
|
|
-0.014203879982233047,
|
|
-0.023720480501651764,
|
|
0.007840542122721672,
|
|
-0.07522375136613846,
|
|
-0.022285887971520424,
|
|
-0.007691401056945324,
|
|
-0.0071694087237119675,
|
|
0.0045807515271008015,
|
|
-0.02391933463513851,
|
|
-0.020979130640625954,
|
|
0.009417172521352768,
|
|
-0.06817862391471863,
|
|
0.029742924496531487,
|
|
0.03110649809241295,
|
|
-0.003096445929259062,
|
|
-0.020425179973244667,
|
|
-0.012314763851463795,
|
|
0.032782554626464844,
|
|
-0.010070551186800003,
|
|
0.03210077062249184,
|
|
0.006462765391916037,
|
|
-0.014139962382614613,
|
|
0.06596282124519348,
|
|
-0.0071694087237119675,
|
|
-0.00925382785499096,
|
|
-0.02721463516354561,
|
|
0.004009045194834471,
|
|
0.00993561465293169,
|
|
0.024799974635243416,
|
|
0.03664601221680641,
|
|
0.03874818608164787,
|
|
-0.040339019149541855,
|
|
-0.04170259088277817,
|
|
-0.03039630316197872,
|
|
0.0572984516620636,
|
|
0.030424712225794792,
|
|
-0.03496995195746422,
|
|
-0.014644200913608074,
|
|
0.031191721558570862,
|
|
-0.01613560877740383,
|
|
0.0011585039319470525,
|
|
-0.02829412929713726,
|
|
-0.0273708775639534,
|
|
0.004477773327380419,
|
|
0.01943090744316578,
|
|
-0.049202241003513336,
|
|
-0.008373187854886055,
|
|
0.024459082633256912,
|
|
-0.025226091966032982,
|
|
0.013323239982128143,
|
|
-0.008259556256234646,
|
|
-0.008380289189517498,
|
|
0.004513282794505358,
|
|
0.03769709914922714,
|
|
0.017840074375271797,
|
|
-0.017442364245653152,
|
|
0.027967439964413643,
|
|
0.0044422633945941925,
|
|
0.0013431544648483396,
|
|
-0.023138120770454407,
|
|
0.000963200640399009,
|
|
0.03329389542341232,
|
|
-0.018649695441126823,
|
|
-0.03403249755501747,
|
|
0.04181622341275215,
|
|
0.019757596775889397,
|
|
0.008060702122747898,
|
|
-0.01030491478741169,
|
|
-0.006846270523965359,
|
|
0.019090015441179276,
|
|
-0.05786660686135292,
|
|
-0.005106294993311167,
|
|
0.05545194819569588,
|
|
-0.04096399247646332,
|
|
-0.011249473318457603,
|
|
0.017328733578324318,
|
|
-0.06619007885456085,
|
|
-0.004783156793564558,
|
|
0.066246896982193,
|
|
0.02660386823117733,
|
|
0.02350742183625698,
|
|
-0.017328733578324318,
|
|
0.03843570128083229,
|
|
-0.022016014903783798,
|
|
-0.01789688877761364,
|
|
-0.09783633053302765,
|
|
-0.08124619722366333,
|
|
-0.03582218661904335,
|
|
0.02785380929708481,
|
|
0.039287932217121124,
|
|
-0.04593534767627716,
|
|
0.005425882060080767,
|
|
-0.008351881988346577,
|
|
-0.022285887971520424,
|
|
0.03352115675806999,
|
|
-0.0053193531930446625,
|
|
0.017598608508706093,
|
|
0.012321866117417812,
|
|
0.022030217573046684,
|
|
-0.00882060918956995,
|
|
-0.03604944795370102,
|
|
-0.027981644496321678,
|
|
0.04261163994669914,
|
|
-0.04923065006732941,
|
|
-0.010780745185911655,
|
|
-0.014502162113785744,
|
|
-0.008351881988346577,
|
|
-0.005596328992396593,
|
|
0.00016467623936478049,
|
|
-0.06687186658382416,
|
|
-0.0027715321630239487,
|
|
0.008231149055063725,
|
|
-0.013301934115588665,
|
|
0.048747718334198,
|
|
-0.021547285839915276,
|
|
-0.02896171249449253,
|
|
0.0035332152619957924,
|
|
-0.012584637850522995,
|
|
-0.022087033838033676,
|
|
0.027868013828992844,
|
|
0.03556651622056961,
|
|
0.019018996506929398,
|
|
-0.01207329798489809,
|
|
0.04306616634130478,
|
|
0.00848681852221489,
|
|
-0.008089110255241394,
|
|
0.005571471992880106,
|
|
0.028308333829045296,
|
|
-0.0037817831616848707,
|
|
0.02389092743396759,
|
|
-0.02245633490383625,
|
|
-0.061417579650878906,
|
|
-0.006647415924817324,
|
|
0.056417811661958694,
|
|
0.00835898332297802,
|
|
0.042412787675857544,
|
|
0.0014399184146896005,
|
|
0.008792201988399029,
|
|
0.017627015709877014,
|
|
-0.002150112297385931,
|
|
0.09834766387939453,
|
|
0.028975915163755417,
|
|
0.03198713809251785,
|
|
0.01846504397690296,
|
|
0.02012689784169197,
|
|
0.05633258819580078,
|
|
0.06346293538808823,
|
|
0.03522562235593796,
|
|
-0.026390809565782547,
|
|
0.018337208777666092,
|
|
-0.0632924884557724,
|
|
0.017967907711863518,
|
|
0.04158896207809448,
|
|
-0.016916820779442787,
|
|
-0.03707212582230568,
|
|
-0.001284563448280096,
|
|
0.008344779722392559,
|
|
-0.03113490529358387,
|
|
0.051474861800670624,
|
|
-0.008905832655727863,
|
|
0.009417172521352768,
|
|
0.009495293721556664,
|
|
0.01532598678022623,
|
|
0.024956217035651207,
|
|
-0.020837092772126198,
|
|
-0.01825198531150818,
|
|
-0.0038243946619331837,
|
|
-0.0034692976623773575,
|
|
0.0071552046574652195,
|
|
-0.0011727078817784786,
|
|
-0.0008420237572863698,
|
|
0.029970187693834305,
|
|
-0.004864829126745462,
|
|
-0.04289571940898895,
|
|
-0.035964224487543106,
|
|
0.03889022395014763,
|
|
-0.015411210246384144,
|
|
0.025084052234888077,
|
|
0.040395837277173996,
|
|
0.006246156524866819,
|
|
-5.6815522839315236e-05,
|
|
-0.011377308517694473,
|
|
-2.5328403353341855e-05,
|
|
-0.004101370461285114,
|
|
0.015496433712542057,
|
|
-0.013479482382535934,
|
|
0.02232849970459938,
|
|
-0.006895984057337046,
|
|
-0.013117283582687378,
|
|
0.07590553909540176,
|
|
0.03218599408864975,
|
|
0.027427691966295242,
|
|
0.006171585991978645,
|
|
-0.053577035665512085,
|
|
-0.017016248777508736,
|
|
-0.043691135942935944,
|
|
0.03661760315299034,
|
|
0.007961275056004524,
|
|
0.004236307460814714,
|
|
0.0669286847114563,
|
|
0.03340752795338631,
|
|
-0.0023294363636523485,
|
|
-0.07278068363666534,
|
|
-0.03318026289343834,
|
|
-0.002489230129867792,
|
|
0.052497539669275284,
|
|
-0.011441225185990334,
|
|
0.0072794887237250805,
|
|
0.034373391419649124,
|
|
0.0034000538289546967,
|
|
0.0013396034482866526,
|
|
-0.017172491177916527,
|
|
0.07658731937408447,
|
|
0.039060670882463455,
|
|
-0.0006959901074878871,
|
|
0.039799273014068604,
|
|
-0.05610532686114311,
|
|
-0.016391277313232422,
|
|
0.028052663430571556,
|
|
0.0028301230631768703,
|
|
-0.046844396740198135,
|
|
-0.06198573485016823,
|
|
-0.007201367523521185,
|
|
0.012911327183246613,
|
|
-0.03766869008541107,
|
|
-0.046560321003198624,
|
|
-0.012897123582661152,
|
|
-0.025467557832598686,
|
|
-0.00048115645768120885,
|
|
-0.07249660789966583,
|
|
-0.043435465544462204,
|
|
0.014871462248265743,
|
|
0.017428161576390266,
|
|
-0.02153308317065239,
|
|
0.03195872902870178,
|
|
0.057752978056669235,
|
|
-0.012009380385279655,
|
|
-0.002327660797163844,
|
|
0.019146829843521118,
|
|
-0.06920130550861359,
|
|
0.01751338504254818,
|
|
-0.0027342468965798616,
|
|
0.02826572209596634,
|
|
-0.004392549861222506,
|
|
0.0017310979310423136,
|
|
-0.0030786909628659487,
|
|
-0.04468540847301483,
|
|
-0.005763224326074123,
|
|
-0.050736259669065475,
|
|
0.002107500797137618,
|
|
-0.005908814258873463,
|
|
-0.016888413578271866,
|
|
0.0029384277295321226,
|
|
0.025126663967967033,
|
|
0.003043181262910366,
|
|
-0.025155071169137955,
|
|
0.021320024505257607,
|
|
-0.0010928109986707568,
|
|
0.005500452592968941,
|
|
-0.007187163457274437,
|
|
-0.023649461567401886,
|
|
0.003432012628763914,
|
|
-0.06817862391471863,
|
|
-0.037782322615385056,
|
|
0.029458846896886826,
|
|
0.0071552046574652195,
|
|
0.05394633859395981,
|
|
0.013443972915410995,
|
|
0.003220729762688279,
|
|
-0.0035847043618559837,
|
|
0.005638940259814262,
|
|
-0.05604851245880127,
|
|
-0.047895483672618866,
|
|
0.012691167183220387,
|
|
-0.013294831849634647,
|
|
0.02535392716526985,
|
|
0.035140398889780045,
|
|
-0.010134468786418438,
|
|
-0.04391839727759361,
|
|
0.013408462516963482,
|
|
-0.003735620528459549,
|
|
-0.024189207702875137,
|
|
0.01569528691470623,
|
|
-0.042725272476673126,
|
|
-0.0329245962202549,
|
|
-0.003739171428605914,
|
|
0.016391277313232422,
|
|
-0.006274564191699028,
|
|
0.010106060653924942,
|
|
-0.044486552476882935,
|
|
0.007329202257096767,
|
|
0.0365607887506485,
|
|
-0.08130300790071487,
|
|
0.0169026181101799,
|
|
0.04360591247677803,
|
|
-0.014388530515134335,
|
|
-0.015567452646791935,
|
|
-0.05869043245911598,
|
|
-0.027285654097795486,
|
|
0.04437292367219925,
|
|
0.02634819783270359,
|
|
-0.015155539847910404,
|
|
-0.03170306235551834,
|
|
-0.08783679455518723,
|
|
0.001508274581283331,
|
|
0.0035900308284908533,
|
|
0.0005526196910068393,
|
|
0.006036648992449045,
|
|
-0.03795276954770088,
|
|
0.006370440125465393,
|
|
-0.04136170074343681,
|
|
-0.022356906905770302,
|
|
0.04121965914964676,
|
|
0.009516599588096142,
|
|
-0.010823356918990612,
|
|
-0.008706978522241116,
|
|
0.011142943985760212,
|
|
0.008550736121833324,
|
|
0.002150112297385931,
|
|
-0.05065103620290756,
|
|
0.007854745723307133,
|
|
-0.04099239781498909,
|
|
0.006544437725096941,
|
|
-0.03792436048388481,
|
|
-0.015397006645798683,
|
|
-0.053065694868564606,
|
|
0.014395632781088352,
|
|
-0.010148672387003899,
|
|
0.01071682758629322,
|
|
-0.030424712225794792,
|
|
0.03394727408885956,
|
|
-0.043435465544462204,
|
|
-0.04752618446946144,
|
|
0.011270779184997082,
|
|
-0.03158942982554436,
|
|
0.018323006108403206,
|
|
-0.00024768017465248704,
|
|
-0.0061822389252483845,
|
|
-0.007854745723307133,
|
|
0.03525403141975403,
|
|
-0.007183612324297428,
|
|
-0.019516130909323692,
|
|
-0.00853653158992529,
|
|
-0.01997065544128418,
|
|
-0.07141710817813873,
|
|
0.08942762762308121,
|
|
0.007847643457353115,
|
|
-0.002357844030484557,
|
|
-0.006615457125008106,
|
|
0.05295206606388092,
|
|
0.016419686377048492,
|
|
-0.010084754787385464,
|
|
0.013720948249101639,
|
|
0.03960041701793671,
|
|
-0.030481526628136635,
|
|
-0.04420247673988342,
|
|
0.05502583086490631,
|
|
-0.003835047595202923,
|
|
0.014218084514141083,
|
|
0.017627015709877014,
|
|
0.018351413309574127,
|
|
-0.06312204152345657,
|
|
0.007148102857172489,
|
|
0.027285654097795486,
|
|
0.007471241056919098,
|
|
-0.010645808652043343,
|
|
0.03377682715654373,
|
|
-0.007670095190405846,
|
|
-0.018422432243824005,
|
|
-0.052043016999959946,
|
|
0.0011425246484577656,
|
|
-0.022697800770401955,
|
|
0.004584302194416523,
|
|
-0.03718575835227966,
|
|
0.0485488623380661,
|
|
0.04158896207809448,
|
|
-0.014345918782055378,
|
|
-0.0021110516972839832,
|
|
-0.008103313855826855,
|
|
-0.024444878101348877,
|
|
-0.006317175924777985,
|
|
0.014956685714423656,
|
|
-0.01840822957456112,
|
|
0.023592645302414894,
|
|
-0.00686757592484355,
|
|
0.01815255917608738,
|
|
0.032299622893333435,
|
|
-0.04479903727769852,
|
|
0.022882450371980667,
|
|
-0.011100332252681255,
|
|
-0.019786005839705467,
|
|
0.002501658396795392,
|
|
0.031191721558570862,
|
|
0.040566280484199524,
|
|
0.006619008257985115,
|
|
0.015084520913660526,
|
|
-0.008877425454556942,
|
|
0.017271919175982475,
|
|
0.022953471168875694,
|
|
0.029458846896886826,
|
|
0.0350835844874382,
|
|
-0.005986935459077358,
|
|
-0.07721229642629623,
|
|
-0.07959854602813721,
|
|
-0.022513151168823242,
|
|
0.013266423717141151,
|
|
-0.0058839572593569756,
|
|
-0.004942950326949358,
|
|
0.012556229718029499,
|
|
-0.015752103179693222,
|
|
-0.0342029444873333,
|
|
0.00535131199285388,
|
|
0.004065860528498888,
|
|
0.014871462248265743,
|
|
0.0012321865651756525,
|
|
0.032526884227991104,
|
|
-0.033350709825754166,
|
|
-0.0290895476937294,
|
|
-0.008941343054175377,
|
|
0.011561958119273186,
|
|
0.03863455355167389,
|
|
-0.01728612184524536,
|
|
0.04335024207830429,
|
|
0.010354628786444664,
|
|
-0.0018713612807914615,
|
|
0.011412817984819412,
|
|
-0.017783258110284805,
|
|
-0.005862651392817497,
|
|
-0.040140166878700256,
|
|
-0.009736759588122368,
|
|
0.01651911251246929,
|
|
0.032328031957149506,
|
|
-0.003980637528002262,
|
|
-0.0021447858307510614,
|
|
0.030225858092308044,
|
|
0.0021998260635882616,
|
|
-0.009701250120997429,
|
|
0.016277646645903587,
|
|
0.008841915056109428,
|
|
-0.012421293184161186,
|
|
0.02504144050180912,
|
|
-0.0399981252849102,
|
|
0.015539045445621014,
|
|
0.02957247942686081,
|
|
-0.007975478656589985,
|
|
0.035396069288253784,
|
|
0.0026135139632970095,
|
|
-0.022981878370046616,
|
|
-0.010212589986622334,
|
|
-0.029657702893018723,
|
|
-0.026262974366545677,
|
|
-0.014701016247272491,
|
|
0.02424602396786213,
|
|
-0.024544304236769676,
|
|
-0.011618774384260178,
|
|
0.04417406767606735,
|
|
0.003739171428605914,
|
|
0.04357750341296196,
|
|
0.04667394980788231,
|
|
-0.010063448920845985,
|
|
0.0485488623380661,
|
|
-0.02578004263341427,
|
|
-0.04028220474720001,
|
|
-0.022498946636915207,
|
|
0.033890459686517715,
|
|
-0.035651739686727524,
|
|
0.012499414384365082,
|
|
0.013337443582713604,
|
|
0.00909048318862915,
|
|
0.01643388904631138,
|
|
-0.014558977447450161,
|
|
0.035708554089069366,
|
|
0.11169931292533875,
|
|
0.025510169565677643,
|
|
0.05445767566561699,
|
|
0.035197217017412186,
|
|
-0.0014905197313055396,
|
|
-0.014828851446509361,
|
|
0.02345060557126999,
|
|
-0.022626781836152077,
|
|
0.0436343215405941,
|
|
0.03496995195746422,
|
|
-0.002812368329614401,
|
|
-0.002892265096306801,
|
|
-0.02194499410688877,
|
|
-0.015240763314068317,
|
|
-0.0029153465293347836,
|
|
-0.005880406592041254,
|
|
-0.000893068965524435,
|
|
-0.04070832207798958,
|
|
-0.0009951593820005655,
|
|
0.06698550283908844,
|
|
0.013131487183272839,
|
|
0.037270981818437576,
|
|
0.07971217483282089,
|
|
0.03996971994638443,
|
|
0.03471428155899048,
|
|
-0.050736259669065475,
|
|
0.019501928240060806,
|
|
0.034629061818122864,
|
|
0.017399752512574196,
|
|
0.01409735158085823,
|
|
-0.03110649809241295,
|
|
0.049486320465803146,
|
|
0.006409501191228628,
|
|
-0.0463898740708828,
|
|
-0.009147298522293568,
|
|
0.022825635969638824,
|
|
-0.018095742911100388,
|
|
-0.05471334606409073,
|
|
0.00032646729960106313,
|
|
-0.007854745723307133,
|
|
0.011696895584464073,
|
|
0.020055878907442093,
|
|
-0.03693008795380592,
|
|
-0.03917430341243744,
|
|
0.007662993390113115,
|
|
-0.02176034450531006,
|
|
0.11084707826375961,
|
|
0.044770631939172745,
|
|
0.0018766876310110092,
|
|
-0.004758299794048071,
|
|
-0.04252641648054123,
|
|
0.01735714077949524,
|
|
-0.02670329436659813,
|
|
-0.005315802060067654,
|
|
-0.00786184798926115,
|
|
-0.02386251837015152,
|
|
0.037526652216911316,
|
|
-0.029203178361058235,
|
|
1.5299687220249325e-05,
|
|
0.031191721558570862,
|
|
0.03158942982554436,
|
|
0.031248535960912704,
|
|
0.006001139525324106,
|
|
-0.02281143143773079,
|
|
-0.0059336707927286625,
|
|
-0.020695053040981293,
|
|
-0.0211779847741127,
|
|
-0.04312298074364662,
|
|
-0.015539045445621014,
|
|
-0.010787847451865673,
|
|
-0.04286731034517288,
|
|
0.0181809663772583,
|
|
0.016575928777456284,
|
|
0.05323614180088043,
|
|
-0.012534924782812595,
|
|
0.02519768290221691,
|
|
-0.006249707192182541,
|
|
0.0340040884912014,
|
|
0.019828617572784424,
|
|
-0.016405481845140457,
|
|
0.018479248508810997,
|
|
-0.017811665311455727,
|
|
-0.006207095459103584,
|
|
0.0019406051142141223,
|
|
-0.0425548255443573,
|
|
0.014118657447397709,
|
|
-0.04124806821346283,
|
|
0.005024622660130262,
|
|
-0.028109479695558548,
|
|
0.05840635672211647,
|
|
-0.01387719064950943,
|
|
-0.043463874608278275,
|
|
-0.028095275163650513,
|
|
-0.011952565051615238,
|
|
-0.007101939991116524,
|
|
-0.017016248777508736,
|
|
0.011391512118279934,
|
|
-0.004847073927521706,
|
|
-0.0012277478817850351,
|
|
-0.010319119319319725,
|
|
0.017328733578324318,
|
|
-0.008870323188602924,
|
|
-0.03343593329191208,
|
|
-0.0014834176981821656,
|
|
-0.00727238692343235,
|
|
-0.037555061280727386,
|
|
-0.05209983140230179,
|
|
-0.11493779718875885,
|
|
0.005848447792232037,
|
|
-0.0027999398298561573,
|
|
0.019146829843521118,
|
|
-0.016959432512521744,
|
|
-0.0026774313300848007,
|
|
-0.010709725320339203,
|
|
0.010773642919957638,
|
|
0.034089311957359314,
|
|
0.004612710326910019,
|
|
0.00848681852221489,
|
|
-0.00311775179579854,
|
|
-0.008302167989313602,
|
|
-0.028379352763295174,
|
|
0.001398194464854896,
|
|
0.03377682715654373,
|
|
0.019899636507034302,
|
|
-0.016249239444732666,
|
|
-0.009381663054227829,
|
|
0.0016414358979091048,
|
|
0.012961041182279587,
|
|
0.03366319462656975,
|
|
-0.041901446878910065,
|
|
0.012577535584568977,
|
|
-0.01738554984331131,
|
|
-0.017527587711811066,
|
|
-0.009722555987536907,
|
|
-0.00877089612185955,
|
|
-0.06744002550840378,
|
|
0.03684486448764801,
|
|
-0.015482229180634022,
|
|
-0.012016482651233673,
|
|
0.05886087939143181,
|
|
-0.03786754608154297,
|
|
0.053804297000169754,
|
|
-0.021220596507191658,
|
|
0.02239951863884926,
|
|
-0.0018323005642741919,
|
|
-0.006082811858505011,
|
|
0.012179827317595482,
|
|
0.04752618446946144,
|
|
-0.02176034450531006,
|
|
-0.0007803256739862263,
|
|
-0.0024732507299631834,
|
|
-0.004612710326910019,
|
|
-0.0033183814957737923
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\Verb.txt\n\npublic abstract class Verb : ITargetingSource, IExposable, ILoadReferenceable\n{\n\tpublic VerbProperties verbProps;\n\n\tpublic VerbTracker verbTracker;\n\n\tpublic ManeuverDef maneuver;\n\n\tpublic Tool tool;\n\n\tpublic Thing caster;\n\n\tpublic MechanitorControlGroup controlGroup;\n\n\tpublic string loadID;\n\n\tpublic VerbState state;\n\n\tprotected LocalTargetInfo currentTarget;\n\n\tprotected LocalTargetInfo currentDestination;\n\n\tprotected int burstShotsLeft;\n\n\tprotected int ticksToNextBurstShot;\n\n\tprotected int lastShotTick = -999999;\n\n\tprotected bool surpriseAttack;\n\n\tprotected bool canHitNonTargetPawnsNow = true;\n\n\tpublic bool preventFriendlyFire;\n\n\tprotected bool nonInterruptingSelfCast;\n\n\tpublic Action castCompleteCallback;\n\n\tprivate Texture2D commandIconCached;\n\n\tprivate readonly List<Tuple<Effecter, TargetInfo, TargetInfo>> maintainedEffecters = new List<Tuple<Effecter, TargetInfo, TargetInfo>>();\n\n\tprivate int? cachedTicksBetweenBurstShots;\n\n\tprivate int? cachedBurstShotCount;\n\n\tprivate static readonly List<IntVec3> tempLeanShootSources = new List<IntVec3>();\n\n\tprivate static readonly List<IntVec3> tempDestList = new List<IntVec3>();\n\n\tpublic IVerbOwner DirectOwner => verbTracker.directOwner;\n\n\tpublic ImplementOwnerTypeDef ImplementOwnerType => verbTracker.directOwner.ImplementOwnerTypeDef;\n\n\tpublic CompEquippable EquipmentCompSource => DirectOwner as CompEquippable;\n\n\tpublic CompApparelReloadable ReloadableCompSource => DirectOwner as CompApparelReloadable;\n\n\tpublic CompApparelVerbOwner_Charged VerbOwner_ChargedCompSource => DirectOwner as CompApparelVerbOwner_Charged;\n\n\tpublic ThingWithComps EquipmentSource\n\t{\n\t\tget\n\t\t{\n\t\t\tif (EquipmentCompSource != null)\n\t\t\t{\n\t\t\t\treturn EquipmentCompSource.parent;\n\t\t\t}\n\t\t\tif (ReloadableCompSource != null)\n\t\t\t{\n\t\t\t\treturn ReloadableCompSource.parent;\n\t\t\t}\n\t\t\tif (VerbOwner_ChargedCompSource != null)\n\t\t\t{\n\t\t\t\treturn VerbOwner_ChargedCompSource.parent;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic HediffComp_VerbGiver HediffCompSource => DirectOwner as HediffComp_VerbGiver;\n\n\tpublic Hediff HediffSource\n\t{\n\t\tget\n\t\t{\n\t\t\tif (HediffCompSource == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn HediffCompSource.parent;\n\t\t}\n\t}\n\n\tpublic Pawn_MeleeVerbs_TerrainSource TerrainSource => DirectOwner as Pawn_MeleeVerbs_TerrainSource;\n\n\tpublic TerrainDef TerrainDefSource\n\t{\n\t\tget\n\t\t{\n\t\t\tif (TerrainSource == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn TerrainSource.def;\n\t\t}\n\t}\n\n\tpublic virtual Thing Caster => caster;\n\n\tpublic virtual Pawn CasterPawn => caster as Pawn;\n\n\tpublic virtual Verb GetVerb => this;\n\n\tpublic virtual bool CasterIsPawn => caster is Pawn;\n\n\tpublic virtual bool Targetable => verbProps.targetable;\n\n\tpublic virtual bool MultiSelect => false;\n\n\tpublic virtual bool HidePawnTooltips => false;\n\n\tpublic LocalTargetInfo CurrentTarget => currentTarget;\n\n\tpublic LocalTargetInfo CurrentDestination => currentDestination;\n\n\tpublic int LastShotTick => lastShotTick;\n\n\tpublic virtual TargetingParameters targetParams => verbProps.targetParams;\n\n\tpublic virtual ITargetingSource DestinationSelector => null;\n\n\tprotected virtual int ShotsPerBurst => 1;\n\n\tpublic virtual Texture2D UIIcon\n\t{\n\t\tget\n\t\t{\n\t\t\tif (verbProps.commandIcon != null)\n\t\t\t{\n\t\t\t\tif (commandIconCached == null)\n\t\t\t\t{\n\t\t\t\t\tcommandIconCached = ContentFinder<Texture2D>.Get(verbProps.commandIcon);\n\t\t\t\t}\n\t\t\t\treturn commandIconCached;\n\t\t\t}\n\t\t\tif (EquipmentSource != null)\n\t\t\t{\n\t\t\t\treturn EquipmentSource.def.uiIcon;\n\t\t\t}\n\t\t\treturn BaseContent.BadTex;\n\t\t}\n\t}\n\n\tpublic bool Bursting => burstShotsLeft > 0;\n\n\tpublic virtual bool IsMeleeAttack => verbProps.IsMeleeAttack;\n\n\tpublic bool BuggedAfterLoading => verbProps == null;\n\n\tpublic bool WarmingUp => WarmupStance != null;\n\n\tpublic Stance_Warmup WarmupStance\n\t{\n\t\tget\n\t\t{\n\t\t\tif (CasterPawn == null || !CasterPawn.Spawned)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tif (!(CasterPawn.stances.curStance is Stance_Warmup stance_Warmup) || stance_Warmup.verb != this)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn stance_Warmup;\n\t\t}\n\t}\n\n\tpublic int WarmupTicksLeft\n\t{\n\t\tget\n\t\t{\n\t\t\tif (WarmupStance == null)\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\treturn WarmupStance.ticksLeft;\n\t\t}\n\t}\n\n\tpublic float WarmupProgress => 1f - WarmupTicksLeft.TicksToSeconds() / verbProps.warmupTime;\n\n\tpublic virtual string ReportLabel => verbProps.label;\n\n\tpublic virtual float EffectiveRange => verbProps.AdjustedRange(this, Caster);\n\n\tpublic virtual float? AimAngleOverride => null;\n\n\tpublic bool NonInterruptingSelfCast\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!verbProps.nonInterruptingSelfCast)\n\t\t\t{\n\t\t\t\treturn nonInterruptingSelfCast;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic int TicksBetweenBurstShots\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!cachedTicksBetweenBurstShots.HasValue)\n\t\t\t{\n\t\t\t\tfloat num = verbProps.ticksBetweenBurstShots;\n\t\t\t\tif (EquipmentSource != null && EquipmentSource.TryGetComp<CompUniqueWeapon>(out var comp))\n\t\t\t\t{\n\t\t\t\t\tforeach (WeaponTraitDef item in comp.TraitsListForReading)\n\t\t\t\t\t{\n\t\t\t\t\t\tnum /= item.burstShotSpeedMultiplier;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcachedTicksBetweenBurstShots = Mathf.RoundToInt(num);\n\t\t\t}\n\t\t\treturn cachedTicksBetweenBurstShots.Value;\n\t\t}\n\t}\n\n\tpublic int BurstShotCount\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!cachedBurstShotCount.HasValue)\n\t\t\t{\n\t\t\t\tfloat num = verbProps.burstShotCount;\n\t\t\t\tif (EquipmentSource != null && EquipmentSource.TryGetComp<CompUniqueWeapon>(out var comp))\n\t\t\t\t{\n\t\t\t\t\tforeach (WeaponTraitDef item in comp.TraitsListForReading)\n\t\t\t\t\t{\n\t\t\t\t\t\tnum *= item.burstShotCountMultiplier;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcachedBurstShotCount = Mathf.CeilToInt(num);\n\t\t\t}\n\t\t\treturn cachedBurstShotCount.Value;\n\t\t}\n\t}\n\n\tpublic bool IsStillUsableBy(Pawn pawn)\n\t{\n\t\tif (!Available())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (!DirectOwner.VerbsStillUsableBy(pawn))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (verbProps.GetDamageFactorFor(this, pawn) == 0f)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (pawn.IsSubhuman && verbProps.category == VerbCategory.Ignite)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\tpublic virtual bool IsUsableOn(Thing target)\n\t{\n\t\treturn true;\n\t}\n\n\tpublic virtual void ExposeData()\n\t{\n\t\tScribe_Values.Look(ref loadID, \"loadID\");\n\t\tScribe_Values.Look(ref state, \"state\", VerbState.Idle);\n\t\tScribe_TargetInfo.Look(ref currentTarget, \"currentTarget\");\n\t\tScribe_TargetInfo.Look(ref currentDestination, \"currentDestination\");\n\t\tScribe_Values.Look(ref burstShotsLeft, \"burstShotsLeft\", 0);\n\t\tScribe_Values.Look(ref ticksToNextBurstShot, \"ticksToNextBurstShot\", 0);\n\t\tScribe_Values.Look(ref lastShotTick, \"lastShotTick\", 0);\n\t\tScribe_Values.Look(ref surpriseAttack, \"surpriseAttack\", defaultValue: false);\n\t\tScribe_Values.Look(ref canHitNonTargetPawnsNow, \"canHitNonTargetPawnsNow\", defaultValue: false);\n\t\tScribe_Values.Look(ref preventFriendlyFire, \"preventFriendlyFire\", defaultValue: false);\n\t\tScribe_Values.Look(ref nonInterruptingSelfCast, \"nonInterruptingSelfCast\", defaultValue: false);\n\t}\n\n\tpublic string GetUniqueLoadID()\n\t{\n\t\treturn \"Verb_\" + loadID;\n\t}\n\n\tpublic static string CalculateUniqueLoadID(IVerbOwner owner, Tool tool, ManeuverDef maneuver)\n\t{\n\t\treturn string.Format(\"{0}_{1}_{2}\", owner.UniqueVerbOwnerID(), (tool != null) ? tool.id : \"NT\", (maneuver != null) ? maneuver.defName : \"NM\");\n\t}\n\n\tpublic static string CalculateUniqueLoadID(IVerbOwner owner, int index)\n\t{\n\t\treturn $\"{owner.UniqueVerbOwnerID()}_{index}\";\n\t}\n\n\tpublic bool TryStartCastOn(LocalTargetInfo castTarg, bool surpriseAttack = false, bool canHitNonTargetPawns = true, bool preventFriendlyFire = false, bool nonInterruptingSelfCast = false)\n\t{\n\t\treturn TryStartCastOn(castTarg, LocalTargetInfo.Invalid, surpriseAttack, canHitNonTargetPawns, preventFriendlyFire, nonInterruptingSelfCast);\n\t}\n\n\tpublic virtual bool TryStartCastOn(LocalTargetInfo castTarg, LocalTargetInfo destTarg, bool surpriseAttack = false, bool canHitNonTargetPawns = true, bool preventFriendlyFire = false, bool nonInterruptingSelfCast = false)\n\t{\n\t\tif (caster == null)\n\t\t{\n\t\t\tLog.Error(\"Verb \" + GetUniqueLoadID() + \" needs caster to work (possibly lost during saving/loading).\");\n\t\t\treturn false;\n\t\t}\n\t\tif (!caster.Spawned)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (state == VerbState.Bursting || !CanHitTarget(castTarg))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (CausesTimeSlowdown(castTarg))\n\t\t{\n\t\t\tFind.TickManager.slower.SignalForceNormalSpeed();\n\t\t}\n\t\tthis.surpriseAttack = surpriseAttack;\n\t\tcanHitNonTargetPawnsNow = canHitNonTargetPawns;\n\t\tthis.preventFriendlyFire = preventFriendlyFire;\n\t\tthis.nonInterruptingSelfCast = nonInterruptingSelfCast;\n\t\tcurrentTarget = castTarg;\n\t\tcurrentDestination = destTarg;\n\t\tif (CasterIsPawn && verbProps.warmupTime > 0f)\n\t\t{\n\t\t\tif (!TryFindShootLineFromTo(caster.Position, castTarg, out var resultingLine))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tCasterPawn.Drawer.Notify_WarmingCastAlongLine(resultingLine, caster.Position);\n\t\t\tfloat statValue = CasterPawn.GetStatValue(StatDefOf.AimingDelayFactor);\n\t\t\tint ticks = (verbProps.warmupTime * statValue).SecondsToTicks();\n\t\t\tCasterPawn.stances.SetStance(new Stance_Warmup(ticks, castTarg, this));\n\t\t\tif (verbProps.stunTargetOnCastStart && castTarg.Pawn != null)\n\t\t\t{\n\t\t\t\tcastTarg.Pawn.stances.stunner.StunFor(ticks, null, addBattleLog: false);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (verbTracker.directOwner is Ability ability)\n\t\t\t{\n\t\t\t\tability.lastCastTick = Find.TickManager.TicksGame;\n\t\t\t}\n\t\t\tWarmupComplete();\n\t\t}\n\t\treturn true;\n\t}\n\n\tpublic virtual void WarmupComplete()\n\t{\n\t\tburstShotsLeft = ShotsPerBurst;\n\t\tstate = VerbState.Bursting;\n\t\tTryCastNextBurstShot();\n\t}\n\n\tpublic void VerbTick()\n\t{\n\t\tif (state == VerbState.Bursting)\n\t\t{\n\t\t\tif (!caster.Spawned || (caster is Pawn pawn && pawn.stances.stunner.Stunned))\n\t\t\t{\n\t\t\t\tReset();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tticksToNextBurstShot--;\n\t\t\t\tif (ticksToNextBurstShot <= 0)\n\t\t\t\t{\n\t\t\t\t\tTryCastNextBurstShot();\n\t\t\t\t}\n\t\t\t\tBurstingTick();\n\t\t\t}\n\t\t}\n\t\tfor (int num = maintainedEffecters.Count - 1; num >= 0; num--)\n\t\t{\n\t\t\tEffecter item = maintainedEffecters[num].Item1;\n\t\t\tif (item.ticksLeft > 0)\n\t\t\t{\n\t\t\t\tTargetInfo item2 = maintainedEffecters[num].Item2;\n\t\t\t\tTargetInfo item3 = maintainedEffecters[num].Item3;\n\t\t\t\titem.EffectTick(item2, item3);\n\t\t\t\titem.ticksLeft--;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\titem.Cleanup();\n\t\t\t\tmaintainedEffecters.RemoveAt(num);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic virtual void BurstingTick()\n\t{\n\t}\n\n\tpublic void AddEffecterToMaintain(Effecter eff, IntVec3 pos, int ticks, Map map = null)\n\t{\n\t\teff.ticksLeft = ticks;\n\t\tTargetInfo targetInfo = new TargetInfo(pos, map ?? caster.Map);\n\t\tmaintainedEffecters.Add(new Tuple<Effecter, TargetInfo, TargetInfo>(eff, targetInfo, targetInfo));\n\t}\n\n\tpublic void AddEffecterToMaintain(Effecter eff, IntVec3 posA, IntVec3 posB, int ticks, Map map = null)\n\t{\n\t\teff.ticksLeft = ticks;\n\t\tTargetInfo item = new TargetInfo(posA, map ?? caster.Map);\n\t\tTargetInfo item2 = new TargetInfo(posB, map ?? caster.Map);\n\t\tmaintainedEffecters.Add(new Tuple<Effecter, TargetInfo, TargetInfo>(eff, item, item2));\n\t}\n\n\tpublic virtual bool Available()\n\t{\n\t\tif (verbProps.consumeFuelPerShot > 0f)\n\t\t{\n\t\t\tCompRefuelable compRefuelable = caster.TryGetComp<CompRefuelable>();\n\t\t\tif (compRefuelable != null && compRefuelable.Fuel < verbProps.consumeFuelPerShot)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tCompApparelVerbOwner compApparelVerbOwner = EquipmentSource?.GetComp<CompApparelVerbOwner>();\n\t\tif (compApparelVerbOwner != null && !compApparelVerbOwner.CanBeUsed(out var reason))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (CasterIsPawn && EquipmentSource != null && EquipmentUtility.RolePreventsFromUsing(CasterPawn, EquipmentSource, out reason))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\tprotected void TryCastNextBurstShot()\n\t{\n\t\tLocalTargetInfo localTargetInfo = currentTarget;\n\t\tif (Available() && TryCastShot())\n\t\t{\n\t\t\tif (verbProps.muzzleFlashScale > 0.01f)\n\t\t\t{\n\t\t\t\tFleckMaker.Static(caster.Position, caster.Map, FleckDefOf.ShotFlash, verbProps.muzzleFlashScale);\n\t\t\t}\n\t\t\tif (verbProps.soundCast != null)\n\t\t\t{\n\t\t\t\tverbProps.soundCast.PlayOneShot(new TargetInfo(caster.Position, caster.MapHeld));\n\t\t\t}\n\t\t\tif (verbProps.soundCastTail != null)\n\t\t\t{\n\t\t\t\tverbProps.soundCastTail.PlayOneShotOnCamera(caster.Map);\n\t\t\t}\n\t\t\tif (CasterIsPawn)\n\t\t\t{\n\t\t\t\tCasterPawn.Notify_UsedVerb(CasterPawn, this);\n\t\t\t\tif (CasterPawn.thinker != null && localTargetInfo == CasterPawn.mindState.enemyTarget)\n\t\t\t\t{\n\t\t\t\t\tCasterPawn.mindState.Notify_EngagedTarget();\n\t\t\t\t}\n\t\t\t\tif (CasterPawn.mindState != null)\n\t\t\t\t{\n\t\t\t\t\tCasterPawn.mindState.Notify_AttackedTarget(localTargetInfo);\n\t\t\t\t}\n\t\t\t\tif (CasterPawn.MentalState != null)\n\t\t\t\t{\n\t\t\t\t\tCasterPawn.MentalState.Notify_AttackedTarget(localTargetInfo);\n\t\t\t\t}\n\t\t\t\tif (TerrainDefSource != null)\n\t\t\t\t{\n\t\t\t\t\tCasterPawn.meleeVerbs.Notify_UsedTerrainBasedVerb();\n\t\t\t\t}\n\t\t\t\tif (CasterPawn.health != null)\n\t\t\t\t{\n\t\t\t\t\tCasterPawn.health.Notify_UsedVerb(this, localTargetInfo);\n\t\t\t\t}\n\t\t\t\tif (EquipmentSource != null)\n\t\t\t\t{\n\t\t\t\t\tEquipmentSource.Notify_UsedWeapon(CasterPawn);\n\t\t\t\t}\n\t\t\t\tif (!CasterPawn.Spawned)\n\t\t\t\t{\n\t\t\t\t\tReset();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (verbProps.consumeFuelPerShot > 0f)\n\t\t\t{\n\t\t\t\tcaster.TryGetComp<CompRefuelable>()?.ConsumeFuel(verbProps.consumeFuelPerShot);\n\t\t\t}\n\t\t\tburstShotsLeft--;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tburstShotsLeft = 0;\n\t\t}\n\t\tif (burstShotsLeft > 0)\n\t\t{\n\t\t\tticksToNextBurstShot = TicksBetweenBurstShots;\n\t\t\tif (CasterIsPawn && !NonInterruptingSelfCast)\n\t\t\t{\n\t\t\t\tCasterPawn.stances.SetStance(new Stance_Cooldown(TicksBetweenBurstShots + 1, currentTarget, this));\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tstate = VerbState.Idle;\n\t\tif (CasterIsPawn && !NonInterruptingSelfCast)\n\t\t{\n\t\t\tCasterPawn.stances.SetStance(new Stance_Cooldown(verbProps.AdjustedCooldownTicks(this, CasterPawn), currentTarget, this));\n\t\t}\n\t\tif (castCompleteCallback != null)\n\t\t{\n\t\t\tcastCompleteCallback();\n\t\t}\n\t\tif (verbProps.consumeFuelPerBurst > 0f)\n\t\t{\n\t\t\tcaster.TryGetComp<CompRefuelable>()?.ConsumeFuel(verbProps.consumeFuelPerBurst);\n\t\t}\n\t}\n\n\tpublic virtual void OrderForceTarget(LocalTargetInfo target)\n\t{\n\t\tif (verbProps.IsMeleeAttack)\n\t\t{\n\t\t\tJob job = JobMaker.MakeJob(JobDefOf.AttackMelee, target);\n\t\t\tjob.playerForced = true;\n\t\t\tif (target.Thing is Pawn pawn)\n\t\t\t{\n\t\t\t\tjob.killIncappedTarget = pawn.Downed;\n\t\t\t}\n\t\t\tCasterPawn.jobs.TryTakeOrderedJob(job, JobTag.Misc);\n\t\t\treturn;\n\t\t}\n\t\tfloat num = verbProps.EffectiveMinRange(target, CasterPawn);\n\t\tif ((float)CasterPawn.Position.DistanceToSquared(target.Cell) < num * num && CasterPawn.Position.AdjacentTo8WayOrInside(target.Cell))\n\t\t{\n\t\t\tMessages.Message(\"MessageCantShootInMelee\".Translate(), CasterPawn, MessageTypeDefOf.RejectInput, historical: false);\n\t\t\treturn;\n\t\t}\n\t\tJob job2 = JobMaker.MakeJob(verbProps.ai_IsWeapon ? JobDefOf.AttackStatic : JobDefOf.UseVerbOnThing);\n\t\tjob2.verbToUse = this;\n\t\tjob2.targetA = target;\n\t\tjob2.endIfCantShootInMelee = true;\n\t\tCasterPawn.jobs.TryTakeOrderedJob(job2, JobTag.Misc);\n\t}\n\n\tprotected abstract bool TryCastShot();\n\n\tpublic void Notify_PickedUp()\n\t{\n\t\tReset();\n\t}\n\n\tpublic virtual void Reset()\n\t{\n\t\tstate = VerbState.Idle;\n\t\tcurrentTarget = null;\n\t\tcurrentDestination = null;\n\t\tburstShotsLeft = 0;\n\t\tticksToNextBurstShot = 0;\n\t\tcastCompleteCallback = null;\n\t\tsurpriseAttack = false;\n\t\tpreventFriendlyFire = false;\n\t}\n\n\tpublic virtual void Notify_EquipmentLost()\n\t{\n\t\tif (!CasterIsPawn)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tPawn casterPawn = CasterPawn;\n\t\tif (casterPawn.Spawned)\n\t\t{\n\t\t\tif (casterPawn.stances.curStance is Stance_Warmup stance_Warmup && stance_Warmup.verb == this)\n\t\t\t{\n\t\t\t\tcasterPawn.stances.CancelBusyStanceSoft();\n\t\t\t}\n\t\t\tif (casterPawn.CurJob != null && casterPawn.CurJob.def == JobDefOf.AttackStatic)\n\t\t\t{\n\t\t\t\tcasterPawn.jobs.EndCurrentJob(JobCondition.Incompletable);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic virtual float HighlightFieldRadiusAroundTarget(out bool needLOSToCenter)\n\t{\n\t\tneedLOSToCenter = false;\n\t\treturn 0f;\n\t}\n\n\tprivate bool CausesTimeSlowdown(LocalTargetInfo castTarg)\n\t{\n\t\tif (!verbProps.CausesTimeSlowdown)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (!castTarg.HasThing)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tThing thing = castTarg.Thing;\n\t\tif (thing.def.category != ThingCategory.Pawn && (thing.def.building == null || !thing.def.building.IsTurret))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tPawn pawn = thing as Pawn;\n\t\tbool flag = pawn?.Downed ?? false;\n\t\tif ((CasterPawn != null && CasterPawn.Faction == Faction.OfPlayer && CasterPawn.IsShambler) || (pawn != null && pawn.Faction == Faction.OfPlayer && pawn.IsShambler))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (thing.Faction != Faction.OfPlayer || !caster.HostileTo(Faction.OfPlayer))\n\t\t{\n\t\t\tif (caster.Faction == Faction.OfPlayer && thing.HostileTo(Faction.OfPlayer))\n\t\t\t{\n\t\t\t\treturn !flag;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\tpublic virtual bool CanHitTarget(LocalTargetInfo targ)\n\t{\n\t\tif (caster == null || !caster.Spawned)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (targ == caster)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn CanHitTargetFrom(caster.Position, targ);\n\t}\n\n\tpublic virtual bool ValidateTarget(LocalTargetInfo target, bool showMessages = true)\n\t{\n\t\tif (CasterIsPawn && target.Thing is Pawn p && (p.InSameExtraFaction(caster as Pawn, ExtraFactionType.HomeFaction) || p.InSameExtraFaction(caster as Pawn, ExtraFactionType.MiniFaction)))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (CasterIsPawn && target.Thing is Pawn victim && HistoryEventUtility.IsKillingInnocentAnimal(CasterPawn, victim) && !new HistoryEvent(HistoryEventDefOf.KilledInnocentAnimal, CasterPawn.Named(HistoryEventArgsNames.Doer)).Notify_PawnAboutToDo())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (CasterIsPawn && target.Thing is Pawn pawn && CasterPawn.Ideo != null && CasterPawn.Ideo.IsVeneratedAnimal(pawn) && !new HistoryEvent(HistoryEventDefOf.HuntedVeneratedAnimal, CasterPawn.Named(HistoryEventArgsNames.Doer)).Notify_PawnAboutToDo())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\tpublic virtual void DrawHighlight(LocalTargetInfo target)\n\t{\n\t\tverbProps.DrawRadiusRing(caster.Position, this);\n\t\tif (target.IsValid)\n\t\t{\n\t\t\tGenDraw.DrawTargetHighlight(target);\n\t\t\tDrawHighlightFieldRadiusAroundTarget(target);\n\t\t}\n\t}\n\n\tprotected void DrawHighlightFieldRadiusAroundTarget(LocalTargetInfo target)\n\t{\n\t\tbool needLOSToCenter;\n\t\tfloat num = HighlightFieldRadiusAroundTarget(out needLOSToCenter);\n\t\tif (!(num > 0.2f) || !TryFindShootLineFromTo(caster.Position, target, out var resultingLine))\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tif (needLOSToCenter)\n\t\t{\n\t\t\tGenExplosion.RenderPredictedAreaOfEffect(resultingLine.Dest, num, verbProps.explosionRadiusRingColor);\n\t\t\treturn;\n\t\t}\n\t\tGenDraw.DrawFieldEdges((from x in GenRadial.RadialCellsAround(resultingLine.Dest, num, useCenter: true)\n\t\t\twhere x.InBounds(Find.CurrentMap)\n\t\t\tselect x).ToList(), verbProps.explosionRadiusRingColor);\n\t}\n\n\tpublic virtual void OnGUI(LocalTargetInfo target)\n\t{\n\t\tTexture2D icon = ((!target.IsValid) ? TexCommand.CannotShoot : ((!(UIIcon != BaseContent.BadTex)) ? TexCommand.Attack : UIIcon));\n\t\tGenUI.DrawMouseAttachment(icon);\n\t}\n\n\tpublic virtual bool CanHitTargetFrom(IntVec3 root, LocalTargetInfo targ)\n\t{\n\t\tif (targ.Thing != null && targ.Thing == caster)\n\t\t{\n\t\t\treturn targetParams.canTargetSelf;\n\t\t}\n\t\tif (targ.Pawn != null && targ.Pawn.IsPsychologicallyInvisible() && caster.HostileTo(targ.Pawn))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (ApparelPreventsShooting())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tShootLine resultingLine;\n\t\treturn TryFindShootLineFromTo(root, targ, out resultingLine);\n\t}\n\n\tpublic bool ApparelPreventsShooting()\n\t{\n\t\treturn FirstApparelPreventingShooting() != null;\n\t}\n\n\tpublic Apparel FirstApparelPreventingShooting()\n\t{\n\t\tif (CasterIsPawn && CasterPawn.apparel != null)\n\t\t{\n\t\t\tList<Apparel> wornApparel = CasterPawn.apparel.WornApparel;\n\t\t\tfor (int i = 0; i < wornApparel.Count; i++)\n\t\t\t{\n\t\t\t\tif (!wornApparel[i].AllowVerbCast(this))\n\t\t\t\t{\n\t\t\t\t\treturn wornApparel[i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic bool TryFindShootLineFromTo(IntVec3 root, LocalTargetInfo targ, out ShootLine resultingLine, bool ignoreRange = false)\n\t{\n\t\tif (targ.HasThing && targ.Thing.Map != caster.Map)\n\t\t{\n\t\t\tresultingLine = default(ShootLine);\n\t\t\treturn false;\n\t\t}\n\t\tif (verbProps.IsMeleeAttack || EffectiveRange <= 1.42f)\n\t\t{\n\t\t\tresultingLine = new ShootLine(root, targ.Cell);\n\t\t\treturn ReachabilityImmediate.CanReachImmediate(root, targ, caster.Map, PathEndMode.Touch, null);\n\t\t}\n\t\tCellRect occupiedRect = (targ.HasThing ? targ.Thing.OccupiedRect() : CellRect.SingleCell(targ.Cell));\n\t\tif (!ignoreRange && OutOfRange(root, targ, occupiedRect))\n\t\t{\n\t\t\tresultingLine = new ShootLine(root, targ.Cell);\n\t\t\treturn false;\n\t\t}\n\t\tif (!verbProps.requireLineOfSight)\n\t\t{\n\t\t\tresultingLine = new ShootLine(root, targ.Cell);\n\t\t\treturn true;\n\t\t}\n\t\tIntVec3 goodDest;\n\t\tif (CasterIsPawn)\n\t\t{\n\t\t\tif (CanHitFromCellIgnoringRange(root, targ, out goodDest))\n\t\t\t{\n\t\t\t\tresultingLine = new ShootLine(root, goodDest);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tShootLeanUtility.LeanShootingSourcesFromTo(root, occupiedRect.ClosestCellTo(root), caster.Map, tempLeanShootSources);\n\t\t\tfor (int i = 0; i < tempLeanShootSources.Count; i++)\n\t\t\t{\n\t\t\t\tIntVec3 intVec = tempLeanShootSources[i];\n\t\t\t\tif (CanHitFromCellIgnoringRange(intVec, targ, out goodDest))\n\t\t\t\t{\n\t\t\t\t\tresultingLine = new ShootLine(intVec, goodDest);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tforeach (IntVec3 item in caster.OccupiedRect())\n\t\t\t{\n\t\t\t\tif (CanHitFromCellIgnoringRange(item, targ, out goodDest))\n\t\t\t\t{\n\t\t\t\t\tresultingLine = new ShootLine(item, goodDest);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tresultingLine = new ShootLine(root, targ.Cell);\n\t\treturn false;\n\t}\n\n\tpublic bool OutOfRange(IntVec3 root, LocalTargetInfo targ, CellRect occupiedRect)\n\t{\n\t\tfloat num = verbProps.EffectiveMinRange(targ, caster);\n\t\tfloat num2 = occupiedRect.ClosestDistSquaredTo(root);\n\t\tif (num2 > EffectiveRange * EffectiveRange || num2 < num * num)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tprivate bool CanHitFromCellIgnoringRange(IntVec3 sourceCell, LocalTargetInfo targ, out IntVec3 goodDest)\n\t{\n\t\tif (targ.Thing != null)\n\t\t{\n\t\t\tif (targ.Thing.Map != caster.Map)\n\t\t\t{\n\t\t\t\tgoodDest = IntVec3.Invalid;\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tShootLeanUtility.CalcShootableCellsOf(tempDestList, targ.Thing, sourceCell);\n\t\t\tfor (int i = 0; i < tempDestList.Count; i++)\n\t\t\t{\n\t\t\t\tif (CanHitCellFromCellIgnoringRange(sourceCell, tempDestList[i], targ.Thing.def.Fillage == FillCategory.Full))\n\t\t\t\t{\n\t\t\t\t\tgoodDest = tempDestList[i];\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if (CanHitCellFromCellIgnoringRange(sourceCell, targ.Cell))\n\t\t{\n\t\t\tgoodDest = targ.Cell;\n\t\t\treturn true;\n\t\t}\n\t\tgoodDest = IntVec3.Invalid;\n\t\treturn false;\n\t}\n\n\tprivate bool CanHitCellFromCellIgnoringRange(IntVec3 sourceSq, IntVec3 targetLoc, bool includeCorners = false)\n\t{\n\t\tif (verbProps.mustCastOnOpenGround && (!targetLoc.Standable(caster.Map) || caster.Map.thingGrid.CellContains(targetLoc, ThingCategory.Pawn)))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (verbProps.requireLineOfSight)\n\t\t{\n\t\t\tif (!includeCorners)\n\t\t\t{\n\t\t\t\tif (!GenSight.LineOfSight(sourceSq, targetLoc, caster.Map, skipFirstCell: true))\n\t\t\t\t{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (!GenSight.LineOfSightToEdges(sourceSq, targetLoc, caster.Map, skipFirstCell: true))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\n\tpublic override string ToString()\n\t{\n\t\tstring text = ((verbProps == null) ? \"null\" : ((!verbProps.label.NullOrEmpty()) ? verbProps.label : ((HediffCompSource != null) ? HediffCompSource.Def.label : ((EquipmentSource != null) ? EquipmentSource.def.label : ((verbProps.AdjustedLinkedBodyPartsGroup(tool) == null) ? \"unknown\" : verbProps.AdjustedLinkedBodyPartsGroup(tool).defName)))));\n\t\tif (tool != null)\n\t\t{\n\t\t\ttext = text + \"/\" + loadID;\n\t\t}\n\t\treturn $\"{GetType()}({text})\";\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-22 19:48:28,843"
|
|
},
|
|
"Game-deactivate-map-remove": {
|
|
"keywords": [
|
|
"Game",
|
|
"remove",
|
|
"deactivate",
|
|
"map"
|
|
],
|
|
"question": "Game method to remove or deactivate map",
|
|
"embedding": [
|
|
0.01010276097804308,
|
|
0.04111691564321518,
|
|
0.04461685195565224,
|
|
-0.02886713296175003,
|
|
0.013801224529743195,
|
|
0.0027187014929950237,
|
|
0.035852301865816116,
|
|
0.004981528967618942,
|
|
0.02548483945429325,
|
|
0.07429279386997223,
|
|
-0.010308640077710152,
|
|
-0.02255842089653015,
|
|
-0.0016626542201265693,
|
|
-0.044087450951337814,
|
|
-0.014007103629410267,
|
|
0.07705745100975037,
|
|
-0.02239665947854519,
|
|
-0.09217482805252075,
|
|
-0.04320511221885681,
|
|
0.030264167115092278,
|
|
-0.0046690343879163265,
|
|
0.00877190288156271,
|
|
0.0016488677356392145,
|
|
-0.016955580562353134,
|
|
-0.05417550727725029,
|
|
-0.044440384954214096,
|
|
0.04485214129090309,
|
|
0.0741751492023468,
|
|
-0.02404368855059147,
|
|
0.0012398676481097937,
|
|
0.03938165307044983,
|
|
-0.015926187857985497,
|
|
0.03323470056056976,
|
|
-0.03444056212902069,
|
|
0.05488137528300285,
|
|
0.039881642907857895,
|
|
-0.047557976096868515,
|
|
0.0025440724566578865,
|
|
0.0316464938223362,
|
|
0.028573021292686462,
|
|
-0.04741092026233673,
|
|
0.00025367195485159755,
|
|
-0.010043938644230366,
|
|
0.024146629497408867,
|
|
0.017014402896165848,
|
|
0.02604365348815918,
|
|
0.03352881595492363,
|
|
-0.07782214134931564,
|
|
-0.038793426007032394,
|
|
-0.00936012715101242,
|
|
0.003926400560885668,
|
|
0.030675923451781273,
|
|
0.0277642123401165,
|
|
-0.015867363661527634,
|
|
0.01356593519449234,
|
|
0.040352221578359604,
|
|
0.011220388114452362,
|
|
-0.01238213200122118,
|
|
-0.04288158938288689,
|
|
0.005411668214946985,
|
|
0.020058466121554375,
|
|
0.019396713003516197,
|
|
-0.014970321208238602,
|
|
-0.002266503870487213,
|
|
0.029822997748851776,
|
|
-0.032764121890068054,
|
|
-0.026278944686055183,
|
|
-0.03664640709757805,
|
|
-0.008720433339476585,
|
|
-0.02264665625989437,
|
|
0.021705495193600655,
|
|
-0.00044783210614696145,
|
|
0.015735013410449028,
|
|
-0.014676209539175034,
|
|
-0.020131994038820267,
|
|
-0.0227643009275198,
|
|
-0.027734799310564995,
|
|
-0.011985080316662788,
|
|
0.011521853506565094,
|
|
-0.015661485493183136,
|
|
-0.01872025430202484,
|
|
0.015146789140999317,
|
|
-0.014985027723014355,
|
|
0.03655817359685898,
|
|
-0.009124837815761566,
|
|
0.035205256193876266,
|
|
0.03655817359685898,
|
|
0.0032683240715414286,
|
|
-0.02539660595357418,
|
|
0.06717527657747269,
|
|
-0.006963111460208893,
|
|
-0.0019595238845795393,
|
|
-0.005496225785464048,
|
|
-0.014029162004590034,
|
|
-0.003867578227072954,
|
|
-0.03544054552912712,
|
|
-0.026440706104040146,
|
|
-0.008014563471078873,
|
|
0.00831602793186903,
|
|
0.020396696403622627,
|
|
0.0045771244913339615,
|
|
-0.039234597235918045,
|
|
0.000669105735141784,
|
|
0.05849895998835564,
|
|
-0.005992540158331394,
|
|
0.03846990317106247,
|
|
-0.030175933614373207,
|
|
0.012411544099450111,
|
|
-0.008499848656356335,
|
|
-0.006010922137647867,
|
|
-0.013779166154563427,
|
|
-0.04249924421310425,
|
|
-0.017117341980338097,
|
|
0.020881980657577515,
|
|
-0.005371227860450745,
|
|
0.028367141261696815,
|
|
0.04129338264465332,
|
|
-0.0033492050133645535,
|
|
-0.03938165307044983,
|
|
0.010404226370155811,
|
|
0.048646192997694016,
|
|
-0.03699934110045433,
|
|
-0.02702893130481243,
|
|
-0.0349111445248127,
|
|
0.013418878428637981,
|
|
-0.02138197235763073,
|
|
0.028705371543765068,
|
|
-0.0007242517895065248,
|
|
-0.024426035583019257,
|
|
-0.01616147719323635,
|
|
-0.00188967224676162,
|
|
-0.0023731195833534002,
|
|
-0.028940660879015923,
|
|
0.010058644227683544,
|
|
-0.07723391801118851,
|
|
-0.006213124841451645,
|
|
-0.005422697402536869,
|
|
-0.03670522943139076,
|
|
-0.04429332911968231,
|
|
0.046910930424928665,
|
|
-0.0006314225611276925,
|
|
-0.00188967224676162,
|
|
-0.013367408886551857,
|
|
-0.0191908348351717,
|
|
0.08382203429937363,
|
|
-0.01022775936871767,
|
|
-0.07399868220090866,
|
|
0.014455624856054783,
|
|
-0.015926187857985497,
|
|
-0.004738886374980211,
|
|
0.01973494328558445,
|
|
-0.023881927132606506,
|
|
-0.019749648869037628,
|
|
0.03070533648133278,
|
|
-0.016955580562353134,
|
|
-0.004209483973681927,
|
|
-0.0048932950012385845,
|
|
-0.06805761158466339,
|
|
0.013286528177559376,
|
|
-0.026102475821971893,
|
|
-0.009249835275113583,
|
|
-0.0033436904195696115,
|
|
-0.043705105781555176,
|
|
-0.00917630735784769,
|
|
0.03670522943139076,
|
|
0.010293934494256973,
|
|
-0.019249657168984413,
|
|
0.03799932450056076,
|
|
-0.035028789192438126,
|
|
-0.03429350629448891,
|
|
-0.008139560930430889,
|
|
0.03358763828873634,
|
|
-0.041705138981342316,
|
|
0.04623446986079216,
|
|
0.04835208132863045,
|
|
-0.027881857007741928,
|
|
0.011661557480692863,
|
|
0.05776367709040642,
|
|
-0.02045551873743534,
|
|
-0.05988128483295441,
|
|
0.0754692479968071,
|
|
0.021499617025256157,
|
|
0.09599828720092773,
|
|
-0.01745557226240635,
|
|
-0.011190976947546005,
|
|
-0.03161708265542984,
|
|
0.013293880969285965,
|
|
0.10029233247041702,
|
|
-0.0032867062836885452,
|
|
0.019337890669703484,
|
|
-0.03188178688287735,
|
|
0.04979323223233223,
|
|
0.029720058664679527,
|
|
0.006705762818455696,
|
|
-0.028117146342992783,
|
|
-0.04094044864177704,
|
|
-0.0035367016680538654,
|
|
0.005356522276997566,
|
|
-0.015293844975531101,
|
|
0.007349133957177401,
|
|
0.008793961256742477,
|
|
0.03185237571597099,
|
|
0.039616942405700684,
|
|
-0.02511719986796379,
|
|
-0.0016001553740352392,
|
|
-0.023587815463542938,
|
|
-0.009014545008540154,
|
|
-0.03079356998205185,
|
|
0.028925955295562744,
|
|
-0.015146789140999317,
|
|
0.07617511600255966,
|
|
0.009198365733027458,
|
|
0.005014616530388594,
|
|
-0.015396784991025925,
|
|
-0.011279210448265076,
|
|
-0.013940928503870964,
|
|
-0.019690826535224915,
|
|
-0.018661431968212128,
|
|
-0.01357328798621893,
|
|
0.006341798696666956,
|
|
0.005150643642991781,
|
|
0.022043725475668907,
|
|
0.026470117270946503,
|
|
0.006091803312301636,
|
|
0.03899930417537689,
|
|
-0.03826402500271797,
|
|
0.044999197125434875,
|
|
0.008205736055970192,
|
|
0.021073153242468834,
|
|
0.07052815705537796,
|
|
0.011227740906178951,
|
|
-0.0010716720717027783,
|
|
0.0227643009275198,
|
|
-0.02367604896426201,
|
|
-0.012088020332157612,
|
|
-0.0035017759073525667,
|
|
-0.022779006510972977,
|
|
-0.004834472667425871,
|
|
-0.008896900340914726,
|
|
0.048646192997694016,
|
|
0.010110113769769669,
|
|
0.04955793917179108,
|
|
-0.016382060945034027,
|
|
0.04732268676161766,
|
|
-0.01972023770213127,
|
|
-0.061704784631729126,
|
|
-0.025631897151470184,
|
|
-0.002301429631188512,
|
|
0.026543645188212395,
|
|
-0.0016415149439126253,
|
|
0.025014260783791542,
|
|
0.0334111712872982,
|
|
0.0022922386415302753,
|
|
-0.05035204440355301,
|
|
0.018205558881163597,
|
|
0.005238877143710852,
|
|
0.005106526892632246,
|
|
-0.014426213689148426,
|
|
0.044646263122558594,
|
|
-0.046175647526979446,
|
|
-0.0033933219965547323,
|
|
0.015132083557546139,
|
|
-0.040616922080516815,
|
|
0.05305787920951843,
|
|
-0.05994011089205742,
|
|
0.022617245092988014,
|
|
-0.008301322348415852,
|
|
0.026249531656503677,
|
|
-0.048734426498413086,
|
|
-0.08358674496412277,
|
|
0.004459479358047247,
|
|
0.0045771244913339615,
|
|
0.017205575481057167,
|
|
-0.011485089547932148,
|
|
-0.017058519646525383,
|
|
0.012999768368899822,
|
|
0.01635264977812767,
|
|
0.0372934527695179,
|
|
0.0010330697987228632,
|
|
-0.03664640709757805,
|
|
-0.029278891161084175,
|
|
0.010676280595362186,
|
|
0.0239554550498724,
|
|
-0.016955580562353134,
|
|
0.037616975605487823,
|
|
0.04985205456614494,
|
|
0.04264630004763603,
|
|
-0.013176236301660538,
|
|
-0.004768297541886568,
|
|
0.02476426400244236,
|
|
-0.0028124498203396797,
|
|
0.015514429658651352,
|
|
-0.004110220819711685,
|
|
0.02111727185547352,
|
|
-0.00584548432379961,
|
|
-0.007801331579685211,
|
|
-0.06323416531085968,
|
|
0.052763767540454865,
|
|
-0.0237495768815279,
|
|
-0.012499777600169182,
|
|
-0.024970144033432007,
|
|
-0.00959541741758585,
|
|
0.01636735536158085,
|
|
0.011948316358029842,
|
|
0.06917523592710495,
|
|
-0.04446979612112045,
|
|
-0.025970125570893288,
|
|
-0.08552788943052292,
|
|
0.036499351263046265,
|
|
-0.07235164940357208,
|
|
0.025293666869401932,
|
|
0.014815912581980228,
|
|
-0.043352168053388596,
|
|
0.0015606340020895004,
|
|
-0.018617315217852592,
|
|
0.019132012501358986,
|
|
-0.04141102731227875,
|
|
0.006396945100277662,
|
|
1.3176178072171751e-05,
|
|
0.0420580729842186,
|
|
-0.011749790981411934,
|
|
-0.04523449018597603,
|
|
-0.0466168187558651,
|
|
0.0050072637386620045,
|
|
0.008918958716094494,
|
|
-0.03826402500271797,
|
|
0.02247018739581108,
|
|
0.017984973266720772,
|
|
-0.003608391620218754,
|
|
-0.032764121890068054,
|
|
0.0008487900486215949,
|
|
0.014815912581980228,
|
|
-0.04011693224310875,
|
|
-0.014962968416512012,
|
|
-0.055528424680233,
|
|
0.0007311450899578631,
|
|
0.01023511216044426,
|
|
-0.03352881595492363,
|
|
0.02074963040649891,
|
|
-0.007062374148517847,
|
|
-0.007316046394407749,
|
|
-0.028278907760977745,
|
|
-0.031293559819459915,
|
|
0.020352579653263092,
|
|
0.019411418586969376,
|
|
0.02613188698887825,
|
|
0.006069744937121868,
|
|
0.01901436783373356,
|
|
0.04785208776593208,
|
|
0.013874753378331661,
|
|
-0.030999448150396347,
|
|
0.014521799981594086,
|
|
0.005275641568005085,
|
|
0.01644088327884674,
|
|
0.02294076792895794,
|
|
-0.06905759125947952,
|
|
-0.01598501019179821,
|
|
-0.005349169485270977,
|
|
-0.0602930448949337,
|
|
0.009382185526192188,
|
|
-0.006981493439525366,
|
|
0.03191119804978371,
|
|
-0.006301358342170715,
|
|
0.0557343028485775,
|
|
0.05852837115526199,
|
|
-0.005555048119276762,
|
|
0.01599971577525139,
|
|
0.04082280397415161,
|
|
0.025558369234204292,
|
|
0.008433673530817032,
|
|
0.0033933219965547323,
|
|
-0.04820502549409866,
|
|
0.06276358664035797,
|
|
0.027014225721359253,
|
|
-0.04649917036294937,
|
|
0.08605729043483734,
|
|
0.032205309718847275,
|
|
-0.016014421358704567,
|
|
-0.0035128050949424505,
|
|
0.006080774124711752,
|
|
0.015279139392077923,
|
|
0.03044063411653042,
|
|
-0.03496996685862541,
|
|
-0.09611593186855316,
|
|
-0.010014527477324009,
|
|
-0.017779095098376274,
|
|
-0.01964670978486538,
|
|
0.0026856139302253723,
|
|
0.02704363688826561,
|
|
-0.058793071657419205,
|
|
0.05555783584713936,
|
|
0.005374904256314039,
|
|
-0.01745557226240635,
|
|
-0.011602734215557575,
|
|
-0.03829343616962433,
|
|
0.0063638570718467236,
|
|
-0.01891142874956131,
|
|
0.06911641359329224,
|
|
-0.01342623122036457,
|
|
-0.01717616431415081,
|
|
-0.02420545183122158,
|
|
-0.006444738246500492,
|
|
0.005492549389600754,
|
|
-0.02648482285439968,
|
|
0.03299941122531891,
|
|
0.013786518946290016,
|
|
0.053851980715990067,
|
|
-0.04732268676161766,
|
|
-0.025631897151470184,
|
|
-0.02238195389509201,
|
|
-0.02467603050172329,
|
|
-0.013462995178997517,
|
|
-0.0059153358452022076,
|
|
0.06970464438199997,
|
|
-0.051204971969127655,
|
|
-0.01617618277668953,
|
|
0.005466814618557692,
|
|
-0.002145182341337204,
|
|
0.015161494724452496,
|
|
0.058146022260189056,
|
|
0.0031543555669486523,
|
|
0.01608794927597046,
|
|
-0.06364592909812927,
|
|
-0.004698445554822683,
|
|
-0.03355822712182999,
|
|
0.03185237571597099,
|
|
0.07558689266443253,
|
|
0.0034080275800079107,
|
|
-0.0016727643087506294,
|
|
0.05964599549770355,
|
|
0.012654186226427555,
|
|
-0.00876455008983612,
|
|
-0.02476426400244236,
|
|
0.07205753773450851,
|
|
-0.001085458556190133,
|
|
-0.04067574441432953,
|
|
0.0037058163434267044,
|
|
-0.04202866181731224,
|
|
-0.025440722703933716,
|
|
0.004345510620623827,
|
|
-0.017382042482495308,
|
|
-0.00714693171903491,
|
|
-0.03464644029736519,
|
|
-0.010477754287421703,
|
|
-0.030175933614373207,
|
|
-0.021676084026694298,
|
|
0.04441097378730774,
|
|
-0.010065997019410133,
|
|
0.04146984964609146,
|
|
0.0368816964328289,
|
|
0.009352774359285831,
|
|
-0.004007281735539436,
|
|
0.010985098779201508,
|
|
0.012396838515996933,
|
|
-0.012977709993720055,
|
|
0.032675888389348984,
|
|
-0.00735648674890399,
|
|
-0.0732928141951561,
|
|
-0.08088091015815735,
|
|
-0.005128585267812014,
|
|
0.08029268682003021,
|
|
0.01772027276456356,
|
|
-0.018926134333014488,
|
|
0.022411365061998367,
|
|
0.005768279545009136,
|
|
0.018661431968212128,
|
|
-0.03982282057404518,
|
|
-0.017749683931469917,
|
|
-0.013029179535806179,
|
|
-0.04211689531803131,
|
|
-0.02127903327345848,
|
|
0.037146396934986115,
|
|
0.048381492495536804,
|
|
-0.06264594197273254,
|
|
0.05726368725299835,
|
|
-0.052057895809412,
|
|
-0.026426000520586967,
|
|
0.07176342606544495,
|
|
0.008720433339476585,
|
|
0.0243966244161129,
|
|
-0.008418967947363853,
|
|
0.0008648742805235088,
|
|
-0.025249550119042397,
|
|
-0.0498814657330513,
|
|
-0.05938129499554634,
|
|
-0.05855778232216835,
|
|
0.007926329039037228,
|
|
-0.014418860897421837,
|
|
0.035969946533441544,
|
|
0.003178252140060067,
|
|
-0.029175950214266777,
|
|
-0.03626406192779541,
|
|
0.006180036813020706,
|
|
-0.013315939344465733,
|
|
-0.022440776228904724,
|
|
0.037852268666028976,
|
|
0.0019668766763061285,
|
|
-0.07752802968025208,
|
|
-0.012911534868180752,
|
|
-0.02157314494252205,
|
|
-0.0007853720453567803,
|
|
0.03855813667178154,
|
|
-0.03864637017250061,
|
|
-0.02074963040649891,
|
|
0.046734463423490524,
|
|
-0.006349151488393545,
|
|
-0.04670505225658417,
|
|
-0.0169114638119936,
|
|
-0.03952870890498161,
|
|
-0.01624971069395542,
|
|
0.0030128140933811665,
|
|
-0.041528671979904175,
|
|
0.0004354242410045117,
|
|
0.037234630435705185,
|
|
-0.0033179556485265493,
|
|
0.008617493323981762,
|
|
-0.0004774731060024351,
|
|
0.09376303851604462,
|
|
-0.00909542664885521,
|
|
0.003885960206389427,
|
|
0.008080738596618176,
|
|
-0.019352596253156662,
|
|
-0.013587993569672108,
|
|
-2.6539049940765835e-05,
|
|
-0.04685210809111595,
|
|
-0.020808452740311623,
|
|
-0.003340014023706317,
|
|
0.010161583311855793,
|
|
-0.010911569930613041,
|
|
-0.029073011130094528,
|
|
-0.030381811782717705,
|
|
0.015007086098194122,
|
|
-0.01292624045163393,
|
|
0.01238948479294777,
|
|
-0.0005666259676218033,
|
|
0.01764674484729767,
|
|
0.007632216904312372,
|
|
-0.007771920412778854,
|
|
0.03779344633221626,
|
|
-0.024455446749925613,
|
|
-0.019220246002078056,
|
|
-0.004588153678923845,
|
|
-0.01406592596322298,
|
|
-0.012676244601607323,
|
|
0.02467603050172329,
|
|
0.045087430626153946,
|
|
0.01847025938332081,
|
|
0.026734817773103714,
|
|
-0.01470562070608139,
|
|
-0.0841161459684372,
|
|
0.027470098808407784,
|
|
0.001457694685086608,
|
|
0.02392604388296604,
|
|
-0.0589989498257637,
|
|
0.002397016156464815,
|
|
-0.004676387179642916,
|
|
0.018411437049508095,
|
|
0.02438191883265972,
|
|
0.029175950214266777,
|
|
0.0219113752245903,
|
|
0.005547695327550173,
|
|
-0.014676209539175034,
|
|
-0.0162644162774086,
|
|
-0.03052886761724949,
|
|
-0.020514341071248055,
|
|
-0.02876419387757778,
|
|
-0.029999466612935066,
|
|
-0.0003568410756997764,
|
|
-0.029646530747413635,
|
|
-0.017587922513484955,
|
|
-0.07688098400831223,
|
|
0.0219113752245903,
|
|
-0.019793765619397163,
|
|
-0.0032389129046350718,
|
|
0.021779023110866547,
|
|
0.030175933614373207,
|
|
0.03079356998205185,
|
|
0.01502914447337389,
|
|
0.05405786260962486,
|
|
0.03214648738503456,
|
|
0.014080631546676159,
|
|
0.03944047540426254,
|
|
-0.024617208167910576,
|
|
-0.05841072276234627,
|
|
-0.02492602728307247,
|
|
-0.01708793081343174,
|
|
0.03188178688287735,
|
|
0.016043832525610924,
|
|
0.0006916237180121243,
|
|
0.0024981172755360603,
|
|
0.06182242929935455,
|
|
-0.020440813153982162,
|
|
-0.05776367709040642,
|
|
-0.02367604896426201,
|
|
-0.033028822392225266,
|
|
0.048646192997694016,
|
|
0.018426142632961273,
|
|
0.02467603050172329,
|
|
0.0002961803984362632,
|
|
0.07682216167449951,
|
|
-0.030117111280560493,
|
|
-0.04405803978443146,
|
|
-0.0107351029291749,
|
|
-0.008838078007102013,
|
|
-0.010499812662601471,
|
|
0.01863202080130577,
|
|
0.017705567181110382,
|
|
-0.009220424108207226,
|
|
0.028175968676805496,
|
|
0.012896829284727573,
|
|
-0.037764035165309906,
|
|
0.042616888880729675,
|
|
-0.017220281064510345,
|
|
-0.011918905191123486,
|
|
-0.0169114638119936,
|
|
-0.02301429584622383,
|
|
0.01219831220805645,
|
|
0.00894836988300085,
|
|
-0.009926293976604939,
|
|
0.005110203288495541,
|
|
-8.375310426345095e-05,
|
|
-0.016470294445753098,
|
|
-0.01964670978486538,
|
|
-0.024014277383685112,
|
|
-0.014837970957159996,
|
|
0.011911552399396896,
|
|
-0.0011810451978817582,
|
|
-0.010654222220182419,
|
|
0.041705138981342316,
|
|
-0.01063951663672924,
|
|
0.043175701051950455,
|
|
-0.011088037863373756,
|
|
-0.019852587953209877,
|
|
0.038322847336530685,
|
|
0.04870501533150673,
|
|
-0.025911303237080574,
|
|
-0.0016865507932379842,
|
|
0.00014475845091510564,
|
|
0.007992505095899105,
|
|
-0.01238213200122118,
|
|
0.0006553191924467683,
|
|
0.005404315423220396,
|
|
-0.009963057935237885,
|
|
0.005341816693544388,
|
|
0.009448361583054066,
|
|
-0.0044080098159611225,
|
|
-0.001861180062405765,
|
|
0.0023345171939581633,
|
|
0.010705691762268543,
|
|
0.013382114470005035,
|
|
0.003930076956748962,
|
|
0.06752821058034897,
|
|
0.002564292633906007,
|
|
0.015661485493183136,
|
|
-0.027293631806969643,
|
|
0.0016470295377075672,
|
|
-0.024014277383685112,
|
|
-0.03629347309470177,
|
|
0.013374761678278446,
|
|
-0.041263971477746964,
|
|
-0.054969608783721924,
|
|
-0.08052797615528107,
|
|
-0.011257152073085308,
|
|
-0.01097039319574833,
|
|
-0.03135238215327263,
|
|
0.011757143773138523,
|
|
0.0041837492026388645,
|
|
0.014904146082699299,
|
|
0.006735173985362053,
|
|
0.025190727785229683,
|
|
-0.03999928757548332,
|
|
-0.011418914422392845,
|
|
-0.023602521046996117,
|
|
0.0028731105849146843,
|
|
0.033940572291612625,
|
|
0.012985062785446644,
|
|
-0.026058359071612358,
|
|
-0.05191083997488022,
|
|
0.032675888389348984,
|
|
0.0022793712560087442,
|
|
0.03638170659542084,
|
|
0.049381472170352936,
|
|
-0.025264255702495575,
|
|
-0.01929377391934395,
|
|
-0.04896971583366394,
|
|
-0.00609547970816493,
|
|
0.018867311999201775,
|
|
-0.005782985128462315,
|
|
-0.0013896811287850142,
|
|
0.03882283717393875,
|
|
0.008051327429711819,
|
|
-0.029984761029481888,
|
|
0.045175667852163315,
|
|
-0.0019668766763061285,
|
|
-0.01782321184873581,
|
|
-0.02694069594144821,
|
|
0.003591847838833928,
|
|
-0.043087467551231384,
|
|
0.052028484642505646,
|
|
0.039499297738075256,
|
|
-0.019220246002078056,
|
|
-0.04555801302194595,
|
|
-0.06676352024078369,
|
|
-0.016734996810555458,
|
|
0.02392604388296604,
|
|
-0.007882212288677692,
|
|
-0.0021764319390058517,
|
|
-0.013668874278664589,
|
|
-0.0015275463229045272,
|
|
0.008205736055970192,
|
|
0.010632163845002651,
|
|
-0.016882052645087242,
|
|
-0.013315939344465733,
|
|
-0.005768279545009136,
|
|
-0.004264629911631346,
|
|
0.008551318198442459,
|
|
0.040058109909296036,
|
|
-0.01479385420680046,
|
|
-0.024190746247768402,
|
|
-0.012183606624603271,
|
|
0.001329939579591155,
|
|
0.009713062085211277,
|
|
-0.009933646768331528,
|
|
0.02238195389509201,
|
|
-0.021779023110866547,
|
|
0.025734836235642433,
|
|
0.001751807052642107,
|
|
-0.012249781750142574,
|
|
-0.02411721833050251,
|
|
0.04291100054979324,
|
|
-0.03444056212902069,
|
|
-0.012360073626041412,
|
|
-0.04123456031084061,
|
|
-0.0020992273930460215,
|
|
0.019426124170422554,
|
|
-0.012477719224989414,
|
|
0.03317587822675705,
|
|
-0.02777891792356968,
|
|
0.007617511320859194,
|
|
-0.06399886310100555,
|
|
-0.07876330614089966,
|
|
-0.03258765488862991,
|
|
0.06711645424365997,
|
|
-0.00370213994756341,
|
|
0.09829236567020416,
|
|
-0.02958770841360092,
|
|
-0.018617315217852592,
|
|
0.028528904542326927,
|
|
0.004834472667425871,
|
|
-0.00751089584082365,
|
|
0.006018275395035744,
|
|
0.0035642748698592186,
|
|
0.07452808320522308,
|
|
-0.017249692231416702,
|
|
0.007154284510761499,
|
|
0.016220299527049065,
|
|
0.055528424680233,
|
|
0.05817543342709541,
|
|
0.013058590702712536,
|
|
-0.012845359742641449,
|
|
0.009286599233746529,
|
|
0.01607324369251728,
|
|
0.004360216669738293,
|
|
0.01682323031127453,
|
|
-0.04761679843068123,
|
|
0.05949893966317177,
|
|
0.03635229542851448,
|
|
0.03917577117681503,
|
|
-0.054763730615377426,
|
|
-0.0064226798713207245,
|
|
-0.02492602728307247,
|
|
-0.009566006250679493,
|
|
0.03867578133940697,
|
|
0.03455820679664612,
|
|
-0.01663205586373806,
|
|
0.05108732730150223,
|
|
0.008720433339476585,
|
|
0.0016589778242632747,
|
|
0.04732268676161766,
|
|
-0.004474184941500425,
|
|
0.05932247266173363,
|
|
0.02001434937119484,
|
|
0.0498814657330513,
|
|
0.02045551873743534,
|
|
0.013860046863555908,
|
|
0.01462473999708891,
|
|
0.0072645763866603374,
|
|
-0.012786537408828735,
|
|
-0.013051237910985947,
|
|
-0.01791144534945488,
|
|
-0.004816090688109398,
|
|
-0.005187407601624727,
|
|
0.09141013771295547,
|
|
-0.01844084821641445,
|
|
-0.02658776193857193,
|
|
-0.015852658078074455,
|
|
0.025073083117604256,
|
|
0.09705709666013718,
|
|
-0.011602734215557575,
|
|
-0.014212981797754765,
|
|
-0.024073101580142975,
|
|
-0.08082208782434464,
|
|
0.01041893195360899,
|
|
0.00377934449352324,
|
|
-0.007617511320859194,
|
|
0.033852338790893555,
|
|
-0.015573251992464066,
|
|
0.03894048184156418,
|
|
-0.00040417478885501623,
|
|
-0.032205309718847275,
|
|
-0.031940609216690063,
|
|
0.022411365061998367,
|
|
0.04058751091361046,
|
|
0.024161335080862045,
|
|
-0.02813185192644596,
|
|
-0.023984866216778755,
|
|
-0.052469652146101,
|
|
0.005838131532073021,
|
|
-0.02969064749777317,
|
|
0.0005179135478101671,
|
|
-0.0027977442368865013,
|
|
-0.0015247890260070562,
|
|
0.012801242992281914,
|
|
0.005782985128462315,
|
|
0.009955705143511295,
|
|
-0.02064669132232666,
|
|
-0.006091803312301636,
|
|
0.026087770238518715,
|
|
0.015014438889920712,
|
|
-0.032940588891506195,
|
|
0.03588171303272247,
|
|
-0.0063087111338973045,
|
|
-0.015051202848553658,
|
|
0.025455428287386894,
|
|
0.030028877779841423,
|
|
0.03488173335790634,
|
|
-0.027323042973876,
|
|
-0.02019081637263298,
|
|
-0.045734480023384094,
|
|
0.020220227539539337,
|
|
-0.012948298826813698,
|
|
-0.05588135868310928,
|
|
0.012132137082517147,
|
|
-0.039793409407138824,
|
|
0.0070219337940216064,
|
|
-0.015426196157932281,
|
|
0.025705425068736076,
|
|
-0.03323470056056976,
|
|
0.0015073261456564069,
|
|
0.018690843135118484,
|
|
-0.04094044864177704,
|
|
-0.019440829753875732,
|
|
0.019205540418624878,
|
|
-0.01680852472782135,
|
|
-0.009316010400652885,
|
|
0.0698222890496254,
|
|
0.03170531615614891,
|
|
0.017690861597657204,
|
|
0.0027995824348181486,
|
|
0.04158749431371689,
|
|
-0.00895572267472744,
|
|
-0.037058163434267044,
|
|
-0.02322017401456833,
|
|
0.02522013895213604,
|
|
0.021234916523098946,
|
|
-0.0231025293469429,
|
|
0.04961676523089409,
|
|
-0.0007063293596729636,
|
|
0.0030514162499457598,
|
|
0.019337890669703484,
|
|
0.009573359042406082,
|
|
0.00021897588158026338,
|
|
-0.0002449404855724424,
|
|
0.03391116112470627,
|
|
0.022087842226028442,
|
|
-0.04394039511680603,
|
|
-0.027117164805531502,
|
|
0.016146771609783173,
|
|
0.01064686942845583,
|
|
-0.010624811053276062,
|
|
0.0008400585502386093,
|
|
-0.022587833926081657,
|
|
-0.0035955242346972227,
|
|
-0.004926383029669523,
|
|
0.024176040664315224,
|
|
0.01219095941632986,
|
|
0.008845430798828602,
|
|
0.009668945334851742,
|
|
-0.02641129493713379,
|
|
0.022043725475668907,
|
|
0.04211689531803131,
|
|
-0.0338229276239872,
|
|
0.014470330439507961,
|
|
-0.011124801822006702,
|
|
0.005959452595561743,
|
|
0.011639498174190521,
|
|
-0.031470026820898056,
|
|
-0.001660816022194922,
|
|
0.013235058635473251,
|
|
-0.01147038396447897,
|
|
0.015396784991025925,
|
|
-0.054675497114658356,
|
|
0.04485214129090309,
|
|
-0.010360109619796276,
|
|
0.010889511555433273,
|
|
-0.07323399186134338,
|
|
0.019161423668265343,
|
|
-0.007580747362226248,
|
|
0.00041014893213286996,
|
|
-0.026381883770227432,
|
|
0.01197037473320961,
|
|
0.02248489297926426,
|
|
0.0036139062140136957,
|
|
0.0033124410547316074,
|
|
0.022146664559841156,
|
|
-0.06394004076719284,
|
|
-0.017117341980338097,
|
|
0.04585212469100952,
|
|
0.021823139861226082,
|
|
0.001150714815594256,
|
|
0.029822997748851776,
|
|
-0.014146806672215462,
|
|
0.008588082157075405,
|
|
0.023528993129730225,
|
|
0.01311741303652525,
|
|
-0.0156173687428236,
|
|
-0.036234647035598755,
|
|
-0.03279353305697441,
|
|
0.028278907760977745,
|
|
-0.026720112189650536,
|
|
-0.019779060035943985,
|
|
0.044263917952775955,
|
|
0.021308444440364838,
|
|
-0.033028822392225266,
|
|
-0.008926311507821083,
|
|
0.03655817359685898,
|
|
-0.03994046524167061,
|
|
-0.04220513254404068,
|
|
-0.04679328575730324,
|
|
-0.031028859317302704,
|
|
0.002766494872048497,
|
|
-0.03399939462542534,
|
|
0.03435232862830162,
|
|
0.0071138436906039715,
|
|
0.00781603716313839,
|
|
0.019073190167546272,
|
|
0.001996288076043129,
|
|
0.012779184617102146,
|
|
0.018396731466054916,
|
|
-0.02347017079591751,
|
|
-0.02411721833050251,
|
|
0.009713062085211277,
|
|
0.049293238669633865,
|
|
-0.07141049206256866,
|
|
0.012970357201993465,
|
|
0.032028842717409134,
|
|
0.008668962866067886,
|
|
0.035969946533441544,
|
|
-0.012146842665970325,
|
|
-0.030117111280560493,
|
|
0.035587601363658905,
|
|
0.03602876886725426,
|
|
0.025278961285948753,
|
|
-0.04761679843068123,
|
|
0.009124837815761566,
|
|
-0.009646886959671974,
|
|
0.028367141261696815,
|
|
0.01416151225566864,
|
|
-0.007771920412778854,
|
|
0.0392640084028244,
|
|
0.01563207432627678,
|
|
0.0015257081249728799,
|
|
0.00803662184625864,
|
|
-0.05482255294919014,
|
|
-0.011485089547932148,
|
|
-0.022690773010253906,
|
|
-0.031293559819459915,
|
|
-0.04008752107620239,
|
|
-0.07988093048334122,
|
|
-0.07470455020666122,
|
|
-0.004584477283060551,
|
|
0.004779326729476452,
|
|
-0.0015367373125627637,
|
|
-0.004003605339676142,
|
|
0.01717616431415081,
|
|
-0.07811625301837921,
|
|
-0.022602539509534836,
|
|
-0.015323256142437458,
|
|
0.033293526619672775,
|
|
0.002064301399514079,
|
|
0.009551300667226315,
|
|
-0.03132297098636627,
|
|
0.03702875226736069,
|
|
0.03464644029736519,
|
|
0.03052886761724949,
|
|
-0.03999928757548332,
|
|
-0.032293543219566345,
|
|
-0.01964670978486538,
|
|
0.01889672316610813,
|
|
0.013808577321469784,
|
|
0.011073332279920578,
|
|
0.030293578281998634,
|
|
-0.001751807052642107,
|
|
-0.036969929933547974,
|
|
0.00525358272716403,
|
|
0.03217589855194092,
|
|
-0.025720130652189255,
|
|
0.002490764483809471,
|
|
-0.027073048055171967,
|
|
-0.029955347999930382,
|
|
0.0641753301024437,
|
|
0.008705727756023407,
|
|
0.04064633324742317,
|
|
0.013712991029024124,
|
|
0.03496996685862541,
|
|
0.027558332309126854,
|
|
-0.041058093309402466,
|
|
0.005260935518890619,
|
|
0.0010431800037622452,
|
|
-0.03517584502696991,
|
|
0.022176075726747513,
|
|
0.0041837492026388645,
|
|
0.03179354965686798,
|
|
-0.0016644924180582166
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\Game.txt\n\npublic class Game : IExposable, IDisposable\n{\n\tprivate GameInitData initData;\n\n\tprivate Gravship gravshipInt;\n\n\tpublic sbyte currentMapIndex = -1;\n\n\tprivate GameInfo info = new GameInfo();\n\n\tpublic List<GameComponent> components = new List<GameComponent>();\n\n\tprivate GameRules rules = new GameRules();\n\n\tprivate Scenario scenarioInt;\n\n\tprivate World worldInt;\n\n\tprivate List<Map> maps = new List<Map>();\n\n\tpublic PlaySettings playSettings = new PlaySettings();\n\n\tpublic StoryWatcher storyWatcher = new StoryWatcher();\n\n\tpublic LetterStack letterStack = new LetterStack();\n\n\tpublic ResearchManager researchManager = new ResearchManager();\n\n\tpublic AnalysisManager analysisManager = new AnalysisManager();\n\n\tpublic GameEnder gameEnder = new GameEnder();\n\n\tpublic Storyteller storyteller = new Storyteller();\n\n\tpublic History history = new History();\n\n\tpublic TaleManager taleManager = new TaleManager();\n\n\tpublic PlayLog playLog = new PlayLog();\n\n\tpublic BattleLog battleLog = new BattleLog();\n\n\tpublic OutfitDatabase outfitDatabase = new OutfitDatabase();\n\n\tpublic DrugPolicyDatabase drugPolicyDatabase = new DrugPolicyDatabase();\n\n\tpublic ReadingPolicyDatabase readingPolicyDatabase = new ReadingPolicyDatabase();\n\n\tpublic FoodRestrictionDatabase foodRestrictionDatabase = new FoodRestrictionDatabase();\n\n\tpublic TickManager tickManager = new TickManager();\n\n\tpublic Tutor tutor = new Tutor();\n\n\tpublic Autosaver autosaver = new Autosaver();\n\n\tpublic DateNotifier dateNotifier = new DateNotifier();\n\n\tpublic SignalManager signalManager = new SignalManager();\n\n\tpublic UniqueIDsManager uniqueIDsManager = new UniqueIDsManager();\n\n\tpublic QuestManager questManager = new QuestManager();\n\n\tpublic TransportShipManager transportShipManager = new TransportShipManager();\n\n\tpublic StudyManager studyManager = new StudyManager();\n\n\tpublic CustomXenogermDatabase customXenogermDatabase = new CustomXenogermDatabase();\n\n\tpublic CustomXenotypeDatabase customXenotypeDatabase = new CustomXenotypeDatabase();\n\n\tpublic RelationshipRecords relationshipRecords = new RelationshipRecords();\n\n\tpublic HiddenItemsManager hiddenItemsManager = new HiddenItemsManager();\n\n\tpublic EntityCodex entityCodex = new EntityCodex();\n\n\tprivate static readonly List<Map> tmpPlayerHomeMaps = new List<Map>();\n\n\tpublic Scenario Scenario\n\t{\n\t\tget\n\t\t{\n\t\t\treturn scenarioInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tscenarioInt = value;\n\t\t}\n\t}\n\n\tpublic World World\n\t{\n\t\tget\n\t\t{\n\t\t\treturn worldInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tif (worldInt != value)\n\t\t\t{\n\t\t\t\tworldInt = value;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic Map CurrentMap\n\t{\n\t\tget\n\t\t{\n\t\t\tif (currentMapIndex < 0)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn maps[currentMapIndex];\n\t\t}\n\t\tset\n\t\t{\n\t\t\tint num;\n\t\t\tif (value == null)\n\t\t\t{\n\t\t\t\tnum = -1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tnum = maps.IndexOf(value);\n\t\t\t\tif (num < 0)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Could not set current map because it does not exist.\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (currentMapIndex != num)\n\t\t\t{\n\t\t\t\tcurrentMapIndex = (sbyte)num;\n\t\t\t\tFind.MapUI.Notify_SwitchedMap();\n\t\t\t\tAmbientSoundManager.Notify_SwitchedMap();\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic Map AnyPlayerHomeMap\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Faction.OfPlayerSilentFail == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\tif (maps[i].IsPlayerHome)\n\t\t\t\t{\n\t\t\t\t\treturn maps[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (ModsConfig.OdysseyActive)\n\t\t\t{\n\t\t\t\tfor (int j = 0; j < maps.Count; j++)\n\t\t\t\t{\n\t\t\t\t\tif (GravshipUtility.PlayerHasGravEngine(maps[j]))\n\t\t\t\t\t{\n\t\t\t\t\t\treturn maps[j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic bool PlayerHasControl\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ScreenFader.IsFading())\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (WorldComponent_GravshipController.CutsceneInProgress && !Find.CameraDriver.config.gravshipFreeCam)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic IReadOnlyList<Map> PlayerHomeMaps\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Faction.OfPlayerSilentFail == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\tMap map = maps[i];\n\t\t\t\tif (map.IsPlayerHome)\n\t\t\t\t{\n\t\t\t\t\ttmpPlayerHomeMaps.Add(map);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tmpPlayerHomeMaps;\n\t\t}\n\t}\n\n\tpublic Map RandomPlayerHomeMap\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Faction.OfPlayerSilentFail == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\tMap map = maps[i];\n\t\t\t\tif (map.IsPlayerHome)\n\t\t\t\t{\n\t\t\t\t\ttmpPlayerHomeMaps.Add(map);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (tmpPlayerHomeMaps.Any())\n\t\t\t{\n\t\t\t\tMap result = tmpPlayerHomeMaps.RandomElement();\n\t\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic Map RandomRootSurfacePlayerHomeMap\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Faction.OfPlayerSilentFail == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\tMap map = maps[i];\n\t\t\t\tif (map.IsPlayerHome && map.Tile.Layer.IsRootSurface)\n\t\t\t\t{\n\t\t\t\t\ttmpPlayerHomeMaps.Add(map);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (tmpPlayerHomeMaps.Any())\n\t\t\t{\n\t\t\t\tMap result = tmpPlayerHomeMaps.RandomElement();\n\t\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic Map RandomSurfacePlayerHomeMap\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Faction.OfPlayerSilentFail == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\tMap map = maps[i];\n\t\t\t\tif (map.IsPlayerHome && map.Tile.LayerDef.SurfaceTiles)\n\t\t\t\t{\n\t\t\t\t\ttmpPlayerHomeMaps.Add(map);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (tmpPlayerHomeMaps.Any())\n\t\t\t{\n\t\t\t\tMap result = tmpPlayerHomeMaps.RandomElement();\n\t\t\t\ttmpPlayerHomeMaps.Clear();\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic List<Map> Maps => maps;\n\n\tpublic GameInitData InitData\n\t{\n\t\tget\n\t\t{\n\t\t\treturn initData;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tinitData = value;\n\t\t}\n\t}\n\n\tpublic GameInfo Info => info;\n\n\tpublic GameRules Rules => rules;\n\n\tpublic Gravship Gravship\n\t{\n\t\tget\n\t\t{\n\t\t\treturn gravshipInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tgravshipInt = value;\n\t\t}\n\t}\n\n\tpublic bool IsPlayerTile(PlanetTile tile)\n\t{\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tMap map = maps[i];\n\t\t\tif (map.Tile == tile && map.IsPlayerHome)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic Game()\n\t{\n\t\tFillComponents();\n\t}\n\n\tpublic void AddMap(Map map)\n\t{\n\t\tif (map == null)\n\t\t{\n\t\t\tLog.Error(\"Tried to add null map.\");\n\t\t\treturn;\n\t\t}\n\t\tif (maps.Contains(map))\n\t\t{\n\t\t\tLog.Error(\"Tried to add map but it's already here.\");\n\t\t\treturn;\n\t\t}\n\t\tif (maps.Count > 127)\n\t\t{\n\t\t\tLog.Error(\"Can't add map. Reached maps count limit (\" + sbyte.MaxValue + \").\");\n\t\t\treturn;\n\t\t}\n\t\tmaps.Add(map);\n\t\tFind.ColonistBar.MarkColonistsDirty();\n\t}\n\n\tpublic Map FindMap(MapParent mapParent)\n\t{\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tif (maps[i].info.parent == mapParent)\n\t\t\t{\n\t\t\t\treturn maps[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic Map FindMap(PlanetTile tile)\n\t{\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tif (maps[i].Tile == tile)\n\t\t\t{\n\t\t\t\treturn maps[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void ExposeData()\n\t{\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t{\n\t\t\tLog.Error(\"You must use special LoadData method to load Game.\");\n\t\t\treturn;\n\t\t}\n\t\tScribe_Values.Look<sbyte>(ref currentMapIndex, \"currentMapIndex\", -1);\n\t\tExposeSmallComponents();\n\t\tScribe_Deep.Look(ref worldInt, \"world\");\n\t\tScribe_Collections.Look(ref maps, \"maps\", LookMode.Deep);\n\t\tFind.CameraDriver.Expose();\n\t}\n\n\tprivate void ExposeSmallComponents()\n\t{\n\t\tScribe_Deep.Look(ref info, \"info\");\n\t\tScribe_Deep.Look(ref rules, \"rules\");\n\t\tScribe_Deep.Look(ref scenarioInt, \"scenario\");\n\t\tScribe_Deep.Look(ref tickManager, \"tickManager\");\n\t\tScribe_Deep.Look(ref playSettings, \"playSettings\");\n\t\tScribe_Deep.Look(ref storyWatcher, \"storyWatcher\");\n\t\tScribe_Deep.Look(ref gameEnder, \"gameEnder\");\n\t\tScribe_Deep.Look(ref letterStack, \"letterStack\");\n\t\tScribe_Deep.Look(ref researchManager, \"researchManager\");\n\t\tScribe_Deep.Look(ref analysisManager, \"analysisManager\");\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars && analysisManager == null)\n\t\t{\n\t\t\tanalysisManager = new AnalysisManager();\n\t\t}\n\t\tScribe_Deep.Look(ref storyteller, \"storyteller\");\n\t\tScribe_Deep.Look(ref history, \"history\");\n\t\tScribe_Deep.Look(ref taleManager, \"taleManager\");\n\t\tScribe_Deep.Look(ref playLog, \"playLog\");\n\t\tScribe_Deep.Look(ref battleLog, \"battleLog\");\n\t\tScribe_Deep.Look(ref outfitDatabase, \"outfitDatabase\");\n\t\tScribe_Deep.Look(ref drugPolicyDatabase, \"drugPolicyDatabase\");\n\t\tScribe_Deep.Look(ref foodRestrictionDatabase, \"foodRestrictionDatabase\");\n\t\tScribe_Deep.Look(ref readingPolicyDatabase, \"readingPolicyDatabase\");\n\t\tScribe_Deep.Look(ref tutor, \"tutor\");\n\t\tScribe_Deep.Look(ref dateNotifier, \"dateNotifier\");\n\t\tScribe_Deep.Look(ref uniqueIDsManager, \"uniqueIDsManager\");\n\t\tScribe_Deep.Look(ref questManager, \"questManager\");\n\t\tScribe_Deep.Look(ref transportShipManager, \"transportShipManager\");\n\t\tScribe_Deep.Look(ref studyManager, \"studyManager\");\n\t\tScribe_Deep.Look(ref customXenogermDatabase, \"customXenogermDatabase\");\n\t\tScribe_Deep.Look(ref customXenotypeDatabase, \"customXenotypeDatabase\");\n\t\tScribe_Deep.Look(ref relationshipRecords, \"relationshipRecords\");\n\t\tScribe_Deep.Look(ref hiddenItemsManager, \"hiddenItemsManager\");\n\t\tScribe_Deep.Look(ref entityCodex, \"entityCodex\");\n\t\tScribe_Collections.Look(ref components, \"components\", LookMode.Deep, this);\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t{\n\t\t\tFillComponents();\n\t\t\tif (rules == null)\n\t\t\t{\n\t\t\t\tLog.Warning(\"Save game was missing rules. Replacing with a blank GameRules.\");\n\t\t\t\trules = new GameRules();\n\t\t\t}\n\t\t\tif (relationshipRecords == null)\n\t\t\t{\n\t\t\t\trelationshipRecords = new RelationshipRecords();\n\t\t\t}\n\t\t\tif (readingPolicyDatabase == null)\n\t\t\t{\n\t\t\t\treadingPolicyDatabase = new ReadingPolicyDatabase();\n\t\t\t}\n\t\t\tif (hiddenItemsManager == null)\n\t\t\t{\n\t\t\t\thiddenItemsManager = new HiddenItemsManager();\n\t\t\t}\n\t\t\tif (entityCodex == null)\n\t\t\t{\n\t\t\t\tentityCodex = new EntityCodex();\n\t\t\t}\n\t\t}\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tprivate void FillComponents()\n\t{\n\t\tcomponents.RemoveAll((GameComponent component) => component == null);\n\t\tforeach (Type item2 in typeof(GameComponent).AllSubclassesNonAbstract())\n\t\t{\n\t\t\tif (GetComponent(item2) == null)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tGameComponent item = (GameComponent)Activator.CreateInstance(item2, this);\n\t\t\t\t\tcomponents.Add(item);\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Could not instantiate a GameComponent of type \" + item2?.ToString() + \": \" + ex);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic void InitNewGame()\n\t{\n\t\tstring text = LoadedModManager.RunningMods.Select((ModContentPack mod) => mod.PackageIdPlayerFacing + ((!mod.ModMetaData.VersionCompatible) ? \" (incompatible version)\" : \"\")).ToLineList(\" - \");\n\t\tLog.Message(\"Initializing new game with mods:\\n\" + text);\n\t\tif (maps.Any())\n\t\t{\n\t\t\tLog.Error(\"Called InitNewGame() but there already is a map. There should be 0 maps...\");\n\t\t\treturn;\n\t\t}\n\t\tif (initData == null)\n\t\t{\n\t\t\tLog.Error(\"Called InitNewGame() but init data is null. Create it first.\");\n\t\t\treturn;\n\t\t}\n\t\tClearCaches();\n\t\tMemoryUtility.UnloadUnusedUnityAssets();\n\t\ttry\n\t\t{\n\t\t\tCurrent.ProgramState = ProgramState.MapInitializing;\n\t\t\tIntVec3 intVec = new IntVec3(initData.mapSize, 1, initData.mapSize);\n\t\t\tSettlement settlement = null;\n\t\t\tList<Settlement> settlements = Find.WorldObjects.Settlements;\n\t\t\tfor (int i = 0; i < settlements.Count; i++)\n\t\t\t{\n\t\t\t\tif (settlements[i].Faction == Faction.OfPlayer)\n\t\t\t\t{\n\t\t\t\t\tsettlement = settlements[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (settlement == null)\n\t\t\t{\n\t\t\t\tLog.Error(\"Could not generate starting map because there is no any player faction base.\");\n\t\t\t}\n\t\t\ttickManager.gameStartAbsTick = GenTicks.ConfiguredTicksAbsAtGameStart;\n\t\t\tinfo.startingTile = initData.startingTile;\n\t\t\tinfo.startingAndOptionalPawns = initData.startingAndOptionalPawns;\n\t\t\tMap currentMap = MapGenerator.GenerateMap(intVec, settlement, initData.mapGeneratorDef ?? settlement.MapGeneratorDef, settlement.ExtraGenStepDefs);\n\t\t\tworldInt.info.initialMapSize = intVec;\n\t\t\tif (initData.permadeath)\n\t\t\t{\n\t\t\t\tinfo.permadeathMode = true;\n\t\t\t\tinfo.permadeathModeUniqueName = PermadeathModeUtility.GeneratePermadeathSaveName();\n\t\t\t}\n\t\t\tPawnUtility.GiveAllStartingPlayerPawnsThought(ThoughtDefOf.NewColonyOptimism);\n\t\t\tFinalizeInit();\n\t\t\tCurrent.Game.CurrentMap = currentMap;\n\t\t\tFind.CameraDriver.JumpToCurrentMapLoc(MapGenerator.PlayerStartSpot);\n\t\t\tFind.CameraDriver.ResetSize();\n\t\t\tif (Prefs.PauseOnLoad && initData.startedFromEntry)\n\t\t\t{\n\t\t\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t\t\t{\n\t\t\t\t\ttickManager.DoSingleTick();\n\t\t\t\t\ttickManager.CurTimeSpeed = TimeSpeed.Paused;\n\t\t\t\t});\n\t\t\t}\n\t\t\tFind.Scenario.PostGameStart();\n\t\t\thistory.FinalizeInit();\n\t\t\tResearchUtility.ApplyPlayerStartingResearch();\n\t\t\tGameComponentUtility.StartedNewGame();\n\t\t\tinitData = null;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t}\n\t}\n\n\tpublic void LoadGame()\n\t{\n\t\tif (maps.Any())\n\t\t{\n\t\t\tLog.Error(\"Called LoadGame() but there already is a map. There should be 0 maps...\");\n\t\t\treturn;\n\t\t}\n\t\tClearCaches();\n\t\tMemoryUtility.UnloadUnusedUnityAssets();\n\t\tBackCompatibility.PreLoadSavegame(ScribeMetaHeaderUtility.loadedGameVersion);\n\t\tCurrent.ProgramState = ProgramState.MapInitializing;\n\t\tExposeSmallComponents();\n\t\tLongEventHandler.SetCurrentEventText(\"LoadingWorld\".Translate());\n\t\tif (Scribe.EnterNode(\"world\"))\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tWorld = new World();\n\t\t\t\tWorld.ExposeData();\n\t\t\t}\n\t\t\tfinally\n\t\t\t{\n\t\t\t\tScribe.ExitNode();\n\t\t\t}\n\t\t\tDeepProfiler.Start(\"World.FinalizeInit\");\n\t\t\tWorld.FinalizeInit(fromLoad: true);\n\t\t\tDeepProfiler.End();\n\t\t\tLongEventHandler.SetCurrentEventText(\"LoadingMap\".Translate());\n\t\t\tScribe_Collections.Look(ref maps, \"maps\", LookMode.Deep);\n\t\t\tif (maps.RemoveAll((Map x) => x == null) != 0)\n\t\t\t{\n\t\t\t\tLog.Warning(\"Some maps were null after loading.\");\n\t\t\t}\n\t\t\tint value = -1;\n\t\t\tScribe_Values.Look(ref value, \"currentMapIndex\", -1);\n\t\t\tif (value < 0 && maps.Any())\n\t\t\t{\n\t\t\t\tLog.Error(\"Current map is null after loading but there are maps available. Setting current map to [0].\");\n\t\t\t\tvalue = 0;\n\t\t\t}\n\t\t\tif (value >= maps.Count)\n\t\t\t{\n\t\t\t\tLog.Error(\"Current map index out of bounds after loading.\");\n\t\t\t\tvalue = ((!maps.Any()) ? (-1) : 0);\n\t\t\t}\n\t\t\tcurrentMapIndex = sbyte.MinValue;\n\t\t\tCurrentMap = ((value >= 0) ? maps[value] : null);\n\t\t\tLongEventHandler.SetCurrentEventText(\"InitializingGame\".Translate());\n\t\t\tFind.CameraDriver.Expose();\n\t\t\tDeepProfiler.Start(\"Scribe.loader.FinalizeLoading\");\n\t\t\tScribe.loader.FinalizeLoading();\n\t\t\tDeepProfiler.End();\n\t\t\tLongEventHandler.SetCurrentEventText(\"SpawningAllThings\".Translate());\n\t\t\tDeepProfiler.Start(\"maps.FinalizeLoading\");\n\t\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tmaps[i].FinalizeLoading();\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Error in Map.FinalizeLoading(): \" + ex);\n\t\t\t\t}\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tmaps[i].Parent?.FinalizeLoading();\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex2)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Error in MapParent.FinalizeLoading(): \" + ex2);\n\t\t\t\t}\n\t\t\t}\n\t\t\tDeepProfiler.End();\n\t\t\tDeepProfiler.Start(\"Game.FinalizeInit\");\n\t\t\tFinalizeInit();\n\t\t\tDeepProfiler.End();\n\t\t\tif (Prefs.PauseOnLoad)\n\t\t\t{\n\t\t\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t\t\t{\n\t\t\t\t\tFind.TickManager.DoSingleTick();\n\t\t\t\t\tFind.TickManager.CurTimeSpeed = TimeSpeed.Paused;\n\t\t\t\t});\n\t\t\t}\n\t\t\tGameComponentUtility.LoadedGame();\n\t\t\tBackCompatibility.PostLoadSavegame(ScribeMetaHeaderUtility.loadedGameVersion);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tLog.Error(\"Could not find world XML node.\");\n\t\t}\n\t}\n\n\tpublic void UpdateEntry()\n\t{\n\t\tGameComponentUtility.GameComponentUpdate();\n\t}\n\n\tpublic void UpdatePlay()\n\t{\n\t\ttry\n\t\t{\n\t\t\tFind.LetterStack.OpenAutomaticLetters();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\ttickManager.TickManagerUpdate();\n\t\tletterStack.LetterStackUpdate();\n\t\tWorld.WorldUpdate();\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tmaps[i].MapUpdate();\n\t\t}\n\t\tInfo.GameInfoUpdate();\n\t\tGameComponentUtility.GameComponentUpdate();\n\t\tsignalManager.SignalManagerUpdate();\n\t\tGlobalTextureAtlasManager.GlobalTextureAtlasManagerUpdate();\n\t}\n\n\tpublic T GetComponent<T>() where T : GameComponent\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (components[i] is T result)\n\t\t\t{\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic GameComponent GetComponent(Type type)\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (type.IsInstanceOfType(components[i]))\n\t\t\t{\n\t\t\t\treturn components[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void FinalizeInit()\n\t{\n\t\tLogSimple.FlushToFileAndOpen();\n\t\tresearchManager.ReapplyAllMods();\n\t\tMessagesRepeatAvoider.Reset();\n\t\tGameComponentUtility.FinalizeInit();\n\t\tCurrent.ProgramState = ProgramState.Playing;\n\t\tCurrent.Game.World.ideoManager.Notify_GameStarted();\n\t\tRecipeDefGenerator.ResetRecipeIngredientsForDifficulty();\n\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t{\n\t\t\tDebugSettings.devPalette = Prefs.StartDevPaletteOn;\n\t\t\tFind.UIRoot.debugWindowOpener.TryOpenOrClosePalette();\n\t\t});\n\t}\n\n\tpublic void DeinitAndRemoveMap(Map map, bool notifyPlayer)\n\t{\n\t\tif (map == null)\n\t\t{\n\t\t\tLog.Error(\"Tried to remove null map.\");\n\t\t\treturn;\n\t\t}\n\t\tif (!maps.Contains(map))\n\t\t{\n\t\t\tLog.Error(\"Tried to remove map \" + map?.ToString() + \" but it's not here.\");\n\t\t\treturn;\n\t\t}\n\t\tif (map.Parent != null)\n\t\t{\n\t\t\tmap.Parent.Notify_MyMapAboutToBeRemoved();\n\t\t}\n\t\tMap currentMap = CurrentMap;\n\t\tMapDeiniter.Deinit(map, notifyPlayer);\n\t\tmaps.Remove(map);\n\t\tif (currentMap != null)\n\t\t{\n\t\t\tsbyte b = (sbyte)maps.IndexOf(currentMap);\n\t\t\tif (b < 0)\n\t\t\t{\n\t\t\t\tif (maps.Any())\n\t\t\t\t{\n\t\t\t\t\tCurrentMap = maps[0];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tCurrentMap = null;\n\t\t\t\t}\n\t\t\t\tFind.World.renderer.wantedMode = WorldRenderMode.Planet;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcurrentMapIndex = b;\n\t\t\t}\n\t\t}\n\t\tif (Current.ProgramState == ProgramState.Playing)\n\t\t{\n\t\t\tFind.ColonistBar.MarkColonistsDirty();\n\t\t}\n\t\tMapComponentUtility.MapRemoved(map);\n\t\tFind.Scenario.MapRemoved(map);\n\t\tif (map.Parent != null)\n\t\t{\n\t\t\tmap.Parent.Notify_MyMapRemoved(map);\n\t\t}\n\t\tforeach (PocketMapParent item in Find.World.pocketMaps.ToList())\n\t\t{\n\t\t\tif (item.sourceMap == map && item.Map.generatorDef.pocketMapProperties.destroyOnParentMapAbandoned)\n\t\t\t{\n\t\t\t\tPocketMapUtility.DestroyPocketMap(item.Map);\n\t\t\t}\n\t\t}\n\t\tmap.Dispose();\n\t}\n\n\tpublic string DebugString()\n\t{\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.AppendLine(\"Game debug data:\");\n\t\tstringBuilder.AppendLine(\"initData:\");\n\t\tif (initData == null)\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" null\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tstringBuilder.AppendLine(initData.ToString());\n\t\t}\n\t\tstringBuilder.AppendLine(\"Scenario:\");\n\t\tif (scenarioInt == null)\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" null\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" \" + scenarioInt);\n\t\t}\n\t\tstringBuilder.AppendLine(\"World:\");\n\t\tif (worldInt == null)\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" null\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" name: \" + worldInt.info.name);\n\t\t}\n\t\tstringBuilder.AppendLine(\"Maps count: \" + maps.Count);\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tstringBuilder.AppendLine(\" Map \" + maps[i].Index + \":\");\n\t\t\tstringBuilder.AppendLine(\" tile: \" + maps[i].TileInfo);\n\t\t}\n\t\tstringBuilder.AppendLine(\"Game components:\");\n\t\tfor (int j = 0; j < components.Count; j++)\n\t\t{\n\t\t\tcomponents[j].AppendDebugString(stringBuilder);\n\t\t}\n\t\treturn stringBuilder.ToString();\n\t}\n\n\tpublic void Dispose()\n\t{\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tmaps[i].Dispose();\n\t\t}\n\t\tworldInt?.Dispose();\n\t\tSteadyEnvironmentEffects.Reset();\n\t\tUnityData.DisposeStaticResources();\n\t}\n\n\tpublic static void ClearCaches()\n\t{\n\t\tFind.ClearCache();\n\t\tChildcareUtility.ClearCache();\n\t\tSlaveRebellionUtility.ClearCache();\n\t\tAlert_NeedMeditationSpot.ClearCache();\n\t\tBuildCopyCommandUtility.ClearCache();\n\t\tMechanitorUtility.ClearCache();\n\t\tSocialCardUtility.ClearCaches();\n\t\tforeach (StatDef item in DefDatabase<StatDef>.AllDefsListForReading)\n\t\t{\n\t\t\titem.Worker.TryClearCache();\n\t\t}\n\t}\n}\n\n--- 结果 2 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\Map.txt\n\npublic sealed class Map : IIncidentTarget, ILoadReferenceable, IThingHolder, IExposable, IDisposable\n{\n\tpublic MapFileCompressor compressor;\n\n\tprivate List<Thing> loadedFullThings;\n\n\tpublic MapGeneratorDef generatorDef;\n\n\tpublic int uniqueID = -1;\n\n\tpublic int generationTick;\n\n\tpublic bool wasSpawnedViaGravShipLanding;\n\n\tprivate Color? fogOfWarColor;\n\n\tprivate OrbitalDebrisDef orbitalDebris;\n\n\tprivate int generatedId;\n\n\tpublic MapInfo info = new MapInfo();\n\n\tpublic MapEvents events;\n\n\tpublic List<MapComponent> components = new List<MapComponent>();\n\n\tpublic ThingOwner spawnedThings;\n\n\tpublic CellIndices cellIndices;\n\n\tpublic ListerThings listerThings;\n\n\tpublic ListerBuildings listerBuildings;\n\n\tpublic MapPawns mapPawns;\n\n\tpublic DynamicDrawManager dynamicDrawManager;\n\n\tpublic MapDrawer mapDrawer;\n\n\tpublic PawnDestinationReservationManager pawnDestinationReservationManager;\n\n\tpublic TooltipGiverList tooltipGiverList;\n\n\tpublic ReservationManager reservationManager;\n\n\tpublic EnrouteManager enrouteManager;\n\n\tpublic PhysicalInteractionReservationManager physicalInteractionReservationManager;\n\n\tpublic DesignationManager designationManager;\n\n\tpublic LordManager lordManager;\n\n\tpublic PassingShipManager passingShipManager;\n\n\tpublic HaulDestinationManager haulDestinationManager;\n\n\tpublic DebugCellDrawer debugDrawer;\n\n\tpublic GameConditionManager gameConditionManager;\n\n\tpublic WeatherManager weatherManager;\n\n\tpublic ZoneManager zoneManager;\n\n\tpublic PlanManager planManager;\n\n\tpublic ResourceCounter resourceCounter;\n\n\tpublic MapTemperature mapTemperature;\n\n\tpublic TemperatureVacuumCache TemperatureVacuumCache;\n\n\tpublic AreaManager areaManager;\n\n\tpublic AttackTargetsCache attackTargetsCache;\n\n\tpublic AttackTargetReservationManager attackTargetReservationManager;\n\n\tpublic VoluntarilyJoinableLordsStarter lordsStarter;\n\n\tpublic FleckManager flecks;\n\n\tpublic DeferredSpawner deferredSpawner;\n\n\tpublic ThingGrid thingGrid;\n\n\tpublic CoverGrid coverGrid;\n\n\tpublic EdificeGrid edificeGrid;\n\n\tpublic BlueprintGrid blueprintGrid;\n\n\tpublic FogGrid fogGrid;\n\n\tpublic RegionGrid regionGrid;\n\n\tpublic GlowGrid glowGrid;\n\n\tpublic TerrainGrid terrainGrid;\n\n\tpublic Pathing pathing;\n\n\tpublic RoofGrid roofGrid;\n\n\tpublic FertilityGrid fertilityGrid;\n\n\tpublic SnowGrid snowGrid;\n\n\tpublic DeepResourceGrid deepResourceGrid;\n\n\tpublic ExitMapGrid exitMapGrid;\n\n\tpublic AvoidGrid avoidGrid;\n\n\tpublic GasGrid gasGrid;\n\n\tpublic PollutionGrid pollutionGrid;\n\n\tpublic SubstructureGrid substructureGrid;\n\n\tpublic WaterBodyTracker waterBodyTracker;\n\n\tpublic SandGrid sandGrid;\n\n\tpublic LinkGrid linkGrid;\n\n\tpublic PowerNetManager powerNetManager;\n\n\tpublic PowerNetGrid powerNetGrid;\n\n\tpublic RegionMaker regionMaker;\n\n\tpublic PathFinder pathFinder;\n\n\tpublic PawnPathPool pawnPathPool;\n\n\tpublic RegionAndRoomUpdater regionAndRoomUpdater;\n\n\tpublic RegionLinkDatabase regionLinkDatabase;\n\n\tpublic MoteCounter moteCounter;\n\n\tpublic GatherSpotLister gatherSpotLister;\n\n\tpublic WindManager windManager;\n\n\tpublic ListerBuildingsRepairable listerBuildingsRepairable;\n\n\tpublic ListerHaulables listerHaulables;\n\n\tpublic ListerMergeables listerMergeables;\n\n\tpublic ListerArtificialBuildingsForMeditation listerArtificialBuildingsForMeditation;\n\n\tpublic ListerBuldingOfDefInProximity listerBuldingOfDefInProximity;\n\n\tpublic ListerBuildingWithTagInProximity listerBuildingWithTagInProximity;\n\n\tpublic ListerFilthInHomeArea listerFilthInHomeArea;\n\n\tpublic Reachability reachability;\n\n\tpublic ItemAvailability itemAvailability;\n\n\tpublic AutoBuildRoofAreaSetter autoBuildRoofAreaSetter;\n\n\tpublic RoofCollapseBufferResolver roofCollapseBufferResolver;\n\n\tpublic RoofCollapseBuffer roofCollapseBuffer;\n\n\tpublic WildAnimalSpawner wildAnimalSpawner;\n\n\tpublic WildPlantSpawner wildPlantSpawner;\n\n\tpublic SteadyEnvironmentEffects steadyEnvironmentEffects;\n\n\tpublic TempTerrainManager tempTerrain;\n\n\tpublic FreezeManager freezeManager;\n\n\tpublic SkyManager skyManager;\n\n\tpublic OverlayDrawer overlayDrawer;\n\n\tpublic FloodFiller floodFiller;\n\n\tpublic WeatherDecider weatherDecider;\n\n\tpublic FireWatcher fireWatcher;\n\n\tpublic DangerWatcher dangerWatcher;\n\n\tpublic DamageWatcher damageWatcher;\n\n\tpublic StrengthWatcher strengthWatcher;\n\n\tpublic WealthWatcher wealthWatcher;\n\n\tpublic RegionDirtyer regionDirtyer;\n\n\tpublic MapCellsInRandomOrder cellsInRandomOrder;\n\n\tpublic RememberedCameraPos rememberedCameraPos;\n\n\tpublic MineStrikeManager mineStrikeManager;\n\n\tpublic StoryState storyState;\n\n\tpublic RoadInfo roadInfo;\n\n\tpublic WaterInfo waterInfo;\n\n\tpublic RetainedCaravanData retainedCaravanData;\n\n\tpublic TemporaryThingDrawer temporaryThingDrawer;\n\n\tpublic AnimalPenManager animalPenManager;\n\n\tpublic MapPlantGrowthRateCalculator plantGrowthRateCalculator;\n\n\tpublic AutoSlaughterManager autoSlaughterManager;\n\n\tpublic TreeDestructionTracker treeDestructionTracker;\n\n\tpublic StorageGroupManager storageGroups;\n\n\tpublic EffecterMaintainer effecterMaintainer;\n\n\tpublic PostTickVisuals postTickVisuals;\n\n\tpublic List<LayoutStructureSketch> layoutStructureSketches = new List<LayoutStructureSketch>();\n\n\tpublic ThingListChangedCallbacks thingListChangedCallbacks = new ThingListChangedCallbacks();\n\n\tpublic List<CellRect> landingBlockers = new List<CellRect>();\n\n\tpublic Tile pocketTileInfo;\n\n\tpublic const string ThingSaveKey = \"thing\";\n\n\t[TweakValue(\"Graphics_Shadow\", 0f, 100f)]\n\tprivate static bool AlwaysRedrawShadows;\n\n\tprivate MixedBiomeMapComponent mixedBiomeComp;\n\n\tpublic int Index => Find.Maps.IndexOf(this);\n\n\tpublic IntVec3 Size => info.Size;\n\n\tpublic IntVec3 Center => new IntVec3(Size.x / 2, 0, Size.z / 2);\n\n\tpublic Faction ParentFaction => info.parent?.Faction;\n\n\tpublic int Area => Size.x * Size.z;\n\n\tpublic IThingHolder ParentHolder => info.parent;\n\n\tpublic bool DrawMapClippers => !generatorDef.disableMapClippers;\n\n\tpublic bool CanEverExit\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!info.isPocketMap)\n\t\t\t{\n\t\t\t\treturn Biome.canExitMap;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic Color? FogOfWarColor\n\t{\n\t\tget\n\t\t{\n\t\t\treturn fogOfWarColor ?? Biome.fogOfWarColor;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tfogOfWarColor = value;\n\t\t}\n\t}\n\n\tpublic OrbitalDebrisDef OrbitalDebris\n\t{\n\t\tget\n\t\t{\n\t\t\treturn orbitalDebris ?? Biome.orbitalDebris;\n\t\t}\n\t\tset\n\t\t{\n\t\t\torbitalDebris = value;\n\t\t}\n\t}\n\n\tpublic Material MapEdgeMaterial\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ModsConfig.AnomalyActive && generatorDef == MapGeneratorDefOf.MetalHell)\n\t\t\t{\n\t\t\t\treturn MapEdgeClipDrawer.ClipMatMetalhell;\n\t\t\t}\n\t\t\tWorldObject parent = Parent;\n\t\t\tif (parent != null && parent.def.MapEdgeMaterial != null)\n\t\t\t{\n\t\t\t\treturn parent.def.MapEdgeMaterial;\n\t\t\t}\n\t\t\treturn MapEdgeClipDrawer.ClipMat;\n\t\t}\n\t}\n\n\tpublic bool Disposed { get; private set; }\n\n\tpublic IEnumerable<IntVec3> AllCells\n\t{\n\t\tget\n\t\t{\n\t\t\tfor (int z = 0; z < Size.z; z++)\n\t\t\t{\n\t\t\t\tfor (int y = 0; y < Size.y; y++)\n\t\t\t\t{\n\t\t\t\t\tfor (int x = 0; x < Size.x; x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tyield return new IntVec3(x, y, z);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic bool IsPlayerHome\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!wasSpawnedViaGravShipLanding)\n\t\t\t{\n\t\t\t\tif (info?.parent != null && info.parent.Faction == Faction.OfPlayer)\n\t\t\t\t{\n\t\t\t\t\treturn info.parent.def.canBePlayerHome;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool TreatAsPlayerHomeForThreatPoints\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsPlayerHome)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (info.parent != null && info.parent.def.treatAsPlayerHome)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsTempIncidentMap => info.parent.def.isTempIncidentMapOwner;\n\n\tpublic PlanetTile Tile => info.Tile;\n\n\tpublic Tile TileInfo\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsPocketMap)\n\t\t\t{\n\t\t\t\treturn Find.WorldGrid[Tile];\n\t\t\t}\n\t\t\treturn pocketTileInfo;\n\t\t}\n\t}\n\n\tpublic BiomeDef Biome => TileInfo.PrimaryBiome;\n\n\tpublic IEnumerable<BiomeDef> Biomes => TileInfo.Biomes;\n\n\tpublic MixedBiomeMapComponent MixedBiomeComp => mixedBiomeComp ?? (mixedBiomeComp = GetComponent<MixedBiomeMapComponent>());\n\n\tpublic bool IsStartingMap => Find.GameInfo.startingTile == Tile;\n\n\tpublic bool IsPocketMap => info.isPocketMap;\n\n\tpublic StoryState StoryState => storyState;\n\n\tpublic GameConditionManager GameConditionManager => gameConditionManager;\n\n\tpublic float PlayerWealthForStoryteller\n\t{\n\t\tget\n\t\t{\n\t\t\tif (TreatAsPlayerHomeForThreatPoints)\n\t\t\t{\n\t\t\t\tif (Find.Storyteller.difficulty.fixedWealthMode)\n\t\t\t\t{\n\t\t\t\t\treturn StorytellerUtility.FixedWealthModeMapWealthFromTimeCurve.Evaluate(AgeInDays * Find.Storyteller.difficulty.fixedWealthTimeFactor);\n\t\t\t\t}\n\t\t\t\treturn wealthWatcher.WealthItems + wealthWatcher.WealthBuildings * 0.5f + wealthWatcher.WealthPawns;\n\t\t\t}\n\t\t\tfloat num = 0f;\n\t\t\tforeach (Pawn item in mapPawns.PawnsInFaction(Faction.OfPlayer))\n\t\t\t{\n\t\t\t\tif (item.IsFreeColonist)\n\t\t\t\t{\n\t\t\t\t\tnum += WealthWatcher.GetEquipmentApparelAndInventoryWealth(item);\n\t\t\t\t}\n\t\t\t\tif (item.IsAnimal)\n\t\t\t\t{\n\t\t\t\t\tnum += item.MarketValue;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn num;\n\t\t}\n\t}\n\n\tpublic IEnumerable<Pawn> PlayerPawnsForStoryteller => mapPawns.PawnsInFaction(Faction.OfPlayer);\n\n\tpublic FloatRange IncidentPointsRandomFactorRange => FloatRange.One;\n\n\tpublic MapParent Parent => info.parent;\n\n\tpublic PocketMapParent PocketMapParent\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsPocketMap)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn Parent as PocketMapParent;\n\t\t}\n\t}\n\n\tpublic IEnumerable<Map> ChildPocketMaps\n\t{\n\t\tget\n\t\t{\n\t\t\tforeach (PocketMapParent pocketMap in Find.World.pocketMaps)\n\t\t\t{\n\t\t\t\tif (pocketMap.sourceMap == this)\n\t\t\t\t{\n\t\t\t\t\tyield return pocketMap.Map;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic float AgeInDays => (float)(Find.TickManager.TicksGame - generationTick) / 60000f;\n\n\tpublic int NextGenSeed => HashCode.Combine(TileInfo.tile.Valid ? TileInfo.tile.GetHashCode() : uniqueID, generatedId++, Find.World.info.Seed);\n\n\tpublic int ConstantRandSeed => uniqueID ^ 0xFDA252;\n\n\tpublic IEnumerator<IntVec3> GetEnumerator()\n\t{\n\t\tforeach (IntVec3 allCell in AllCells)\n\t\t{\n\t\t\tyield return allCell;\n\t\t}\n\t}\n\n\tpublic IEnumerable<IncidentTargetTagDef> IncidentTargetTags()\n\t{\n\t\treturn info.parent?.IncidentTargetTags() ?? Enumerable.Empty<IncidentTargetTagDef>();\n\t}\n\n\tpublic void ConstructComponents()\n\t{\n\t\tspawnedThings = new ThingOwner<Thing>(this);\n\t\tcellIndices = new CellIndices(this);\n\t\tlisterThings = new ListerThings(ListerThingsUse.Global, thingListChangedCallbacks);\n\t\tlisterBuildings = new ListerBuildings();\n\t\tmapPawns = new MapPawns(this);\n\t\tdynamicDrawManager = new DynamicDrawManager(this);\n\t\tmapDrawer = new MapDrawer(this);\n\t\ttooltipGiverList = new TooltipGiverList();\n\t\tpawnDestinationReservationManager = new PawnDestinationReservationManager();\n\t\treservationManager = new ReservationManager(this);\n\t\tenrouteManager = new EnrouteManager(this);\n\t\tphysicalInteractionReservationManager = new PhysicalInteractionReservationManager();\n\t\tdesignationManager = new DesignationManager(this);\n\t\tlordManager = new LordManager(this);\n\t\tdebugDrawer = new DebugCellDrawer();\n\t\tpassingShipManager = new PassingShipManager(this);\n\t\thaulDestinationManager = new HaulDestinationManager(this);\n\t\tgameConditionManager = new GameConditionManager(this);\n\t\tweatherManager = new WeatherManager(this);\n\t\tzoneManager = new ZoneManager(this);\n\t\tplanManager = new PlanManager(this);\n\t\tresourceCounter = new ResourceCounter(this);\n\t\tmapTemperature = new MapTemperature(this);\n\t\tTemperatureVacuumCache = new TemperatureVacuumCache(this);\n\t\tareaManager = new AreaManager(this);\n\t\tattackTargetsCache = new AttackTargetsCache(this);\n\t\tattackTargetReservationManager = new AttackTargetReservationManager(this);\n\t\tlordsStarter = new VoluntarilyJoinableLordsStarter(this);\n\t\tflecks = new FleckManager(this);\n\t\tdeferredSpawner = new DeferredSpawner(this);\n\t\tthingGrid = new ThingGrid(this);\n\t\tcoverGrid = new CoverGrid(this);\n\t\tedificeGrid = new EdificeGrid(this);\n\t\tblueprintGrid = new BlueprintGrid(this);\n\t\tfogGrid = new FogGrid(this);\n\t\tglowGrid = new GlowGrid(this);\n\t\tregionGrid = new RegionGrid(this);\n\t\tterrainGrid = new TerrainGrid(this);\n\t\tpathing = new Pathing(this);\n\t\troofGrid = new RoofGrid(this);\n\t\tfertilityGrid = new FertilityGrid(this);\n\t\tsnowGrid = new SnowGrid(this);\n\t\tgasGrid = new GasGrid(this);\n\t\tpollutionGrid = new PollutionGrid(this);\n\t\tdeepResourceGrid = new DeepResourceGrid(this);\n\t\texitMapGrid = new ExitMapGrid(this);\n\t\tavoidGrid = new AvoidGrid(this);\n\t\tlinkGrid = new LinkGrid(this);\n\t\tpowerNetManager = new PowerNetManager(this);\n\t\tpowerNetGrid = new PowerNetGrid(this);\n\t\tregionMaker = new RegionMaker(this);\n\t\tpathFinder = new PathFinder(this);\n\t\tpawnPathPool = new PawnPathPool(this);\n\t\tregionAndRoomUpdater = new RegionAndRoomUpdater(this);\n\t\tregionLinkDatabase = new RegionLinkDatabase();\n\t\tmoteCounter = new MoteCounter();\n\t\tgatherSpotLister = new GatherSpotLister();\n\t\twindManager = new WindManager(this);\n\t\tlisterBuildingsRepairable = new ListerBuildingsRepairable();\n\t\tlisterHaulables = new ListerHaulables(this);\n\t\tlisterMergeables = new ListerMergeables(this);\n\t\tlisterFilthInHomeArea = new ListerFilthInHomeArea(this);\n\t\tlisterArtificialBuildingsForMeditation = new ListerArtificialBuildingsForMeditation(this);\n\t\tlisterBuldingOfDefInProximity = new ListerBuldingOfDefInProximity(this);\n\t\tlisterBuildingWithTagInProximity = new ListerBuildingWithTagInProximity(this);\n\t\treachability = new Reachability(this);\n\t\titemAvailability = new ItemAvailability(this);\n\t\tautoBuildRoofAreaSetter = new AutoBuildRoofAreaSetter(this);\n\t\troofCollapseBufferResolver = new RoofCollapseBufferResolver(this);\n\t\troofCollapseBuffer = new RoofCollapseBuffer();\n\t\twildAnimalSpawner = new WildAnimalSpawner(this);\n\t\twildPlantSpawner = new WildPlantSpawner(this);\n\t\tsteadyEnvironmentEffects = new SteadyEnvironmentEffects(this);\n\t\ttempTerrain = new TempTerrainManager(this);\n\t\tskyManager = new SkyManager(this);\n\t\toverlayDrawer = new OverlayDrawer();\n\t\tfloodFiller = new FloodFiller(this);\n\t\tweatherDecider = new WeatherDecider(this);\n\t\tfireWatcher = new FireWatcher(this);\n\t\tdangerWatcher = new DangerWatcher(this);\n\t\tdamageWatcher = new DamageWatcher();\n\t\tstrengthWatcher = new StrengthWatcher(this);\n\t\twealthWatcher = new WealthWatcher(this);\n\t\tregionDirtyer = new RegionDirtyer(this);\n\t\tcellsInRandomOrder = new MapCellsInRandomOrder(this);\n\t\trememberedCameraPos = new RememberedCameraPos(this);\n\t\tmineStrikeManager = new MineStrikeManager();\n\t\tstoryState = new StoryState(this);\n\t\tretainedCaravanData = new RetainedCaravanData(this);\n\t\ttemporaryThingDrawer = new TemporaryThingDrawer();\n\t\tanimalPenManager = new AnimalPenManager(this);\n\t\tplantGrowthRateCalculator = new MapPlantGrowthRateCalculator();\n\t\tautoSlaughterManager = new AutoSlaughterManager(this);\n\t\ttreeDestructionTracker = new TreeDestructionTracker(this);\n\t\tstorageGroups = new StorageGroupManager(this);\n\t\teffecterMaintainer = new EffecterMaintainer(this);\n\t\tpostTickVisuals = new PostTickVisuals(this);\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tsubstructureGrid = new SubstructureGrid(this);\n\t\t\twaterBodyTracker = new WaterBodyTracker(this);\n\t\t\tfreezeManager = new FreezeManager(this);\n\t\t\tsandGrid = new SandGrid(this);\n\t\t}\n\t\tcomponents.Clear();\n\t\tFillComponents();\n\t}\n\n\tpublic void ExposeData()\n\t{\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t{\n\t\t\tevents = new MapEvents(this);\n\t\t}\n\t\tScribe_Values.Look(ref uniqueID, \"uniqueID\", -1);\n\t\tScribe_Values.Look(ref generationTick, \"generationTick\", 0);\n\t\tScribe_Values.Look(ref wasSpawnedViaGravShipLanding, \"wasSpawnedViaGravShipLanding\", defaultValue: false);\n\t\tScribe_Values.Look(ref fogOfWarColor, \"fogOfWarColor\");\n\t\tScribe_Values.Look(ref generatedId, \"generatedId\", 0);\n\t\tScribe_Defs.Look(ref orbitalDebris, \"orbitalDebris\");\n\t\tScribe_Defs.Look(ref generatorDef, \"generatorDef\");\n\t\tScribe_Deep.Look(ref pocketTileInfo, \"pocketTileInfo\");\n\t\tScribe_Deep.Look(ref info, \"mapInfo\");\n\t\tScribe_Collections.Look(ref layoutStructureSketches, \"layoutStructureSketches\", LookMode.Deep);\n\t\tScribe_Collections.Look(ref landingBlockers, \"landingBlockers\", LookMode.Undefined);\n\t\tif (Scribe.mode == LoadSaveMode.Saving)\n\t\t{\n\t\t\tcompressor = new MapFileCompressor(this);\n\t\t\tcompressor.BuildCompressedString();\n\t\t\tExposeComponents();\n\t\t\tcompressor.ExposeData();\n\t\t\tHashSet<string> hashSet = new HashSet<string>();\n\t\t\tif (Scribe.EnterNode(\"things\"))\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tforeach (Thing allThing in listerThings.AllThings)\n\t\t\t\t\t{\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (allThing.def.isSaveable && !allThing.IsSaveCompressible())\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif (!hashSet.Add(allThing.ThingID))\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tLog.Error(\"Saving Thing with already-used ID \" + allThing.ThingID);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thashSet.Add(allThing.ThingID);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tThing target = allThing;\n\t\t\t\t\t\t\t\tScribe_Deep.Look(ref target, \"thing\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (OutOfMemoryException)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthrow;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (Exception arg)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLog.Error($\"Exception saving {allThing}: {arg}\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tScribe.ExitNode();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tLog.Error(\"Could not enter the things node while saving.\");\n\t\t\t}\n\t\t\tcompressor = null;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t\t{\n\t\t\t\tConstructComponents();\n\t\t\t\tregionAndRoomUpdater.Enabled = false;\n\t\t\t\tcompressor = new MapFileCompressor(this);\n\t\t\t}\n\t\t\telse if (Scribe.mode == LoadSaveMode.PostLoadInit && landingBlockers == null)\n\t\t\t{\n\t\t\t\tlandingBlockers = new List<CellRect>();\n\t\t\t}\n\t\t\tExposeComponents();\n\t\t\tDeepProfiler.Start(\"Load compressed things\");\n\t\t\tcompressor.ExposeData();\n\t\t\tDeepProfiler.End();\n\t\t\tDeepProfiler.Start(\"Load non-compressed things\");\n\t\t\tScribe_Collections.Look(ref loadedFullThings, \"things\", LookMode.Deep);\n\t\t\tDeepProfiler.End();\n\t\t}\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tprivate void FillComponents()\n\t{\n\t\tcomponents.RemoveAll((MapComponent component) => component == null);\n\t\tforeach (Type item3 in typeof(MapComponent).AllSubclassesNonAbstract())\n\t\t{\n\t\t\tif (!typeof(CustomMapComponent).IsAssignableFrom(item3) && GetComponent(item3) == null)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tMapComponent item = (MapComponent)Activator.CreateInstance(item3, this);\n\t\t\t\t\tcomponents.Add(item);\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Could not instantiate a MapComponent of type \" + item3?.ToString() + \": \" + ex);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (generatorDef?.customMapComponents != null)\n\t\t{\n\t\t\tforeach (Type customMapComponent in generatorDef.customMapComponents)\n\t\t\t{\n\t\t\t\tif (GetComponent(customMapComponent) == null)\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tMapComponent item2 = (MapComponent)Activator.CreateInstance(customMapComponent, this);\n\t\t\t\t\t\tcomponents.Add(item2);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (Exception ex2)\n\t\t\t\t\t{\n\t\t\t\t\t\tLog.Error(\"Could not instantiate a MapComponent of type \" + customMapComponent?.ToString() + \": \" + ex2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\troadInfo = GetComponent<RoadInfo>();\n\t\twaterInfo = GetComponent<WaterInfo>();\n\t}\n\n\tpublic void FinalizeLoading()\n\t{\n\t\tregionAndRoomUpdater.Enabled = true;\n\t\tList<Thing> list = compressor.ThingsToSpawnAfterLoad().ToList();\n\t\tcompressor = null;\n\t\tDeepProfiler.Start(\"Merge compressed and non-compressed thing lists\");\n\t\tList<Thing> list2 = new List<Thing>(loadedFullThings.Count + list.Count);\n\t\tforeach (Thing item in loadedFullThings.Concat(list))\n\t\t{\n\t\t\tlist2.Add(item);\n\t\t}\n\t\tloadedFullThings.Clear();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"Spawn everything into the map\");\n\t\tBackCompatibility.PreCheckSpawnBackCompatibleThingAfterLoading(this);\n\t\tforeach (Thing item2 in list2)\n\t\t{\n\t\t\tif (item2 is Building)\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\ttry\n\t\t\t{\n\t\t\t\tif (!BackCompatibility.CheckSpawnBackCompatibleThingAfterLoading(item2, this))\n\t\t\t\t{\n\t\t\t\t\tGenSpawn.Spawn(item2, item2.Position, this, item2.Rotation, WipeMode.FullRefund, respawningAfterLoad: true);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (Exception ex)\n\t\t\t{\n\t\t\t\tLog.Error(\"Exception spawning loaded thing \" + item2.ToStringSafe() + \": \" + ex);\n\t\t\t}\n\t\t}\n\t\tforeach (Building item3 in from t in list2.OfType<Building>()\n\t\t\torderby t.def.size.Magnitude\n\t\t\tselect t)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tGenSpawn.SpawnBuildingAsPossible(item3, this, respawningAfterLoad: true);\n\t\t\t}\n\t\t\tcatch (Exception ex2)\n\t\t\t{\n\t\t\t\tLog.Error(\"Exception spawning loaded thing \" + item3.ToStringSafe() + \": \" + ex2);\n\t\t\t}\n\t\t}\n\t\tBackCompatibility.PostCheckSpawnBackCompatibleThingAfterLoading(this);\n\t\tDeepProfiler.End();\n\t\tFinalizeInit();\n\t}\n\n\tpublic void FinalizeInit()\n\t{\n\t\tDeepProfiler.Start(\"Finalize geometry\");\n\t\tpathing.RecalculateAllPerceivedPathCosts();\n\t\tregionAndRoomUpdater.Enabled = true;\n\t\tregionAndRoomUpdater.RebuildAllRegionsAndRooms();\n\t\tpowerNetManager.UpdatePowerNetsAndConnections_First();\n\t\tTemperatureVacuumCache.TemperatureVacuumSaveLoad.ApplyLoadedDataToRegions();\n\t\tavoidGrid.Regenerate();\n\t\tanimalPenManager.RebuildAllPens();\n\t\tplantGrowthRateCalculator.BuildFor(this);\n\t\tgasGrid.RecalculateEverHadGas();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"Thing.PostMapInit()\");\n\t\tforeach (Thing item in listerThings.AllThings.ToList())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\titem.PostMapInit();\n\t\t\t}\n\t\t\tcatch (Exception ex)\n\t\t\t{\n\t\t\t\tLog.Error(\"Error in PostMapInit() for \" + item.ToStringSafe() + \": \" + ex);\n\t\t\t}\n\t\t}\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"listerFilthInHomeArea.RebuildAll()\");\n\t\tlisterFilthInHomeArea.RebuildAll();\n\t\tDeepProfiler.End();\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tGetComponent<VacuumComponent>().SetDrawerDirty();\n\t\t}\n\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t{\n\t\t\tmapDrawer.RegenerateEverythingNow();\n\t\t});\n\t\tDeepProfiler.Start(\"resourceCounter.UpdateResourceCounts()\");\n\t\tresourceCounter.UpdateResourceCounts();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"wealthWatcher.ForceRecount()\");\n\t\twealthWatcher.ForceRecount(allowDuringInit: true);\n\t\tDeepProfiler.End();\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tusing (new ProfilerBlock(\"WaterBodyTracker.ConstructBodies()\"))\n\t\t\t{\n\t\t\t\twaterBodyTracker?.ConstructBodies();\n\t\t\t}\n\t\t}\n\t\tMapComponentUtility.FinalizeInit(this);\n\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t{\n\t\t\tFind.MusicManagerPlay.CheckTransitions();\n\t\t});\n\t}\n\n\tprivate void ExposeComponents()\n\t{\n\t\tScribe_Deep.Look(ref weatherManager, \"weatherManager\", this);\n\t\tScribe_Deep.Look(ref reservationManager, \"reservationManager\", this);\n\t\tScribe_Deep.Look(ref enrouteManager, \"enrouteManager\", this);\n\t\tScribe_Deep.Look(ref physicalInteractionReservationManager, \"physicalInteractionReservationManager\");\n\t\tScribe_Deep.Look(ref planManager, \"planManager\", this);\n\t\tScribe_Deep.Look(ref designationManager, \"designationManager\", this);\n\t\tScribe_Deep.Look(ref pawnDestinationReservationManager, \"pawnDestinationReservationManager\");\n\t\tScribe_Deep.Look(ref lordManager, \"lordManager\", this);\n\t\tScribe_Deep.Look(ref passingShipManager, \"visitorManager\", this);\n\t\tScribe_Deep.Look(ref gameConditionManager, \"gameConditionManager\", this);\n\t\tScribe_Deep.Look(ref fogGrid, \"fogGrid\", this);\n\t\tScribe_Deep.Look(ref roofGrid, \"roofGrid\", this);\n\t\tScribe_Deep.Look(ref terrainGrid, \"terrainGrid\", this);\n\t\tScribe_Deep.Look(ref zoneManager, \"zoneManager\", this);\n\t\tScribe_Deep.Look(ref TemperatureVacuumCache, \"temperatureCache\", this);\n\t\tScribe_Deep.Look(ref snowGrid, \"snowGrid\", this);\n\t\tScribe_Deep.Look(ref gasGrid, \"gasGrid\", this);\n\t\tScribe_Deep.Look(ref pollutionGrid, \"pollutionGrid\", this);\n\t\tScribe_Deep.Look(ref waterBodyTracker, \"waterBodyTracker\", this);\n\t\tScribe_Deep.Look(ref areaManager, \"areaManager\", this);\n\t\tScribe_Deep.Look(ref lordsStarter, \"lordsStarter\", this);\n\t\tScribe_Deep.Look(ref attackTargetReservationManager, \"attackTargetReservationManager\", this);\n\t\tScribe_Deep.Look(ref deepResourceGrid, \"deepResourceGrid\", this);\n\t\tScribe_Deep.Look(ref weatherDecider, \"weatherDecider\", this);\n\t\tScribe_Deep.Look(ref damageWatcher, \"damageWatcher\");\n\t\tScribe_Deep.Look(ref rememberedCameraPos, \"rememberedCameraPos\", this);\n\t\tScribe_Deep.Look(ref mineStrikeManager, \"mineStrikeManager\");\n\t\tScribe_Deep.Look(ref retainedCaravanData, \"retainedCaravanData\", this);\n\t\tScribe_Deep.Look(ref storyState, \"storyState\", this);\n\t\tScribe_Deep.Look(ref tempTerrain, \"tempTerrain\", this);\n\t\tScribe_Deep.Look(ref wildPlantSpawner, \"wildPlantSpawner\", this);\n\t\tScribe_Deep.Look(ref temporaryThingDrawer, \"temporaryThingDrawer\");\n\t\tScribe_Deep.Look(ref flecks, \"flecks\", this);\n\t\tScribe_Deep.Look(ref deferredSpawner, \"deferredSpawner\", this);\n\t\tScribe_Deep.Look(ref autoSlaughterManager, \"autoSlaughterManager\", this);\n\t\tScribe_Deep.Look(ref treeDestructionTracker, \"treeDestructionTracker\", this);\n\t\tScribe_Deep.Look(ref storageGroups, \"storageGroups\", this);\n\t\tScribe_Deep.Look(ref sandGrid, \"sandGrid\", this);\n\t\tScribe_Collections.Look(ref components, \"components\", LookMode.Deep, this);\n\t\tif (Scribe.mode == LoadSaveMode.PostLoadInit)\n\t\t{\n\t\t\tif (planManager == null)\n\t\t\t{\n\t\t\t\tplanManager = new PlanManager(this);\n\t\t\t}\n\t\t\tif (ModsConfig.BiotechActive && pollutionGrid == null)\n\t\t\t{\n\t\t\t\tpollutionGrid = new PollutionGrid(this);\n\t\t\t}\n\t\t\tif (ModsConfig.OdysseyActive)\n\t\t\t{\n\t\t\t\tif (sandGrid == null)\n\t\t\t\t{\n\t\t\t\t\tsandGrid = new SandGrid(this);\n\t\t\t\t}\n\t\t\t\tif (substructureGrid == null)\n\t\t\t\t{\n\t\t\t\t\tsubstructureGrid = new SubstructureGrid(this);\n\t\t\t\t}\n\t\t\t\tif (waterBodyTracker == null)\n\t\t\t\t{\n\t\t\t\t\twaterBodyTracker = new WaterBodyTracker(this);\n\t\t\t\t}\n\t\t\t\tif (freezeManager == null)\n\t\t\t\t{\n\t\t\t\t\tfreezeManager = new FreezeManager(this);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tFillComponents();\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tpublic void MapPreTick()\n\t{\n\t\titemAvailability.Tick();\n\t\tlisterHaulables.ListerHaulablesTick();\n\t\ttry\n\t\t{\n\t\t\tautoBuildRoofAreaSetter.AutoBuildRoofAreaSetterTick_First();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\troofCollapseBufferResolver.CollapseRoofsMarkedToCollapse();\n\t\twindManager.WindManagerTick();\n\t\ttry\n\t\t{\n\t\t\tmapTemperature.MapTemperatureTick();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\ttemporaryThingDrawer.Tick();\n\t\ttry\n\t\t{\n\t\t\tpathFinder.PathFinderTick();\n\t\t}\n\t\tcatch (Exception ex3)\n\t\t{\n\t\t\tLog.Error(ex3.ToString());\n\t\t}\n\t}\n\n\tpublic void MapPostTick()\n\t{\n\t\ttry\n\t\t{\n\t\t\twildAnimalSpawner.WildAnimalSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\twildPlantSpawner.WildPlantSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tpowerNetManager.PowerNetsTick();\n\t\t}\n\t\tcatch (Exception ex3)\n\t\t{\n\t\t\tLog.Error(ex3.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tsteadyEnvironmentEffects.SteadyEnvironmentEffectsTick();\n\t\t}\n\t\tcatch (Exception ex4)\n\t\t{\n\t\t\tLog.Error(ex4.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\ttempTerrain.Tick();\n\t\t}\n\t\tcatch (Exception ex5)\n\t\t{\n\t\t\tLog.Error(ex5.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tgasGrid.Tick();\n\t\t}\n\t\tcatch (Exception ex6)\n\t\t{\n\t\t\tLog.Error(ex6.ToString());\n\t\t}\n\t\tif (ModsConfig.BiotechActive)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tpollutionGrid.PollutionTick();\n\t\t\t}\n\t\t\tcatch (Exception ex7)\n\t\t\t{\n\t\t\t\tLog.Error(ex7.ToString());\n\t\t\t}\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tdeferredSpawner.DeferredSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex8)\n\t\t{\n\t\t\tLog.Error(ex8.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tlordManager.LordManagerTick();\n\t\t}\n\t\tcatch (Exception ex9)\n\t\t{\n\t\t\tLog.Error(ex9.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tpassingShipManager.PassingShipManagerTick();\n\t\t}\n\t\tcatch (Exception ex10)\n\t\t{\n\t\t\tLog.Error(ex10.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tdebugDrawer.DebugDrawerTick();\n\t\t}\n\t\tcatch (Exception ex11)\n\t\t{\n\t\t\tLog.Error(ex11.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tlordsStarter.VoluntarilyJoinableLordsStarterTick();\n\t\t}\n\t\tcatch (Exception ex12)\n\t\t{\n\t\t\tLog.Error(ex12.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tgameConditionManager.GameConditionManagerTick();\n\t\t}\n\t\tcatch (Exception ex13)\n\t\t{\n\t\t\tLog.Error(ex13.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tweatherManager.WeatherManagerTick();\n\t\t}\n\t\tcatch (Exception ex14)\n\t\t{\n\t\t\tLog.Error(ex14.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tresourceCounter.ResourceCounterTick();\n\t\t}\n\t\tcatch (Exception ex15)\n\t\t{\n\t\t\tLog.Error(ex15.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tweatherDecider.WeatherDeciderTick();\n\t\t}\n\t\tcatch (Exception ex16)\n\t\t{\n\t\t\tLog.Error(ex16.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tfireWatcher.FireWatcherTick();\n\t\t}\n\t\tcatch (Exception ex17)\n\t\t{\n\t\t\tLog.Error(ex17.ToString());\n\t\t}\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\twaterBodyTracker?.Tick();\n\t\t\t}\n\t\t\tcatch (Exception ex18)\n\t\t\t{\n\t\t\t\tLog.Error(ex18.ToString());\n\t\t\t}\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tflecks.FleckManagerTick();\n\t\t}\n\t\tcatch (Exception ex19)\n\t\t{\n\t\t\tLog.Error(ex19.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\teffecterMaintainer.EffecterMaintainerTick();\n\t\t}\n\t\tcatch (Exception ex20)\n\t\t{\n\t\t\tLog.Error(ex20.ToString());\n\t\t}\n\t\tMapComponentUtility.MapComponentTick(this);\n\t\ttry\n\t\t{\n\t\t\tforeach (TileMutatorDef mutator in TileInfo.Mutators)\n\t\t\t{\n\t\t\t\tmutator.Worker?.Tick(this);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception ex21)\n\t\t{\n\t\t\tLog.Error(ex21.ToString());\n\t\t}\n\t}\n\n\tpublic void MapUpdate()\n\t{\n\t\tif (Disposed)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tbool drawingMap = WorldRendererUtility.DrawingMap;\n\t\tskyManager.SkyManagerUpdate();\n\t\tpowerNetManager.UpdatePowerNetsAndConnections_First();\n\t\tregionGrid.UpdateClean();\n\t\tregionAndRoomUpdater.TryRebuildDirtyRegionsAndRooms();\n\t\tglowGrid.GlowGridUpdate_First();\n\t\tlordManager.LordManagerUpdate();\n\t\tpostTickVisuals.ProcessPostTickVisuals();\n\t\tif (drawingMap && Find.CurrentMap == this)\n\t\t{\n\t\t\tif (AlwaysRedrawShadows)\n\t\t\t{\n\t\t\t\tmapDrawer.WholeMapChanged(MapMeshFlagDefOf.Things);\n\t\t\t}\n\t\t\tGlobalRendererUtility.UpdateGlobalShadersParams();\n\t\t\tPlantFallColors.SetFallShaderGlobals(this);\n\t\t\twaterInfo.SetTextures();\n\t\t\tavoidGrid.DebugDrawOnMap();\n\t\t\tBreachingGridDebug.DebugDrawAllOnMap(this);\n\t\t\tmapDrawer.MapMeshDrawerUpdate_First();\n\t\t\tpowerNetGrid.DrawDebugPowerNetGrid();\n\t\t\tDoorsDebugDrawer.DrawDebug();\n\t\t\tmapDrawer.DrawMapMesh();\n\t\t\tdynamicDrawManager.DrawDynamicThings();\n\t\t\tgameConditionManager.GameConditionManagerDraw(this);\n\t\t\tMapEdgeClipDrawer.DrawClippers(this);\n\t\t\tdesignationManager.DrawDesignations();\n\t\t\toverlayDrawer.DrawAllOverlays();\n\t\t\ttemporaryThingDrawer.Draw();\n\t\t\tflecks.FleckManagerDraw();\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tareaManager.AreaManagerUpdate();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\tweatherManager.WeatherManagerUpdate();\n\t\ttry\n\t\t{\n\t\t\tflecks.FleckManagerUpdate();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\tMapComponentUtility.MapComponentUpdate(this);\n\t}\n\n\tpublic T GetComponent<T>() where T : MapComponent\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (components[i] is T result)\n\t\t\t{\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic MapComponent GetComponent(Type type)\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (type.IsInstanceOfType(components[i]))\n\t\t\t{\n\t\t\t\treturn components[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void MapOnGUI()\n\t{\n\t\tDevGUISketches();\n\t\tDevRoadPaths();\n\t\tpathFinder.OnGUI();\n\t}\n\n\tprivate static void DevRoadPaths()\n\t{\n\t\tif (!DebugViewSettings.drawRoadPaths)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < GenStep_Roads.paths.Count; i++)\n\t\t{\n\t\t\tforeach (IntVec3 item in GenStep_Roads.paths[i])\n\t\t\t{\n\t\t\t\tVector2 vector = item.ToVector3Shifted().MapToUIPosition();\n\t\t\t\tDevGUI.DrawRect(new Rect(vector.x, vector.y, 5f, 5f), (i % 2 == 0) ? Color.yellow : Color.blue);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void DevGUISketches()\n\t{\n\t\tif ((!DebugViewSettings.drawMapGraphs && !DebugViewSettings.drawMapRooms) || layoutStructureSketches.NullOrEmpty())\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (LayoutStructureSketch layoutStructureSketch in layoutStructureSketches)\n\t\t{\n\t\t\tDebugGUILayoutStructure(layoutStructureSketch);\n\t\t}\n\t}\n\n\tprivate void DebugGUILayoutStructure(LayoutStructureSketch layoutStructureSketch)\n\t{\n\t\tDevDrawOutline(layoutStructureSketch.structureLayout.container, Color.yellow);\n\t\tVector2 pos = (layoutStructureSketch.structureLayout.container.Min - IntVec3.South).ToVector3().MapToUIPosition();\n\t\tDevDrawLabel(layoutStructureSketch.layoutDef.defName, pos);\n\t\tif (DebugViewSettings.drawMapGraphs && layoutStructureSketch.structureLayout?.neighbours != null)\n\t\t{\n\t\t\tforeach (KeyValuePair<Vector2, List<Vector2>> connection in layoutStructureSketch.structureLayout.neighbours.connections)\n\t\t\t{\n\t\t\t\tforeach (Vector2 item in connection.Value)\n\t\t\t\t{\n\t\t\t\t\tVector2 vector = layoutStructureSketch.center.ToVector2();\n\t\t\t\t\tVector2 vector2 = vector + connection.Key;\n\t\t\t\t\tVector2 vector3 = vector + item;\n\t\t\t\t\tVector2 start = new Vector3(vector2.x, 0f, vector2.y).MapToUIPosition();\n\t\t\t\t\tVector2 end = new Vector3(vector3.x, 0f, vector3.y).MapToUIPosition();\n\t\t\t\t\tDevGUI.DrawLine(start, end, Color.green, 2f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!DebugViewSettings.drawMapRooms || layoutStructureSketch.structureLayout?.Rooms == null)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (LayoutRoom room in layoutStructureSketch.structureLayout.Rooms)\n\t\t{\n\t\t\tstring name = \"NA\";\n\t\t\tif (!room.defs.NullOrEmpty())\n\t\t\t{\n\t\t\t\tname = room.defs.Select((LayoutRoomDef x) => x.defName).ToCommaList();\n\t\t\t}\n\t\t\tDevDrawLabel(name, room.rects[0].CenterVector3.MapToUIPosition());\n\t\t\tforeach (CellRect rect in room.rects)\n\t\t\t{\n\t\t\t\tDevDrawOutline(rect, Color.blue);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static void DevDrawLabel(string name, Vector2 pos)\n\t{\n\t\tfloat widthCached = name.GetWidthCached();\n\t\tDevGUI.Label(new Rect(pos.x - widthCached / 2f, pos.y, widthCached, 20f), name);\n\t}\n\n\tprivate static void DevDrawOutline(CellRect r, Color color)\n\t{\n\t\tIntVec3 min = r.Min;\n\t\tIntVec3 intVec = r.Max + new IntVec3(1, 0, 1);\n\t\tIntVec3 a = new IntVec3(min.x, 0, min.z);\n\t\tIntVec3 intVec2 = new IntVec3(intVec.x, 0, min.z);\n\t\tIntVec3 intVec3 = new IntVec3(min.x, 0, intVec.z);\n\t\tIntVec3 b = new IntVec3(intVec.x, 0, intVec.z);\n\t\tDevDrawLine(a, intVec2, color);\n\t\tDevDrawLine(a, intVec3, color);\n\t\tDevDrawLine(intVec3, b, color);\n\t\tDevDrawLine(intVec2, b, color);\n\t}\n\n\tprivate static void DevDrawLine(IntVec3 a, IntVec3 b, Color color)\n\t{\n\t\tVector2 start = a.ToVector3().MapToUIPosition();\n\t\tVector2 end = b.ToVector3().MapToUIPosition();\n\t\tDevGUI.DrawLine(start, end, color, 2f);\n\t}\n\n\tpublic string GetUniqueLoadID()\n\t{\n\t\treturn \"Map_\" + uniqueID;\n\t}\n\n\tpublic override string ToString()\n\t{\n\t\tstring text = \"Map-\" + uniqueID;\n\t\tif (IsPlayerHome)\n\t\t{\n\t\t\ttext += \"-PlayerHome\";\n\t\t}\n\t\treturn text;\n\t}\n\n\tpublic ThingOwner GetDirectlyHeldThings()\n\t{\n\t\treturn spawnedThings;\n\t}\n\n\tpublic void GetChildHolders(List<IThingHolder> outChildren)\n\t{\n\t\tThingOwnerUtility.AppendThingHoldersFromThings(outChildren, listerThings.ThingsInGroup(ThingRequestGroup.ThingHolder));\n\t\tList<PassingShip> passingShips = passingShipManager.passingShips;\n\t\tfor (int i = 0; i < passingShips.Count; i++)\n\t\t{\n\t\t\tif (passingShips[i] is IThingHolder item)\n\t\t\t{\n\t\t\t\toutChildren.Add(item);\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < components.Count; j++)\n\t\t{\n\t\t\tif (components[j] is IThingHolder item2)\n\t\t\t{\n\t\t\t\toutChildren.Add(item2);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic void Dispose()\n\t{\n\t\tif (Disposed)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tDisposed = true;\n\t\tforeach (MapComponent component in components)\n\t\t{\n\t\t\tif (component is IDisposable disposable)\n\t\t\t{\n\t\t\t\tdisposable.Dispose();\n\t\t\t}\n\t\t}\n\t\tif (regionAndRoomUpdater != null)\n\t\t{\n\t\t\tregionAndRoomUpdater.Enabled = false;\n\t\t}\n\t\tpathFinder?.Dispose();\n\t\tlordManager?.Dispose();\n\t\tfogGrid?.Dispose();\n\t\tsnowGrid?.Dispose();\n\t\tglowGrid?.Dispose();\n\t\tsandGrid?.Dispose();\n\t\tavoidGrid?.Dispose();\n\t\tlisterBuildings?.Dispose();\n\t\tlisterThings?.Clear();\n\t\tregionDirtyer?.SetAllDirty();\n\t\tregionGrid?.Dispose();\n\t\tpathing?.Dispose();\n\t\tmapDrawer?.Dispose();\n\t\tResources.UnloadUnusedAssets();\n\t\tMapGenerator.ClearDebugMode();\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-25 11:39:06,772"
|
|
},
|
|
"MapGenerator": {
|
|
"keywords": [
|
|
"MapGenerator"
|
|
],
|
|
"question": "MapGenerator class definition",
|
|
"embedding": [
|
|
-0.013261166401207447,
|
|
0.05949479714035988,
|
|
-0.028810594230890274,
|
|
-0.06628279387950897,
|
|
0.02472550980746746,
|
|
0.019918624311685562,
|
|
0.0394686721265316,
|
|
0.050618186593055725,
|
|
0.032496385276317596,
|
|
0.10823937505483627,
|
|
0.0031751547940075397,
|
|
-0.01603318750858307,
|
|
-0.06695852428674698,
|
|
0.0024917477276176214,
|
|
-0.014029039070010185,
|
|
0.04696311056613922,
|
|
-0.016048545017838478,
|
|
-0.08286885172128677,
|
|
-0.02228367328643799,
|
|
-0.018981819972395897,
|
|
0.020486850291490555,
|
|
-0.026537690311670303,
|
|
-0.0036013242788612843,
|
|
-0.02455657720565796,
|
|
-0.024372287094593048,
|
|
-0.001914883148856461,
|
|
0.04994245618581772,
|
|
0.0457652285695076,
|
|
0.006469329819083214,
|
|
-0.022790469229221344,
|
|
0.016539983451366425,
|
|
-0.04103513062000275,
|
|
0.036704327911138535,
|
|
-0.056054726243019104,
|
|
0.03538358584046364,
|
|
0.01372956857085228,
|
|
-0.0358135960996151,
|
|
0.05639259144663811,
|
|
-0.0018294573528692126,
|
|
0.02119329385459423,
|
|
-0.06529991328716278,
|
|
-0.005578597076237202,
|
|
0.008177846670150757,
|
|
0.010850044898688793,
|
|
-0.025524096563458443,
|
|
0.0369807630777359,
|
|
0.0025051855482161045,
|
|
-0.06170627102255821,
|
|
-0.0668356642127037,
|
|
-0.020302562043070793,
|
|
-0.010151281021535397,
|
|
0.011579524725675583,
|
|
-0.00759042426943779,
|
|
-0.001471436582505703,
|
|
0.04177228733897209,
|
|
0.0238808486610651,
|
|
0.03495357558131218,
|
|
-0.038332220166921616,
|
|
0.019073965027928352,
|
|
0.012086320668458939,
|
|
0.02371191792190075,
|
|
0.0058934250846505165,
|
|
-0.03323354199528694,
|
|
-0.021930452436208725,
|
|
0.09742771834135056,
|
|
-0.05470326915383339,
|
|
0.04214086756110191,
|
|
0.0017065976280719042,
|
|
-0.03350997716188431,
|
|
-0.026860196143388748,
|
|
-0.012447220273315907,
|
|
-0.02475622482597828,
|
|
0.013529921881854534,
|
|
0.025048015639185905,
|
|
0.015679966658353806,
|
|
0.002136606490239501,
|
|
0.006346470210701227,
|
|
-0.08673892915248871,
|
|
-0.02266760915517807,
|
|
0.004215622786432505,
|
|
0.02245260588824749,
|
|
-0.024894440546631813,
|
|
-0.020732570439577103,
|
|
0.01424404326826334,
|
|
0.03188208490610123,
|
|
0.037103623151779175,
|
|
0.0519082136452198,
|
|
0.054764699190855026,
|
|
-0.040666550397872925,
|
|
-0.01704677939414978,
|
|
0.026291970163583755,
|
|
-0.021561872214078903,
|
|
0.019012534990906715,
|
|
0.01578746736049652,
|
|
0.028104150667786598,
|
|
-0.03185136988759041,
|
|
-0.0848960354924202,
|
|
-0.018444309011101723,
|
|
0.0015223080990836024,
|
|
0.0066958521492779255,
|
|
0.026553047820925713,
|
|
-0.030484557151794434,
|
|
-0.06462419033050537,
|
|
0.020287204533815384,
|
|
-0.035475730895996094,
|
|
0.08336029201745987,
|
|
-0.027090558782219887,
|
|
-0.034830719232559204,
|
|
-0.011111121624708176,
|
|
-0.006918535567820072,
|
|
0.015641571953892708,
|
|
-0.051693208515644073,
|
|
0.045611653476953506,
|
|
0.06763424724340439,
|
|
0.006899338681250811,
|
|
0.05961765721440315,
|
|
0.0336635522544384,
|
|
0.016386408358812332,
|
|
-0.0033709623385220766,
|
|
0.014796911738812923,
|
|
0.03384783864021301,
|
|
0.021761519834399223,
|
|
-0.019273610785603523,
|
|
-0.020502207800745964,
|
|
0.012700619176030159,
|
|
0.00733318692073226,
|
|
0.031697794795036316,
|
|
0.049174584448337555,
|
|
-0.03360212221741676,
|
|
-0.0037760152481496334,
|
|
-0.00028555275639519095,
|
|
-0.008062666282057762,
|
|
-0.035230010747909546,
|
|
0.018812887370586395,
|
|
-0.025877319276332855,
|
|
-0.01558782160282135,
|
|
0.011456664651632309,
|
|
-0.03762577474117279,
|
|
-0.006638261955231428,
|
|
0.03550644591450691,
|
|
-0.09110044687986374,
|
|
-0.013076876290142536,
|
|
0.05261465534567833,
|
|
0.008323743008077145,
|
|
0.06787996739149094,
|
|
-0.019396470859646797,
|
|
-0.011456664651632309,
|
|
-0.02206866815686226,
|
|
0.004507414065301418,
|
|
0.019027892500162125,
|
|
-0.032987821847200394,
|
|
0.019857194274663925,
|
|
-0.029839543625712395,
|
|
0.03817864507436752,
|
|
-0.04530450329184532,
|
|
-0.019857194274663925,
|
|
-0.0030292589217424393,
|
|
-0.049174584448337555,
|
|
-0.003891196334734559,
|
|
-0.07273292541503906,
|
|
-0.029225245118141174,
|
|
0.0044191088527441025,
|
|
-0.003585966769605875,
|
|
-0.004511253442615271,
|
|
0.03802506998181343,
|
|
0.03642789274454117,
|
|
0.01681641861796379,
|
|
0.0444444864988327,
|
|
0.00020624588069040328,
|
|
-0.034984290599823,
|
|
-0.008561783470213413,
|
|
-0.007072110194712877,
|
|
9.082497126655653e-05,
|
|
0.01081165112555027,
|
|
0.046072378754615784,
|
|
0.001038548187352717,
|
|
-0.02183830738067627,
|
|
0.05866549536585808,
|
|
-0.007717123255133629,
|
|
-0.06084625422954559,
|
|
0.01516549102962017,
|
|
0.026445545256137848,
|
|
0.059187646955251694,
|
|
-0.02580053173005581,
|
|
-0.010420036502182484,
|
|
-0.019181465730071068,
|
|
-0.019826479256153107,
|
|
0.020686497911810875,
|
|
0.00340743619017303,
|
|
-0.04263230785727501,
|
|
0.018213946372270584,
|
|
-0.006262003909796476,
|
|
0.019488615915179253,
|
|
0.006231288891285658,
|
|
-0.07666444033384323,
|
|
-0.010788614861667156,
|
|
0.003015821101143956,
|
|
-0.022314388304948807,
|
|
0.0027278687339276075,
|
|
-0.04100441560149193,
|
|
0.002616527024656534,
|
|
0.0034055165015161037,
|
|
0.02165401726961136,
|
|
0.012393469922244549,
|
|
-8.188645006157458e-05,
|
|
-0.02727484703063965,
|
|
-0.03148278966546059,
|
|
-0.060416243970394135,
|
|
0.04892886430025101,
|
|
-0.015941042453050613,
|
|
0.017522860318422318,
|
|
0.0017008385621011257,
|
|
-0.01432850956916809,
|
|
-0.009644484147429466,
|
|
-0.005033407360315323,
|
|
-0.03206637501716614,
|
|
-0.0033920789137482643,
|
|
-0.032127805054187775,
|
|
0.007859179750084877,
|
|
0.046686675399541855,
|
|
-0.03971438854932785,
|
|
0.02037934772670269,
|
|
0.017737865447998047,
|
|
0.013076876290142536,
|
|
0.033786408603191376,
|
|
-0.006899338681250811,
|
|
0.029977761209011078,
|
|
0.010658076964318752,
|
|
-0.0022575464099645615,
|
|
-0.010834687389433384,
|
|
-0.002606928814202547,
|
|
-0.002998543903231621,
|
|
-0.03738005459308624,
|
|
0.024879084900021553,
|
|
0.022145455703139305,
|
|
-0.04558093845844269,
|
|
-0.019166110083460808,
|
|
-0.02538588084280491,
|
|
-0.0032058695796877146,
|
|
-0.011195587925612926,
|
|
-0.02598482184112072,
|
|
0.013622066006064415,
|
|
-0.03535287082195282,
|
|
0.05857335031032562,
|
|
0.000992475776001811,
|
|
-0.04684025049209595,
|
|
-0.010020742192864418,
|
|
-0.013015447184443474,
|
|
0.08243884146213531,
|
|
0.00670353090390563,
|
|
0.03122171387076378,
|
|
-0.012715976685285568,
|
|
0.020486850291490555,
|
|
-0.017092851921916008,
|
|
0.03704219311475754,
|
|
0.030100619420409203,
|
|
0.010343248955905437,
|
|
-0.010412357747554779,
|
|
-0.01350688561797142,
|
|
0.013030803762376308,
|
|
-0.007210327312350273,
|
|
0.018398236483335495,
|
|
-0.025263020768761635,
|
|
0.07132004201412201,
|
|
-0.011364519596099854,
|
|
0.010189673863351345,
|
|
-0.029424892738461494,
|
|
0.05841977521777153,
|
|
-0.07881448417901993,
|
|
-0.04131156578660011,
|
|
-0.013130627572536469,
|
|
-0.007528994232416153,
|
|
0.02722877450287342,
|
|
0.0005917421076446772,
|
|
-0.015034952200949192,
|
|
0.010266461409628391,
|
|
-0.02991633117198944,
|
|
-0.022713681682944298,
|
|
-0.013583673164248466,
|
|
-0.032742101699113846,
|
|
0.003820168087258935,
|
|
0.04389161989092827,
|
|
-0.04152657091617584,
|
|
0.009168403223156929,
|
|
0.010573610663414001,
|
|
0.05175463855266571,
|
|
0.0070375557988882065,
|
|
0.009406443685293198,
|
|
-0.004346161149442196,
|
|
-0.004983495455235243,
|
|
0.05467255413532257,
|
|
0.026783408597111702,
|
|
-0.012001854367554188,
|
|
-0.02431085892021656,
|
|
-0.042509447783231735,
|
|
0.010980583727359772,
|
|
0.014904414303600788,
|
|
-0.0017267543589696288,
|
|
-0.03529144078493118,
|
|
-0.004326964262872934,
|
|
-0.00324810273014009,
|
|
0.0008211441454477608,
|
|
-0.06139912083745003,
|
|
0.005739850457757711,
|
|
0.06189056113362312,
|
|
-0.01893574744462967,
|
|
-0.0034842235036194324,
|
|
-0.11020512878894806,
|
|
0.01830609142780304,
|
|
-0.07261006534099579,
|
|
0.052276790142059326,
|
|
0.009897882118821144,
|
|
-0.008607855997979641,
|
|
0.014236364513635635,
|
|
0.02991633117198944,
|
|
-0.015457282774150372,
|
|
-0.032527100294828415,
|
|
0.007717123255133629,
|
|
-0.02143901400268078,
|
|
0.059586942195892334,
|
|
-0.08250027149915695,
|
|
-0.016739631071686745,
|
|
0.01402136031538248,
|
|
0.007521315477788448,
|
|
0.0749443992972374,
|
|
-0.021300796419382095,
|
|
0.02306690439581871,
|
|
0.03633574768900871,
|
|
0.013775641098618507,
|
|
-0.008776787668466568,
|
|
0.056239016354084015,
|
|
0.00789373368024826,
|
|
-0.020824715495109558,
|
|
0.043983764946460724,
|
|
-0.06232057139277458,
|
|
0.019811121746897697,
|
|
0.021454371511936188,
|
|
-0.022206885740160942,
|
|
0.006500044837594032,
|
|
-0.0391308069229126,
|
|
-0.037072908133268356,
|
|
0.043369464576244354,
|
|
-0.04782312735915184,
|
|
0.030607417225837708,
|
|
0.017108209431171417,
|
|
0.03476928919553757,
|
|
-0.036489322781562805,
|
|
0.013107591308653355,
|
|
0.07248720526695251,
|
|
0.015894969925284386,
|
|
-0.017922155559062958,
|
|
0.009176081977784634,
|
|
0.045611653476953506,
|
|
0.04653310030698776,
|
|
0.015603178180754185,
|
|
-0.05012674629688263,
|
|
0.00026515612262301147,
|
|
-0.02349691279232502,
|
|
-0.023235835134983063,
|
|
0.003966063726693392,
|
|
0.00048423989210277796,
|
|
0.027090558782219887,
|
|
-0.016985349357128143,
|
|
0.035015005618333817,
|
|
0.054365403950214386,
|
|
-0.017384644597768784,
|
|
-0.023235835134983063,
|
|
-0.0007961882511153817,
|
|
-0.01994933933019638,
|
|
0.03206637501716614,
|
|
0.03848579153418541,
|
|
-0.009106973186135292,
|
|
-0.0006205373210832477,
|
|
0.015027273446321487,
|
|
-0.08194740116596222,
|
|
0.09890203922986984,
|
|
0.01810644380748272,
|
|
-0.027489852160215378,
|
|
-0.026675906032323837,
|
|
0.02824236825108528,
|
|
-0.014727803878486156,
|
|
0.019473258405923843,
|
|
-0.03258853033185005,
|
|
-0.04309302940964699,
|
|
-0.00997466966509819,
|
|
-0.007206487935036421,
|
|
-0.02616911008954048,
|
|
0.04235587269067764,
|
|
0.001843854901380837,
|
|
-0.043369464576244354,
|
|
0.08538747578859329,
|
|
0.012063284404575825,
|
|
0.004829920828342438,
|
|
-0.011640953831374645,
|
|
0.0027413065545260906,
|
|
0.01621747761964798,
|
|
-0.005693777929991484,
|
|
-0.0172464270144701,
|
|
0.004434466361999512,
|
|
-0.004499735776335001,
|
|
-0.019703621044754982,
|
|
-0.004373036324977875,
|
|
0.019242895767092705,
|
|
0.010934511199593544,
|
|
-0.023420125246047974,
|
|
-0.034400708973407745,
|
|
0.04100441560149193,
|
|
-0.018981819972395897,
|
|
0.007033716421574354,
|
|
0.012593116611242294,
|
|
-0.010550574399530888,
|
|
-0.04800741747021675,
|
|
0.07414581626653671,
|
|
-0.0007688328041695058,
|
|
-0.02616911008954048,
|
|
-0.019242895767092705,
|
|
0.032496385276317596,
|
|
0.011456664651632309,
|
|
0.03682718798518181,
|
|
0.03612074255943298,
|
|
-0.026107680052518845,
|
|
-0.004181068390607834,
|
|
-0.06253557652235031,
|
|
-0.0305920597165823,
|
|
-0.010988262481987476,
|
|
0.04551950842142105,
|
|
0.02123936638236046,
|
|
-0.020947573706507683,
|
|
-0.034984290599823,
|
|
-0.01029717642813921,
|
|
0.0378100648522377,
|
|
-0.03956081345677376,
|
|
-0.09048614650964737,
|
|
0.037318624556064606,
|
|
-0.0007889894768595695,
|
|
-0.013552958145737648,
|
|
-0.0383015051484108,
|
|
-0.05181606858968735,
|
|
0.002290181117132306,
|
|
-0.015242278575897217,
|
|
-0.03725719451904297,
|
|
0.008116417564451694,
|
|
0.000974718714132905,
|
|
-0.0031482791528105736,
|
|
-0.0004909588024020195,
|
|
-0.02721341699361801,
|
|
0.028795236721634865,
|
|
0.008661607280373573,
|
|
0.020824715495109558,
|
|
0.017292499542236328,
|
|
-0.016263550147414207,
|
|
-0.023374052718281746,
|
|
-0.016893204301595688,
|
|
-0.0033805607818067074,
|
|
0.02100900374352932,
|
|
0.04131156578660011,
|
|
0.0017325134249404073,
|
|
-0.03243495523929596,
|
|
0.015042630955576897,
|
|
-0.03329497203230858,
|
|
0.03160564973950386,
|
|
0.017799295485019684,
|
|
-0.0424480177462101,
|
|
0.004050530027598143,
|
|
-0.002862246474251151,
|
|
0.022974759340286255,
|
|
0.026783408597111702,
|
|
-0.00588190695270896,
|
|
-0.046502385288476944,
|
|
-0.022713681682944298,
|
|
-0.025539454072713852,
|
|
0.045611653476953506,
|
|
0.020962931215763092,
|
|
-0.035076435655355453,
|
|
0.03036169707775116,
|
|
-0.0295170359313488,
|
|
0.002159642754122615,
|
|
0.02494051307439804,
|
|
0.016278907656669617,
|
|
-0.020241132006049156,
|
|
-0.03301853686571121,
|
|
0.0034151149448007345,
|
|
-0.002242189133539796,
|
|
-0.050003886222839355,
|
|
-0.07304007560014725,
|
|
-0.03873151168227196,
|
|
0.020840073004364967,
|
|
-0.05943336710333824,
|
|
-0.019411828368902206,
|
|
-0.013030803762376308,
|
|
-0.03384783864021301,
|
|
-0.0064462935552001,
|
|
0.010466108098626137,
|
|
0.015426567755639553,
|
|
-0.023834776133298874,
|
|
0.0055632395669817924,
|
|
0.03258853033185005,
|
|
0.007985878735780716,
|
|
0.023020831868052483,
|
|
0.019012534990906715,
|
|
0.007406134624034166,
|
|
0.009529303759336472,
|
|
-0.022084025666117668,
|
|
-0.031697794795036316,
|
|
-0.019273610785603523,
|
|
0.012209179811179638,
|
|
-0.018582526594400406,
|
|
0.014159577898681164,
|
|
-0.0336635522544384,
|
|
-0.004326964262872934,
|
|
0.028825951740145683,
|
|
-0.038147930055856705,
|
|
0.035629305988550186,
|
|
-0.040605124086141586,
|
|
-0.00649620546028018,
|
|
0.008116417564451694,
|
|
0.04766955226659775,
|
|
0.04929744452238083,
|
|
-0.027090558782219887,
|
|
0.030853135511279106,
|
|
-0.009429479949176311,
|
|
-0.004131156485527754,
|
|
-0.01869002729654312,
|
|
0.03787149488925934,
|
|
-0.05525613948702812,
|
|
0.038117215037345886,
|
|
-0.01603318750858307,
|
|
0.04238658770918846,
|
|
0.02266760915517807,
|
|
-0.0070260376669466496,
|
|
0.003388239536434412,
|
|
-0.011372198350727558,
|
|
-0.0424480177462101,
|
|
-0.004192586522549391,
|
|
0.017783937975764275,
|
|
0.02266760915517807,
|
|
-0.024602649733424187,
|
|
1.862691897258628e-05,
|
|
0.03185136988759041,
|
|
0.08170168101787567,
|
|
0.013990645296871662,
|
|
-0.006104589905589819,
|
|
0.0008197043789550662,
|
|
-0.01681641861796379,
|
|
0.023558342829346657,
|
|
0.0017901038518175483,
|
|
0.015319065190851688,
|
|
0.015772109851241112,
|
|
-0.0027950576040893793,
|
|
-0.039007946848869324,
|
|
0.007747838273644447,
|
|
-0.023128334432840347,
|
|
0.035445015877485275,
|
|
-0.05135534331202507,
|
|
0.004042851272970438,
|
|
-0.04994245618581772,
|
|
0.024664079770445824,
|
|
0.04696311056613922,
|
|
-0.017154281958937645,
|
|
0.02976275607943535,
|
|
-0.014205649495124817,
|
|
-0.028027363121509552,
|
|
-0.017599647864699364,
|
|
-0.020517565310001373,
|
|
0.006269682664424181,
|
|
0.027597354725003242,
|
|
-0.060231953859329224,
|
|
0.012800442054867744,
|
|
-0.02641483023762703,
|
|
-0.0016854811692610383,
|
|
-0.05633116140961647,
|
|
0.011802207678556442,
|
|
-0.03704219311475754,
|
|
-0.00023864052491262555,
|
|
0.05114033818244934,
|
|
0.07261006534099579,
|
|
-1.3355290320760105e-05,
|
|
-0.013875464908778667,
|
|
0.026153752580285072,
|
|
0.023604415357112885,
|
|
-0.02953239344060421,
|
|
-0.041280850768089294,
|
|
-0.007160415407270193,
|
|
-0.03873151168227196,
|
|
0.03203565999865532,
|
|
-0.016309620812535286,
|
|
-0.003443910274654627,
|
|
-0.0033786410931497812,
|
|
0.03486143425107002,
|
|
-0.04963530972599983,
|
|
0.044383056461811066,
|
|
0.037963639944791794,
|
|
-0.04263230785727501,
|
|
-0.010335570201277733,
|
|
0.02225295826792717,
|
|
0.026445545256137848,
|
|
-0.01381403487175703,
|
|
-0.011802207678556442,
|
|
9.556418808642775e-05,
|
|
0.019058607518672943,
|
|
-0.003246183041483164,
|
|
-0.040635835379362106,
|
|
0.020118271932005882,
|
|
-0.0010635040234774351,
|
|
-0.007694086991250515,
|
|
0.05912621691823006,
|
|
-0.008438924327492714,
|
|
0.010435394011437893,
|
|
0.02472550980746746,
|
|
-0.013476170599460602,
|
|
0.03372498229146004,
|
|
-0.00044296670239418745,
|
|
-0.012355076149106026,
|
|
0.0008009874727576971,
|
|
0.004119638353586197,
|
|
-0.03639717772603035,
|
|
0.04008296877145767,
|
|
0.003737621707841754,
|
|
-0.06219771131873131,
|
|
-0.025739101693034172,
|
|
0.01578746736049652,
|
|
-0.025247663259506226,
|
|
0.027704857289791107,
|
|
-0.024203356355428696,
|
|
-0.011802207678556442,
|
|
0.052276790142059326,
|
|
-0.00790909118950367,
|
|
0.01999541185796261,
|
|
-0.0021538836881518364,
|
|
-0.01163327507674694,
|
|
0.022944044321775436,
|
|
-0.012938659638166428,
|
|
-0.03056134469807148,
|
|
0.028994882479310036,
|
|
0.052491795271635056,
|
|
0.0029121581465005875,
|
|
0.003459267783910036,
|
|
0.004392233211547136,
|
|
0.023635130375623703,
|
|
0.04723954573273659,
|
|
0.06744996458292007,
|
|
-0.012216858565807343,
|
|
-0.02451050467789173,
|
|
0.02454121969640255,
|
|
0.017522860318422318,
|
|
0.01415189914405346,
|
|
-0.03264995664358139,
|
|
-0.024003708735108376,
|
|
-0.029839543625712395,
|
|
-0.013092233799397945,
|
|
0.028227010741829872,
|
|
0.05095604807138443,
|
|
0.039192236959934235,
|
|
0.028810594230890274,
|
|
-0.002418799791485071,
|
|
-0.029148457571864128,
|
|
-0.02429550141096115,
|
|
-0.0016173324547708035,
|
|
-0.00042592952377162874,
|
|
-0.03701147809624672,
|
|
-0.018229303881525993,
|
|
0.005175463855266571,
|
|
-0.01266990415751934,
|
|
0.04539664834737778,
|
|
-0.042509447783231735,
|
|
-0.006611386314034462,
|
|
0.003927670419216156,
|
|
0.02268296666443348,
|
|
0.005409664940088987,
|
|
0.03824007511138916,
|
|
0.0030350179877132177,
|
|
-0.019181465730071068,
|
|
-0.0024360769893974066,
|
|
0.06738853454589844,
|
|
-0.014789232984185219,
|
|
0.025708386674523354,
|
|
-0.029624538496136665,
|
|
-0.031298503279685974,
|
|
0.06075410917401314,
|
|
0.001051026163622737,
|
|
0.013545279391109943,
|
|
0.044383056461811066,
|
|
-0.03350997716188431,
|
|
0.02309761941432953,
|
|
-0.07580441981554031,
|
|
-0.016939276829361916,
|
|
0.02512480318546295,
|
|
0.013476170599460602,
|
|
-0.07193434238433838,
|
|
0.01895110495388508,
|
|
0.01319973636418581,
|
|
-0.021285438910126686,
|
|
0.053751107305288315,
|
|
0.0021462049335241318,
|
|
-0.03372498229146004,
|
|
-0.024372287094593048,
|
|
0.015288351103663445,
|
|
-0.038608651608228683,
|
|
0.01620212011039257,
|
|
0.0441066212952137,
|
|
-0.0209782887250185,
|
|
-0.01789144054055214,
|
|
-0.006588350050151348,
|
|
-0.013476170599460602,
|
|
-0.0006416538381017745,
|
|
-0.02369656041264534,
|
|
-0.006361827719956636,
|
|
0.012232216075062752,
|
|
0.007678729481995106,
|
|
-0.0007280395366251469,
|
|
0.030730275437235832,
|
|
0.01603318750858307,
|
|
0.012907944619655609,
|
|
-0.002426478546112776,
|
|
0.01744607463479042,
|
|
-0.006177538074553013,
|
|
0.010573610663414001,
|
|
-0.013076876290142536,
|
|
-0.03470785915851593,
|
|
0.010343248955905437,
|
|
0.0032154680229723454,
|
|
-0.016493910923600197,
|
|
-0.04017511382699013,
|
|
0.0003649796126410365,
|
|
-0.02059435285627842,
|
|
0.005590115208178759,
|
|
0.05175463855266571,
|
|
-0.02205331064760685,
|
|
0.02911774255335331,
|
|
0.02973204106092453,
|
|
-0.005117873195558786,
|
|
-0.02560088410973549,
|
|
-0.011410592123866081,
|
|
-0.043369464576244354,
|
|
-0.033172111958265305,
|
|
-0.0014330429257825017,
|
|
-0.024080496281385422,
|
|
-0.0005379909998737276,
|
|
-0.016171405091881752,
|
|
-0.015703001990914345,
|
|
-0.03225066512823105,
|
|
-0.0201489869505167,
|
|
0.036090027540922165,
|
|
-0.023865491151809692,
|
|
0.05181606858968735,
|
|
-0.012639189139008522,
|
|
-0.005225375294685364,
|
|
0.02059435285627842,
|
|
0.054334692656993866,
|
|
-0.032742101699113846,
|
|
0.02933274768292904,
|
|
0.030699560418725014,
|
|
0.01506566721946001,
|
|
-0.014658695086836815,
|
|
-0.04548879340291023,
|
|
-0.004557325970381498,
|
|
0.05719117820262909,
|
|
0.03455428406596184,
|
|
-0.012063284404575825,
|
|
0.028641661629080772,
|
|
0.013959930278360844,
|
|
-0.002791218226775527,
|
|
-0.014251722022891045,
|
|
0.03790220990777016,
|
|
-0.02180759236216545,
|
|
0.02601553685963154,
|
|
-0.020532922819256783,
|
|
0.009721271693706512,
|
|
-0.04238658770918846,
|
|
-0.004776170011609793,
|
|
-0.03013133443892002,
|
|
-0.01640176586806774,
|
|
0.053321097046136856,
|
|
0.012024890631437302,
|
|
0.049143869429826736,
|
|
0.01424404326826334,
|
|
-0.009821095503866673,
|
|
0.03134457394480705,
|
|
-0.0073715802282094955,
|
|
-0.03320282697677612,
|
|
0.0837288647890091,
|
|
-0.0005091957864351571,
|
|
0.006603707559406757,
|
|
0.00572065357118845,
|
|
0.018843602389097214,
|
|
0.01847502402961254,
|
|
-0.01789144054055214,
|
|
-0.005536363925784826,
|
|
-0.024786939844489098,
|
|
-0.042079437524080276,
|
|
-0.026353400200605392,
|
|
-0.040420833975076675,
|
|
0.035076435655355453,
|
|
-0.01681641861796379,
|
|
-0.04340017959475517,
|
|
0.010266461409628391,
|
|
0.005774404853582382,
|
|
-0.014374582096934319,
|
|
0.011925066821277142,
|
|
0.0519082136452198,
|
|
0.010043778456747532,
|
|
-0.09349621087312698,
|
|
0.008362136781215668,
|
|
-0.02517087571322918,
|
|
0.03329497203230858,
|
|
0.03323354199528694,
|
|
-0.020717212930321693,
|
|
-0.00048423989210277796,
|
|
0.02165401726961136,
|
|
-0.05135534331202507,
|
|
0.031943514943122864,
|
|
0.014604943804442883,
|
|
0.02891809493303299,
|
|
0.01644783839583397,
|
|
-0.028595589101314545,
|
|
-0.02494051307439804,
|
|
-0.0411272756755352,
|
|
-0.006849426776170731,
|
|
-0.047730982303619385,
|
|
0.020440777763724327,
|
|
0.015518712811172009,
|
|
0.07476010918617249,
|
|
0.006419417914003134,
|
|
0.03695004805922508,
|
|
0.027812357991933823,
|
|
-0.022560108453035355,
|
|
5.225135464570485e-05,
|
|
-0.004753133747726679,
|
|
0.012500971555709839,
|
|
-0.005440379958599806,
|
|
0.03286496177315712,
|
|
-0.031283143907785416,
|
|
-0.012531686574220657,
|
|
0.01197113934904337,
|
|
0.029348105192184448,
|
|
0.02205331064760685,
|
|
-0.008454280905425549,
|
|
-0.0020732569973915815,
|
|
-0.027766285464167595,
|
|
0.00303885736502707,
|
|
0.003361363895237446,
|
|
0.0005701456684619188,
|
|
-0.02931739017367363,
|
|
-0.04822242259979248,
|
|
-0.017400002107024193,
|
|
0.010612004436552525,
|
|
-0.0058934250846505165,
|
|
-0.04072798043489456,
|
|
-0.009229833260178566,
|
|
-0.008246955461800098,
|
|
-0.019166110083460808,
|
|
0.004334643017500639,
|
|
-0.028994882479310036,
|
|
-0.006968447007238865,
|
|
-0.01746143028140068,
|
|
0.04671739041805267,
|
|
0.023650487884879112,
|
|
-0.018582526594400406,
|
|
0.0261998251080513,
|
|
-0.024848369881510735,
|
|
-0.01506566721946001,
|
|
-0.04785384237766266,
|
|
0.0062888795509934425,
|
|
0.006565313786268234,
|
|
0.01038164272904396,
|
|
0.015726039186120033,
|
|
0.0761115700006485,
|
|
0.015272993594408035,
|
|
-0.042970169335603714,
|
|
0.019703621044754982,
|
|
0.009905560873448849,
|
|
-0.022114740684628487,
|
|
0.004184907767921686,
|
|
-0.029793471097946167,
|
|
0.00954466126859188,
|
|
0.01540353149175644,
|
|
-0.02974739857017994,
|
|
0.03206637501716614,
|
|
0.003225066466256976,
|
|
0.022176170721650124,
|
|
-0.009275905787944794,
|
|
-0.05350538715720177,
|
|
-0.036520037800073624,
|
|
-0.023189762607216835,
|
|
0.04432162642478943,
|
|
0.007052913308143616,
|
|
0.03116028569638729,
|
|
0.033571407198905945,
|
|
-0.020625067874789238,
|
|
-0.005927979480475187,
|
|
-0.001962875248864293,
|
|
0.02682948112487793,
|
|
0.01664748601615429,
|
|
-0.028564874082803726,
|
|
-0.001681641791947186,
|
|
0.034400708973407745,
|
|
-0.010665755718946457,
|
|
0.011287732981145382,
|
|
-0.026030894368886948,
|
|
-0.0036934688687324524,
|
|
0.026061607524752617,
|
|
-0.08753751963376999,
|
|
-0.02122400887310505,
|
|
0.009260548278689384,
|
|
-0.04413733631372452,
|
|
-0.08508032560348511,
|
|
-0.05900335684418678,
|
|
-0.013990645296871662,
|
|
0.01888967491686344,
|
|
-0.001401368179358542,
|
|
-0.029409535229206085,
|
|
0.019304325804114342,
|
|
0.0402979739010334,
|
|
0.01217846479266882,
|
|
-0.041895147413015366,
|
|
-0.043768759816884995,
|
|
-0.05359753221273422,
|
|
0.05132462829351425,
|
|
0.013069197535514832,
|
|
0.002848808653652668,
|
|
0.021546514704823494,
|
|
-0.018152516335248947,
|
|
-0.004350000526756048,
|
|
0.032772816717624664,
|
|
0.02160794474184513,
|
|
-0.005943336524069309,
|
|
-0.04782312735915184,
|
|
-0.03999082371592522,
|
|
0.0018428950570523739,
|
|
0.03882365673780441,
|
|
-0.035660021007061005,
|
|
0.016063902527093887,
|
|
0.012431863695383072,
|
|
-0.01340706180781126,
|
|
-0.010742542333900928,
|
|
0.028733806684613228,
|
|
-0.043123744428157806,
|
|
-0.02326655015349388,
|
|
-0.014604943804442883,
|
|
-0.053351812064647675,
|
|
-0.010143602266907692,
|
|
-0.01598711498081684,
|
|
0.03759505972266197,
|
|
-0.0023996029049158096,
|
|
0.03658146783709526,
|
|
0.03486143425107002,
|
|
0.0053751105442643166,
|
|
-0.027397707104682922,
|
|
-0.018045013770461082,
|
|
0.04118870571255684,
|
|
-0.05504113435745239,
|
|
0.013169021345674992,
|
|
0.027581997215747833,
|
|
0.012923302128911018,
|
|
-0.0020713373087346554,
|
|
0.022974759340286255,
|
|
0.003977581858634949,
|
|
-0.018382878974080086,
|
|
-0.004019815009087324,
|
|
-0.013652781024575233,
|
|
0.053136810660362244,
|
|
0.06480848044157028,
|
|
0.018213946372270584,
|
|
-0.0898718535900116,
|
|
0.01583353988826275,
|
|
-0.0407894104719162,
|
|
-0.0021692411974072456,
|
|
0.04349232465028763,
|
|
0.0394686721265316,
|
|
0.016493910923600197,
|
|
0.021976524963974953,
|
|
0.01321509387344122,
|
|
0.007601942401379347,
|
|
-0.028994882479310036,
|
|
0.04631809890270233,
|
|
0.011203266680240631,
|
|
-0.031283143907785416,
|
|
-0.010481465607881546,
|
|
0.04429091140627861,
|
|
-0.005851191934198141,
|
|
0.029056312516331673,
|
|
0.03433927893638611,
|
|
-0.008285349234938622,
|
|
-0.002034863457083702,
|
|
-0.006615225691348314,
|
|
-0.0060086059384047985,
|
|
0.027382349595427513,
|
|
-0.013453134335577488,
|
|
-0.02888738177716732,
|
|
-0.035260725766420364,
|
|
0.027704857289791107,
|
|
-0.008615534752607346,
|
|
0.0011047772131860256,
|
|
0.03271138668060303,
|
|
0.00452661095187068,
|
|
-0.05344395712018013,
|
|
-0.017522860318422318,
|
|
-0.05362824723124504,
|
|
-0.009291263297200203,
|
|
-0.026261255145072937,
|
|
0.02328190766274929,
|
|
0.031728509813547134,
|
|
0.033755697309970856,
|
|
0.03017740696668625,
|
|
-0.012608474120497704,
|
|
0.01297705341130495,
|
|
0.01183292269706726,
|
|
0.0023535306099802256,
|
|
0.0006243766983971,
|
|
-0.0844045951962471,
|
|
-0.037533629685640335,
|
|
-0.009222154505550861,
|
|
0.009506267495453358,
|
|
0.009337334893643856,
|
|
-0.007628818042576313,
|
|
0.011402913369238377,
|
|
-0.06542277336120605,
|
|
-0.013591350987553596,
|
|
-0.046041663736104965,
|
|
0.019043250009417534,
|
|
0.02163865976035595,
|
|
-0.0009823974687606096,
|
|
0.050003886222839355,
|
|
0.050741046667099
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\MapGenerator.txt\n\npublic static class MapGenerator\n{\n\tpublic static Map mapBeingGenerated;\n\n\tprivate static IntVec3 playerStartSpotInt = IntVec3.Invalid;\n\n\tprivate static Gravship gravship;\n\n\tpublic static List<IntVec3> rootsToUnfog = new List<IntVec3>();\n\n\tprivate static Dictionary<string, object> data = new Dictionary<string, object>();\n\n\tprivate static List<GenStepWithParams> tmpGenSteps = new List<GenStepWithParams>();\n\n\tprivate static int debugSeed;\n\n\tpublic static bool debugMode = false;\n\n\tprivate static int debugGenStepIndex = 0;\n\n\tprivate static List<CellRect> cachedUsedRects = new List<CellRect>();\n\n\tpublic const string ElevationName = \"Elevation\";\n\n\tpublic const string FertilityName = \"Fertility\";\n\n\tpublic const string CavesName = \"Caves\";\n\n\tpublic const string RectOfInterestName = \"RectOfInterest\";\n\n\tpublic const string UsedRectsName = \"UsedRects\";\n\n\tpublic const string RectOfInterestTurretsGenStepsCount = \"RectOfInterestTurretsGenStepsCount\";\n\n\tpublic const string DontGenerateClearedGravShipTerrain = \"DontGenerateClearedGravShipTerrain\";\n\n\tpublic const string GravshipSpawnSet = \"GravshipSpawnSet\";\n\n\tpublic const string SpawnRectName = \"SpawnRect\";\n\n\tpublic static List<MapGenUtility.CellData> tmpDataDump = new List<MapGenUtility.CellData>();\n\n\tpublic static MapGenFloatGrid Elevation => FloatGridNamed(\"Elevation\");\n\n\tpublic static MapGenFloatGrid Fertility => FloatGridNamed(\"Fertility\");\n\n\tpublic static MapGenFloatGrid Caves => FloatGridNamed(\"Caves\");\n\n\tpublic static List<CellRect> UsedRects => GetOrGenerateVar<List<CellRect>>(\"UsedRects\");\n\n\tpublic static IntVec3 PlayerStartSpot\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!PlayerStartSpotValid)\n\t\t\t{\n\t\t\t\tLog.Error(\"Accessing player start spot before setting it.\");\n\t\t\t\treturn IntVec3.Invalid;\n\t\t\t}\n\t\t\treturn playerStartSpotInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tplayerStartSpotInt = value;\n\t\t}\n\t}\n\n\tpublic static bool PlayerStartSpotValid => playerStartSpotInt.IsValid;\n\n\tpublic static Map GenerateMap(IntVec3 mapSize, MapParent parent, MapGeneratorDef mapGenerator, IEnumerable<GenStepWithParams> extraGenStepDefs = null, Action<Map> extraInitBeforeContentGen = null, bool isPocketMap = false, bool stepDebugger = false)\n\t{\n\t\tProgramState programState = Current.ProgramState;\n\t\tCurrent.ProgramState = ProgramState.MapInitializing;\n\t\tClearWorkingData();\n\t\tplayerStartSpotInt = IntVec3.Invalid;\n\t\trootsToUnfog.Clear();\n\t\tmapBeingGenerated = null;\n\t\tgravship = null;\n\t\tDeepProfiler.Start(\"InitNewGeneratedMap\");\n\t\tRand.PushState();\n\t\tint seed = Gen.HashCombineInt(Find.World.info.Seed, parent?.Tile.GetHashCode() ?? 0);\n\t\tif (isPocketMap)\n\t\t{\n\t\t\tseed = Gen.HashCombineInt(Find.World.info.Seed, parent?.ID ?? Rand.Int);\n\t\t}\n\t\tRand.Seed = seed;\n\t\tif (stepDebugger)\n\t\t{\n\t\t\tdebugMode = true;\n\t\t\tdebugSeed = seed;\n\t\t\tdebugGenStepIndex = 0;\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tif (parent != null && parent.HasMap)\n\t\t\t{\n\t\t\t\tLog.Error($\"Tried to generate a new map and set {parent} as its parent, but this world object already has a map. One world object can't have more than 1 map.\");\n\t\t\t\tparent = null;\n\t\t\t}\n\t\t\tDeepProfiler.Start(\"Set up map\");\n\t\t\tMap map = new Map();\n\t\t\tmap.uniqueID = Find.UniqueIDsManager.GetNextMapID();\n\t\t\tmap.generationTick = GenTicks.TicksGame;\n\t\t\tmap.events = new MapEvents(map);\n\t\t\tmapBeingGenerated = map;\n\t\t\tmap.info.Size = mapSize;\n\t\t\tmap.info.parent = parent;\n\t\t\tif (mapGenerator == null)\n\t\t\t{\n\t\t\t\tLog.Error(\"Attempted to generate map without generator; falling back on encounter map\");\n\t\t\t\tmapGenerator = MapGeneratorDefOf.Encounter;\n\t\t\t}\n\t\t\tmap.generatorDef = mapGenerator;\n\t\t\tmap.info.disableSunShadows = mapGenerator.disableShadows;\n\t\t\tif (isPocketMap)\n\t\t\t{\n\t\t\t\tmap.info.isPocketMap = true;\n\t\t\t\tmap.pocketTileInfo = new Tile\n\t\t\t\t{\n\t\t\t\t\tPrimaryBiome = mapGenerator.pocketMapProperties.biome\n\t\t\t\t};\n\t\t\t\tforeach (TileMutatorDef tileMutator in mapGenerator.pocketMapProperties.tileMutators)\n\t\t\t\t{\n\t\t\t\t\tmap.TileInfo.AddMutator(tileMutator);\n\t\t\t\t}\n\t\t\t}\n\t\t\tmap.ConstructComponents();\n\t\t\tforeach (TileMutatorDef mutator in map.TileInfo.Mutators)\n\t\t\t{\n\t\t\t\tmutator.Worker?.Init(map);\n\t\t\t}\n\t\t\tDeepProfiler.End();\n\t\t\tCurrent.Game.AddMap(map);\n\t\t\tif (mapGenerator.isUnderground)\n\t\t\t{\n\t\t\t\tforeach (IntVec3 allCell in map.AllCells)\n\t\t\t\t{\n\t\t\t\t\tmap.roofGrid.SetRoof(allCell, mapGenerator.roofDef ?? RoofDefOf.RoofRockThick);\n\t\t\t\t}\n\t\t\t}\n\t\t\textraInitBeforeContentGen?.Invoke(map);\n\t\t\tIEnumerable<GenStepWithParams> enumerable = mapGenerator.genSteps.Where(IsValidBiome).Select(GetGenStepParms);\n\t\t\tforeach (TileMutatorDef mutator2 in map.TileInfo.Mutators)\n\t\t\t{\n\t\t\t\tif (mutator2.extraGenSteps.Any())\n\t\t\t\t{\n\t\t\t\t\tenumerable = enumerable.Concat(mutator2.extraGenSteps.Select(GetGenStepParms));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (map.Biome.extraGenSteps.Any())\n\t\t\t{\n\t\t\t\tenumerable = enumerable.Concat(map.Biome.extraGenSteps.Where(IsValidBiome).Select(GetGenStepParms));\n\t\t\t}\n\t\t\tif (map.Biome.preventGenSteps.Any())\n\t\t\t{\n\t\t\t\tenumerable = enumerable.Where((GenStepWithParams step) => !map.Biome.preventGenSteps.Contains(step.def));\n\t\t\t}\n\t\t\tforeach (TileMutatorDef mut in map.TileInfo.Mutators)\n\t\t\t{\n\t\t\t\tif (mut.preventGenSteps.Any())\n\t\t\t\t{\n\t\t\t\t\tenumerable = enumerable.Where((GenStepWithParams step) => !mut.preventGenSteps.Contains(step.def));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (extraGenStepDefs != null)\n\t\t\t{\n\t\t\t\tenumerable = enumerable.Concat(extraGenStepDefs);\n\t\t\t}\n\t\t\tenumerable = enumerable.Distinct();\n\t\t\tmap.areaManager.AddStartingAreas();\n\t\t\tmap.weatherDecider.StartInitialWeather();\n\t\t\tDeepProfiler.Start(\"Generate contents into map\");\n\t\t\tGenerateContentsIntoMap(enumerable, map, seed, stepDebugger);\n\t\t\tDeepProfiler.End();\n\t\t\tFind.Scenario.PostMapGenerate(map);\n\t\t\tDeepProfiler.Start(\"Finalize map init\");\n\t\t\tmap.FinalizeInit();\n\t\t\tDeepProfiler.End();\n\t\t\tDeepProfiler.Start(\"MapComponent.MapGenerated()\");\n\t\t\tMapComponentUtility.MapGenerated(map);\n\t\t\tDeepProfiler.End();\n\t\t\tparent?.PostMapGenerate();\n\t\t\tDeepProfiler.Start(\"Map generator post init\");\n\t\t\tif (!stepDebugger)\n\t\t\t{\n\t\t\t\tMapGeneratorPostInit(enumerable, map);\n\t\t\t}\n\t\t\tDeepProfiler.End();\n\t\t\tif (gravship != null && !stepDebugger && (bool)map.Parent.CanBeSettled)\n\t\t\t{\n\t\t\t\tGravshipUtility.SettleTile(map);\n\t\t\t}\n\t\t\tif (map.TileInfo.Layer.Def.isSpace)\n\t\t\t{\n\t\t\t\tLessonAutoActivator.TeachOpportunity(ConceptDefOf.Orbit, OpportunityType.Critical);\n\t\t\t}\n\t\t\treturn map;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tDeepProfiler.End();\n\t\t\tif (!stepDebugger)\n\t\t\t{\n\t\t\t\tClearWorkingData();\n\t\t\t\tmapBeingGenerated = null;\n\t\t\t\tgravship = null;\n\t\t\t}\n\t\t\tCurrent.ProgramState = programState;\n\t\t\tRand.PopState();\n\t\t}\n\t\tstatic GenStepWithParams GetGenStepParms(GenStepDef x)\n\t\t{\n\t\t\treturn new GenStepWithParams(x, default(GenStepParams));\n\t\t}\n\t\tstatic bool IsValidBiome(GenStepDef g)\n\t\t{\n\t\t\treturn !Find.Scenario.parts.Any((ScenPart p) => typeof(ScenPart_DisableMapGen).IsAssignableFrom(p.def.scenPartClass) && p.def.genStep == g);\n\t\t}\n\t}\n\n\tpublic static bool DebugDoNextGenStep(Map map)\n\t{\n\t\tif (debugGenStepIndex >= tmpGenSteps.Count)\n\t\t{\n\t\t\tClearDebugMode();\n\t\t\treturn false;\n\t\t}\n\t\tGenStepWithParams genStepWithParams = tmpGenSteps[debugGenStepIndex];\n\t\tLog.Message(\"Doing gen step \" + genStepWithParams.def.defName);\n\t\tRand.PushState(Gen.HashCombineInt(debugSeed, GetSeedPart(tmpGenSteps, debugGenStepIndex)));\n\t\ttry\n\t\t{\n\t\t\tGenStepParams parms = genStepWithParams.parms;\n\t\t\tif (gravship != null)\n\t\t\t{\n\t\t\t\tparms.gravship = gravship;\n\t\t\t}\n\t\t\tgenStepWithParams.def.genStep.Generate(map, parms);\n\t\t\tgenStepWithParams.def.genStep.PostMapInitialized(map, parms);\n\t\t}\n\t\tcatch (Exception arg)\n\t\t{\n\t\t\tLog.Error($\"Error stepping GenStep {genStepWithParams.def.defName}: {arg}\");\n\t\t}\n\t\tRand.PopState();\n\t\tmap.FinalizeInit();\n\t\tdebugGenStepIndex++;\n\t\treturn true;\n\t}\n\n\tpublic static void ClearDebugMode()\n\t{\n\t\tdebugMode = false;\n\t\tdebugSeed = 0;\n\t\tdebugGenStepIndex = 0;\n\t}\n\n\tpublic static void MapGeneratorPostInit(IEnumerable<GenStepWithParams> genStepDefs, Map map)\n\t{\n\t\ttmpGenSteps.Clear();\n\t\ttmpGenSteps.AddRange(from x in genStepDefs\n\t\t\torderby x.def.order, x.def.index\n\t\t\tselect x);\n\t\ttmpGenSteps.RemoveWhere((GenStepWithParams a) => tmpGenSteps.Any((GenStepWithParams b) => b.def.preventsGenSteps != null && b.def.preventsGenSteps.Contains(a.def)));\n\t\tfor (int i = 0; i < tmpGenSteps.Count; i++)\n\t\t{\n\t\t\tGenStepParams parms = tmpGenSteps[i].parms;\n\t\t\tif (gravship != null)\n\t\t\t{\n\t\t\t\tparms.gravship = gravship;\n\t\t\t}\n\t\t\ttmpGenSteps[i].def.genStep.PostMapInitialized(map, parms);\n\t\t}\n\t}\n\n\tpublic static void GenerateContentsIntoMap(IEnumerable<GenStepWithParams> genStepDefs, Map map, int seed, bool stepDebugger = false)\n\t{\n\t\tClearWorkingData();\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tforeach (GenStepWithParams genStepDef in genStepDefs)\n\t\t\t{\n\t\t\t\tif (genStepDef.def == GenStepDefOf.GravshipMarker)\n\t\t\t\t{\n\t\t\t\t\tgravship = genStepDef.parms.gravship;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tRand.PushState();\n\t\ttry\n\t\t{\n\t\t\tRand.Seed = seed;\n\t\t\tRockNoises.Init(map);\n\t\t\ttmpGenSteps.Clear();\n\t\t\ttmpGenSteps.AddRange(from x in genStepDefs\n\t\t\t\torderby x.def.order, x.def.index\n\t\t\t\tselect x);\n\t\t\ttmpGenSteps.RemoveWhere((GenStepWithParams a) => tmpGenSteps.Any((GenStepWithParams b) => b.def.preventsGenSteps != null && b.def.preventsGenSteps.Contains(a.def)));\n\t\t\tif (stepDebugger)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tfor (int i = 0; i < tmpGenSteps.Count; i++)\n\t\t\t{\n\t\t\t\tDeepProfiler.Start(\"GenStep - \" + tmpGenSteps[i].def);\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tGenStepParams parms = tmpGenSteps[i].parms;\n\t\t\t\t\tif (gravship != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tparms.gravship = gravship;\n\t\t\t\t\t}\n\t\t\t\t\tRand.PushState();\n\t\t\t\t\tRand.Seed = Gen.HashCombineInt(seed, GetSeedPart(tmpGenSteps, i));\n\t\t\t\t\ttmpGenSteps[i].def.genStep.Generate(map, parms);\n\t\t\t\t\tif (map.pathing.IncrementalDirtyingDisabled)\n\t\t\t\t\t{\n\t\t\t\t\t\tLog.Error($\"Genstep [{i}] {tmpGenSteps[i].def} ended with path incremental dirtying disabled, for safety reasons it must be reenabled before returning.\");\n\t\t\t\t\t\tmap.pathing.ReEnableIncrementalDirtying();\n\t\t\t\t\t}\n\t\t\t\t\tRand.PopState();\n\t\t\t\t}\n\t\t\t\tcatch (Exception arg)\n\t\t\t\t{\n\t\t\t\t\tLog.Error($\"Error in GenStep: {arg}\");\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tDeepProfiler.End();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tif (!stepDebugger)\n\t\t\t{\n\t\t\t\tRand.PopState();\n\t\t\t\tRockNoises.Reset();\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static void ClearWorkingData()\n\t{\n\t\tif (Prefs.DevMode && TryGetVar<List<CellRect>>(\"UsedRects\", out var var))\n\t\t{\n\t\t\tcachedUsedRects = var.ToList();\n\t\t}\n\t\tforeach (KeyValuePair<string, object> datum in data)\n\t\t{\n\t\t\tdatum.Deconstruct(out var _, out var value);\n\t\t\tif (value is IDisposable disposable)\n\t\t\t{\n\t\t\t\tdisposable.Dispose();\n\t\t\t}\n\t\t}\n\t\tdata.Clear();\n\t}\n\n\tpublic static void DebugDraw()\n\t{\n\t\tif (!DebugViewSettings.drawUsedRects)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tfloat y = AltitudeLayer.MetaOverlays.AltitudeFor();\n\t\tforeach (CellRect cachedUsedRect in cachedUsedRects)\n\t\t{\n\t\t\tGenDraw.DrawLineBetween(new Vector3(cachedUsedRect.minX, y, cachedUsedRect.minZ), new Vector3(cachedUsedRect.minX, y, cachedUsedRect.maxZ + 1), SimpleColor.Red);\n\t\t\tGenDraw.DrawLineBetween(new Vector3(cachedUsedRect.maxX + 1, y, cachedUsedRect.minZ), new Vector3(cachedUsedRect.maxX + 1, y, cachedUsedRect.maxZ + 1), SimpleColor.Red);\n\t\t\tGenDraw.DrawLineBetween(new Vector3(cachedUsedRect.minX, y, cachedUsedRect.minZ), new Vector3(cachedUsedRect.maxX + 1, y, cachedUsedRect.minZ), SimpleColor.Red);\n\t\t\tGenDraw.DrawLineBetween(new Vector3(cachedUsedRect.minX, y, cachedUsedRect.maxZ + 1), new Vector3(cachedUsedRect.maxX + 1, y, cachedUsedRect.maxZ + 1), SimpleColor.Red);\n\t\t}\n\t}\n\n\tpublic static T GetVar<T>(string name)\n\t{\n\t\tif (data.TryGetValue(name, out var value))\n\t\t{\n\t\t\treturn (T)value;\n\t\t}\n\t\treturn default(T);\n\t}\n\n\tpublic static bool TryGetVar<T>(string name, out T var)\n\t{\n\t\tif (data.TryGetValue(name, out var value))\n\t\t{\n\t\t\tvar = (T)value;\n\t\t\treturn true;\n\t\t}\n\t\tvar = default(T);\n\t\treturn false;\n\t}\n\n\tpublic static T GetOrGenerateVar<T>(string name)\n\t{\n\t\tT var = GetVar<T>(name);\n\t\tif (var != null)\n\t\t{\n\t\t\treturn var;\n\t\t}\n\t\tvar = (T)Activator.CreateInstance(typeof(T));\n\t\tSetVar(name, var);\n\t\treturn var;\n\t}\n\n\tpublic static void SetVar<T>(string name, T var)\n\t{\n\t\tdata[name] = var;\n\t}\n\n\tpublic static MapGenFloatGrid FloatGridNamed(string name)\n\t{\n\t\tMapGenFloatGrid var = GetVar<MapGenFloatGrid>(name);\n\t\tif (var != null)\n\t\t{\n\t\t\treturn var;\n\t\t}\n\t\tMapGenFloatGrid mapGenFloatGrid = new MapGenFloatGrid(mapBeingGenerated);\n\t\tSetVar(name, mapGenFloatGrid);\n\t\treturn mapGenFloatGrid;\n\t}\n\n\tprivate static int GetSeedPart(List<GenStepWithParams> genSteps, int index)\n\t{\n\t\tint seedPart = genSteps[index].def.genStep.SeedPart;\n\t\tint num = 0;\n\t\tfor (int i = 0; i < index; i++)\n\t\t{\n\t\t\tif (tmpGenSteps[i].def.genStep.SeedPart == seedPart)\n\t\t\t{\n\t\t\t\tnum++;\n\t\t\t}\n\t\t}\n\t\treturn seedPart + num;\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-25 11:39:55,702"
|
|
},
|
|
"Map-destroyed-null": {
|
|
"keywords": [
|
|
"Map",
|
|
"destroyed",
|
|
"null"
|
|
],
|
|
"question": "Map check if destroyed or null methods",
|
|
"embedding": [
|
|
-0.02629806287586689,
|
|
0.017614584416151047,
|
|
0.04774262011051178,
|
|
-0.02765176072716713,
|
|
-0.06454829126596451,
|
|
0.004985571373254061,
|
|
0.03275289013981819,
|
|
0.02378876879811287,
|
|
-0.00615354860201478,
|
|
0.06979799270629883,
|
|
0.028411151841282845,
|
|
-0.04450695216655731,
|
|
-0.005068113561719656,
|
|
-0.005806869827210903,
|
|
-0.006520863156765699,
|
|
0.04354945942759514,
|
|
-0.017614584416151047,
|
|
-0.12216300517320633,
|
|
-0.021972831338644028,
|
|
0.006743727717548609,
|
|
-0.002952960319817066,
|
|
0.015361172147095203,
|
|
0.01943052001297474,
|
|
0.005736708641052246,
|
|
-0.02185727283358574,
|
|
0.002154360990971327,
|
|
0.030953463166952133,
|
|
0.07508072257041931,
|
|
-0.057383593171834946,
|
|
0.0034956778399646282,
|
|
0.004399518948048353,
|
|
0.016673598438501358,
|
|
0.03800259903073311,
|
|
-0.05157259851694107,
|
|
0.04067697748541832,
|
|
0.01037560123950243,
|
|
-0.03413960710167885,
|
|
0.02814701572060585,
|
|
0.030623292550444603,
|
|
0.013305862434208393,
|
|
-0.04985571280121803,
|
|
0.004275705199688673,
|
|
-0.0065910243429243565,
|
|
0.007313271518796682,
|
|
0.03394150361418724,
|
|
0.06695853173732758,
|
|
0.03595554456114769,
|
|
-0.026314571499824524,
|
|
-0.0497896783053875,
|
|
0.020388014614582062,
|
|
-0.010581957176327705,
|
|
0.052166905254125595,
|
|
0.003889818675816059,
|
|
-0.058242037892341614,
|
|
0.018951773643493652,
|
|
0.014964967966079712,
|
|
-0.020685167983174324,
|
|
-0.02514246664941311,
|
|
-0.021725203841924667,
|
|
0.0003776322409976274,
|
|
0.015509748831391335,
|
|
0.029698817059397697,
|
|
-0.017565058544278145,
|
|
-0.019215909764170647,
|
|
0.07316572964191437,
|
|
-0.03744130954146385,
|
|
-0.04381359741091728,
|
|
0.020965812727808952,
|
|
0.009533667005598545,
|
|
-0.03836578503251076,
|
|
0.03300051763653755,
|
|
0.012686792761087418,
|
|
-0.033875469118356705,
|
|
0.0008321322966367006,
|
|
-0.024548159912228584,
|
|
-0.002750731073319912,
|
|
0.012075977399945259,
|
|
0.01618659868836403,
|
|
0.003906327299773693,
|
|
-0.02177472971379757,
|
|
0.0221049003303051,
|
|
-0.012967437505722046,
|
|
0.0015476731350645423,
|
|
0.010796568356454372,
|
|
-0.025753282010555267,
|
|
0.026892369613051414,
|
|
0.005773852579295635,
|
|
-0.07587312906980515,
|
|
-0.04843597859144211,
|
|
0.1151633933186531,
|
|
-0.0015311646275222301,
|
|
0.014857662841677666,
|
|
0.017482515424489975,
|
|
-0.005831632297486067,
|
|
0.01967814937233925,
|
|
-0.025406602770090103,
|
|
-0.01934797875583172,
|
|
0.015641815960407257,
|
|
0.0108460932970047,
|
|
0.04972364380955696,
|
|
-0.010573702864348888,
|
|
0.0012082168832421303,
|
|
0.008947614580392838,
|
|
0.06263329833745956,
|
|
-0.01934797875583172,
|
|
0.11225789040327072,
|
|
-0.06134563684463501,
|
|
0.009938125498592854,
|
|
-0.024878330528736115,
|
|
0.00397648848593235,
|
|
-0.017515532672405243,
|
|
-0.06322760879993439,
|
|
0.01799428090453148,
|
|
0.023904327303171158,
|
|
-0.001963481307029724,
|
|
0.03204302489757538,
|
|
0.023359546437859535,
|
|
-0.011126738041639328,
|
|
-0.008266638033092022,
|
|
-0.0004067801055498421,
|
|
0.06603405624628067,
|
|
-0.031498245894908905,
|
|
-0.016954243183135986,
|
|
-0.01025178749114275,
|
|
-0.015394189395010471,
|
|
-0.012546470388770103,
|
|
0.03275289013981819,
|
|
-0.003995060455054045,
|
|
-0.0045852395705878735,
|
|
0.004164272453635931,
|
|
0.018621603026986122,
|
|
-0.014593525789678097,
|
|
-0.014271610416471958,
|
|
-0.00044779342715628445,
|
|
-0.05513843521475792,
|
|
-0.029203560203313828,
|
|
0.018605094403028488,
|
|
0.0033966267947107553,
|
|
-0.018555570393800735,
|
|
0.031993500888347626,
|
|
-0.0024865949526429176,
|
|
0.016326921060681343,
|
|
0.020189912989735603,
|
|
-0.03440374135971069,
|
|
0.06979799270629883,
|
|
-0.03562537208199501,
|
|
-0.05021889880299568,
|
|
-0.00994637981057167,
|
|
0.0014723531203344464,
|
|
-0.011531196534633636,
|
|
0.017432991415262222,
|
|
-0.013569998554885387,
|
|
-0.010392109863460064,
|
|
0.046785127371549606,
|
|
-0.020932795479893684,
|
|
0.0024081794545054436,
|
|
0.012018198147416115,
|
|
-0.05900142714381218,
|
|
0.029962953180074692,
|
|
-0.056227996945381165,
|
|
0.001328935381025076,
|
|
0.034172624349594116,
|
|
-0.017779668793082237,
|
|
-0.00576147111132741,
|
|
0.019744182005524635,
|
|
0.007379305548965931,
|
|
-0.02094930410385132,
|
|
0.034007538110017776,
|
|
-0.04952554032206535,
|
|
-0.042096711695194244,
|
|
-0.017763160169124603,
|
|
0.016937734559178352,
|
|
-0.05256310850381851,
|
|
-0.002891053445637226,
|
|
0.0442098006606102,
|
|
-0.021510593593120575,
|
|
0.013388404622673988,
|
|
0.053520601242780685,
|
|
-0.0253075510263443,
|
|
-0.055567655712366104,
|
|
0.08340100944042206,
|
|
0.021295983344316483,
|
|
0.02950071357190609,
|
|
-0.03082139603793621,
|
|
0.020553098991513252,
|
|
-0.07494865357875824,
|
|
0.009409853257238865,
|
|
0.039092160761356354,
|
|
0.022781748324632645,
|
|
0.00514652905985713,
|
|
0.02922006882727146,
|
|
-0.01758156716823578,
|
|
0.039884570986032486,
|
|
-0.0018045869655907154,
|
|
0.0100454306229949,
|
|
-0.02930261194705963,
|
|
0.009327310137450695,
|
|
-0.014172558672726154,
|
|
-0.06893955171108246,
|
|
-0.0025485018268227577,
|
|
0.03866294026374817,
|
|
0.007812654599547386,
|
|
0.018440010026097298,
|
|
-0.017862211912870407,
|
|
-0.0034977414179593325,
|
|
-0.01243091095238924,
|
|
-0.007915832102298737,
|
|
-0.011159755289554596,
|
|
0.0321255661547184,
|
|
-0.017119329422712326,
|
|
0.07692967355251312,
|
|
-0.014123033732175827,
|
|
0.032851941883563995,
|
|
-8.45416434458457e-05,
|
|
-0.018390484154224396,
|
|
-0.04064396023750305,
|
|
-0.022946834564208984,
|
|
-0.015963733196258545,
|
|
0.006194819696247578,
|
|
0.026265045627951622,
|
|
-0.023194462060928345,
|
|
0.037540361285209656,
|
|
0.027106979861855507,
|
|
0.0070780254900455475,
|
|
-0.0019077651668339968,
|
|
-0.051506564021110535,
|
|
0.023937344551086426,
|
|
0.007767255883663893,
|
|
0.03427167609333992,
|
|
0.01574086770415306,
|
|
-0.03849785402417183,
|
|
0.001762283849529922,
|
|
-0.0305737666785717,
|
|
0.029071493074297905,
|
|
0.0020831681322306395,
|
|
-0.014263356104493141,
|
|
-0.05431301146745682,
|
|
-0.0011762316571548581,
|
|
-0.0021770603489130735,
|
|
0.0010844030184671283,
|
|
-0.050483036786317825,
|
|
0.04269101843237877,
|
|
-0.013041726313531399,
|
|
0.05883634462952614,
|
|
-0.007618679199367762,
|
|
-0.0353282205760479,
|
|
-0.018687637522816658,
|
|
0.03347926586866379,
|
|
0.01989275962114334,
|
|
-0.015022747218608856,
|
|
0.03816768527030945,
|
|
0.0026062815450131893,
|
|
-0.01873716339468956,
|
|
-0.06088339909911156,
|
|
-0.006747854873538017,
|
|
-0.003144871909171343,
|
|
0.004267450887709856,
|
|
-0.02218744345009327,
|
|
0.048832185566425323,
|
|
-0.04572858288884163,
|
|
-0.03767243027687073,
|
|
0.026199011132121086,
|
|
-0.01926543563604355,
|
|
0.01436240691691637,
|
|
-0.03288495913147926,
|
|
0.025654230266809464,
|
|
0.016838684678077698,
|
|
0.02704094536602497,
|
|
-0.08280670642852783,
|
|
-0.09238164126873016,
|
|
-0.0134792011231184,
|
|
0.03681398555636406,
|
|
0.01754854992032051,
|
|
-0.04153542220592499,
|
|
0.014090016484260559,
|
|
-0.014618288725614548,
|
|
0.021593136712908745,
|
|
0.03843181952834129,
|
|
0.013215065002441406,
|
|
-0.014676068909466267,
|
|
0.004073475953191519,
|
|
0.02177472971379757,
|
|
0.012901403941214085,
|
|
0.028130507096648216,
|
|
0.010400363244116306,
|
|
0.04909631982445717,
|
|
0.040577925741672516,
|
|
0.015319900587201118,
|
|
0.032901469618082047,
|
|
-0.027800336480140686,
|
|
0.010524177923798561,
|
|
0.037408292293548584,
|
|
0.001700376975350082,
|
|
0.020371505990624428,
|
|
0.005010333843529224,
|
|
-0.022385545074939728,
|
|
-0.02022293023765087,
|
|
0.0074948654510080814,
|
|
-0.01976069062948227,
|
|
0.019744182005524635,
|
|
-0.010854347608983517,
|
|
-0.01273631863296032,
|
|
-0.005187800619751215,
|
|
-0.00043799151899293065,
|
|
0.04163447022438049,
|
|
-0.07078851014375687,
|
|
-0.014040490612387657,
|
|
-0.11456908285617828,
|
|
0.03516313433647156,
|
|
-0.04605875536799431,
|
|
0.017515532672405243,
|
|
0.04034680873155594,
|
|
-0.05078018829226494,
|
|
0.01771363615989685,
|
|
-0.0015734677435830235,
|
|
0.035196151584386826,
|
|
-0.04734641686081886,
|
|
-0.0014331453712657094,
|
|
0.011242297478020191,
|
|
-8.08014374342747e-05,
|
|
0.04655401036143303,
|
|
-0.016615819185972214,
|
|
-0.0007810590323060751,
|
|
0.0035493304021656513,
|
|
0.02753620035946369,
|
|
0.0013629841851070523,
|
|
0.0032047152053564787,
|
|
0.0006680788937956095,
|
|
-0.020701676607131958,
|
|
-0.005047478247433901,
|
|
0.0006969688110984862,
|
|
0.006025607697665691,
|
|
-0.013388404622673988,
|
|
-0.022501103579998016,
|
|
-0.04051189124584198,
|
|
-0.02403639629483223,
|
|
-0.0019490363774821162,
|
|
-0.012562979012727737,
|
|
0.056723251938819885,
|
|
0.008823800832033157,
|
|
-0.012521707452833652,
|
|
-0.026842843741178513,
|
|
-0.04034680873155594,
|
|
-0.024234497919678688,
|
|
0.012051215395331383,
|
|
0.0305737666785717,
|
|
0.021972831338644028,
|
|
0.03684700280427933,
|
|
0.014577018097043037,
|
|
0.002003720961511135,
|
|
-0.050350967794656754,
|
|
0.010879110544919968,
|
|
-0.018671128898859024,
|
|
0.039059143513441086,
|
|
0.03245573863387108,
|
|
-0.0660010352730751,
|
|
0.03476693108677864,
|
|
-0.013116014190018177,
|
|
-0.020965812727808952,
|
|
-0.0018850659253075719,
|
|
0.0027961295563727617,
|
|
0.02296334318816662,
|
|
-0.024333549663424492,
|
|
0.04321929067373276,
|
|
-0.013248082250356674,
|
|
-0.011919147334992886,
|
|
-0.0016322792507708073,
|
|
0.04298816993832588,
|
|
-0.0061411671340465546,
|
|
0.02880735695362091,
|
|
-0.004527459852397442,
|
|
-0.022055374458432198,
|
|
0.04516729339957237,
|
|
0.010400363244116306,
|
|
-0.05210087075829506,
|
|
0.07105264067649841,
|
|
-0.006871669087558985,
|
|
-0.026265045627951622,
|
|
0.03800259903073311,
|
|
-0.010920382104814053,
|
|
0.046818144619464874,
|
|
0.03869595751166344,
|
|
-0.033347196877002716,
|
|
-0.061576757580041885,
|
|
-0.0014228274812921882,
|
|
-0.020767711102962494,
|
|
-0.02855972945690155,
|
|
0.014329389669001102,
|
|
-0.0022307129111140966,
|
|
-0.07204315066337585,
|
|
0.05517145246267319,
|
|
0.0061741843819618225,
|
|
-0.02198933996260166,
|
|
-0.0029797868337482214,
|
|
-0.06266631931066513,
|
|
0.019414011389017105,
|
|
-0.007094533648341894,
|
|
0.0334627591073513,
|
|
0.008832055144011974,
|
|
-0.016838684678077698,
|
|
-0.006281489506363869,
|
|
-0.008576173335313797,
|
|
0.04817184433341026,
|
|
-0.03024359792470932,
|
|
0.03007851168513298,
|
|
-0.015427205711603165,
|
|
0.045266345143318176,
|
|
-0.02477927878499031,
|
|
-0.02378876879811287,
|
|
-0.021213440224528313,
|
|
0.00762280635535717,
|
|
-0.04064396023750305,
|
|
0.0507141537964344,
|
|
0.07818432152271271,
|
|
-0.04827089607715607,
|
|
-0.0069913556799292564,
|
|
0.01139912847429514,
|
|
-0.016170090064406395,
|
|
0.05124242603778839,
|
|
-0.00315312622115016,
|
|
-0.012818860821425915,
|
|
-0.009319055825471878,
|
|
-0.032241128385066986,
|
|
-0.004354120697826147,
|
|
0.008217113092541695,
|
|
0.02707396261394024,
|
|
0.05124242603778839,
|
|
0.01581515558063984,
|
|
-0.017862211912870407,
|
|
0.043087221682071686,
|
|
-0.0024164337664842606,
|
|
-0.03073885291814804,
|
|
0.001964513212442398,
|
|
0.05444507673382759,
|
|
0.002282302128151059,
|
|
-0.011316586285829544,
|
|
-0.03390848636627197,
|
|
-0.014519237913191319,
|
|
-0.02022293023765087,
|
|
-0.013751591555774212,
|
|
0.021626153960824013,
|
|
-0.005588131956756115,
|
|
-0.025324059650301933,
|
|
-0.02588534913957119,
|
|
-0.04605875536799431,
|
|
-0.0732317641377449,
|
|
0.052662160247564316,
|
|
-0.01713583804666996,
|
|
0.023475106805562973,
|
|
0.040577925741672516,
|
|
-0.022913817316293716,
|
|
-0.0041539547964930534,
|
|
0.01401572860777378,
|
|
0.022567138075828552,
|
|
-0.008906343020498753,
|
|
0.029467696323990822,
|
|
-0.0185390617698431,
|
|
-0.033347196877002716,
|
|
-0.02707396261394024,
|
|
0.015501494519412518,
|
|
0.06111451983451843,
|
|
0.0055386065505445,
|
|
-0.02884037420153618,
|
|
0.012629013508558273,
|
|
-0.002034674398601055,
|
|
0.007940595038235188,
|
|
-0.017482515424489975,
|
|
-0.008126315660774708,
|
|
-0.005435428116470575,
|
|
-0.04094111546874046,
|
|
0.012992200441658497,
|
|
0.027585726231336594,
|
|
0.014048744924366474,
|
|
-0.020041335374116898,
|
|
0.02568724751472473,
|
|
-0.06629819422960281,
|
|
-0.008592681027948856,
|
|
0.048468995839357376,
|
|
0.002496912609785795,
|
|
0.017350448295474052,
|
|
0.02403639629483223,
|
|
0.010656245984137058,
|
|
-0.030177563428878784,
|
|
0.0031882068142294884,
|
|
-0.05196880176663399,
|
|
-0.06045417860150337,
|
|
-0.02326049655675888,
|
|
-0.03668191656470299,
|
|
0.025489145889878273,
|
|
-0.05431301146745682,
|
|
-0.04070999473333359,
|
|
0.0002311191929038614,
|
|
0.01741648279130459,
|
|
0.01721837930381298,
|
|
-0.015716105699539185,
|
|
0.022286493331193924,
|
|
0.010780059732496738,
|
|
-0.0008352276054210961,
|
|
0.008134569972753525,
|
|
-0.07673157006502151,
|
|
0.002602154389023781,
|
|
0.023326529189944267,
|
|
-0.01631866581737995,
|
|
-0.040776029229164124,
|
|
0.06758585572242737,
|
|
-0.004341739229857922,
|
|
-0.07481658458709717,
|
|
0.031052514910697937,
|
|
-0.052860260009765625,
|
|
-0.031250618398189545,
|
|
-0.001946972799487412,
|
|
-0.020487066358327866,
|
|
0.03592252731323242,
|
|
-0.019958794116973877,
|
|
0.015749122947454453,
|
|
0.024416092783212662,
|
|
0.0402807742357254,
|
|
0.07448641210794449,
|
|
-0.0065414984710514545,
|
|
0.012257571332156658,
|
|
0.006871669087558985,
|
|
-0.053025346249341965,
|
|
-0.020899778231978416,
|
|
-0.032191600650548935,
|
|
-0.030540751293301582,
|
|
0.026859352365136147,
|
|
0.01444495003670454,
|
|
-0.01374333817511797,
|
|
-0.05262914299964905,
|
|
-0.02177472971379757,
|
|
-0.03929026424884796,
|
|
0.03126712515950203,
|
|
0.01943052001297474,
|
|
-0.0074701025150716305,
|
|
0.07342986762523651,
|
|
0.01163024827837944,
|
|
-0.019083842635154724,
|
|
-0.011374366469681263,
|
|
0.032191600650548935,
|
|
0.016409462317824364,
|
|
0.0075402637012302876,
|
|
-0.027338098734617233,
|
|
-0.008345053531229496,
|
|
-0.021840764209628105,
|
|
0.024647211655974388,
|
|
-0.057416610419750214,
|
|
0.005249707493931055,
|
|
0.01931496150791645,
|
|
-0.010771805420517921,
|
|
-0.005179546307772398,
|
|
0.002234840067103505,
|
|
0.02704094536602497,
|
|
0.04936045780777931,
|
|
-0.005617022048681974,
|
|
0.027998439967632294,
|
|
-0.0033099569845944643,
|
|
0.029814375564455986,
|
|
0.043285321444272995,
|
|
0.00846061296761036,
|
|
0.0012897276319563389,
|
|
-0.01749902404844761,
|
|
-0.05292629450559616,
|
|
-0.008898088708519936,
|
|
-0.009112699888646603,
|
|
0.019248927012085915,
|
|
-0.034337710589170456,
|
|
0.0035513939801603556,
|
|
0.009896853938698769,
|
|
-0.050020795315504074,
|
|
0.01885272189974785,
|
|
-0.07877862453460693,
|
|
0.007024372462183237,
|
|
-0.026809826493263245,
|
|
0.028873391449451447,
|
|
-0.01099466998130083,
|
|
0.03225763514637947,
|
|
-0.018423501402139664,
|
|
0.030276615172624588,
|
|
0.04774262011051178,
|
|
0.010903873480856419,
|
|
0.0007206997834146023,
|
|
0.009294292889535427,
|
|
-0.03232366964221001,
|
|
-0.04318627342581749,
|
|
0.011374366469681263,
|
|
-0.021345509216189384,
|
|
-0.00038304910412989557,
|
|
0.022484594956040382,
|
|
0.049294423311948776,
|
|
-0.02704094536602497,
|
|
0.06359079480171204,
|
|
-0.032356686890125275,
|
|
-0.06299649178981781,
|
|
-0.009756531566381454,
|
|
-0.0098638366907835,
|
|
0.05120940878987312,
|
|
0.017036786302924156,
|
|
0.04655401036143303,
|
|
0.017267905175685883,
|
|
0.0457616001367569,
|
|
-0.029368646442890167,
|
|
-0.03783751279115677,
|
|
-0.006813888903707266,
|
|
-0.009228259325027466,
|
|
-0.018390484154224396,
|
|
0.026149485260248184,
|
|
-0.00011884840205311775,
|
|
-0.014370661228895187,
|
|
0.040743011981248856,
|
|
0.014048744924366474,
|
|
-0.029071493074297905,
|
|
0.04034680873155594,
|
|
-0.03579045832157135,
|
|
-0.007626933511346579,
|
|
-0.011002924293279648,
|
|
0.01569959707558155,
|
|
0.02855972945690155,
|
|
-0.00483699468895793,
|
|
-0.03068932704627514,
|
|
0.005216690246015787,
|
|
0.04199765995144844,
|
|
-0.0060544973239302635,
|
|
-0.003656635759398341,
|
|
-0.022666189819574356,
|
|
0.005357012618333101,
|
|
-0.011308331973850727,
|
|
0.05451111122965813,
|
|
-0.002851845696568489,
|
|
0.025241518393158913,
|
|
0.0060462430119514465,
|
|
-0.02136201597750187,
|
|
-0.04962459206581116,
|
|
0.0082625113427639,
|
|
0.030623292550444603,
|
|
0.051869750022888184,
|
|
-0.016211360692977905,
|
|
0.014073507860302925,
|
|
0.01374333817511797,
|
|
0.007705349009484053,
|
|
-0.019100351259112358,
|
|
-0.010367346927523613,
|
|
-0.017119329422712326,
|
|
-0.021345509216189384,
|
|
0.03278590738773346,
|
|
-0.0007083184318616986,
|
|
0.004046649672091007,
|
|
-0.0070697711780667305,
|
|
0.0012577424058690667,
|
|
0.033545300364494324,
|
|
-0.008675224147737026,
|
|
0.024217989295721054,
|
|
0.04807279258966446,
|
|
0.004147764295339584,
|
|
-0.018192382529377937,
|
|
-0.00912095420062542,
|
|
-0.0393562987446785,
|
|
-0.0002057115634670481,
|
|
-0.02400337904691696,
|
|
0.011745807714760303,
|
|
-0.04886519908905029,
|
|
-0.06217106431722641,
|
|
-0.05325646698474884,
|
|
-0.01659931056201458,
|
|
0.0016508513363078237,
|
|
-0.008349181152880192,
|
|
-0.03645079955458641,
|
|
0.004973189905285835,
|
|
-0.014742102473974228,
|
|
0.035889510065317154,
|
|
0.025373585522174835,
|
|
0.014865917153656483,
|
|
-0.0008223303593695164,
|
|
-0.015435460023581982,
|
|
-0.01684693805873394,
|
|
0.02149408496916294,
|
|
0.012298842892050743,
|
|
-0.09944728761911392,
|
|
-0.026809826493263245,
|
|
0.07283556461334229,
|
|
0.002156424568966031,
|
|
0.051671646535396576,
|
|
0.01565007120370865,
|
|
-0.02489483915269375,
|
|
-0.006570388562977314,
|
|
-0.0013413167325779796,
|
|
-0.003809339599683881,
|
|
0.02157662808895111,
|
|
-0.002612472278997302,
|
|
-0.009327310137450695,
|
|
0.034007538110017776,
|
|
-0.014395424164831638,
|
|
-0.01025178749114275,
|
|
0.0651756152510643,
|
|
0.02226998470723629,
|
|
-0.038200702518224716,
|
|
-0.030639801174402237,
|
|
-0.014494474977254868,
|
|
-0.011349603533744812,
|
|
0.010656245984137058,
|
|
0.058076951652765274,
|
|
-0.06775093823671341,
|
|
-0.05289327725768089,
|
|
-0.0418325737118721,
|
|
0.016508514061570168,
|
|
0.048502013087272644,
|
|
-0.03635174781084061,
|
|
0.008600935339927673,
|
|
0.0014661623863503337,
|
|
0.004952554125338793,
|
|
0.05276121199131012,
|
|
-0.007296762894839048,
|
|
0.01574086770415306,
|
|
-0.017482515424489975,
|
|
-0.0293851550668478,
|
|
-0.0032872578594833612,
|
|
0.053322501480579376,
|
|
0.023640191182494164,
|
|
-0.004618256818503141,
|
|
-0.008972377516329288,
|
|
0.00728438189253211,
|
|
0.012340114451944828,
|
|
0.009847328066825867,
|
|
-0.035196151584386826,
|
|
-0.014725594781339169,
|
|
0.007465975359082222,
|
|
0.02753620035946369,
|
|
0.01680566743016243,
|
|
-0.013949694111943245,
|
|
-0.021642660722136497,
|
|
0.027057453989982605,
|
|
-0.019744182005524635,
|
|
-0.05461016297340393,
|
|
-0.011002924293279648,
|
|
0.01733393967151642,
|
|
-0.032686855643987656,
|
|
-0.03473391383886337,
|
|
0.02284778282046318,
|
|
-0.02111438848078251,
|
|
-0.04582763463258743,
|
|
-0.02099882997572422,
|
|
-0.043615493923425674,
|
|
-0.025934875011444092,
|
|
0.05903444439172745,
|
|
-0.02930261194705963,
|
|
0.07475055009126663,
|
|
-0.0007789955125190318,
|
|
-0.01845651865005493,
|
|
0.057911865413188934,
|
|
-0.02099882997572422,
|
|
-0.028014948591589928,
|
|
0.03172936290502548,
|
|
-0.005947192199528217,
|
|
0.021642660722136497,
|
|
-0.01959560625255108,
|
|
0.012579487636685371,
|
|
0.021956322714686394,
|
|
0.04087508097290993,
|
|
0.06398700177669525,
|
|
0.016417717561125755,
|
|
0.007503119297325611,
|
|
0.028163524344563484,
|
|
0.0035183769650757313,
|
|
-0.006438320502638817,
|
|
0.01080482266843319,
|
|
-0.04836994409561157,
|
|
0.03225763514637947,
|
|
0.007527882233262062,
|
|
0.02157662808895111,
|
|
-0.0642511323094368,
|
|
-0.037903547286987305,
|
|
-0.014898933470249176,
|
|
-0.00017953009228222072,
|
|
0.003702034242451191,
|
|
0.06814714521169662,
|
|
-0.0016271204221993685,
|
|
0.023310022428631783,
|
|
0.026760300621390343,
|
|
-0.023937344551086426,
|
|
0.0253570768982172,
|
|
-0.013272845186293125,
|
|
0.050846222788095474,
|
|
0.019100351259112358,
|
|
-0.02099882997572422,
|
|
0.019199401140213013,
|
|
0.014048744924366474,
|
|
-0.027833353728055954,
|
|
-0.036880020052194595,
|
|
-0.007759001571685076,
|
|
0.020685167983174324,
|
|
-0.007189457770437002,
|
|
0.02132900059223175,
|
|
-0.033264655619859695,
|
|
0.03714415431022644,
|
|
0.02728857286274433,
|
|
-0.044936176389455795,
|
|
-0.011283569037914276,
|
|
0.006789126433432102,
|
|
0.021873781457543373,
|
|
0.013124268501996994,
|
|
-0.0007093502208590508,
|
|
0.01615358144044876,
|
|
-0.03496503084897995,
|
|
0.008799037896096706,
|
|
0.0,
|
|
-0.01163024827837944,
|
|
0.017532041296362877,
|
|
-0.008390451781451702,
|
|
0.03065630979835987,
|
|
0.02472975291311741,
|
|
-0.030062003061175346,
|
|
0.007193584926426411,
|
|
0.02207188308238983,
|
|
0.04031379148364067,
|
|
0.04975666105747223,
|
|
-0.015270375646650791,
|
|
-0.0074701025150716305,
|
|
-0.0010926572140306234,
|
|
0.016739632934331894,
|
|
-0.008208858780562878,
|
|
-0.008799037896096706,
|
|
0.004502696916460991,
|
|
0.0546431802213192,
|
|
0.025654230266809464,
|
|
-0.0028704178985208273,
|
|
0.028378134593367577,
|
|
0.004370628856122494,
|
|
-0.01148167159408331,
|
|
0.02342558093369007,
|
|
0.027106979861855507,
|
|
-0.02309541031718254,
|
|
0.020024826750159264,
|
|
-0.026083452627062798,
|
|
-0.020932795479893684,
|
|
0.00916222482919693,
|
|
-0.0050722407177090645,
|
|
0.007395814172923565,
|
|
-0.013157285749912262,
|
|
-0.026512673124670982,
|
|
-0.0313991941511631,
|
|
0.057185493409633636,
|
|
-0.05969478562474251,
|
|
-0.007371051236987114,
|
|
0.006929448805749416,
|
|
-0.0136607950553298,
|
|
0.004259196575731039,
|
|
-0.013347133062779903,
|
|
0.007003737147897482,
|
|
-0.004059030674397945,
|
|
-0.011473417282104492,
|
|
-0.013702066615223885,
|
|
-0.034172624349594116,
|
|
-0.03306655213236809,
|
|
0.014411932788789272,
|
|
-0.0080313915386796,
|
|
0.014709086157381535,
|
|
0.07494865357875824,
|
|
0.0168882105499506,
|
|
-0.010086702182888985,
|
|
0.006219582632184029,
|
|
0.020800726488232613,
|
|
-0.004267450887709856,
|
|
-0.01680566743016243,
|
|
0.011935655027627945,
|
|
-0.01705329492688179,
|
|
-0.0018355404026806355,
|
|
-0.01503925584256649,
|
|
0.06418510526418686,
|
|
0.006289743818342686,
|
|
0.02966579981148243,
|
|
0.04037982597947121,
|
|
0.015394189395010471,
|
|
0.0237557515501976,
|
|
0.0031180456280708313,
|
|
0.05827505514025688,
|
|
0.008353307843208313,
|
|
-0.03456882759928703,
|
|
-0.012959183193743229,
|
|
0.011126738041639328,
|
|
-0.01335538737475872,
|
|
-0.03513011708855629,
|
|
-0.05606291443109512,
|
|
-0.053025346249341965,
|
|
0.009434615261852741,
|
|
-0.02444910816848278,
|
|
0.005823378451168537,
|
|
0.02662823349237442,
|
|
-0.011811841279268265,
|
|
0.02448212541639805,
|
|
-0.017862211912870407,
|
|
0.019463537260890007,
|
|
0.06481242179870605,
|
|
-0.046454958617687225,
|
|
0.0041209375485777855,
|
|
0.020784219726920128,
|
|
0.0014733849093317986,
|
|
0.04272403195500374,
|
|
-0.035031065344810486,
|
|
-0.004535714164376259,
|
|
-0.02255062945187092,
|
|
-0.008947614580392838,
|
|
0.02276523970067501,
|
|
-0.08175016194581985,
|
|
0.02033848874270916,
|
|
-0.04084206372499466,
|
|
0.006809761747717857,
|
|
-0.08736305683851242,
|
|
-0.02715650573372841,
|
|
-0.009054919704794884,
|
|
0.0018582396442070603,
|
|
0.022402053698897362,
|
|
-0.016838684678077698,
|
|
0.006322760600596666,
|
|
0.030837904661893845,
|
|
-0.010606720112264156,
|
|
-0.004787468817085028,
|
|
-0.01175406202673912,
|
|
-0.04648797586560249,
|
|
0.02831210196018219,
|
|
0.014535746537148952,
|
|
-0.010887364856898785,
|
|
0.005319868680089712,
|
|
0.00011710727267200127,
|
|
0.004597621038556099,
|
|
0.012538216076791286,
|
|
0.0009342787088826299,
|
|
-0.0014362407382577658,
|
|
-0.03423865884542465,
|
|
-0.06685948371887207,
|
|
-0.012868386693298817,
|
|
-0.04031379148364067,
|
|
-9.402114665135741e-05,
|
|
0.05005381256341934,
|
|
0.0200908612459898,
|
|
-0.03479994833469391,
|
|
-0.0273711159825325,
|
|
0.024548159912228584,
|
|
-0.04434186965227127,
|
|
-0.07296763360500336,
|
|
-0.011267060413956642,
|
|
-0.02560470439493656,
|
|
-0.0004441821947693825,
|
|
-0.05735057592391968,
|
|
0.02834511734545231,
|
|
0.025489145889878273,
|
|
0.010458143427968025,
|
|
0.018506044521927834,
|
|
0.007602170575410128,
|
|
-0.04054490849375725,
|
|
-0.012934420257806778,
|
|
-0.001360920607112348,
|
|
-0.026479655876755714,
|
|
-0.015435460023581982,
|
|
0.0273711159825325,
|
|
-0.07012816518545151,
|
|
-0.003594728885218501,
|
|
0.04810580983757973,
|
|
-0.0032026516273617744,
|
|
0.007338034454733133,
|
|
-0.012662029825150967,
|
|
-0.018836215138435364,
|
|
-0.015798646956682205,
|
|
0.05563369020819664,
|
|
0.021180422976613045,
|
|
-0.06834524869918823,
|
|
0.03331417962908745,
|
|
-0.04995476454496384,
|
|
0.01779617741703987,
|
|
0.05243103951215744,
|
|
0.005505589302629232,
|
|
0.039587415754795074,
|
|
0.030012477189302444,
|
|
0.023194462060928345,
|
|
0.01787872053682804,
|
|
-0.02359066531062126,
|
|
0.02809748984873295,
|
|
-0.06547276675701141,
|
|
-0.04483712464570999,
|
|
-0.03938931226730347,
|
|
-0.0450352244079113,
|
|
-0.04381359741091728,
|
|
0.004853502847254276,
|
|
0.00695421127602458,
|
|
-0.008898088708519936,
|
|
-0.0028559728525578976,
|
|
0.002255475614219904,
|
|
-0.07844845950603485,
|
|
0.0027177140582352877,
|
|
-0.013611269183456898,
|
|
0.037408292293548584,
|
|
-0.009418107569217682,
|
|
-0.0011741680791601539,
|
|
-0.04288911819458008,
|
|
-0.00010717636905610561,
|
|
-0.011960417963564396,
|
|
0.06761886924505234,
|
|
-0.04500220715999603,
|
|
-0.024383075535297394,
|
|
-0.028113998472690582,
|
|
-0.018307941034436226,
|
|
0.006702456623315811,
|
|
-0.00014793175796512514,
|
|
-0.035724423825740814,
|
|
0.013999219983816147,
|
|
-0.017036786302924156,
|
|
0.021642660722136497,
|
|
0.019034316763281822,
|
|
-0.08023137599229813,
|
|
-0.008526647463440895,
|
|
-0.016260886564850807,
|
|
-0.038035616278648376,
|
|
0.07204315066337585,
|
|
-0.014139542356133461,
|
|
0.0325382798910141,
|
|
-0.007915832102298737,
|
|
0.031415700912475586,
|
|
0.01738346554338932,
|
|
-0.03065630979835987,
|
|
0.002313255565240979,
|
|
-0.0005370425642468035,
|
|
0.0007944722310639918,
|
|
0.0011586913606151938,
|
|
0.023409072309732437,
|
|
0.00926953088492155,
|
|
0.02359066531062126
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\Map.txt\n\npublic sealed class Map : IIncidentTarget, ILoadReferenceable, IThingHolder, IExposable, IDisposable\n{\n\tpublic MapFileCompressor compressor;\n\n\tprivate List<Thing> loadedFullThings;\n\n\tpublic MapGeneratorDef generatorDef;\n\n\tpublic int uniqueID = -1;\n\n\tpublic int generationTick;\n\n\tpublic bool wasSpawnedViaGravShipLanding;\n\n\tprivate Color? fogOfWarColor;\n\n\tprivate OrbitalDebrisDef orbitalDebris;\n\n\tprivate int generatedId;\n\n\tpublic MapInfo info = new MapInfo();\n\n\tpublic MapEvents events;\n\n\tpublic List<MapComponent> components = new List<MapComponent>();\n\n\tpublic ThingOwner spawnedThings;\n\n\tpublic CellIndices cellIndices;\n\n\tpublic ListerThings listerThings;\n\n\tpublic ListerBuildings listerBuildings;\n\n\tpublic MapPawns mapPawns;\n\n\tpublic DynamicDrawManager dynamicDrawManager;\n\n\tpublic MapDrawer mapDrawer;\n\n\tpublic PawnDestinationReservationManager pawnDestinationReservationManager;\n\n\tpublic TooltipGiverList tooltipGiverList;\n\n\tpublic ReservationManager reservationManager;\n\n\tpublic EnrouteManager enrouteManager;\n\n\tpublic PhysicalInteractionReservationManager physicalInteractionReservationManager;\n\n\tpublic DesignationManager designationManager;\n\n\tpublic LordManager lordManager;\n\n\tpublic PassingShipManager passingShipManager;\n\n\tpublic HaulDestinationManager haulDestinationManager;\n\n\tpublic DebugCellDrawer debugDrawer;\n\n\tpublic GameConditionManager gameConditionManager;\n\n\tpublic WeatherManager weatherManager;\n\n\tpublic ZoneManager zoneManager;\n\n\tpublic PlanManager planManager;\n\n\tpublic ResourceCounter resourceCounter;\n\n\tpublic MapTemperature mapTemperature;\n\n\tpublic TemperatureVacuumCache TemperatureVacuumCache;\n\n\tpublic AreaManager areaManager;\n\n\tpublic AttackTargetsCache attackTargetsCache;\n\n\tpublic AttackTargetReservationManager attackTargetReservationManager;\n\n\tpublic VoluntarilyJoinableLordsStarter lordsStarter;\n\n\tpublic FleckManager flecks;\n\n\tpublic DeferredSpawner deferredSpawner;\n\n\tpublic ThingGrid thingGrid;\n\n\tpublic CoverGrid coverGrid;\n\n\tpublic EdificeGrid edificeGrid;\n\n\tpublic BlueprintGrid blueprintGrid;\n\n\tpublic FogGrid fogGrid;\n\n\tpublic RegionGrid regionGrid;\n\n\tpublic GlowGrid glowGrid;\n\n\tpublic TerrainGrid terrainGrid;\n\n\tpublic Pathing pathing;\n\n\tpublic RoofGrid roofGrid;\n\n\tpublic FertilityGrid fertilityGrid;\n\n\tpublic SnowGrid snowGrid;\n\n\tpublic DeepResourceGrid deepResourceGrid;\n\n\tpublic ExitMapGrid exitMapGrid;\n\n\tpublic AvoidGrid avoidGrid;\n\n\tpublic GasGrid gasGrid;\n\n\tpublic PollutionGrid pollutionGrid;\n\n\tpublic SubstructureGrid substructureGrid;\n\n\tpublic WaterBodyTracker waterBodyTracker;\n\n\tpublic SandGrid sandGrid;\n\n\tpublic LinkGrid linkGrid;\n\n\tpublic PowerNetManager powerNetManager;\n\n\tpublic PowerNetGrid powerNetGrid;\n\n\tpublic RegionMaker regionMaker;\n\n\tpublic PathFinder pathFinder;\n\n\tpublic PawnPathPool pawnPathPool;\n\n\tpublic RegionAndRoomUpdater regionAndRoomUpdater;\n\n\tpublic RegionLinkDatabase regionLinkDatabase;\n\n\tpublic MoteCounter moteCounter;\n\n\tpublic GatherSpotLister gatherSpotLister;\n\n\tpublic WindManager windManager;\n\n\tpublic ListerBuildingsRepairable listerBuildingsRepairable;\n\n\tpublic ListerHaulables listerHaulables;\n\n\tpublic ListerMergeables listerMergeables;\n\n\tpublic ListerArtificialBuildingsForMeditation listerArtificialBuildingsForMeditation;\n\n\tpublic ListerBuldingOfDefInProximity listerBuldingOfDefInProximity;\n\n\tpublic ListerBuildingWithTagInProximity listerBuildingWithTagInProximity;\n\n\tpublic ListerFilthInHomeArea listerFilthInHomeArea;\n\n\tpublic Reachability reachability;\n\n\tpublic ItemAvailability itemAvailability;\n\n\tpublic AutoBuildRoofAreaSetter autoBuildRoofAreaSetter;\n\n\tpublic RoofCollapseBufferResolver roofCollapseBufferResolver;\n\n\tpublic RoofCollapseBuffer roofCollapseBuffer;\n\n\tpublic WildAnimalSpawner wildAnimalSpawner;\n\n\tpublic WildPlantSpawner wildPlantSpawner;\n\n\tpublic SteadyEnvironmentEffects steadyEnvironmentEffects;\n\n\tpublic TempTerrainManager tempTerrain;\n\n\tpublic FreezeManager freezeManager;\n\n\tpublic SkyManager skyManager;\n\n\tpublic OverlayDrawer overlayDrawer;\n\n\tpublic FloodFiller floodFiller;\n\n\tpublic WeatherDecider weatherDecider;\n\n\tpublic FireWatcher fireWatcher;\n\n\tpublic DangerWatcher dangerWatcher;\n\n\tpublic DamageWatcher damageWatcher;\n\n\tpublic StrengthWatcher strengthWatcher;\n\n\tpublic WealthWatcher wealthWatcher;\n\n\tpublic RegionDirtyer regionDirtyer;\n\n\tpublic MapCellsInRandomOrder cellsInRandomOrder;\n\n\tpublic RememberedCameraPos rememberedCameraPos;\n\n\tpublic MineStrikeManager mineStrikeManager;\n\n\tpublic StoryState storyState;\n\n\tpublic RoadInfo roadInfo;\n\n\tpublic WaterInfo waterInfo;\n\n\tpublic RetainedCaravanData retainedCaravanData;\n\n\tpublic TemporaryThingDrawer temporaryThingDrawer;\n\n\tpublic AnimalPenManager animalPenManager;\n\n\tpublic MapPlantGrowthRateCalculator plantGrowthRateCalculator;\n\n\tpublic AutoSlaughterManager autoSlaughterManager;\n\n\tpublic TreeDestructionTracker treeDestructionTracker;\n\n\tpublic StorageGroupManager storageGroups;\n\n\tpublic EffecterMaintainer effecterMaintainer;\n\n\tpublic PostTickVisuals postTickVisuals;\n\n\tpublic List<LayoutStructureSketch> layoutStructureSketches = new List<LayoutStructureSketch>();\n\n\tpublic ThingListChangedCallbacks thingListChangedCallbacks = new ThingListChangedCallbacks();\n\n\tpublic List<CellRect> landingBlockers = new List<CellRect>();\n\n\tpublic Tile pocketTileInfo;\n\n\tpublic const string ThingSaveKey = \"thing\";\n\n\t[TweakValue(\"Graphics_Shadow\", 0f, 100f)]\n\tprivate static bool AlwaysRedrawShadows;\n\n\tprivate MixedBiomeMapComponent mixedBiomeComp;\n\n\tpublic int Index => Find.Maps.IndexOf(this);\n\n\tpublic IntVec3 Size => info.Size;\n\n\tpublic IntVec3 Center => new IntVec3(Size.x / 2, 0, Size.z / 2);\n\n\tpublic Faction ParentFaction => info.parent?.Faction;\n\n\tpublic int Area => Size.x * Size.z;\n\n\tpublic IThingHolder ParentHolder => info.parent;\n\n\tpublic bool DrawMapClippers => !generatorDef.disableMapClippers;\n\n\tpublic bool CanEverExit\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!info.isPocketMap)\n\t\t\t{\n\t\t\t\treturn Biome.canExitMap;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic Color? FogOfWarColor\n\t{\n\t\tget\n\t\t{\n\t\t\treturn fogOfWarColor ?? Biome.fogOfWarColor;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tfogOfWarColor = value;\n\t\t}\n\t}\n\n\tpublic OrbitalDebrisDef OrbitalDebris\n\t{\n\t\tget\n\t\t{\n\t\t\treturn orbitalDebris ?? Biome.orbitalDebris;\n\t\t}\n\t\tset\n\t\t{\n\t\t\torbitalDebris = value;\n\t\t}\n\t}\n\n\tpublic Material MapEdgeMaterial\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ModsConfig.AnomalyActive && generatorDef == MapGeneratorDefOf.MetalHell)\n\t\t\t{\n\t\t\t\treturn MapEdgeClipDrawer.ClipMatMetalhell;\n\t\t\t}\n\t\t\tWorldObject parent = Parent;\n\t\t\tif (parent != null && parent.def.MapEdgeMaterial != null)\n\t\t\t{\n\t\t\t\treturn parent.def.MapEdgeMaterial;\n\t\t\t}\n\t\t\treturn MapEdgeClipDrawer.ClipMat;\n\t\t}\n\t}\n\n\tpublic bool Disposed { get; private set; }\n\n\tpublic IEnumerable<IntVec3> AllCells\n\t{\n\t\tget\n\t\t{\n\t\t\tfor (int z = 0; z < Size.z; z++)\n\t\t\t{\n\t\t\t\tfor (int y = 0; y < Size.y; y++)\n\t\t\t\t{\n\t\t\t\t\tfor (int x = 0; x < Size.x; x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tyield return new IntVec3(x, y, z);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic bool IsPlayerHome\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!wasSpawnedViaGravShipLanding)\n\t\t\t{\n\t\t\t\tif (info?.parent != null && info.parent.Faction == Faction.OfPlayer)\n\t\t\t\t{\n\t\t\t\t\treturn info.parent.def.canBePlayerHome;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool TreatAsPlayerHomeForThreatPoints\n\t{\n\t\tget\n\t\t{\n\t\t\tif (IsPlayerHome)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (info.parent != null && info.parent.def.treatAsPlayerHome)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool IsTempIncidentMap => info.parent.def.isTempIncidentMapOwner;\n\n\tpublic PlanetTile Tile => info.Tile;\n\n\tpublic Tile TileInfo\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsPocketMap)\n\t\t\t{\n\t\t\t\treturn Find.WorldGrid[Tile];\n\t\t\t}\n\t\t\treturn pocketTileInfo;\n\t\t}\n\t}\n\n\tpublic BiomeDef Biome => TileInfo.PrimaryBiome;\n\n\tpublic IEnumerable<BiomeDef> Biomes => TileInfo.Biomes;\n\n\tpublic MixedBiomeMapComponent MixedBiomeComp => mixedBiomeComp ?? (mixedBiomeComp = GetComponent<MixedBiomeMapComponent>());\n\n\tpublic bool IsStartingMap => Find.GameInfo.startingTile == Tile;\n\n\tpublic bool IsPocketMap => info.isPocketMap;\n\n\tpublic StoryState StoryState => storyState;\n\n\tpublic GameConditionManager GameConditionManager => gameConditionManager;\n\n\tpublic float PlayerWealthForStoryteller\n\t{\n\t\tget\n\t\t{\n\t\t\tif (TreatAsPlayerHomeForThreatPoints)\n\t\t\t{\n\t\t\t\tif (Find.Storyteller.difficulty.fixedWealthMode)\n\t\t\t\t{\n\t\t\t\t\treturn StorytellerUtility.FixedWealthModeMapWealthFromTimeCurve.Evaluate(AgeInDays * Find.Storyteller.difficulty.fixedWealthTimeFactor);\n\t\t\t\t}\n\t\t\t\treturn wealthWatcher.WealthItems + wealthWatcher.WealthBuildings * 0.5f + wealthWatcher.WealthPawns;\n\t\t\t}\n\t\t\tfloat num = 0f;\n\t\t\tforeach (Pawn item in mapPawns.PawnsInFaction(Faction.OfPlayer))\n\t\t\t{\n\t\t\t\tif (item.IsFreeColonist)\n\t\t\t\t{\n\t\t\t\t\tnum += WealthWatcher.GetEquipmentApparelAndInventoryWealth(item);\n\t\t\t\t}\n\t\t\t\tif (item.IsAnimal)\n\t\t\t\t{\n\t\t\t\t\tnum += item.MarketValue;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn num;\n\t\t}\n\t}\n\n\tpublic IEnumerable<Pawn> PlayerPawnsForStoryteller => mapPawns.PawnsInFaction(Faction.OfPlayer);\n\n\tpublic FloatRange IncidentPointsRandomFactorRange => FloatRange.One;\n\n\tpublic MapParent Parent => info.parent;\n\n\tpublic PocketMapParent PocketMapParent\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!IsPocketMap)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn Parent as PocketMapParent;\n\t\t}\n\t}\n\n\tpublic IEnumerable<Map> ChildPocketMaps\n\t{\n\t\tget\n\t\t{\n\t\t\tforeach (PocketMapParent pocketMap in Find.World.pocketMaps)\n\t\t\t{\n\t\t\t\tif (pocketMap.sourceMap == this)\n\t\t\t\t{\n\t\t\t\t\tyield return pocketMap.Map;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic float AgeInDays => (float)(Find.TickManager.TicksGame - generationTick) / 60000f;\n\n\tpublic int NextGenSeed => HashCode.Combine(TileInfo.tile.Valid ? TileInfo.tile.GetHashCode() : uniqueID, generatedId++, Find.World.info.Seed);\n\n\tpublic int ConstantRandSeed => uniqueID ^ 0xFDA252;\n\n\tpublic IEnumerator<IntVec3> GetEnumerator()\n\t{\n\t\tforeach (IntVec3 allCell in AllCells)\n\t\t{\n\t\t\tyield return allCell;\n\t\t}\n\t}\n\n\tpublic IEnumerable<IncidentTargetTagDef> IncidentTargetTags()\n\t{\n\t\treturn info.parent?.IncidentTargetTags() ?? Enumerable.Empty<IncidentTargetTagDef>();\n\t}\n\n\tpublic void ConstructComponents()\n\t{\n\t\tspawnedThings = new ThingOwner<Thing>(this);\n\t\tcellIndices = new CellIndices(this);\n\t\tlisterThings = new ListerThings(ListerThingsUse.Global, thingListChangedCallbacks);\n\t\tlisterBuildings = new ListerBuildings();\n\t\tmapPawns = new MapPawns(this);\n\t\tdynamicDrawManager = new DynamicDrawManager(this);\n\t\tmapDrawer = new MapDrawer(this);\n\t\ttooltipGiverList = new TooltipGiverList();\n\t\tpawnDestinationReservationManager = new PawnDestinationReservationManager();\n\t\treservationManager = new ReservationManager(this);\n\t\tenrouteManager = new EnrouteManager(this);\n\t\tphysicalInteractionReservationManager = new PhysicalInteractionReservationManager();\n\t\tdesignationManager = new DesignationManager(this);\n\t\tlordManager = new LordManager(this);\n\t\tdebugDrawer = new DebugCellDrawer();\n\t\tpassingShipManager = new PassingShipManager(this);\n\t\thaulDestinationManager = new HaulDestinationManager(this);\n\t\tgameConditionManager = new GameConditionManager(this);\n\t\tweatherManager = new WeatherManager(this);\n\t\tzoneManager = new ZoneManager(this);\n\t\tplanManager = new PlanManager(this);\n\t\tresourceCounter = new ResourceCounter(this);\n\t\tmapTemperature = new MapTemperature(this);\n\t\tTemperatureVacuumCache = new TemperatureVacuumCache(this);\n\t\tareaManager = new AreaManager(this);\n\t\tattackTargetsCache = new AttackTargetsCache(this);\n\t\tattackTargetReservationManager = new AttackTargetReservationManager(this);\n\t\tlordsStarter = new VoluntarilyJoinableLordsStarter(this);\n\t\tflecks = new FleckManager(this);\n\t\tdeferredSpawner = new DeferredSpawner(this);\n\t\tthingGrid = new ThingGrid(this);\n\t\tcoverGrid = new CoverGrid(this);\n\t\tedificeGrid = new EdificeGrid(this);\n\t\tblueprintGrid = new BlueprintGrid(this);\n\t\tfogGrid = new FogGrid(this);\n\t\tglowGrid = new GlowGrid(this);\n\t\tregionGrid = new RegionGrid(this);\n\t\tterrainGrid = new TerrainGrid(this);\n\t\tpathing = new Pathing(this);\n\t\troofGrid = new RoofGrid(this);\n\t\tfertilityGrid = new FertilityGrid(this);\n\t\tsnowGrid = new SnowGrid(this);\n\t\tgasGrid = new GasGrid(this);\n\t\tpollutionGrid = new PollutionGrid(this);\n\t\tdeepResourceGrid = new DeepResourceGrid(this);\n\t\texitMapGrid = new ExitMapGrid(this);\n\t\tavoidGrid = new AvoidGrid(this);\n\t\tlinkGrid = new LinkGrid(this);\n\t\tpowerNetManager = new PowerNetManager(this);\n\t\tpowerNetGrid = new PowerNetGrid(this);\n\t\tregionMaker = new RegionMaker(this);\n\t\tpathFinder = new PathFinder(this);\n\t\tpawnPathPool = new PawnPathPool(this);\n\t\tregionAndRoomUpdater = new RegionAndRoomUpdater(this);\n\t\tregionLinkDatabase = new RegionLinkDatabase();\n\t\tmoteCounter = new MoteCounter();\n\t\tgatherSpotLister = new GatherSpotLister();\n\t\twindManager = new WindManager(this);\n\t\tlisterBuildingsRepairable = new ListerBuildingsRepairable();\n\t\tlisterHaulables = new ListerHaulables(this);\n\t\tlisterMergeables = new ListerMergeables(this);\n\t\tlisterFilthInHomeArea = new ListerFilthInHomeArea(this);\n\t\tlisterArtificialBuildingsForMeditation = new ListerArtificialBuildingsForMeditation(this);\n\t\tlisterBuldingOfDefInProximity = new ListerBuldingOfDefInProximity(this);\n\t\tlisterBuildingWithTagInProximity = new ListerBuildingWithTagInProximity(this);\n\t\treachability = new Reachability(this);\n\t\titemAvailability = new ItemAvailability(this);\n\t\tautoBuildRoofAreaSetter = new AutoBuildRoofAreaSetter(this);\n\t\troofCollapseBufferResolver = new RoofCollapseBufferResolver(this);\n\t\troofCollapseBuffer = new RoofCollapseBuffer();\n\t\twildAnimalSpawner = new WildAnimalSpawner(this);\n\t\twildPlantSpawner = new WildPlantSpawner(this);\n\t\tsteadyEnvironmentEffects = new SteadyEnvironmentEffects(this);\n\t\ttempTerrain = new TempTerrainManager(this);\n\t\tskyManager = new SkyManager(this);\n\t\toverlayDrawer = new OverlayDrawer();\n\t\tfloodFiller = new FloodFiller(this);\n\t\tweatherDecider = new WeatherDecider(this);\n\t\tfireWatcher = new FireWatcher(this);\n\t\tdangerWatcher = new DangerWatcher(this);\n\t\tdamageWatcher = new DamageWatcher();\n\t\tstrengthWatcher = new StrengthWatcher(this);\n\t\twealthWatcher = new WealthWatcher(this);\n\t\tregionDirtyer = new RegionDirtyer(this);\n\t\tcellsInRandomOrder = new MapCellsInRandomOrder(this);\n\t\trememberedCameraPos = new RememberedCameraPos(this);\n\t\tmineStrikeManager = new MineStrikeManager();\n\t\tstoryState = new StoryState(this);\n\t\tretainedCaravanData = new RetainedCaravanData(this);\n\t\ttemporaryThingDrawer = new TemporaryThingDrawer();\n\t\tanimalPenManager = new AnimalPenManager(this);\n\t\tplantGrowthRateCalculator = new MapPlantGrowthRateCalculator();\n\t\tautoSlaughterManager = new AutoSlaughterManager(this);\n\t\ttreeDestructionTracker = new TreeDestructionTracker(this);\n\t\tstorageGroups = new StorageGroupManager(this);\n\t\teffecterMaintainer = new EffecterMaintainer(this);\n\t\tpostTickVisuals = new PostTickVisuals(this);\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tsubstructureGrid = new SubstructureGrid(this);\n\t\t\twaterBodyTracker = new WaterBodyTracker(this);\n\t\t\tfreezeManager = new FreezeManager(this);\n\t\t\tsandGrid = new SandGrid(this);\n\t\t}\n\t\tcomponents.Clear();\n\t\tFillComponents();\n\t}\n\n\tpublic void ExposeData()\n\t{\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t{\n\t\t\tevents = new MapEvents(this);\n\t\t}\n\t\tScribe_Values.Look(ref uniqueID, \"uniqueID\", -1);\n\t\tScribe_Values.Look(ref generationTick, \"generationTick\", 0);\n\t\tScribe_Values.Look(ref wasSpawnedViaGravShipLanding, \"wasSpawnedViaGravShipLanding\", defaultValue: false);\n\t\tScribe_Values.Look(ref fogOfWarColor, \"fogOfWarColor\");\n\t\tScribe_Values.Look(ref generatedId, \"generatedId\", 0);\n\t\tScribe_Defs.Look(ref orbitalDebris, \"orbitalDebris\");\n\t\tScribe_Defs.Look(ref generatorDef, \"generatorDef\");\n\t\tScribe_Deep.Look(ref pocketTileInfo, \"pocketTileInfo\");\n\t\tScribe_Deep.Look(ref info, \"mapInfo\");\n\t\tScribe_Collections.Look(ref layoutStructureSketches, \"layoutStructureSketches\", LookMode.Deep);\n\t\tScribe_Collections.Look(ref landingBlockers, \"landingBlockers\", LookMode.Undefined);\n\t\tif (Scribe.mode == LoadSaveMode.Saving)\n\t\t{\n\t\t\tcompressor = new MapFileCompressor(this);\n\t\t\tcompressor.BuildCompressedString();\n\t\t\tExposeComponents();\n\t\t\tcompressor.ExposeData();\n\t\t\tHashSet<string> hashSet = new HashSet<string>();\n\t\t\tif (Scribe.EnterNode(\"things\"))\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tforeach (Thing allThing in listerThings.AllThings)\n\t\t\t\t\t{\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (allThing.def.isSaveable && !allThing.IsSaveCompressible())\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif (!hashSet.Add(allThing.ThingID))\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tLog.Error(\"Saving Thing with already-used ID \" + allThing.ThingID);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thashSet.Add(allThing.ThingID);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tThing target = allThing;\n\t\t\t\t\t\t\t\tScribe_Deep.Look(ref target, \"thing\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (OutOfMemoryException)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthrow;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (Exception arg)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLog.Error($\"Exception saving {allThing}: {arg}\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tScribe.ExitNode();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tLog.Error(\"Could not enter the things node while saving.\");\n\t\t\t}\n\t\t\tcompressor = null;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t\t{\n\t\t\t\tConstructComponents();\n\t\t\t\tregionAndRoomUpdater.Enabled = false;\n\t\t\t\tcompressor = new MapFileCompressor(this);\n\t\t\t}\n\t\t\telse if (Scribe.mode == LoadSaveMode.PostLoadInit && landingBlockers == null)\n\t\t\t{\n\t\t\t\tlandingBlockers = new List<CellRect>();\n\t\t\t}\n\t\t\tExposeComponents();\n\t\t\tDeepProfiler.Start(\"Load compressed things\");\n\t\t\tcompressor.ExposeData();\n\t\t\tDeepProfiler.End();\n\t\t\tDeepProfiler.Start(\"Load non-compressed things\");\n\t\t\tScribe_Collections.Look(ref loadedFullThings, \"things\", LookMode.Deep);\n\t\t\tDeepProfiler.End();\n\t\t}\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tprivate void FillComponents()\n\t{\n\t\tcomponents.RemoveAll((MapComponent component) => component == null);\n\t\tforeach (Type item3 in typeof(MapComponent).AllSubclassesNonAbstract())\n\t\t{\n\t\t\tif (!typeof(CustomMapComponent).IsAssignableFrom(item3) && GetComponent(item3) == null)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tMapComponent item = (MapComponent)Activator.CreateInstance(item3, this);\n\t\t\t\t\tcomponents.Add(item);\n\t\t\t\t}\n\t\t\t\tcatch (Exception ex)\n\t\t\t\t{\n\t\t\t\t\tLog.Error(\"Could not instantiate a MapComponent of type \" + item3?.ToString() + \": \" + ex);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (generatorDef?.customMapComponents != null)\n\t\t{\n\t\t\tforeach (Type customMapComponent in generatorDef.customMapComponents)\n\t\t\t{\n\t\t\t\tif (GetComponent(customMapComponent) == null)\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tMapComponent item2 = (MapComponent)Activator.CreateInstance(customMapComponent, this);\n\t\t\t\t\t\tcomponents.Add(item2);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (Exception ex2)\n\t\t\t\t\t{\n\t\t\t\t\t\tLog.Error(\"Could not instantiate a MapComponent of type \" + customMapComponent?.ToString() + \": \" + ex2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\troadInfo = GetComponent<RoadInfo>();\n\t\twaterInfo = GetComponent<WaterInfo>();\n\t}\n\n\tpublic void FinalizeLoading()\n\t{\n\t\tregionAndRoomUpdater.Enabled = true;\n\t\tList<Thing> list = compressor.ThingsToSpawnAfterLoad().ToList();\n\t\tcompressor = null;\n\t\tDeepProfiler.Start(\"Merge compressed and non-compressed thing lists\");\n\t\tList<Thing> list2 = new List<Thing>(loadedFullThings.Count + list.Count);\n\t\tforeach (Thing item in loadedFullThings.Concat(list))\n\t\t{\n\t\t\tlist2.Add(item);\n\t\t}\n\t\tloadedFullThings.Clear();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"Spawn everything into the map\");\n\t\tBackCompatibility.PreCheckSpawnBackCompatibleThingAfterLoading(this);\n\t\tforeach (Thing item2 in list2)\n\t\t{\n\t\t\tif (item2 is Building)\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\ttry\n\t\t\t{\n\t\t\t\tif (!BackCompatibility.CheckSpawnBackCompatibleThingAfterLoading(item2, this))\n\t\t\t\t{\n\t\t\t\t\tGenSpawn.Spawn(item2, item2.Position, this, item2.Rotation, WipeMode.FullRefund, respawningAfterLoad: true);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (Exception ex)\n\t\t\t{\n\t\t\t\tLog.Error(\"Exception spawning loaded thing \" + item2.ToStringSafe() + \": \" + ex);\n\t\t\t}\n\t\t}\n\t\tforeach (Building item3 in from t in list2.OfType<Building>()\n\t\t\torderby t.def.size.Magnitude\n\t\t\tselect t)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tGenSpawn.SpawnBuildingAsPossible(item3, this, respawningAfterLoad: true);\n\t\t\t}\n\t\t\tcatch (Exception ex2)\n\t\t\t{\n\t\t\t\tLog.Error(\"Exception spawning loaded thing \" + item3.ToStringSafe() + \": \" + ex2);\n\t\t\t}\n\t\t}\n\t\tBackCompatibility.PostCheckSpawnBackCompatibleThingAfterLoading(this);\n\t\tDeepProfiler.End();\n\t\tFinalizeInit();\n\t}\n\n\tpublic void FinalizeInit()\n\t{\n\t\tDeepProfiler.Start(\"Finalize geometry\");\n\t\tpathing.RecalculateAllPerceivedPathCosts();\n\t\tregionAndRoomUpdater.Enabled = true;\n\t\tregionAndRoomUpdater.RebuildAllRegionsAndRooms();\n\t\tpowerNetManager.UpdatePowerNetsAndConnections_First();\n\t\tTemperatureVacuumCache.TemperatureVacuumSaveLoad.ApplyLoadedDataToRegions();\n\t\tavoidGrid.Regenerate();\n\t\tanimalPenManager.RebuildAllPens();\n\t\tplantGrowthRateCalculator.BuildFor(this);\n\t\tgasGrid.RecalculateEverHadGas();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"Thing.PostMapInit()\");\n\t\tforeach (Thing item in listerThings.AllThings.ToList())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\titem.PostMapInit();\n\t\t\t}\n\t\t\tcatch (Exception ex)\n\t\t\t{\n\t\t\t\tLog.Error(\"Error in PostMapInit() for \" + item.ToStringSafe() + \": \" + ex);\n\t\t\t}\n\t\t}\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"listerFilthInHomeArea.RebuildAll()\");\n\t\tlisterFilthInHomeArea.RebuildAll();\n\t\tDeepProfiler.End();\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tGetComponent<VacuumComponent>().SetDrawerDirty();\n\t\t}\n\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t{\n\t\t\tmapDrawer.RegenerateEverythingNow();\n\t\t});\n\t\tDeepProfiler.Start(\"resourceCounter.UpdateResourceCounts()\");\n\t\tresourceCounter.UpdateResourceCounts();\n\t\tDeepProfiler.End();\n\t\tDeepProfiler.Start(\"wealthWatcher.ForceRecount()\");\n\t\twealthWatcher.ForceRecount(allowDuringInit: true);\n\t\tDeepProfiler.End();\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\tusing (new ProfilerBlock(\"WaterBodyTracker.ConstructBodies()\"))\n\t\t\t{\n\t\t\t\twaterBodyTracker?.ConstructBodies();\n\t\t\t}\n\t\t}\n\t\tMapComponentUtility.FinalizeInit(this);\n\t\tLongEventHandler.ExecuteWhenFinished(delegate\n\t\t{\n\t\t\tFind.MusicManagerPlay.CheckTransitions();\n\t\t});\n\t}\n\n\tprivate void ExposeComponents()\n\t{\n\t\tScribe_Deep.Look(ref weatherManager, \"weatherManager\", this);\n\t\tScribe_Deep.Look(ref reservationManager, \"reservationManager\", this);\n\t\tScribe_Deep.Look(ref enrouteManager, \"enrouteManager\", this);\n\t\tScribe_Deep.Look(ref physicalInteractionReservationManager, \"physicalInteractionReservationManager\");\n\t\tScribe_Deep.Look(ref planManager, \"planManager\", this);\n\t\tScribe_Deep.Look(ref designationManager, \"designationManager\", this);\n\t\tScribe_Deep.Look(ref pawnDestinationReservationManager, \"pawnDestinationReservationManager\");\n\t\tScribe_Deep.Look(ref lordManager, \"lordManager\", this);\n\t\tScribe_Deep.Look(ref passingShipManager, \"visitorManager\", this);\n\t\tScribe_Deep.Look(ref gameConditionManager, \"gameConditionManager\", this);\n\t\tScribe_Deep.Look(ref fogGrid, \"fogGrid\", this);\n\t\tScribe_Deep.Look(ref roofGrid, \"roofGrid\", this);\n\t\tScribe_Deep.Look(ref terrainGrid, \"terrainGrid\", this);\n\t\tScribe_Deep.Look(ref zoneManager, \"zoneManager\", this);\n\t\tScribe_Deep.Look(ref TemperatureVacuumCache, \"temperatureCache\", this);\n\t\tScribe_Deep.Look(ref snowGrid, \"snowGrid\", this);\n\t\tScribe_Deep.Look(ref gasGrid, \"gasGrid\", this);\n\t\tScribe_Deep.Look(ref pollutionGrid, \"pollutionGrid\", this);\n\t\tScribe_Deep.Look(ref waterBodyTracker, \"waterBodyTracker\", this);\n\t\tScribe_Deep.Look(ref areaManager, \"areaManager\", this);\n\t\tScribe_Deep.Look(ref lordsStarter, \"lordsStarter\", this);\n\t\tScribe_Deep.Look(ref attackTargetReservationManager, \"attackTargetReservationManager\", this);\n\t\tScribe_Deep.Look(ref deepResourceGrid, \"deepResourceGrid\", this);\n\t\tScribe_Deep.Look(ref weatherDecider, \"weatherDecider\", this);\n\t\tScribe_Deep.Look(ref damageWatcher, \"damageWatcher\");\n\t\tScribe_Deep.Look(ref rememberedCameraPos, \"rememberedCameraPos\", this);\n\t\tScribe_Deep.Look(ref mineStrikeManager, \"mineStrikeManager\");\n\t\tScribe_Deep.Look(ref retainedCaravanData, \"retainedCaravanData\", this);\n\t\tScribe_Deep.Look(ref storyState, \"storyState\", this);\n\t\tScribe_Deep.Look(ref tempTerrain, \"tempTerrain\", this);\n\t\tScribe_Deep.Look(ref wildPlantSpawner, \"wildPlantSpawner\", this);\n\t\tScribe_Deep.Look(ref temporaryThingDrawer, \"temporaryThingDrawer\");\n\t\tScribe_Deep.Look(ref flecks, \"flecks\", this);\n\t\tScribe_Deep.Look(ref deferredSpawner, \"deferredSpawner\", this);\n\t\tScribe_Deep.Look(ref autoSlaughterManager, \"autoSlaughterManager\", this);\n\t\tScribe_Deep.Look(ref treeDestructionTracker, \"treeDestructionTracker\", this);\n\t\tScribe_Deep.Look(ref storageGroups, \"storageGroups\", this);\n\t\tScribe_Deep.Look(ref sandGrid, \"sandGrid\", this);\n\t\tScribe_Collections.Look(ref components, \"components\", LookMode.Deep, this);\n\t\tif (Scribe.mode == LoadSaveMode.PostLoadInit)\n\t\t{\n\t\t\tif (planManager == null)\n\t\t\t{\n\t\t\t\tplanManager = new PlanManager(this);\n\t\t\t}\n\t\t\tif (ModsConfig.BiotechActive && pollutionGrid == null)\n\t\t\t{\n\t\t\t\tpollutionGrid = new PollutionGrid(this);\n\t\t\t}\n\t\t\tif (ModsConfig.OdysseyActive)\n\t\t\t{\n\t\t\t\tif (sandGrid == null)\n\t\t\t\t{\n\t\t\t\t\tsandGrid = new SandGrid(this);\n\t\t\t\t}\n\t\t\t\tif (substructureGrid == null)\n\t\t\t\t{\n\t\t\t\t\tsubstructureGrid = new SubstructureGrid(this);\n\t\t\t\t}\n\t\t\t\tif (waterBodyTracker == null)\n\t\t\t\t{\n\t\t\t\t\twaterBodyTracker = new WaterBodyTracker(this);\n\t\t\t\t}\n\t\t\t\tif (freezeManager == null)\n\t\t\t\t{\n\t\t\t\t\tfreezeManager = new FreezeManager(this);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tFillComponents();\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tpublic void MapPreTick()\n\t{\n\t\titemAvailability.Tick();\n\t\tlisterHaulables.ListerHaulablesTick();\n\t\ttry\n\t\t{\n\t\t\tautoBuildRoofAreaSetter.AutoBuildRoofAreaSetterTick_First();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\troofCollapseBufferResolver.CollapseRoofsMarkedToCollapse();\n\t\twindManager.WindManagerTick();\n\t\ttry\n\t\t{\n\t\t\tmapTemperature.MapTemperatureTick();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\ttemporaryThingDrawer.Tick();\n\t\ttry\n\t\t{\n\t\t\tpathFinder.PathFinderTick();\n\t\t}\n\t\tcatch (Exception ex3)\n\t\t{\n\t\t\tLog.Error(ex3.ToString());\n\t\t}\n\t}\n\n\tpublic void MapPostTick()\n\t{\n\t\ttry\n\t\t{\n\t\t\twildAnimalSpawner.WildAnimalSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\twildPlantSpawner.WildPlantSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tpowerNetManager.PowerNetsTick();\n\t\t}\n\t\tcatch (Exception ex3)\n\t\t{\n\t\t\tLog.Error(ex3.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tsteadyEnvironmentEffects.SteadyEnvironmentEffectsTick();\n\t\t}\n\t\tcatch (Exception ex4)\n\t\t{\n\t\t\tLog.Error(ex4.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\ttempTerrain.Tick();\n\t\t}\n\t\tcatch (Exception ex5)\n\t\t{\n\t\t\tLog.Error(ex5.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tgasGrid.Tick();\n\t\t}\n\t\tcatch (Exception ex6)\n\t\t{\n\t\t\tLog.Error(ex6.ToString());\n\t\t}\n\t\tif (ModsConfig.BiotechActive)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tpollutionGrid.PollutionTick();\n\t\t\t}\n\t\t\tcatch (Exception ex7)\n\t\t\t{\n\t\t\t\tLog.Error(ex7.ToString());\n\t\t\t}\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tdeferredSpawner.DeferredSpawnerTick();\n\t\t}\n\t\tcatch (Exception ex8)\n\t\t{\n\t\t\tLog.Error(ex8.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tlordManager.LordManagerTick();\n\t\t}\n\t\tcatch (Exception ex9)\n\t\t{\n\t\t\tLog.Error(ex9.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tpassingShipManager.PassingShipManagerTick();\n\t\t}\n\t\tcatch (Exception ex10)\n\t\t{\n\t\t\tLog.Error(ex10.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tdebugDrawer.DebugDrawerTick();\n\t\t}\n\t\tcatch (Exception ex11)\n\t\t{\n\t\t\tLog.Error(ex11.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tlordsStarter.VoluntarilyJoinableLordsStarterTick();\n\t\t}\n\t\tcatch (Exception ex12)\n\t\t{\n\t\t\tLog.Error(ex12.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tgameConditionManager.GameConditionManagerTick();\n\t\t}\n\t\tcatch (Exception ex13)\n\t\t{\n\t\t\tLog.Error(ex13.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tweatherManager.WeatherManagerTick();\n\t\t}\n\t\tcatch (Exception ex14)\n\t\t{\n\t\t\tLog.Error(ex14.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tresourceCounter.ResourceCounterTick();\n\t\t}\n\t\tcatch (Exception ex15)\n\t\t{\n\t\t\tLog.Error(ex15.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tweatherDecider.WeatherDeciderTick();\n\t\t}\n\t\tcatch (Exception ex16)\n\t\t{\n\t\t\tLog.Error(ex16.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tfireWatcher.FireWatcherTick();\n\t\t}\n\t\tcatch (Exception ex17)\n\t\t{\n\t\t\tLog.Error(ex17.ToString());\n\t\t}\n\t\tif (ModsConfig.OdysseyActive)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\twaterBodyTracker?.Tick();\n\t\t\t}\n\t\t\tcatch (Exception ex18)\n\t\t\t{\n\t\t\t\tLog.Error(ex18.ToString());\n\t\t\t}\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tflecks.FleckManagerTick();\n\t\t}\n\t\tcatch (Exception ex19)\n\t\t{\n\t\t\tLog.Error(ex19.ToString());\n\t\t}\n\t\ttry\n\t\t{\n\t\t\teffecterMaintainer.EffecterMaintainerTick();\n\t\t}\n\t\tcatch (Exception ex20)\n\t\t{\n\t\t\tLog.Error(ex20.ToString());\n\t\t}\n\t\tMapComponentUtility.MapComponentTick(this);\n\t\ttry\n\t\t{\n\t\t\tforeach (TileMutatorDef mutator in TileInfo.Mutators)\n\t\t\t{\n\t\t\t\tmutator.Worker?.Tick(this);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception ex21)\n\t\t{\n\t\t\tLog.Error(ex21.ToString());\n\t\t}\n\t}\n\n\tpublic void MapUpdate()\n\t{\n\t\tif (Disposed)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tbool drawingMap = WorldRendererUtility.DrawingMap;\n\t\tskyManager.SkyManagerUpdate();\n\t\tpowerNetManager.UpdatePowerNetsAndConnections_First();\n\t\tregionGrid.UpdateClean();\n\t\tregionAndRoomUpdater.TryRebuildDirtyRegionsAndRooms();\n\t\tglowGrid.GlowGridUpdate_First();\n\t\tlordManager.LordManagerUpdate();\n\t\tpostTickVisuals.ProcessPostTickVisuals();\n\t\tif (drawingMap && Find.CurrentMap == this)\n\t\t{\n\t\t\tif (AlwaysRedrawShadows)\n\t\t\t{\n\t\t\t\tmapDrawer.WholeMapChanged(MapMeshFlagDefOf.Things);\n\t\t\t}\n\t\t\tGlobalRendererUtility.UpdateGlobalShadersParams();\n\t\t\tPlantFallColors.SetFallShaderGlobals(this);\n\t\t\twaterInfo.SetTextures();\n\t\t\tavoidGrid.DebugDrawOnMap();\n\t\t\tBreachingGridDebug.DebugDrawAllOnMap(this);\n\t\t\tmapDrawer.MapMeshDrawerUpdate_First();\n\t\t\tpowerNetGrid.DrawDebugPowerNetGrid();\n\t\t\tDoorsDebugDrawer.DrawDebug();\n\t\t\tmapDrawer.DrawMapMesh();\n\t\t\tdynamicDrawManager.DrawDynamicThings();\n\t\t\tgameConditionManager.GameConditionManagerDraw(this);\n\t\t\tMapEdgeClipDrawer.DrawClippers(this);\n\t\t\tdesignationManager.DrawDesignations();\n\t\t\toverlayDrawer.DrawAllOverlays();\n\t\t\ttemporaryThingDrawer.Draw();\n\t\t\tflecks.FleckManagerDraw();\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tareaManager.AreaManagerUpdate();\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(ex.ToString());\n\t\t}\n\t\tweatherManager.WeatherManagerUpdate();\n\t\ttry\n\t\t{\n\t\t\tflecks.FleckManagerUpdate();\n\t\t}\n\t\tcatch (Exception ex2)\n\t\t{\n\t\t\tLog.Error(ex2.ToString());\n\t\t}\n\t\tMapComponentUtility.MapComponentUpdate(this);\n\t}\n\n\tpublic T GetComponent<T>() where T : MapComponent\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (components[i] is T result)\n\t\t\t{\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic MapComponent GetComponent(Type type)\n\t{\n\t\tfor (int i = 0; i < components.Count; i++)\n\t\t{\n\t\t\tif (type.IsInstanceOfType(components[i]))\n\t\t\t{\n\t\t\t\treturn components[i];\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void MapOnGUI()\n\t{\n\t\tDevGUISketches();\n\t\tDevRoadPaths();\n\t\tpathFinder.OnGUI();\n\t}\n\n\tprivate static void DevRoadPaths()\n\t{\n\t\tif (!DebugViewSettings.drawRoadPaths)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < GenStep_Roads.paths.Count; i++)\n\t\t{\n\t\t\tforeach (IntVec3 item in GenStep_Roads.paths[i])\n\t\t\t{\n\t\t\t\tVector2 vector = item.ToVector3Shifted().MapToUIPosition();\n\t\t\t\tDevGUI.DrawRect(new Rect(vector.x, vector.y, 5f, 5f), (i % 2 == 0) ? Color.yellow : Color.blue);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void DevGUISketches()\n\t{\n\t\tif ((!DebugViewSettings.drawMapGraphs && !DebugViewSettings.drawMapRooms) || layoutStructureSketches.NullOrEmpty())\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (LayoutStructureSketch layoutStructureSketch in layoutStructureSketches)\n\t\t{\n\t\t\tDebugGUILayoutStructure(layoutStructureSketch);\n\t\t}\n\t}\n\n\tprivate void DebugGUILayoutStructure(LayoutStructureSketch layoutStructureSketch)\n\t{\n\t\tDevDrawOutline(layoutStructureSketch.structureLayout.container, Color.yellow);\n\t\tVector2 pos = (layoutStructureSketch.structureLayout.container.Min - IntVec3.South).ToVector3().MapToUIPosition();\n\t\tDevDrawLabel(layoutStructureSketch.layoutDef.defName, pos);\n\t\tif (DebugViewSettings.drawMapGraphs && layoutStructureSketch.structureLayout?.neighbours != null)\n\t\t{\n\t\t\tforeach (KeyValuePair<Vector2, List<Vector2>> connection in layoutStructureSketch.structureLayout.neighbours.connections)\n\t\t\t{\n\t\t\t\tforeach (Vector2 item in connection.Value)\n\t\t\t\t{\n\t\t\t\t\tVector2 vector = layoutStructureSketch.center.ToVector2();\n\t\t\t\t\tVector2 vector2 = vector + connection.Key;\n\t\t\t\t\tVector2 vector3 = vector + item;\n\t\t\t\t\tVector2 start = new Vector3(vector2.x, 0f, vector2.y).MapToUIPosition();\n\t\t\t\t\tVector2 end = new Vector3(vector3.x, 0f, vector3.y).MapToUIPosition();\n\t\t\t\t\tDevGUI.DrawLine(start, end, Color.green, 2f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!DebugViewSettings.drawMapRooms || layoutStructureSketch.structureLayout?.Rooms == null)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (LayoutRoom room in layoutStructureSketch.structureLayout.Rooms)\n\t\t{\n\t\t\tstring name = \"NA\";\n\t\t\tif (!room.defs.NullOrEmpty())\n\t\t\t{\n\t\t\t\tname = room.defs.Select((LayoutRoomDef x) => x.defName).ToCommaList();\n\t\t\t}\n\t\t\tDevDrawLabel(name, room.rects[0].CenterVector3.MapToUIPosition());\n\t\t\tforeach (CellRect rect in room.rects)\n\t\t\t{\n\t\t\t\tDevDrawOutline(rect, Color.blue);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static void DevDrawLabel(string name, Vector2 pos)\n\t{\n\t\tfloat widthCached = name.GetWidthCached();\n\t\tDevGUI.Label(new Rect(pos.x - widthCached / 2f, pos.y, widthCached, 20f), name);\n\t}\n\n\tprivate static void DevDrawOutline(CellRect r, Color color)\n\t{\n\t\tIntVec3 min = r.Min;\n\t\tIntVec3 intVec = r.Max + new IntVec3(1, 0, 1);\n\t\tIntVec3 a = new IntVec3(min.x, 0, min.z);\n\t\tIntVec3 intVec2 = new IntVec3(intVec.x, 0, min.z);\n\t\tIntVec3 intVec3 = new IntVec3(min.x, 0, intVec.z);\n\t\tIntVec3 b = new IntVec3(intVec.x, 0, intVec.z);\n\t\tDevDrawLine(a, intVec2, color);\n\t\tDevDrawLine(a, intVec3, color);\n\t\tDevDrawLine(intVec3, b, color);\n\t\tDevDrawLine(intVec2, b, color);\n\t}\n\n\tprivate static void DevDrawLine(IntVec3 a, IntVec3 b, Color color)\n\t{\n\t\tVector2 start = a.ToVector3().MapToUIPosition();\n\t\tVector2 end = b.ToVector3().MapToUIPosition();\n\t\tDevGUI.DrawLine(start, end, color, 2f);\n\t}\n\n\tpublic string GetUniqueLoadID()\n\t{\n\t\treturn \"Map_\" + uniqueID;\n\t}\n\n\tpublic override string ToString()\n\t{\n\t\tstring text = \"Map-\" + uniqueID;\n\t\tif (IsPlayerHome)\n\t\t{\n\t\t\ttext += \"-PlayerHome\";\n\t\t}\n\t\treturn text;\n\t}\n\n\tpublic ThingOwner GetDirectlyHeldThings()\n\t{\n\t\treturn spawnedThings;\n\t}\n\n\tpublic void GetChildHolders(List<IThingHolder> outChildren)\n\t{\n\t\tThingOwnerUtility.AppendThingHoldersFromThings(outChildren, listerThings.ThingsInGroup(ThingRequestGroup.ThingHolder));\n\t\tList<PassingShip> passingShips = passingShipManager.passingShips;\n\t\tfor (int i = 0; i < passingShips.Count; i++)\n\t\t{\n\t\t\tif (passingShips[i] is IThingHolder item)\n\t\t\t{\n\t\t\t\toutChildren.Add(item);\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < components.Count; j++)\n\t\t{\n\t\t\tif (components[j] is IThingHolder item2)\n\t\t\t{\n\t\t\t\toutChildren.Add(item2);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic void Dispose()\n\t{\n\t\tif (Disposed)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tDisposed = true;\n\t\tforeach (MapComponent component in components)\n\t\t{\n\t\t\tif (component is IDisposable disposable)\n\t\t\t{\n\t\t\t\tdisposable.Dispose();\n\t\t\t}\n\t\t}\n\t\tif (regionAndRoomUpdater != null)\n\t\t{\n\t\t\tregionAndRoomUpdater.Enabled = false;\n\t\t}\n\t\tpathFinder?.Dispose();\n\t\tlordManager?.Dispose();\n\t\tfogGrid?.Dispose();\n\t\tsnowGrid?.Dispose();\n\t\tglowGrid?.Dispose();\n\t\tsandGrid?.Dispose();\n\t\tavoidGrid?.Dispose();\n\t\tlisterBuildings?.Dispose();\n\t\tlisterThings?.Clear();\n\t\tregionDirtyer?.SetAllDirty();\n\t\tregionGrid?.Dispose();\n\t\tpathing?.Dispose();\n\t\tmapDrawer?.Dispose();\n\t\tResources.UnloadUnusedAssets();\n\t\tMapGenerator.ClearDebugMode();\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-25 11:41:03,392"
|
|
},
|
|
"Thing-class-definition": {
|
|
"keywords": [
|
|
"Thing",
|
|
"class",
|
|
"definition"
|
|
],
|
|
"question": "Thing class definition",
|
|
"embedding": [
|
|
-0.03260350599884987,
|
|
0.02423495054244995,
|
|
0.021687297150492668,
|
|
-0.0035957377403974533,
|
|
-0.038440532982349396,
|
|
-0.006014395505189896,
|
|
-0.03369996324181557,
|
|
0.0753331258893013,
|
|
0.057306062430143356,
|
|
0.10796888172626495,
|
|
-0.06514251232147217,
|
|
-0.039601489901542664,
|
|
-0.012843072414398193,
|
|
-0.0421491414308548,
|
|
0.06291735172271729,
|
|
-0.03266800194978714,
|
|
0.0012244454119354486,
|
|
-0.08120240271091461,
|
|
-0.015938954427838326,
|
|
-0.02213877998292446,
|
|
0.031523171812295914,
|
|
0.07765503227710724,
|
|
0.004659947007894516,
|
|
0.04437430575489998,
|
|
0.04353583976626396,
|
|
0.008449177257716656,
|
|
-0.004825221840292215,
|
|
0.04705095291137695,
|
|
-0.030555708333849907,
|
|
-0.05395219102501869,
|
|
-0.003035415429621935,
|
|
-0.004514827858656645,
|
|
-0.016479121521115303,
|
|
0.012480273842811584,
|
|
-0.01504405029118061,
|
|
0.014713500626385212,
|
|
-0.017027350142598152,
|
|
0.004958248231559992,
|
|
0.017478832975029945,
|
|
-0.011222572065889835,
|
|
0.019252514466643333,
|
|
-0.000278397579677403,
|
|
-0.03389345481991768,
|
|
-0.013600918464362621,
|
|
-0.028330544009804726,
|
|
0.025782890617847443,
|
|
0.00896515790373087,
|
|
-0.057725295424461365,
|
|
-0.019510505720973015,
|
|
0.08262134343385696,
|
|
-0.0044906409457325935,
|
|
0.030555708333849907,
|
|
-0.013705726712942123,
|
|
-0.023364232853055,
|
|
0.002277569379657507,
|
|
0.014310391619801521,
|
|
0.04830865561962128,
|
|
-0.018285052850842476,
|
|
0.0028197518549859524,
|
|
0.03582838177680969,
|
|
0.023380357772111893,
|
|
0.024380069226026535,
|
|
-0.044535551220178604,
|
|
-0.011891733855009079,
|
|
0.09100602567195892,
|
|
-0.022300023585557938,
|
|
0.022944999858736992,
|
|
0.01805931143462658,
|
|
0.056499842554330826,
|
|
-0.029862361028790474,
|
|
-0.011456375010311604,
|
|
0.07900948077440262,
|
|
-0.06939934939146042,
|
|
0.024444567039608955,
|
|
-0.056435346603393555,
|
|
0.04008521884679794,
|
|
-0.006252230145037174,
|
|
-0.009190899319946766,
|
|
-0.028443414717912674,
|
|
-0.01547134667634964,
|
|
0.01181111205369234,
|
|
0.011948169209063053,
|
|
-0.008392741903662682,
|
|
0.002870140364393592,
|
|
0.04443880543112755,
|
|
0.038988761603832245,
|
|
0.011770800687372684,
|
|
-0.07384967803955078,
|
|
-0.011150011792778969,
|
|
0.07720354944467545,
|
|
-0.02342873066663742,
|
|
0.007421248126775026,
|
|
0.019881365820765495,
|
|
0.009779439307749271,
|
|
0.010400228202342987,
|
|
0.06488452106714249,
|
|
-0.05543563514947891,
|
|
0.01738208718597889,
|
|
-0.02146155573427677,
|
|
0.047502435743808746,
|
|
-0.0262021254748106,
|
|
-0.054468169808387756,
|
|
-0.021364809945225716,
|
|
0.04134292155504227,
|
|
0.024186577647924423,
|
|
0.08629770576953888,
|
|
-0.04508377984166145,
|
|
-0.010150300338864326,
|
|
-0.022025909274816513,
|
|
-0.01235934067517519,
|
|
0.0018784907879307866,
|
|
0.03002360463142395,
|
|
-0.012657641433179379,
|
|
0.03850502893328667,
|
|
-0.007868699729442596,
|
|
0.07197925448417664,
|
|
-0.05085630714893341,
|
|
-0.010101926513016224,
|
|
0.045825500041246414,
|
|
0.004369708243757486,
|
|
-0.0008641662425361574,
|
|
-0.04266512021422386,
|
|
-0.012722139246761799,
|
|
-0.022042034193873405,
|
|
0.010255108587443829,
|
|
0.00850561261177063,
|
|
0.06446529179811478,
|
|
-0.0032450323924422264,
|
|
-0.0024287353735417128,
|
|
-0.016688738018274307,
|
|
-0.03918225318193436,
|
|
-0.0026302901096642017,
|
|
0.028443414717912674,
|
|
-0.01893002726137638,
|
|
-0.012899507768452168,
|
|
-0.018043186515569687,
|
|
0.036344364285469055,
|
|
0.005349264480173588,
|
|
-0.06185314059257507,
|
|
0.007010076195001602,
|
|
-0.02362222410738468,
|
|
-0.013270368799567223,
|
|
-0.0237995907664299,
|
|
0.030249346047639847,
|
|
0.0679159089922905,
|
|
-0.03927899897098541,
|
|
0.010771089233458042,
|
|
-0.057048071175813675,
|
|
-0.0004847393138334155,
|
|
0.0024105955380946398,
|
|
-0.02181629277765751,
|
|
-0.057983286678791046,
|
|
-0.014302329160273075,
|
|
0.0071511645801365376,
|
|
0.021735670045018196,
|
|
-0.006909298710525036,
|
|
0.0016537571791559458,
|
|
-0.04185890033841133,
|
|
0.02046184428036213,
|
|
-0.04289086163043976,
|
|
0.018849406391382217,
|
|
-0.011093576438724995,
|
|
-0.03070082888007164,
|
|
-0.01762395165860653,
|
|
-0.02255801483988762,
|
|
-0.03395795449614525,
|
|
-0.02995910681784153,
|
|
0.05246874690055847,
|
|
-0.06804490089416504,
|
|
-0.011109701357781887,
|
|
0.042374882847070694,
|
|
-0.009739127941429615,
|
|
-0.015551968477666378,
|
|
-0.002868124982342124,
|
|
0.020171605050563812,
|
|
0.001337316120043397,
|
|
0.03241001442074776,
|
|
0.008932908996939659,
|
|
0.02238064631819725,
|
|
-0.046825211495161057,
|
|
0.02349322848021984,
|
|
0.011698241345584393,
|
|
0.07081829756498337,
|
|
0.0011942122364416718,
|
|
-0.006167577113956213,
|
|
-0.016543619334697723,
|
|
-0.016737110912799835,
|
|
0.017494957894086838,
|
|
0.030071977525949478,
|
|
0.011198384687304497,
|
|
-0.04766368120908737,
|
|
0.002444859826937318,
|
|
0.02908838912844658,
|
|
0.05617735534906387,
|
|
-0.07913848012685776,
|
|
-0.03360321745276451,
|
|
0.006917361170053482,
|
|
0.031103936955332756,
|
|
-0.0035816289018839598,
|
|
-0.040536701679229736,
|
|
-0.005889431573450565,
|
|
0.028798149898648262,
|
|
0.013987903483211994,
|
|
0.008562047965824604,
|
|
0.04134292155504227,
|
|
-0.03518340736627579,
|
|
-0.005357326939702034,
|
|
-0.0012365387519821525,
|
|
0.00786063726991415,
|
|
-0.002368269022554159,
|
|
0.00965044368058443,
|
|
-0.025782890617847443,
|
|
0.019897490739822388,
|
|
-0.013536420650780201,
|
|
-0.025799015536904335,
|
|
-0.023348107933998108,
|
|
-0.06024070084095001,
|
|
0.007336595095694065,
|
|
-0.027701692655682564,
|
|
-0.018655912950634956,
|
|
-0.029539871960878372,
|
|
0.029120638966560364,
|
|
0.010005180723965168,
|
|
0.04440655559301376,
|
|
0.027217961847782135,
|
|
-0.01085171103477478,
|
|
0.01731758937239647,
|
|
0.01565677672624588,
|
|
-0.015560030937194824,
|
|
-0.0010314567480236292,
|
|
-0.017704574391245842,
|
|
0.033925704658031464,
|
|
-0.0882326290011406,
|
|
0.04147191718220711,
|
|
0.03731182590126991,
|
|
0.0014330546837300062,
|
|
-0.02428332343697548,
|
|
-0.010674342513084412,
|
|
0.0316682904958725,
|
|
0.02004260942339897,
|
|
-0.01007774006575346,
|
|
0.04079469293355942,
|
|
-0.06182089075446129,
|
|
0.06314308941364288,
|
|
-0.00825568474829197,
|
|
-0.008836162276566029,
|
|
-0.050211332738399506,
|
|
-0.027330832555890083,
|
|
0.05450041964650154,
|
|
-0.016978977248072624,
|
|
-0.008521737530827522,
|
|
0.0014542179415002465,
|
|
-0.05011458694934845,
|
|
-0.023267487064003944,
|
|
-0.04179440438747406,
|
|
0.04253612458705902,
|
|
-0.016471058130264282,
|
|
0.01652749441564083,
|
|
0.0024408285971730947,
|
|
-0.006219981238245964,
|
|
-0.015955079346895218,
|
|
-0.011077452450990677,
|
|
0.0020619055721908808,
|
|
-0.027169587090611458,
|
|
-0.03311948478221893,
|
|
0.004974372684955597,
|
|
-0.00293665356002748,
|
|
-0.0421491414308548,
|
|
-0.11448313295841217,
|
|
0.0033296854235231876,
|
|
-0.015890581533312798,
|
|
0.031232932582497597,
|
|
0.00927958358079195,
|
|
-0.029620494693517685,
|
|
-0.01973624713718891,
|
|
0.02786293625831604,
|
|
0.01652749441564083,
|
|
0.058950748294591904,
|
|
-0.07997694611549377,
|
|
-0.012085226364433765,
|
|
-0.0075784604996442795,
|
|
0.012843072414398193,
|
|
0.010085802525281906,
|
|
-0.04205239564180374,
|
|
-0.0032006902620196342,
|
|
0.023396482691168785,
|
|
0.02360609918832779,
|
|
0.006913329940289259,
|
|
0.03747307136654854,
|
|
-0.0031341772992163897,
|
|
0.010932332836091518,
|
|
0.0055669439025223255,
|
|
-0.02700834348797798,
|
|
-0.010488912463188171,
|
|
-0.01060178317129612,
|
|
0.00507111893966794,
|
|
-0.0006580764311365783,
|
|
-0.0017656200798228383,
|
|
0.003998847212642431,
|
|
0.03592512756586075,
|
|
0.00510336784645915,
|
|
0.01245608739554882,
|
|
-0.007022169418632984,
|
|
-0.00439389469102025,
|
|
0.04895363003015518,
|
|
0.012754388153553009,
|
|
-0.00882003828883171,
|
|
-0.09384391456842422,
|
|
-0.009110277518630028,
|
|
-0.09055454283952713,
|
|
0.0011387846898287535,
|
|
-0.01174661424010992,
|
|
-0.007002014201134443,
|
|
-0.008666856214404106,
|
|
0.01659199222922325,
|
|
0.010932332836091518,
|
|
-0.03902101144194603,
|
|
-0.01418139599263668,
|
|
-0.011311255395412445,
|
|
0.012472211383283138,
|
|
-0.03292599320411682,
|
|
-0.006598904263228178,
|
|
0.0430198572576046,
|
|
0.016309814527630806,
|
|
-0.0083524314686656,
|
|
0.00902965571731329,
|
|
0.05311372131109238,
|
|
0.00850561261177063,
|
|
-0.01768844947218895,
|
|
-0.014294266700744629,
|
|
-0.0001568348379805684,
|
|
0.004889719653874636,
|
|
0.02157442644238472,
|
|
-0.008392741903662682,
|
|
0.012875321321189404,
|
|
-0.004728475585579872,
|
|
-0.008062192238867283,
|
|
0.032281018793582916,
|
|
-0.01755945384502411,
|
|
0.011238696053624153,
|
|
-0.012036853469908237,
|
|
0.06307858973741531,
|
|
0.018043186515569687,
|
|
-0.029862361028790474,
|
|
0.01818830519914627,
|
|
-0.03076532483100891,
|
|
-0.010182549245655537,
|
|
0.03271637484431267,
|
|
-0.021864665672183037,
|
|
0.021219689399003983,
|
|
-0.008126690052449703,
|
|
-0.014310391619801521,
|
|
-0.003769074799492955,
|
|
0.02441231906414032,
|
|
0.0021304343827068806,
|
|
-0.011262882500886917,
|
|
0.018462419509887695,
|
|
0.007223724387586117,
|
|
-0.01264151744544506,
|
|
-0.00168701377697289,
|
|
-0.017672324553132057,
|
|
0.06843189150094986,
|
|
0.01050503645092249,
|
|
0.03889201581478119,
|
|
0.05627410113811493,
|
|
0.030410589650273323,
|
|
-0.006699681747704744,
|
|
0.03808579593896866,
|
|
0.018349548801779747,
|
|
0.011835298500955105,
|
|
0.023267487064003944,
|
|
-0.02644398994743824,
|
|
-0.03274862468242645,
|
|
0.008481426164507866,
|
|
-0.029491499066352844,
|
|
-0.028314419090747833,
|
|
0.01214166171848774,
|
|
0.007630865089595318,
|
|
0.016737110912799835,
|
|
0.028459537774324417,
|
|
0.06694844365119934,
|
|
0.024815427139401436,
|
|
-6.172616122057661e-05,
|
|
-0.05862826108932495,
|
|
-0.009384391829371452,
|
|
0.0036400798708200455,
|
|
0.0421491414308548,
|
|
0.005054994486272335,
|
|
0.025508776307106018,
|
|
-0.04943736270070076,
|
|
0.0679159089922905,
|
|
-0.007433341350406408,
|
|
0.006280447822064161,
|
|
-0.009392454288899899,
|
|
0.03789230436086655,
|
|
0.014721563085913658,
|
|
0.011859484948217869,
|
|
0.023138491436839104,
|
|
0.010698528960347176,
|
|
-0.012504460290074348,
|
|
0.01506823766976595,
|
|
-0.025137916207313538,
|
|
-0.010996830649673939,
|
|
0.027524324133992195,
|
|
-0.038376033306121826,
|
|
-0.0345061831176281,
|
|
0.008235529065132141,
|
|
0.026863224804401398,
|
|
0.008424990810453892,
|
|
0.04985659569501877,
|
|
-0.08597521483898163,
|
|
0.03087819553911686,
|
|
0.08874861150979996,
|
|
-0.014262017793953419,
|
|
-0.04260062426328659,
|
|
-0.01572933793067932,
|
|
-0.003057586494833231,
|
|
-0.015890581533312798,
|
|
0.06959284096956253,
|
|
-0.026863224804401398,
|
|
0.007292252965271473,
|
|
0.022574137896299362,
|
|
0.015890581533312798,
|
|
-0.007876762188971043,
|
|
-0.03437718749046326,
|
|
0.011383815668523312,
|
|
-0.024122079834342003,
|
|
-0.00732047064229846,
|
|
0.01278663706034422,
|
|
0.0018281020456925035,
|
|
-0.06504576653242111,
|
|
-0.05856376513838768,
|
|
0.02109069563448429,
|
|
0.0644330382347107,
|
|
0.013270368799567223,
|
|
-0.0469542071223259,
|
|
-0.0006228043348528445,
|
|
0.0017918222583830357,
|
|
-0.030346091836690903,
|
|
-0.00786466896533966,
|
|
-0.0775260403752327,
|
|
-0.012835009954869747,
|
|
0.015793833881616592,
|
|
-0.02373509481549263,
|
|
-0.036279864609241486,
|
|
-0.010553409345448017,
|
|
0.019284764304757118,
|
|
-0.013060751371085644,
|
|
0.011996542103588581,
|
|
-0.016446871683001518,
|
|
-0.018526917323470116,
|
|
0.01645493507385254,
|
|
-0.001411891425959766,
|
|
0.04131067171692848,
|
|
0.013294555246829987,
|
|
0.020735958591103554,
|
|
-0.010916207917034626,
|
|
-0.004514827858656645,
|
|
0.002833860693499446,
|
|
-0.021671172231435776,
|
|
0.019155768677592278,
|
|
-0.029942981898784637,
|
|
0.012448024936020374,
|
|
0.031410299241542816,
|
|
0.007425278890877962,
|
|
-0.041149429976940155,
|
|
0.008957095444202423,
|
|
-0.001743449131026864,
|
|
-0.023718969896435738,
|
|
-0.02902389131486416,
|
|
0.026186000555753708,
|
|
0.01368154026567936,
|
|
-0.013770224526524544,
|
|
0.03137805312871933,
|
|
0.013246181420981884,
|
|
-0.007183413486927748,
|
|
-0.00607083085924387,
|
|
-0.0038537278305739164,
|
|
0.01507629919797182,
|
|
0.06482002884149551,
|
|
0.05746730789542198,
|
|
0.011875608935952187,
|
|
0.017027350142598152,
|
|
0.007203568704426289,
|
|
-0.05740280821919441,
|
|
-0.03137805312871933,
|
|
-0.017043475061655045,
|
|
0.01060178317129612,
|
|
0.018655912950634956,
|
|
-0.052984725683927536,
|
|
0.01954275369644165,
|
|
0.006123234983533621,
|
|
0.026669731363654137,
|
|
0.022283898666501045,
|
|
-0.006868987809866667,
|
|
-0.02804030478000641,
|
|
-0.0006338898674584925,
|
|
0.07243073731660843,
|
|
-0.006409442983567715,
|
|
-0.08803913742303848,
|
|
-0.04063344746828079,
|
|
0.029733365401625633,
|
|
-0.06059543788433075,
|
|
0.002835876075550914,
|
|
-0.004522889852523804,
|
|
0.02065533585846424,
|
|
-0.004950186237692833,
|
|
0.0034848826471716166,
|
|
-0.004045205190777779,
|
|
0.025605522096157074,
|
|
0.027201836928725243,
|
|
-0.022461267188191414,
|
|
0.05572587251663208,
|
|
-0.03063633106648922,
|
|
-0.010561471804976463,
|
|
0.01836567372083664,
|
|
0.10596945136785507,
|
|
0.01245608739554882,
|
|
0.006651308387517929,
|
|
-0.007804201915860176,
|
|
-0.0037368261255323887,
|
|
-0.04069794714450836,
|
|
-0.028685279190540314,
|
|
-0.01794644072651863,
|
|
-0.05037257820367813,
|
|
0.02768556773662567,
|
|
-0.01143218856304884,
|
|
-0.018720410764217377,
|
|
0.0759781002998352,
|
|
-0.039923977106809616,
|
|
-0.008957095444202423,
|
|
0.0017646122723817825,
|
|
0.037569817155599594,
|
|
-0.0295882448554039,
|
|
-0.023073993623256683,
|
|
0.038988761603832245,
|
|
0.03299048915505409,
|
|
0.011980418115854263,
|
|
-0.013544483110308647,
|
|
0.09932620823383331,
|
|
0.09887472540140152,
|
|
0.035667140036821365,
|
|
0.00459141843020916,
|
|
0.03328073024749756,
|
|
0.035409148782491684,
|
|
0.006901236716657877,
|
|
7.079612259985879e-05,
|
|
-0.041891150176525116,
|
|
0.00705844908952713,
|
|
-0.03268412873148918,
|
|
-0.0028600627556443214,
|
|
0.016414623707532883,
|
|
-0.029314130544662476,
|
|
-0.04208464175462723,
|
|
0.040407706052064896,
|
|
0.03107168897986412,
|
|
0.014931180514395237,
|
|
0.0005955944652669132,
|
|
0.028217673301696777,
|
|
-0.03174891322851181,
|
|
-0.02454131282866001,
|
|
-0.018075434491038322,
|
|
-0.0469542071223259,
|
|
-0.03207140043377876,
|
|
0.0052887978963553905,
|
|
0.02083270438015461,
|
|
0.02323523722589016,
|
|
0.010650156065821648,
|
|
0.04724444821476936,
|
|
-0.030991066247224808,
|
|
-0.03840828314423561,
|
|
0.017801320180296898,
|
|
-0.02602475695312023,
|
|
0.02329973503947258,
|
|
0.04124617576599121,
|
|
0.006772241555154324,
|
|
-0.006776272784918547,
|
|
-0.008376617915928364,
|
|
0.09706879407167435,
|
|
0.011109701357781887,
|
|
-0.028072552755475044,
|
|
0.008513675071299076,
|
|
0.021896913647651672,
|
|
-0.006219981238245964,
|
|
0.0007785054622218013,
|
|
0.020058734342455864,
|
|
0.03921450302004814,
|
|
0.0011327379615977407,
|
|
0.02576676569879055,
|
|
-0.0027794407214969397,
|
|
-0.005865244660526514,
|
|
0.013238119892776012,
|
|
-0.0390855073928833,
|
|
-0.016866106539964676,
|
|
-0.03194240480661392,
|
|
0.01794644072651863,
|
|
0.026911597698926926,
|
|
0.016624240204691887,
|
|
0.005736249964684248,
|
|
0.04772817716002464,
|
|
0.021687297150492668,
|
|
-0.04605124145746231,
|
|
-0.0048211910761892796,
|
|
0.003075726330280304,
|
|
0.009045779705047607,
|
|
-0.03149092197418213,
|
|
0.005712063051760197,
|
|
-0.009045779705047607,
|
|
0.007042325101792812,
|
|
0.04011746868491173,
|
|
0.06933484971523285,
|
|
0.053468458354473114,
|
|
-0.04353583976626396,
|
|
0.021558301523327827,
|
|
0.0353768989443779,
|
|
-0.003380074165761471,
|
|
0.0040391581133008,
|
|
0.012512522749602795,
|
|
0.02570226974785328,
|
|
-0.04630923271179199,
|
|
-0.039536990225315094,
|
|
0.008134751580655575,
|
|
-0.001273826346732676,
|
|
-0.03302273899316788,
|
|
0.006651308387517929,
|
|
-0.01152893528342247,
|
|
0.026976095512509346,
|
|
-0.00555081944912672,
|
|
-0.057241566479206085,
|
|
-0.01525366771966219,
|
|
-0.021219689399003983,
|
|
0.04637372866272926,
|
|
-0.02594413422048092,
|
|
0.04085918888449669,
|
|
-0.022509640082716942,
|
|
0.007155195809900761,
|
|
-0.005990209057927132,
|
|
0.005143678747117519,
|
|
0.0021949317306280136,
|
|
-0.023009495809674263,
|
|
0.01762395165860653,
|
|
0.007913041859865189,
|
|
0.013576732017099857,
|
|
-0.03120068460702896,
|
|
0.00274316081777215,
|
|
0.006473940331488848,
|
|
-0.05340396240353584,
|
|
-0.03753756731748581,
|
|
0.015624528750777245,
|
|
-0.02342873066663742,
|
|
0.010521160438656807,
|
|
0.02213877998292446,
|
|
0.04224588721990585,
|
|
-0.0063368831761181355,
|
|
0.03353872150182724,
|
|
0.03207140043377876,
|
|
-0.04495478421449661,
|
|
0.054468169808387756,
|
|
0.020268350839614868,
|
|
-0.02749207615852356,
|
|
-0.038924265652894974,
|
|
-0.023073993623256683,
|
|
-0.024267198517918587,
|
|
-0.018268927931785583,
|
|
0.03211977332830429,
|
|
0.024686433374881744,
|
|
-0.017333712428808212,
|
|
-0.02218715287744999,
|
|
0.01146443746984005,
|
|
0.003253094619140029,
|
|
0.00699798297137022,
|
|
-0.01880103163421154,
|
|
0.02305787056684494,
|
|
-0.0310071911662817,
|
|
0.015987327322363853,
|
|
0.0478249229490757,
|
|
-0.08913559466600418,
|
|
-0.03989172726869583,
|
|
0.04469679296016693,
|
|
0.028878772631287575,
|
|
0.002118340926244855,
|
|
0.016108259558677673,
|
|
-0.014052401296794415,
|
|
-0.020687585696578026,
|
|
-0.02749207615852356,
|
|
0.027653319761157036,
|
|
-0.021977536380290985,
|
|
0.02028447575867176,
|
|
-0.06156289950013161,
|
|
0.014665127731859684,
|
|
0.0674644261598587,
|
|
-0.034989915788173676,
|
|
0.02970111556351185,
|
|
0.011907857842743397,
|
|
0.028765901923179626,
|
|
-0.02755657397210598,
|
|
-0.02205815725028515,
|
|
-0.04163316264748573,
|
|
0.003956520929932594,
|
|
0.06810940057039261,
|
|
-0.007094729226082563,
|
|
0.007651020307093859,
|
|
0.049405112862586975,
|
|
0.0067923967726528645,
|
|
0.025734517723321915,
|
|
0.009690755046904087,
|
|
-0.027750065550208092,
|
|
-0.04272961989045143,
|
|
0.004889719653874636,
|
|
0.04218139126896858,
|
|
0.008892597630620003,
|
|
0.012214221060276031,
|
|
0.023444855585694313,
|
|
-0.010625969618558884,
|
|
-0.0007774976547807455,
|
|
0.009803625755012035,
|
|
0.020171605050563812,
|
|
-0.01910739578306675,
|
|
-0.037569817155599594,
|
|
-0.019526628777384758,
|
|
-0.03026546910405159,
|
|
-0.018704285845160484,
|
|
0.03969823569059372,
|
|
0.02299337275326252,
|
|
-0.052243005484342575,
|
|
-0.045535262674093246,
|
|
0.018897779285907745,
|
|
-0.019091270864009857,
|
|
0.008900660090148449,
|
|
0.06798040866851807,
|
|
-0.01297206711024046,
|
|
-0.030233221128582954,
|
|
0.0023158646654337645,
|
|
0.012004604563117027,
|
|
0.01069046650081873,
|
|
-0.049953341484069824,
|
|
0.0039041165728121996,
|
|
-0.055016398429870605,
|
|
-0.0020467890426516533,
|
|
0.0028318450786173344,
|
|
0.018156057223677635,
|
|
-0.023815715685486794,
|
|
0.004329397343099117,
|
|
-0.04211689159274101,
|
|
0.05201726406812668,
|
|
-0.022606387734413147,
|
|
-0.04576100409030914,
|
|
0.005865244660526514,
|
|
0.0011851423187181354,
|
|
-0.026830974966287613,
|
|
-0.002674632240086794,
|
|
0.015479409135878086,
|
|
-0.05037257820367813,
|
|
0.019881365820765495,
|
|
-0.010166424326598644,
|
|
-0.006373162847012281,
|
|
0.030652454122900963,
|
|
0.004607542883604765,
|
|
-0.003172472584992647,
|
|
0.046889711171388626,
|
|
-7.04182093613781e-05,
|
|
0.022896625101566315,
|
|
0.0013353006215766072,
|
|
0.0600472092628479,
|
|
0.003166425973176956,
|
|
0.007703424897044897,
|
|
-0.0001686761825112626,
|
|
0.024009209126234055,
|
|
-0.005272673908621073,
|
|
-0.0325390063226223,
|
|
-0.03321623057126999,
|
|
-0.018543042242527008,
|
|
-0.007586522959172726,
|
|
0.07694556564092636,
|
|
-0.0012415775563567877,
|
|
-0.004575293976813555,
|
|
0.005913618020713329,
|
|
0.01232709176838398,
|
|
-0.0040351273491978645,
|
|
-0.016180820763111115,
|
|
0.017236966639757156,
|
|
-0.0030031665228307247,
|
|
-0.04672846570611,
|
|
-0.010996830649673939,
|
|
0.029378628358244896,
|
|
0.032393887639045715,
|
|
-0.03934349864721298,
|
|
0.04801841825246811,
|
|
0.0019873303826898336,
|
|
-0.005720125511288643,
|
|
0.0006495103589259088,
|
|
-0.015519720502197742,
|
|
0.032942116260528564,
|
|
0.023589974269270897,
|
|
0.029572121798992157,
|
|
-0.0019530660938471556,
|
|
-0.029862361028790474,
|
|
0.036408860236406326,
|
|
0.046825211495161057,
|
|
0.022961122915148735,
|
|
0.05314597114920616,
|
|
-0.026298871263861656,
|
|
0.05182377249002457,
|
|
-0.024138202890753746,
|
|
-0.011424126103520393,
|
|
0.038730770349502563,
|
|
-3.287862637080252e-05,
|
|
-0.009319894015789032,
|
|
0.019494380801916122,
|
|
-0.021848540753126144,
|
|
0.01794644072651863,
|
|
0.00405125180259347,
|
|
-0.020913327112793922,
|
|
-0.02279987931251526,
|
|
-0.0014421246014535427,
|
|
-0.04037545993924141,
|
|
-0.003922256641089916,
|
|
-0.00789288617670536,
|
|
-0.026250498369336128,
|
|
0.04647047445178032,
|
|
0.01954275369644165,
|
|
0.031523171812295914,
|
|
0.008900660090148449,
|
|
0.0025033107958734035,
|
|
0.008171032182872295,
|
|
-0.006187732331454754,
|
|
0.02539590559899807,
|
|
-0.04179440438747406,
|
|
0.002299740444868803,
|
|
0.03205527737736702,
|
|
0.058660510927438736,
|
|
0.022767631337046623,
|
|
-0.050630565732717514,
|
|
0.005139647517353296,
|
|
0.0022191184107214212,
|
|
-0.017672324553132057,
|
|
-0.05579037219285965,
|
|
-0.006111141759902239,
|
|
0.0399562232196331,
|
|
0.005929742474108934,
|
|
-0.02120356634259224,
|
|
0.007618771865963936,
|
|
-0.005441979970782995,
|
|
-0.007900948636233807,
|
|
-0.04414856433868408,
|
|
0.023364232853055,
|
|
0.004333428107202053,
|
|
-0.03274862468242645,
|
|
-0.021122943609952927,
|
|
-0.056628838181495667,
|
|
0.019284764304757118,
|
|
0.030894320458173752,
|
|
0.006844801362603903,
|
|
0.012794699519872665,
|
|
-0.002307802438735962,
|
|
0.04637372866272926,
|
|
-0.020203853026032448,
|
|
-0.017494957894086838,
|
|
0.0018956229323521256,
|
|
0.0055911303497850895,
|
|
-0.027072841301560402,
|
|
0.012254532426595688,
|
|
-0.025750642642378807,
|
|
0.019929738715291023,
|
|
-0.022283898666501045,
|
|
0.0063368831761181355,
|
|
0.010053553618490696,
|
|
0.021977536380290985,
|
|
0.0014945288421586156,
|
|
-0.02655686065554619,
|
|
0.05108204856514931,
|
|
0.04043995589017868,
|
|
-0.025073418393731117,
|
|
0.02410595491528511,
|
|
-0.010166424326598644,
|
|
0.02607312984764576,
|
|
-0.02854016050696373,
|
|
0.03176503628492355,
|
|
0.010101926513016224,
|
|
0.05227525532245636,
|
|
0.004345521796494722,
|
|
-0.039601489901542664,
|
|
0.02854016050696373,
|
|
-0.016817733645439148,
|
|
0.012625393457710743,
|
|
-0.02207428216934204,
|
|
0.03373221307992935,
|
|
-0.032700251787900925,
|
|
-0.04253612458705902,
|
|
0.037086084485054016,
|
|
-0.011819173581898212,
|
|
-0.01335099060088396,
|
|
-0.03224876895546913,
|
|
0.029314130544662476,
|
|
-0.02742757834494114,
|
|
0.0023219112772494555,
|
|
0.006941547617316246,
|
|
-0.020074859261512756,
|
|
-0.02133256010711193,
|
|
-0.02404145710170269,
|
|
0.021219689399003983,
|
|
-0.06765791773796082,
|
|
0.021671172231435776,
|
|
-0.031152311712503433,
|
|
0.005478259641677141,
|
|
0.02607312984764576,
|
|
-0.05134003981947899,
|
|
-0.013326804153621197,
|
|
-0.05991821363568306,
|
|
0.02908838912844658,
|
|
-0.0028499849140644073,
|
|
0.01991361565887928,
|
|
0.023928586393594742,
|
|
0.007026200648397207,
|
|
-0.019381510093808174,
|
|
-0.029620494693517685,
|
|
-0.024380069226026535,
|
|
0.035731635987758636,
|
|
0.001526777632534504,
|
|
-0.05201726406812668,
|
|
0.04424531012773514,
|
|
0.01880103163421154,
|
|
-0.014471635222434998,
|
|
-0.01694672740995884,
|
|
0.01831730082631111,
|
|
0.00838468037545681,
|
|
-0.044535551220178604,
|
|
0.06785140931606293,
|
|
-0.03168441727757454,
|
|
0.05843476951122284,
|
|
0.030652454122900963,
|
|
0.04408406838774681,
|
|
0.037086084485054016,
|
|
0.0027451764326542616,
|
|
-0.000567880691960454,
|
|
-0.011794987134635448,
|
|
-0.015697088092565536,
|
|
-0.009303770028054714,
|
|
0.026605233550071716,
|
|
-0.02496054768562317,
|
|
0.018720410764217377,
|
|
-0.04414856433868408,
|
|
0.021977536380290985,
|
|
-0.007848544046282768,
|
|
0.050017841160297394,
|
|
0.016801608726382256,
|
|
-0.01039216574281454,
|
|
-0.024138202890753746,
|
|
0.0561128593981266,
|
|
-0.004418081138283014,
|
|
0.01257701963186264,
|
|
-0.04914712533354759,
|
|
-0.016180820763111115,
|
|
-0.004514827858656645,
|
|
-0.04095593839883804,
|
|
-0.019091270864009857,
|
|
0.0049139061011374,
|
|
-0.053049225360155106,
|
|
-0.01371378917247057,
|
|
-0.03311948478221893,
|
|
0.0364733561873436,
|
|
0.024831552058458328,
|
|
0.02644398994743824,
|
|
-0.051501285284757614,
|
|
0.03210365027189255,
|
|
0.002547652693465352,
|
|
-0.05017908290028572,
|
|
-0.02607312984764576,
|
|
0.003793261479586363,
|
|
0.02520241215825081,
|
|
-0.02823379635810852,
|
|
0.03453843295574188,
|
|
-0.008130720816552639,
|
|
-0.05221075564622879,
|
|
-0.01891390234231949,
|
|
0.04308435693383217,
|
|
-0.013834722340106964,
|
|
-0.04085918888449669,
|
|
-0.03207140043377876,
|
|
-0.0044785477221012115,
|
|
0.020993947982788086,
|
|
0.021558301523327827,
|
|
-0.0001853044523159042,
|
|
0.01941375806927681,
|
|
-0.02546040341258049,
|
|
-0.025347532704472542,
|
|
0.017091847956180573,
|
|
-0.003454649355262518,
|
|
0.029056141152977943,
|
|
-0.0258796364068985,
|
|
0.007348688319325447,
|
|
-0.04598674550652504,
|
|
-0.01688223145902157,
|
|
-0.01781744509935379,
|
|
-0.018946152180433273,
|
|
-0.01075496431440115,
|
|
-0.004272961989045143,
|
|
-0.03889201581478119,
|
|
0.04530952125787735,
|
|
0.013770224526524544,
|
|
-0.02502504549920559,
|
|
0.07081829756498337,
|
|
-0.026363369077444077,
|
|
-0.007699393667280674,
|
|
7.614992500748485e-05,
|
|
-0.004494672175496817,
|
|
-0.06888337433338165,
|
|
-0.0031059596221894026,
|
|
-0.005216238554567099,
|
|
-0.039665985852479935,
|
|
0.05046932399272919,
|
|
0.012931756675243378,
|
|
0.0011750644771382213,
|
|
0.005599192343652248,
|
|
0.01764007657766342,
|
|
0.014229768887162209,
|
|
-0.03976273164153099,
|
|
-0.012560895644128323,
|
|
0.007284190505743027,
|
|
0.013802473433315754,
|
|
-0.03789230436086655,
|
|
0.045535262674093246,
|
|
-0.03315173462033272,
|
|
0.0007538149948231876
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\Verse\\Thing.txt\n\npublic class Thing : Entity, ISelectable, ILoadReferenceable, ISignalReceiver, IExposable, IEquatable<Thing>\n{\n\tpublic ThingDef def;\n\n\tpublic int thingIDNumber = -1;\n\n\tprivate sbyte mapIndexOrState = -1;\n\n\tprivate IntVec3 positionInt = IntVec3.Invalid;\n\n\tprivate Rot4 rotationInt = Rot4.North;\n\n\tpublic int stackCount = 1;\n\n\tprotected Faction factionInt;\n\n\tprivate ThingDef stuffInt;\n\n\tprivate Graphic graphicInt;\n\n\tprotected Graphic styleGraphicInt;\n\n\tprivate int hitPointsInt = -1;\n\n\tpublic ThingOwner holdingOwner;\n\n\tpublic List<string> questTags;\n\n\tpublic int spawnedTick = -1;\n\n\tpublic int despawnedTick = -1;\n\n\tpublic int? overrideGraphicIndex;\n\n\tpublic bool debugRotLocked;\n\n\tprivate bool beingTransportedOnGravship;\n\n\tprivate int tickDelta;\n\n\tprivate bool beenRevealed;\n\n\tpublic bool shouldHighlightCached;\n\n\tpublic int shouldHighlightCachedTick;\n\n\tpublic Color highlightColorCached;\n\n\tpublic int highlightColorCachedTick;\n\n\tprotected const sbyte UnspawnedState = -1;\n\n\tprivate const sbyte MemoryState = -2;\n\n\tprivate const sbyte DiscardedState = -3;\n\n\tprivate List<IThingHolder> tmpHolders;\n\n\tpublic static bool allowDestroyNonDestroyable = false;\n\n\tprivate static Dictionary<Thing, string> facIDsCached = new Dictionary<Thing, string>();\n\n\tprivate static List<string> tmpDeteriorationReasons = new List<string>();\n\n\tpublic static HashSet<RitualPatternDef> showingGizmosForRitualsTmp = new HashSet<RitualPatternDef>();\n\n\tprivate static List<string> tmpIdeoNames = new List<string>();\n\n\tpublic const float SmeltCostRecoverFraction = 0.25f;\n\n\tpublic virtual int HitPoints\n\t{\n\t\tget\n\t\t{\n\t\t\treturn hitPointsInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\thitPointsInt = value;\n\t\t}\n\t}\n\n\tpublic int MaxHitPoints => Mathf.RoundToInt(this.GetStatValue(StatDefOf.MaxHitPoints, applyPostProcess: true, 10));\n\n\tpublic virtual float MarketValue => this.GetStatValue(StatDefOf.MarketValue);\n\n\tpublic virtual float RoyalFavorValue => this.GetStatValue(StatDefOf.RoyalFavorValue);\n\n\tpublic virtual int? OverrideGraphicIndex => overrideGraphicIndex;\n\n\tpublic virtual Texture UIIconOverride => null;\n\n\tpublic bool EverSeenByPlayer\n\t{\n\t\tget\n\t\t{\n\t\t\treturn this.GetEverSeenByPlayer();\n\t\t}\n\t\tset\n\t\t{\n\t\t\tthis.SetEverSeenByPlayer(value);\n\t\t}\n\t}\n\n\tpublic virtual ThingStyleDef StyleDef\n\t{\n\t\tget\n\t\t{\n\t\t\treturn this.GetStyleDef();\n\t\t}\n\t\tset\n\t\t{\n\t\t\tstyleGraphicInt = null;\n\t\t\tthis.SetStyleDef(value);\n\t\t}\n\t}\n\n\tpublic Precept_ThingStyle StyleSourcePrecept\n\t{\n\t\tget\n\t\t{\n\t\t\treturn this.GetStyleSourcePrecept();\n\t\t}\n\t\tset\n\t\t{\n\t\t\tthis.SetStyleSourcePrecept(value);\n\t\t}\n\t}\n\n\tpublic bool FlammableNow\n\t{\n\t\tget\n\t\t{\n\t\t\tif (this.GetStatValue(StatDefOf.Flammability) < 0.01f)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (Spawned && !FireBulwark)\n\t\t\t{\n\t\t\t\tList<Thing> thingList = Position.GetThingList(Map);\n\t\t\t\tif (thingList != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int i = 0; i < thingList.Count; i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (thingList[i].FireBulwark)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic virtual bool FireBulwark => def.Fillage == FillCategory.Full;\n\n\tpublic bool Destroyed\n\t{\n\t\tget\n\t\t{\n\t\t\tif (mapIndexOrState != -2)\n\t\t\t{\n\t\t\t\treturn mapIndexOrState == -3;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tpublic bool Discarded => mapIndexOrState == -3;\n\n\tpublic bool Spawned\n\t{\n\t\tget\n\t\t{\n\t\t\tif (mapIndexOrState < 0 || Find.Maps == null)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (mapIndexOrState < Find.Maps.Count)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tLog.ErrorOnce($\"Thing {ThingID} is associated with invalid map index {mapIndexOrState}\", 64664487);\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool SpawnedOrAnyParentSpawned => SpawnedParentOrMe != null;\n\n\tpublic Thing SpawnedParentOrMe\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tif (ParentHolder != null)\n\t\t\t{\n\t\t\t\treturn ThingOwnerUtility.SpawnedParentOrMe(ParentHolder);\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic int TickSpawned => spawnedTick;\n\n\tpublic int TickDeSpawned => despawnedTick;\n\n\tpublic Map Map\n\t{\n\t\tget\n\t\t{\n\t\t\tif (mapIndexOrState >= 0)\n\t\t\t{\n\t\t\t\treturn Find.Maps?[mapIndexOrState];\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tpublic Map MapHeld\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn Map;\n\t\t\t}\n\t\t\tif (ParentHolder == null)\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn ThingOwnerUtility.GetRootMap(ParentHolder);\n\t\t}\n\t}\n\n\tpublic IntVec3 Position\n\t{\n\t\tget\n\t\t{\n\t\t\treturn positionInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tif (value == positionInt)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\tif (def.AffectsRegions)\n\t\t\t\t{\n\t\t\t\t\tLog.Warning(\"Changed position of a spawned thing which affects regions. This is not supported.\");\n\t\t\t\t}\n\t\t\t\tDirtyMapMesh(Map);\n\t\t\t\tRegionListersUpdater.DeregisterInRegions(this, Map);\n\t\t\t\tMap.thingGrid.Deregister(this);\n\t\t\t\tMap.coverGrid.DeRegister(this);\n\t\t\t}\n\t\t\tpositionInt = value;\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\tMap.thingGrid.Register(this);\n\t\t\t\tMap.coverGrid.Register(this);\n\t\t\t\tMap.gasGrid.Notify_ThingSpawned(this);\n\t\t\t\tRegionListersUpdater.RegisterInRegions(this, Map);\n\t\t\t\tDirtyMapMesh(Map);\n\t\t\t\tif (def.AffectsReachability)\n\t\t\t\t{\n\t\t\t\t\tMap.reachability.ClearCache();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic IntVec3 PositionHeld\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn Position;\n\t\t\t}\n\t\t\tIntVec3 rootPosition = ThingOwnerUtility.GetRootPosition(ParentHolder);\n\t\t\tif (rootPosition.IsValid)\n\t\t\t{\n\t\t\t\treturn rootPosition;\n\t\t\t}\n\t\t\treturn Position;\n\t\t}\n\t}\n\n\tpublic Rot4 Rotation\n\t{\n\t\tget\n\t\t{\n\t\t\treturn rotationInt;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tif (value == rotationInt || debugRotLocked)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (Spawned && (def.size.x != 1 || def.size.z != 1))\n\t\t\t{\n\t\t\t\tif (def.AffectsRegions)\n\t\t\t\t{\n\t\t\t\t\tLog.Warning(\"Changed rotation of a spawned non-single-cell thing which affects regions. This is not supported.\");\n\t\t\t\t}\n\t\t\t\tRegionListersUpdater.DeregisterInRegions(this, Map);\n\t\t\t\tMap.thingGrid.Deregister(this);\n\t\t\t}\n\t\t\trotationInt = value;\n\t\t\tif (Spawned && (def.size.x != 1 || def.size.z != 1))\n\t\t\t{\n\t\t\t\tMap.thingGrid.Register(this);\n\t\t\t\tRegionListersUpdater.RegisterInRegions(this, Map);\n\t\t\t\tMap.gasGrid.Notify_ThingSpawned(this);\n\t\t\t\tif (def.AffectsReachability)\n\t\t\t\t{\n\t\t\t\t\tMap.reachability.ClearCache();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic bool Smeltable\n\t{\n\t\tget\n\t\t{\n\t\t\tif (this.IsRelic())\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (def.smeltable)\n\t\t\t{\n\t\t\t\tif (def.MadeFromStuff)\n\t\t\t\t{\n\t\t\t\t\treturn Stuff.smeltable;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool BurnableByRecipe\n\t{\n\t\tget\n\t\t{\n\t\t\tif (def.burnableByRecipe)\n\t\t\t{\n\t\t\t\tif (def.MadeFromStuff)\n\t\t\t\t{\n\t\t\t\t\treturn Stuff.burnableByRecipe;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic IThingHolder ParentHolder => holdingOwner?.Owner;\n\n\tpublic Faction Faction => factionInt;\n\n\tpublic string ThingID\n\t{\n\t\tget\n\t\t{\n\t\t\tif (def.HasThingIDNumber)\n\t\t\t{\n\t\t\t\treturn def.defName + thingIDNumber;\n\t\t\t}\n\t\t\treturn def.defName;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tthingIDNumber = IDNumberFromThingID(value);\n\t\t}\n\t}\n\n\tpublic IntVec2 RotatedSize\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!rotationInt.IsHorizontal)\n\t\t\t{\n\t\t\t\treturn def.size;\n\t\t\t}\n\t\t\treturn new IntVec2(def.size.z, def.size.x);\n\t\t}\n\t}\n\n\tpublic virtual CellRect? CustomRectForSelector => null;\n\n\tpublic override string Label\n\t{\n\t\tget\n\t\t{\n\t\t\tif (stackCount > 1)\n\t\t\t{\n\t\t\t\treturn LabelNoCount + \" x\" + stackCount.ToStringCached();\n\t\t\t}\n\t\t\treturn LabelNoCount;\n\t\t}\n\t}\n\n\tpublic virtual string LabelNoCount => GenLabel.ThingLabel(this, 1);\n\n\tpublic override string LabelCap => Label.CapitalizeFirst(def);\n\n\tpublic virtual string LabelCapNoCount => LabelNoCount.CapitalizeFirst(def);\n\n\tpublic override string LabelShort => LabelNoCount;\n\n\tpublic virtual string LabelNoParenthesis => GenLabel.ThingLabel(this, 1, includeHp: false, includeQuality: false);\n\n\tpublic string LabelNoParenthesisCap => LabelNoParenthesis.CapitalizeFirst();\n\n\tpublic virtual ModContentPack ContentSource => def.modContentPack;\n\n\tpublic virtual bool IngestibleNow\n\t{\n\t\tget\n\t\t{\n\t\t\tif (this.IsBurning())\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn def.IsIngestible;\n\t\t}\n\t}\n\n\tpublic ThingDef Stuff => stuffInt;\n\n\tpublic Graphic DefaultGraphic\n\t{\n\t\tget\n\t\t{\n\t\t\tif (graphicInt == null)\n\t\t\t{\n\t\t\t\tif (def.graphicData == null)\n\t\t\t\t{\n\t\t\t\t\treturn BaseContent.BadGraphic;\n\t\t\t\t}\n\t\t\t\tgraphicInt = def.graphicData.GraphicColoredFor(this);\n\t\t\t}\n\t\t\treturn graphicInt;\n\t\t}\n\t}\n\n\tpublic virtual Graphic Graphic\n\t{\n\t\tget\n\t\t{\n\t\t\tThingStyleDef styleDef = StyleDef;\n\t\t\tif (styleDef?.Graphic != null)\n\t\t\t{\n\t\t\t\tif (styleGraphicInt == null)\n\t\t\t\t{\n\t\t\t\t\tif (styleDef.graphicData != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tstyleGraphicInt = styleDef.graphicData.GraphicColoredFor(this);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tstyleGraphicInt = styleDef.Graphic;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn styleGraphicInt;\n\t\t\t}\n\t\t\treturn DefaultGraphic;\n\t\t}\n\t}\n\n\tpublic virtual List<IntVec3> InteractionCells => ThingUtility.InteractionCellsWhenAt(def, Position, Rotation, Map, allowFallbackCell: true);\n\n\tpublic virtual IntVec3 InteractionCell => ThingUtility.InteractionCellWhenAt(def, Position, Rotation, Map);\n\n\tpublic float AmbientTemperature\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn GenTemperature.GetTemperatureForCell(Position, Map);\n\t\t\t}\n\t\t\tif (ParentHolder != null)\n\t\t\t{\n\t\t\t\tfor (IThingHolder parentHolder = ParentHolder; parentHolder != null; parentHolder = parentHolder.ParentHolder)\n\t\t\t\t{\n\t\t\t\t\tif (ThingOwnerUtility.TryGetFixedTemperature(parentHolder, this, out var temperature))\n\t\t\t\t\t{\n\t\t\t\t\t\treturn temperature;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (SpawnedOrAnyParentSpawned)\n\t\t\t{\n\t\t\t\treturn GenTemperature.GetTemperatureForCell(PositionHeld, MapHeld);\n\t\t\t}\n\t\t\tif (Tile.Valid)\n\t\t\t{\n\t\t\t\treturn GenTemperature.GetTemperatureAtTile(Tile);\n\t\t\t}\n\t\t\treturn 21f;\n\t\t}\n\t}\n\n\tpublic PlanetTile Tile\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn Map.Tile;\n\t\t\t}\n\t\t\tif (ParentHolder != null)\n\t\t\t{\n\t\t\t\treturn ThingOwnerUtility.GetRootTile(ParentHolder);\n\t\t\t}\n\t\t\treturn PlanetTile.Invalid;\n\t\t}\n\t}\n\n\tpublic virtual bool Suspended\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (ParentHolder != null)\n\t\t\t{\n\t\t\t\treturn ThingOwnerUtility.ContentsSuspended(ParentHolder);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool InCryptosleep\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (ParentHolder != null)\n\t\t\t{\n\t\t\t\treturn ThingOwnerUtility.ContentsInCryptosleep(ParentHolder);\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic virtual string DescriptionDetailed => def.DescriptionDetailed;\n\n\tpublic virtual string DescriptionFlavor => def.description;\n\n\tpublic bool IsOnHoldingPlatform\n\t{\n\t\tget\n\t\t{\n\t\t\tif (ModsConfig.AnomalyActive)\n\t\t\t{\n\t\t\t\treturn ParentHolder is Building_HoldingPlatform;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic TerrainAffordanceDef TerrainAffordanceNeeded => def.GetTerrainAffordanceNeed(stuffInt);\n\n\tpublic bool BeingTransportedOnGravship => beingTransportedOnGravship;\n\n\tprotected virtual int MinTickIntervalRate => 1;\n\n\tprotected virtual int MaxTickIntervalRate => 15;\n\n\tprotected virtual int UpdateRateTickOffset => this.HashOffset();\n\n\tpublic virtual int UpdateRateTicks => GenTicks.GetCameraUpdateRate(this);\n\n\tpublic Vector3? DrawPosHeld\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Spawned)\n\t\t\t{\n\t\t\t\treturn DrawPos;\n\t\t\t}\n\t\t\treturn ThingOwnerUtility.SpawnedParentOrMe(ParentHolder)?.DrawPos;\n\t\t}\n\t}\n\n\tpublic virtual Vector3 DrawPos => this.TrueCenter();\n\n\tpublic virtual Vector2 DrawSize\n\t{\n\t\tget\n\t\t{\n\t\t\tif (def.graphicData != null)\n\t\t\t{\n\t\t\t\treturn def.graphicData.drawSize;\n\t\t\t}\n\t\t\treturn Vector2.one;\n\t\t}\n\t}\n\n\tpublic virtual Color DrawColor\n\t{\n\t\tget\n\t\t{\n\t\t\tif (Stuff != null)\n\t\t\t{\n\t\t\t\treturn def.GetColorForStuff(Stuff);\n\t\t\t}\n\t\t\tif (def.graphicData != null)\n\t\t\t{\n\t\t\t\treturn def.graphicData.color;\n\t\t\t}\n\t\t\treturn Color.white;\n\t\t}\n\t\tset\n\t\t{\n\t\t\tLog.Error($\"Cannot set instance color on non-ThingWithComps {LabelCap} at {Position}.\");\n\t\t}\n\t}\n\n\tpublic virtual Color DrawColorTwo\n\t{\n\t\tget\n\t\t{\n\t\t\tif (def.graphicData != null)\n\t\t\t{\n\t\t\t\treturn def.graphicData.colorTwo;\n\t\t\t}\n\t\t\treturn Color.white;\n\t\t}\n\t}\n\n\tpublic virtual IEnumerable<DefHyperlink> DescriptionHyperlinks\n\t{\n\t\tget\n\t\t{\n\t\t\tif (def.descriptionHyperlinks != null)\n\t\t\t{\n\t\t\t\tfor (int i = 0; i < def.descriptionHyperlinks.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tyield return def.descriptionHyperlinks[i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic static int IDNumberFromThingID(string thingID)\n\t{\n\t\tstring value = Regex.Match(thingID, \"\\\\d+$\").Value;\n\t\tint result = 0;\n\t\ttry\n\t\t{\n\t\t\tCultureInfo invariantCulture = CultureInfo.InvariantCulture;\n\t\t\tresult = Convert.ToInt32(value, invariantCulture);\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tLog.Error(\"Could not convert id number from thingID=\" + thingID + \", numString=\" + value + \" Exception=\" + ex);\n\t\t}\n\t\treturn result;\n\t}\n\n\tpublic void DoTick()\n\t{\n\t\tif (Destroyed)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tif (def.tickerType == TickerType.Normal)\n\t\t{\n\t\t\tusing (ProfilerBlock.Scope(\"DoTick()\"))\n\t\t\t{\n\t\t\t\tusing (ProfilerBlock.Scope(\"Tick()\"))\n\t\t\t\t{\n\t\t\t\t\tTick();\n\t\t\t\t}\n\t\t\t\tif (Destroyed)\n\t\t\t\t{\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ttickDelta++;\n\t\t\t\tint num = Mathf.Min(Mathf.Max(UpdateRateTicks, MinTickIntervalRate), MaxTickIntervalRate);\n\t\t\t\tif (tickDelta >= num || GenTicks.IsTickInterval(UpdateRateTickOffset, num))\n\t\t\t\t{\n\t\t\t\t\tusing (ProfilerBlock.Scope(\"TickInterval()\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tTickInterval(tickDelta);\n\t\t\t\t\t}\n\t\t\t\t\ttickDelta = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (Destroyed || !(this is IThingHolder thingHolder) || this is IThingHolderTickable { ShouldTickContents: false })\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tif (tmpHolders == null)\n\t\t{\n\t\t\ttmpHolders = new List<IThingHolder>(8);\n\t\t}\n\t\ttmpHolders.Add(thingHolder);\n\t\tthingHolder.GetChildHolders(tmpHolders);\n\t\tfor (int i = 0; i < tmpHolders.Count; i++)\n\t\t{\n\t\t\tThingOwner directlyHeldThings = tmpHolders[i].GetDirectlyHeldThings();\n\t\t\tif (directlyHeldThings != null)\n\t\t\t{\n\t\t\t\tdirectlyHeldThings.DoTick();\n\t\t\t\tif (Destroyed)\n\t\t\t\t{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ttmpHolders.Clear();\n\t}\n\n\tpublic virtual void PostMake()\n\t{\n\t\tThingIDMaker.GiveIDTo(this);\n\t\tif (def.useHitPoints)\n\t\t{\n\t\t\tHitPoints = Mathf.RoundToInt((float)MaxHitPoints * Mathf.Clamp01(def.startingHpRange.RandomInRange));\n\t\t}\n\t}\n\n\tpublic virtual void PostPostMake()\n\t{\n\t\tif (!def.randomStyle.NullOrEmpty() && Rand.Chance(def.randomStyleChance))\n\t\t{\n\t\t\tStyleDef = def.randomStyle.RandomElementByWeight((ThingStyleChance x) => x.Chance).StyleDef;\n\t\t}\n\t}\n\n\tpublic virtual void PostQualitySet()\n\t{\n\t}\n\n\tpublic string GetUniqueLoadID()\n\t{\n\t\treturn \"Thing_\" + ThingID;\n\t}\n\n\tpublic override void SpawnSetup(Map map, bool respawningAfterLoad)\n\t{\n\t\tif (Destroyed)\n\t\t{\n\t\t\tLog.Error(\"Spawning destroyed thing \" + this?.ToString() + \" at \" + Position.ToString() + \". Correcting.\");\n\t\t\tmapIndexOrState = -1;\n\t\t\tif (HitPoints <= 0 && def.useHitPoints)\n\t\t\t{\n\t\t\t\tHitPoints = 1;\n\t\t\t}\n\t\t}\n\t\tif (Spawned)\n\t\t{\n\t\t\tLog.Error(\"Tried to spawn already-spawned thing \" + this?.ToString() + \" at \" + Position.ToString());\n\t\t\treturn;\n\t\t}\n\t\tint num = Find.Maps.IndexOf(map);\n\t\tif (num < 0)\n\t\t{\n\t\t\tLog.Error(\"Tried to spawn thing \" + this?.ToString() + \", but the map provided does not exist.\");\n\t\t\treturn;\n\t\t}\n\t\tif (stackCount > def.stackLimit)\n\t\t{\n\t\t\tLog.Error(\"Spawned \" + this?.ToString() + \" with stackCount \" + stackCount + \" but stackLimit is \" + def.stackLimit + \". Truncating.\");\n\t\t\tstackCount = def.stackLimit;\n\t\t}\n\t\tmapIndexOrState = (sbyte)num;\n\t\tRegionListersUpdater.RegisterInRegions(this, map);\n\t\tif (!map.spawnedThings.TryAdd(this, canMergeWithExistingStacks: false))\n\t\t{\n\t\t\tLog.Error(\"Couldn't add thing \" + this?.ToString() + \" to spawned things.\");\n\t\t}\n\t\tmap.listerThings.Add(this);\n\t\tmap.thingGrid.Register(this);\n\t\tmap.gasGrid.Notify_ThingSpawned(this);\n\t\tmap.mapTemperature.Notify_ThingSpawned(this);\n\t\tif (map.IsPlayerHome)\n\t\t{\n\t\t\tEverSeenByPlayer = true;\n\t\t}\n\t\tif (Find.TickManager != null)\n\t\t{\n\t\t\tFind.TickManager.RegisterAllTickabilityFor(this);\n\t\t}\n\t\tDirtyMapMesh(map);\n\t\tif (def.drawerType != DrawerType.MapMeshOnly)\n\t\t{\n\t\t\tmap.dynamicDrawManager.RegisterDrawable(this);\n\t\t}\n\t\tmap.tooltipGiverList.Notify_ThingSpawned(this);\n\t\tif (def.CanAffectLinker)\n\t\t{\n\t\t\tmap.linkGrid.Notify_LinkerCreatedOrDestroyed(this);\n\t\t\tmap.mapDrawer.MapMeshDirty(Position, MapMeshFlagDefOf.Things, regenAdjacentCells: true, regenAdjacentSections: false);\n\t\t}\n\t\tif (!def.CanOverlapZones)\n\t\t{\n\t\t\tmap.zoneManager.Notify_NoZoneOverlapThingSpawned(this);\n\t\t}\n\t\tif (def.AffectsRegions)\n\t\t{\n\t\t\tmap.regionDirtyer.Notify_ThingAffectingRegionsSpawned(this);\n\t\t}\n\t\tif (def.pathCost != 0 || def.passability == Traversability.Impassable)\n\t\t{\n\t\t\tmap.pathing.RecalculatePerceivedPathCostUnderThing(this);\n\t\t}\n\t\tif (def.AffectsReachability)\n\t\t{\n\t\t\tmap.reachability.ClearCache();\n\t\t}\n\t\tmap.coverGrid.Register(this);\n\t\tif (def.category == ThingCategory.Item)\n\t\t{\n\t\t\tmap.listerHaulables.Notify_Spawned(this);\n\t\t\tmap.listerMergeables.Notify_Spawned(this);\n\t\t}\n\t\tmap.attackTargetsCache.Notify_ThingSpawned(this);\n\t\tmap.regionGrid.GetValidRegionAt_NoRebuild(Position)?.Room?.Notify_ContainedThingSpawnedOrDespawned(this);\n\t\tStealAIDebugDrawer.Notify_ThingChanged(this);\n\t\tif (this is IHaulDestination haulDestination)\n\t\t{\n\t\t\tmap.haulDestinationManager.AddHaulDestination(haulDestination);\n\t\t}\n\t\tif (this is IHaulSource source)\n\t\t{\n\t\t\tmap.haulDestinationManager.AddHaulSource(source);\n\t\t}\n\t\tif (this is IThingHolder && Find.ColonistBar != null)\n\t\t{\n\t\t\tFind.ColonistBar.MarkColonistsDirty();\n\t\t}\n\t\tif (def.category == ThingCategory.Item)\n\t\t{\n\t\t\tISlotGroupParent slotGroupParent = Position.GetSlotGroup(map)?.parent;\n\t\t\tif (slotGroupParent != null)\n\t\t\t{\n\t\t\t\tslotGroupParent.Notify_ReceivedThing(this);\n\t\t\t\tGenThing.TryDirtyAdjacentGroupContainers(slotGroupParent, map);\n\t\t\t}\n\t\t}\n\t\tif (def.receivesSignals)\n\t\t{\n\t\t\tFind.SignalManager.RegisterReceiver(this);\n\t\t}\n\t\tif (!BeingTransportedOnGravship)\n\t\t{\n\t\t\tdef.soundSpawned?.PlayOneShot(this);\n\t\t\tif (!respawningAfterLoad)\n\t\t\t{\n\t\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"Spawned\", this.Named(\"SUBJECT\"));\n\t\t\t\tspawnedTick = Find.TickManager.TicksGame;\n\t\t\t\tdespawnedTick = -1;\n\t\t\t\tif (AnomalyUtility.ShouldNotifyCodex(this, EntityDiscoveryType.Spawn, out var entries))\n\t\t\t\t{\n\t\t\t\t\tFind.EntityCodex.SetDiscovered(entries, def, this);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tFind.HiddenItemsManager.SetDiscovered(def);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmap.events.Notify_ThingSpawned(this);\n\t}\n\n\tpublic bool DeSpawnOrDeselect(DestroyMode mode = DestroyMode.Vanish)\n\t{\n\t\tbool flag = Current.ProgramState == ProgramState.Playing && Find.Selector.IsSelected(this);\n\t\tif (Spawned)\n\t\t{\n\t\t\tDeSpawn(mode);\n\t\t}\n\t\telse if (flag)\n\t\t{\n\t\t\tFind.Selector.Deselect(this);\n\t\t\tFind.MainButtonsRoot.tabs.Notify_SelectedObjectDespawned();\n\t\t}\n\t\treturn flag;\n\t}\n\n\tpublic override void DeSpawn(DestroyMode mode = DestroyMode.Vanish)\n\t{\n\t\tif (Destroyed)\n\t\t{\n\t\t\tLog.Error(\"Tried to despawn \" + this.ToStringSafe() + \" which is already destroyed.\");\n\t\t\treturn;\n\t\t}\n\t\tif (!Spawned)\n\t\t{\n\t\t\tLog.Error(\"Tried to despawn \" + this.ToStringSafe() + \" which is not spawned.\");\n\t\t\treturn;\n\t\t}\n\t\tMap map = Map;\n\t\tmap.overlayDrawer.DisposeHandle(this);\n\t\tRegionListersUpdater.DeregisterInRegions(this, map);\n\t\tmap.spawnedThings.Remove(this);\n\t\tmap.listerThings.Remove(this);\n\t\tmap.thingGrid.Deregister(this);\n\t\tmap.coverGrid.DeRegister(this);\n\t\tif (def.receivesSignals)\n\t\t{\n\t\t\tFind.SignalManager.DeregisterReceiver(this);\n\t\t}\n\t\tmap.tooltipGiverList.Notify_ThingDespawned(this);\n\t\tif (def.CanAffectLinker)\n\t\t{\n\t\t\tmap.linkGrid.Notify_LinkerCreatedOrDestroyed(this);\n\t\t\tmap.mapDrawer.MapMeshDirty(Position, MapMeshFlagDefOf.Things, regenAdjacentCells: true, regenAdjacentSections: false);\n\t\t}\n\t\tif (Find.Selector.IsSelected(this))\n\t\t{\n\t\t\tFind.Selector.Deselect(this);\n\t\t\tFind.MainButtonsRoot.tabs.Notify_SelectedObjectDespawned();\n\t\t}\n\t\tDirtyMapMesh(map);\n\t\tif (def.drawerType != DrawerType.MapMeshOnly)\n\t\t{\n\t\t\tmap.dynamicDrawManager.DeRegisterDrawable(this);\n\t\t}\n\t\tmap.regionGrid.GetValidRegionAt_NoRebuild(Position)?.Room?.Notify_ContainedThingSpawnedOrDespawned(this);\n\t\tif (def.AffectsRegions)\n\t\t{\n\t\t\tmap.regionDirtyer.Notify_ThingAffectingRegionsDespawned(this);\n\t\t}\n\t\tif (def.pathCost != 0 || def.passability == Traversability.Impassable)\n\t\t{\n\t\t\tmap.pathing.RecalculatePerceivedPathCostUnderThing(this);\n\t\t}\n\t\tif (def.AffectsReachability)\n\t\t{\n\t\t\tmap.reachability.ClearCache();\n\t\t}\n\t\tFind.TickManager.DeRegisterAllTickabilityFor(this);\n\t\tmapIndexOrState = -1;\n\t\tif (def.category == ThingCategory.Item)\n\t\t{\n\t\t\tmap.listerHaulables.Notify_DeSpawned(this);\n\t\t\tmap.listerMergeables.Notify_DeSpawned(this);\n\t\t}\n\t\tmap.attackTargetsCache.Notify_ThingDespawned(this);\n\t\tmap.physicalInteractionReservationManager.ReleaseAllForTarget(this);\n\t\tif (this is IHaulEnroute thing)\n\t\t{\n\t\t\tmap.enrouteManager.Notify_ContainerDespawned(thing);\n\t\t}\n\t\tStealAIDebugDrawer.Notify_ThingChanged(this);\n\t\tif (this is IHaulDestination haulDestination)\n\t\t{\n\t\t\tmap.haulDestinationManager.RemoveHaulDestination(haulDestination);\n\t\t}\n\t\tif (this is IHaulSource source)\n\t\t{\n\t\t\tmap.haulDestinationManager.RemoveHaulSource(source);\n\t\t}\n\t\tif (this is IThingHolder && Find.ColonistBar != null)\n\t\t{\n\t\t\tFind.ColonistBar.MarkColonistsDirty();\n\t\t}\n\t\tif (def.category == ThingCategory.Item)\n\t\t{\n\t\t\tISlotGroupParent slotGroupParent = Position.GetSlotGroup(map)?.parent;\n\t\t\tif (slotGroupParent != null)\n\t\t\t{\n\t\t\t\tslotGroupParent.Notify_LostThing(this);\n\t\t\t\tGenThing.TryDirtyAdjacentGroupContainers(slotGroupParent, map);\n\t\t\t}\n\t\t}\n\t\tQuestUtility.SendQuestTargetSignals(questTags, \"Despawned\", this.Named(\"SUBJECT\"));\n\t\tspawnedTick = -1;\n\t\tdespawnedTick = Find.TickManager.TicksGame;\n\t\tmap.events.Notify_ThingDespawned(this);\n\t}\n\n\tpublic virtual void Kill(DamageInfo? dinfo = null, Hediff exactCulprit = null)\n\t{\n\t\tDestroy(DestroyMode.KillFinalize);\n\t}\n\n\tpublic virtual void Destroy(DestroyMode mode = DestroyMode.Vanish)\n\t{\n\t\tif (!allowDestroyNonDestroyable && !def.destroyable)\n\t\t{\n\t\t\tLog.Error(\"Tried to destroy non-destroyable thing \" + this);\n\t\t\treturn;\n\t\t}\n\t\tif (Destroyed)\n\t\t{\n\t\t\tLog.Error(\"Tried to destroy already-destroyed thing \" + this);\n\t\t\treturn;\n\t\t}\n\t\tbool spawned = Spawned;\n\t\tMap map = Map;\n\t\tif (StyleSourcePrecept != null)\n\t\t{\n\t\t\tStyleSourcePrecept.Notify_ThingLost(this, spawned);\n\t\t}\n\t\tif (Spawned)\n\t\t{\n\t\t\tDeSpawn(mode);\n\t\t}\n\t\telse if (Current.ProgramState == ProgramState.Playing && Find.Selector.IsSelected(this))\n\t\t{\n\t\t\tFind.Selector.Deselect(this);\n\t\t\tFind.MainButtonsRoot.tabs.Notify_SelectedObjectDespawned();\n\t\t}\n\t\tmapIndexOrState = -2;\n\t\tif (def.DiscardOnDestroyed)\n\t\t{\n\t\t\tDiscard();\n\t\t}\n\t\tCompExplosive compExplosive = this.TryGetComp<CompExplosive>();\n\t\tif (spawned)\n\t\t{\n\t\t\tList<Thing> list = new List<Thing>();\n\t\t\tGenLeaving.DoLeavingsFor(this, map, mode, list);\n\t\t\tcompExplosive?.AddThingsIgnoredByExplosion(list);\n\t\t\tNotify_KilledLeavingsLeft(list);\n\t\t}\n\t\tif (holdingOwner != null)\n\t\t{\n\t\t\tholdingOwner.Notify_ContainedItemDestroyed(this);\n\t\t}\n\t\tRemoveAllReservationsAndDesignationsOnThis();\n\t\tif (!(this is Pawn))\n\t\t{\n\t\t\tstackCount = 0;\n\t\t}\n\t\tif (mode != DestroyMode.QuestLogic)\n\t\t{\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"Destroyed\", this.Named(\"SUBJECT\"));\n\t\t}\n\t\tif (mode == DestroyMode.KillFinalize)\n\t\t{\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"Killed\", this.Named(\"SUBJECT\"), map.Named(\"MAP\"));\n\t\t}\n\t}\n\n\tpublic virtual void PreTraded(TradeAction action, Pawn playerNegotiator, ITrader trader)\n\t{\n\t}\n\n\tpublic virtual void PostGeneratedForTrader(TraderKindDef trader, PlanetTile forTile, Faction forFaction)\n\t{\n\t\tif (def.colorGeneratorInTraderStock != null)\n\t\t{\n\t\t\tthis.SetColor(def.colorGeneratorInTraderStock.NewRandomizedColor());\n\t\t}\n\t}\n\n\tpublic virtual float GetBeauty(bool outside)\n\t{\n\t\tif (!outside || !def.StatBaseDefined(StatDefOf.BeautyOutdoors))\n\t\t{\n\t\t\treturn this.GetStatValue(StatDefOf.Beauty);\n\t\t}\n\t\treturn this.GetStatValue(StatDefOf.BeautyOutdoors);\n\t}\n\n\tpublic virtual void Notify_MyMapRemoved()\n\t{\n\t\tif (def.receivesSignals)\n\t\t{\n\t\t\tFind.SignalManager.DeregisterReceiver(this);\n\t\t}\n\t\tif (StyleSourcePrecept != null)\n\t\t{\n\t\t\tStyleSourcePrecept.Notify_ThingLost(this);\n\t\t}\n\t\tif (!ThingOwnerUtility.AnyParentIs<Pawn>(this))\n\t\t{\n\t\t\tmapIndexOrState = -3;\n\t\t}\n\t\tThingOwner thingOwner = holdingOwner;\n\t\tif (thingOwner != null && thingOwner.Owner is Map)\n\t\t{\n\t\t\tholdingOwner = null;\n\t\t}\n\t\tRemoveAllReservationsAndDesignationsOnThis();\n\t}\n\n\tpublic virtual void Notify_LordDestroyed()\n\t{\n\t}\n\n\tpublic virtual void Notify_AbandonedAtTile(PlanetTile tile)\n\t{\n\t}\n\n\tpublic virtual void Notify_KilledLeavingsLeft(List<Thing> leavings)\n\t{\n\t}\n\n\tpublic virtual void Notify_Studied(Pawn studier, float amount, KnowledgeCategoryDef category = null)\n\t{\n\t}\n\n\tpublic virtual void Notify_Unfogged()\n\t{\n\t\tif (!beenRevealed)\n\t\t{\n\t\t\tbeenRevealed = true;\n\t\t\tif (ModsConfig.AnomalyActive && AnomalyUtility.ShouldNotifyCodex(this, EntityDiscoveryType.Unfog, out var entries))\n\t\t\t{\n\t\t\t\tFind.EntityCodex.SetDiscovered(entries, def, this);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tFind.HiddenItemsManager.SetDiscovered(def);\n\t\t\t}\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"Unfogged\", this);\n\t\t\tCompLetterOnRevealed compLetterOnRevealed = this.TryGetComp<CompLetterOnRevealed>();\n\t\t\tif (compLetterOnRevealed != null)\n\t\t\t{\n\t\t\t\tFind.LetterStack.ReceiveLetter(compLetterOnRevealed.Props.label, compLetterOnRevealed.Props.text, compLetterOnRevealed.Props.letterDef, this);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic void ForceSetStateToUnspawned()\n\t{\n\t\tmapIndexOrState = -1;\n\t}\n\n\tpublic void DecrementMapIndex()\n\t{\n\t\tif (mapIndexOrState <= 0)\n\t\t{\n\t\t\tLog.Warning(\"Tried to decrement map index for \" + this?.ToString() + \", but mapIndexOrState=\" + mapIndexOrState);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmapIndexOrState--;\n\t\t}\n\t}\n\n\tprivate void RemoveAllReservationsAndDesignationsOnThis()\n\t{\n\t\tif (def.category == ThingCategory.Mote)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tList<Map> maps = Find.Maps;\n\t\tfor (int i = 0; i < maps.Count; i++)\n\t\t{\n\t\t\tmaps[i].reservationManager.ReleaseAllForTarget(this);\n\t\t\tmaps[i].physicalInteractionReservationManager.ReleaseAllForTarget(this);\n\t\t\tif (this is IAttackTarget target)\n\t\t\t{\n\t\t\t\tmaps[i].attackTargetReservationManager.ReleaseAllForTarget(target);\n\t\t\t}\n\t\t\tmaps[i].designationManager.RemoveAllDesignationsOn(this);\n\t\t}\n\t}\n\n\tpublic virtual void ExposeData()\n\t{\n\t\tScribe_Defs.Look(ref def, \"def\");\n\t\tScribe_Values.Look(ref tickDelta, \"tickDelta\", 0);\n\t\tif (def.HasThingIDNumber)\n\t\t{\n\t\t\tstring value = ThingID;\n\t\t\tScribe_Values.Look(ref value, \"id\");\n\t\t\tif (Scribe.mode != LoadSaveMode.Saving)\n\t\t\t{\n\t\t\t\tThingID = value;\n\t\t\t}\n\t\t}\n\t\tScribe_Values.Look<sbyte>(ref mapIndexOrState, \"map\", -1);\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars && mapIndexOrState >= 0)\n\t\t{\n\t\t\tmapIndexOrState = -1;\n\t\t}\n\t\tScribe_Values.Look(ref positionInt, \"pos\", IntVec3.Invalid);\n\t\tScribe_Values.Look(ref rotationInt, \"rot\", Rot4.North);\n\t\tScribe_Values.Look(ref debugRotLocked, \"debugRotLocked\", defaultValue: false);\n\t\tif (def.useHitPoints)\n\t\t{\n\t\t\tScribe_Values.Look(ref hitPointsInt, \"health\", -1);\n\t\t}\n\t\tbool flag = def.tradeability != 0 && def.category == ThingCategory.Item;\n\t\tif (def.stackLimit > 1 || flag)\n\t\t{\n\t\t\tScribe_Values.Look(ref stackCount, \"stackCount\", 0, forceSave: true);\n\t\t}\n\t\tScribe_Defs.Look(ref stuffInt, \"stuff\");\n\t\tstring facID = ((factionInt != null) ? factionInt.GetUniqueLoadID() : \"null\");\n\t\tScribe_Values.Look(ref facID, \"faction\", \"null\");\n\t\tif (Scribe.mode == LoadSaveMode.LoadingVars)\n\t\t{\n\t\t\tif (facID == \"null\")\n\t\t\t{\n\t\t\t\tfactionInt = null;\n\t\t\t}\n\t\t\telse if (Find.World != null && Find.FactionManager != null)\n\t\t\t{\n\t\t\t\tfactionInt = Find.FactionManager.AllFactions.FirstOrDefault((Faction fa) => fa.GetUniqueLoadID() == facID);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfacIDsCached.SetOrAdd(this, facID);\n\t\t\t}\n\t\t}\n\t\tif (Scribe.mode == LoadSaveMode.ResolvingCrossRefs)\n\t\t{\n\t\t\tif (facID == \"null\" && facIDsCached.TryGetValue(this, out facID))\n\t\t\t{\n\t\t\t\tfacIDsCached.Remove(this);\n\t\t\t}\n\t\t\tif (facID != \"null\")\n\t\t\t{\n\t\t\t\tfactionInt = Find.FactionManager.AllFactions.FirstOrDefault((Faction fa) => fa.GetUniqueLoadID() == facID);\n\t\t\t}\n\t\t}\n\t\tif (Scribe.mode == LoadSaveMode.PostLoadInit)\n\t\t{\n\t\t\tfacIDsCached.Clear();\n\t\t}\n\t\tScribe_Collections.Look(ref questTags, \"questTags\", LookMode.Value);\n\t\tScribe_Values.Look(ref overrideGraphicIndex, \"overrideGraphicIndex\");\n\t\tScribe_Values.Look(ref spawnedTick, \"spawnedTick\", -1);\n\t\tScribe_Values.Look(ref despawnedTick, \"despawnedTick\", 0);\n\t\tScribe_Values.Look(ref beenRevealed, \"beenRevealed\", defaultValue: false);\n\t\tBackCompatibility.PostExposeData(this);\n\t}\n\n\tpublic virtual void PostMapInit()\n\t{\n\t}\n\n\tpublic void DrawNowAt(Vector3 drawLoc, bool flip = false)\n\t{\n\t\tDynamicDrawPhaseAt(DrawPhase.Draw, drawLoc, flip);\n\t}\n\n\tpublic void DynamicDrawPhase(DrawPhase phase)\n\t{\n\t\tif (def.drawerType != DrawerType.MapMeshOnly)\n\t\t{\n\t\t\tDynamicDrawPhaseAt(phase, DrawPos);\n\t\t}\n\t}\n\n\tpublic virtual void DynamicDrawPhaseAt(DrawPhase phase, Vector3 drawLoc, bool flip = false)\n\t{\n\t\tif (phase == DrawPhase.Draw)\n\t\t{\n\t\t\tDrawAt(drawLoc, flip);\n\t\t}\n\t}\n\n\tprotected virtual void DrawAt(Vector3 drawLoc, bool flip = false)\n\t{\n\t\tif (def.drawerType == DrawerType.RealtimeOnly || !Spawned)\n\t\t{\n\t\t\tGraphic.Draw(drawLoc, flip ? Rotation.Opposite : Rotation, this);\n\t\t}\n\t\tSilhouetteUtility.DrawGraphicSilhouette(this, drawLoc);\n\t}\n\n\tpublic virtual void Print(SectionLayer layer)\n\t{\n\t\tif (!def.dontPrint)\n\t\t{\n\t\t\tGraphic.Print(layer, this, 0f);\n\t\t}\n\t}\n\n\tpublic void DirtyMapMesh(Map map)\n\t{\n\t\tif (def.drawerType == DrawerType.RealtimeOnly)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (IntVec3 item in this.OccupiedRect())\n\t\t{\n\t\t\tmap.mapDrawer.MapMeshDirty(item, MapMeshFlagDefOf.Things);\n\t\t}\n\t}\n\n\tpublic virtual void DrawGUIOverlay()\n\t{\n\t\tif (Find.CameraDriver.CurrentZoom == CameraZoomRange.Closest)\n\t\t{\n\t\t\tQualityCategory qc;\n\t\t\tif (def.stackLimit > 1)\n\t\t\t{\n\t\t\t\tGenMapUI.DrawThingLabel(this, stackCount.ToStringCached());\n\t\t\t}\n\t\t\telse if (def.drawGUIOverlayQuality && this.TryGetQuality(out qc))\n\t\t\t{\n\t\t\t\tGenMapUI.DrawThingLabel(this, qc.GetLabelShort());\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic virtual void DrawExtraSelectionOverlays()\n\t{\n\t\tif (def.specialDisplayRadius > 0.1f)\n\t\t{\n\t\t\tGenDraw.DrawRadiusRing(Position, def.specialDisplayRadius);\n\t\t}\n\t\tif (def.drawPlaceWorkersWhileSelected && def.PlaceWorkers != null)\n\t\t{\n\t\t\tfor (int i = 0; i < def.PlaceWorkers.Count; i++)\n\t\t\t{\n\t\t\t\tdef.PlaceWorkers[i].DrawGhost(def, Position, Rotation, Color.white, this);\n\t\t\t}\n\t\t}\n\t\tGenDraw.DrawInteractionCells(def, Position, rotationInt);\n\t}\n\n\tpublic virtual string GetInspectString()\n\t{\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tQuestUtility.AppendInspectStringsFromQuestParts(stringBuilder, this);\n\t\treturn stringBuilder.ToString();\n\t}\n\n\tpublic virtual string GetInspectStringLowPriority()\n\t{\n\t\tstring result = null;\n\t\ttmpDeteriorationReasons.Clear();\n\t\tfloat f = SteadyEnvironmentEffects.FinalDeteriorationRate(this, tmpDeteriorationReasons);\n\t\tif (tmpDeteriorationReasons.Count != 0)\n\t\t{\n\t\t\tresult = string.Format(\"{0}: {1} ({2})\", \"DeterioratingBecauseOf\".Translate(), tmpDeteriorationReasons.ToCommaList().CapitalizeFirst(), \"PerDay\".Translate(f.ToStringByStyle(ToStringStyle.FloatMaxTwo)));\n\t\t}\n\t\treturn result;\n\t}\n\n\tpublic virtual IEnumerable<Gizmo> GetGizmos()\n\t{\n\t\tGizmo gizmo = ContainingSelectionUtility.SelectContainingThingGizmo(this);\n\t\tif (gizmo != null)\n\t\t{\n\t\t\tyield return gizmo;\n\t\t}\n\t\tshowingGizmosForRitualsTmp.Clear();\n\t\tforeach (Ideo ideo in Faction.OfPlayer.ideos.AllIdeos)\n\t\t{\n\t\t\tfor (int i = 0; i < ideo.PreceptsListForReading.Count; i++)\n\t\t\t{\n\t\t\t\tPrecept precept = ideo.PreceptsListForReading[i];\n\t\t\t\tif (!(precept is Precept_Ritual ritual) || (precept.def.mergeRitualGizmosFromAllIdeos && showingGizmosForRitualsTmp.Contains(ritual.sourcePattern)) || !ritual.ShouldShowGizmo(this))\n\t\t\t\t{\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tforeach (Gizmo item in ritual.GetGizmoFor(this))\n\t\t\t\t{\n\t\t\t\t\tyield return item;\n\t\t\t\t\tshowingGizmosForRitualsTmp.Add(ritual.sourcePattern);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tList<LordJob_Ritual> activeRituals = Find.IdeoManager.GetActiveRituals(MapHeld);\n\t\tforeach (LordJob_Ritual item2 in activeRituals)\n\t\t{\n\t\t\tif (item2.selectedTarget == this)\n\t\t\t{\n\t\t\t\tyield return item2.GetCancelGizmo();\n\t\t\t}\n\t\t}\n\t\tif (ModsConfig.AnomalyActive)\n\t\t{\n\t\t\tGizmo gizmo2 = AnomalyUtility.OpenCodexGizmo(this);\n\t\t\tif (gizmo2 != null)\n\t\t\t{\n\t\t\t\tyield return gizmo2;\n\t\t\t}\n\t\t}\n\t\tif (DebugSettings.ShowDevGizmos && this.HasAttachment(ThingDefOf.Fire))\n\t\t{\n\t\t\tyield return new Command_Action\n\t\t\t{\n\t\t\t\tdefaultLabel = \"DEV: Extinguish\",\n\t\t\t\taction = delegate\n\t\t\t\t{\n\t\t\t\t\tthis.GetAttachment(ThingDefOf.Fire)?.Destroy();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\tpublic virtual IEnumerable<FloatMenuOption> GetFloatMenuOptions(Pawn selPawn)\n\t{\n\t\treturn Enumerable.Empty<FloatMenuOption>();\n\t}\n\n\tpublic virtual IEnumerable<FloatMenuOption> GetMultiSelectFloatMenuOptions(IEnumerable<Pawn> selPawns)\n\t{\n\t\treturn Enumerable.Empty<FloatMenuOption>();\n\t}\n\n\tpublic virtual IEnumerable<InspectTabBase> GetInspectTabs()\n\t{\n\t\treturn def.inspectorTabsResolved;\n\t}\n\n\tpublic virtual string GetCustomLabelNoCount(bool includeHp = true)\n\t{\n\t\treturn GenLabel.ThingLabel(this, 1, includeHp);\n\t}\n\n\tpublic DamageWorker.DamageResult TakeDamage(DamageInfo dinfo)\n\t{\n\t\tif (Destroyed)\n\t\t{\n\t\t\treturn new DamageWorker.DamageResult();\n\t\t}\n\t\tif (dinfo.Amount == 0f)\n\t\t{\n\t\t\treturn new DamageWorker.DamageResult();\n\t\t}\n\t\tif (def.damageMultipliers != null)\n\t\t{\n\t\t\tfor (int i = 0; i < def.damageMultipliers.Count; i++)\n\t\t\t{\n\t\t\t\tif (def.damageMultipliers[i].damageDef == dinfo.Def)\n\t\t\t\t{\n\t\t\t\t\tint num = Mathf.RoundToInt(dinfo.Amount * def.damageMultipliers[i].multiplier);\n\t\t\t\t\tdinfo.SetAmount(num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tPreApplyDamage(ref dinfo, out var absorbed);\n\t\tif (absorbed)\n\t\t{\n\t\t\treturn new DamageWorker.DamageResult();\n\t\t}\n\t\tbool spawnedOrAnyParentSpawned = SpawnedOrAnyParentSpawned;\n\t\tMap mapHeld = MapHeld;\n\t\tDamageWorker.DamageResult damageResult = dinfo.Def.Worker.Apply(dinfo, this);\n\t\tif (dinfo.Def.harmsHealth && spawnedOrAnyParentSpawned)\n\t\t{\n\t\t\tmapHeld.damageWatcher.Notify_DamageTaken(this, damageResult.totalDamageDealt);\n\t\t}\n\t\tif (dinfo.Instigator is Pawn pawn)\n\t\t{\n\t\t\tforeach (Hediff hediff in pawn.health.hediffSet.hediffs)\n\t\t\t{\n\t\t\t\thediff.Notify_PawnDamagedThing(this, dinfo, damageResult);\n\t\t\t}\n\t\t}\n\t\tif (dinfo.Def.ExternalViolenceFor(this))\n\t\t{\n\t\t\tif (dinfo.SpawnFilth)\n\t\t\t{\n\t\t\t\tGenLeaving.DropFilthDueToDamage(this, damageResult.totalDamageDealt);\n\t\t\t}\n\t\t\tif (dinfo.Instigator != null)\n\t\t\t{\n\t\t\t\tif (dinfo.Instigator is Pawn pawn2)\n\t\t\t\t{\n\t\t\t\t\tpawn2.records.AddTo(RecordDefOf.DamageDealt, damageResult.totalDamageDealt);\n\t\t\t\t}\n\t\t\t\tif (dinfo.Instigator.Faction == Faction.OfPlayer)\n\t\t\t\t{\n\t\t\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"TookDamageFromPlayer\", this.Named(\"SUBJECT\"), dinfo.Instigator.Named(\"INSTIGATOR\"));\n\t\t\t\t}\n\t\t\t}\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"TookDamage\", this.Named(\"SUBJECT\"), dinfo.Instigator.Named(\"INSTIGATOR\"), mapHeld.Named(\"MAP\"));\n\t\t}\n\t\tif (!Destroyed && FlammableNow && dinfo.Def.igniteChanceByTargetFlammability != null && Rand.Chance(dinfo.Def.igniteChanceByTargetFlammability.Evaluate(this.GetStatValue(StatDefOf.Flammability))))\n\t\t{\n\t\t\tthis.TryAttachFire(Rand.Range(0.55f, 0.85f), dinfo.Instigator);\n\t\t}\n\t\tPostApplyDamage(dinfo, damageResult.totalDamageDealt);\n\t\treturn damageResult;\n\t}\n\n\tpublic virtual void PreApplyDamage(ref DamageInfo dinfo, out bool absorbed)\n\t{\n\t\tabsorbed = false;\n\t}\n\n\tpublic virtual void PostApplyDamage(DamageInfo dinfo, float totalDamageDealt)\n\t{\n\t}\n\n\tpublic virtual bool CanStackWith(Thing other)\n\t{\n\t\tif (Destroyed || other.Destroyed)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (def.category != ThingCategory.Item)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (this.IsRelic() || other.IsRelic())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (def == other.def)\n\t\t{\n\t\t\treturn Stuff == other.Stuff;\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic virtual bool TryAbsorbStack(Thing other, bool respectStackLimit)\n\t{\n\t\tif (!CanStackWith(other))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tint num = ThingUtility.TryAbsorbStackNumToTake(this, other, respectStackLimit);\n\t\tif (def.useHitPoints)\n\t\t{\n\t\t\tHitPoints = Mathf.CeilToInt((float)(HitPoints * stackCount + other.HitPoints * num) / (float)(stackCount + num));\n\t\t}\n\t\tstackCount += num;\n\t\tother.stackCount -= num;\n\t\tif (Map != null)\n\t\t{\n\t\t\tDirtyMapMesh(Map);\n\t\t}\n\t\tStealAIDebugDrawer.Notify_ThingChanged(this);\n\t\tif (Spawned)\n\t\t{\n\t\t\tMap.listerMergeables.Notify_ThingStackChanged(this);\n\t\t}\n\t\tif (other.stackCount <= 0)\n\t\t{\n\t\t\tother.Destroy();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic virtual Thing SplitOff(int count)\n\t{\n\t\tif (count <= 0)\n\t\t{\n\t\t\tthrow new ArgumentException(\"SplitOff with count <= 0\", \"count\");\n\t\t}\n\t\tif (count >= stackCount)\n\t\t{\n\t\t\tif (count > stackCount)\n\t\t\t{\n\t\t\t\tLog.Error(\"Tried to split off \" + count + \" of \" + this?.ToString() + \" but there are only \" + stackCount);\n\t\t\t}\n\t\t\tDeSpawnOrDeselect();\n\t\t\tholdingOwner?.Remove(this);\n\t\t\treturn this;\n\t\t}\n\t\tThing thing = ThingMaker.MakeThing(def, Stuff);\n\t\tthing.stackCount = count;\n\t\tstackCount -= count;\n\t\tif (Map != null)\n\t\t{\n\t\t\tDirtyMapMesh(Map);\n\t\t}\n\t\tif (Spawned)\n\t\t{\n\t\t\tMap.listerMergeables.Notify_ThingStackChanged(this);\n\t\t}\n\t\tif (def.useHitPoints)\n\t\t{\n\t\t\tthing.HitPoints = HitPoints;\n\t\t}\n\t\treturn thing;\n\t}\n\n\tpublic virtual IEnumerable<StatDrawEntry> SpecialDisplayStats()\n\t{\n\t\tif (Stuff != null)\n\t\t{\n\t\t\tyield return new StatDrawEntry(StatCategoryDefOf.BasicsImportant, \"Stat_Stuff_Name\".Translate(), Stuff.LabelCap, \"Stat_Stuff_Desc\".Translate(), 1100, null, new Dialog_InfoCard.Hyperlink[1]\n\t\t\t{\n\t\t\t\tnew Dialog_InfoCard.Hyperlink(Stuff)\n\t\t\t});\n\t\t}\n\t\tif (!ModsConfig.IdeologyActive || Find.IdeoManager.classicMode)\n\t\t{\n\t\t\tyield break;\n\t\t}\n\t\ttmpIdeoNames.Clear();\n\t\tStyleCategoryDef styleCategoryDef = StyleDef?.Category ?? def.dominantStyleCategory;\n\t\tif (styleCategoryDef == null)\n\t\t{\n\t\t\tyield break;\n\t\t}\n\t\tforeach (Ideo item in Find.IdeoManager.IdeosListForReading)\n\t\t{\n\t\t\tif (IdeoUtility.ThingSatisfiesIdeo(this, item))\n\t\t\t{\n\t\t\t\ttmpIdeoNames.Add(item.name.Colorize(item.Color));\n\t\t\t}\n\t\t}\n\t\tyield return new StatDrawEntry(StatCategoryDefOf.BasicsNonPawn, \"Stat_Thing_StyleDominanceCategory\".Translate(), styleCategoryDef.LabelCap, \"Stat_Thing_StyleDominanceCategoryDesc\".Translate() + \"\\n\\n\" + \"Stat_Thing_IdeosSatisfied\".Translate() + \":\" + \"\\n\" + tmpIdeoNames.ToLineList(\" - \"), 6005);\n\t}\n\n\tpublic virtual void Notify_ColorChanged()\n\t{\n\t\tgraphicInt = null;\n\t\tstyleGraphicInt = null;\n\t\tif (Spawned && (def.drawerType == DrawerType.MapMeshOnly || def.drawerType == DrawerType.MapMeshAndRealTime))\n\t\t{\n\t\t\tMap.mapDrawer.MapMeshDirty(Position, MapMeshFlagDefOf.Things);\n\t\t}\n\t}\n\n\tpublic virtual void Notify_Equipped(Pawn pawn)\n\t{\n\t}\n\n\tpublic virtual void Notify_Unequipped(Pawn pawn)\n\t{\n\t}\n\n\tpublic virtual void Notify_UsedVerb(Pawn pawn, Verb verb)\n\t{\n\t}\n\n\tpublic virtual void Notify_UsedWeapon(Pawn pawn)\n\t{\n\t}\n\n\tpublic virtual void Notify_DebugSpawned()\n\t{\n\t}\n\n\tpublic virtual void Notify_RecipeProduced(Pawn pawn)\n\t{\n\t}\n\n\tpublic virtual void Notify_SignalReceived(Signal signal)\n\t{\n\t}\n\n\tpublic virtual void Notify_Explosion(Explosion explosion)\n\t{\n\t}\n\n\tpublic virtual void Notify_BulletImpactNearby(BulletImpactData impactData)\n\t{\n\t}\n\n\tpublic virtual void Notify_ThingSelected()\n\t{\n\t}\n\n\tpublic virtual TipSignal GetTooltip()\n\t{\n\t\tstring text = LabelCap;\n\t\tif (def.useHitPoints)\n\t\t{\n\t\t\ttext = text + \"\\n\" + HitPoints + \" / \" + MaxHitPoints;\n\t\t}\n\t\treturn new TipSignal(text, thingIDNumber * 251235);\n\t}\n\n\tpublic virtual bool BlocksPawn(Pawn p)\n\t{\n\t\tif (def.passability == Traversability.Impassable)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\tif (def.IsFence && p.def.race.FenceBlocked)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic void SetFactionDirect(Faction newFaction)\n\t{\n\t\tif (!def.CanHaveFaction)\n\t\t{\n\t\t\tLog.Error(\"Tried to SetFactionDirect on \" + this?.ToString() + \" which cannot have a faction.\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfactionInt = newFaction;\n\t\t}\n\t}\n\n\tpublic virtual void SetFaction(Faction newFaction, Pawn recruiter = null)\n\t{\n\t\tif (!def.CanHaveFaction)\n\t\t{\n\t\t\tLog.Error(\"Tried to SetFaction on \" + this?.ToString() + \" which cannot have a faction.\");\n\t\t\treturn;\n\t\t}\n\t\tFaction previous = factionInt;\n\t\tfactionInt = newFaction;\n\t\tif (Spawned && this is IAttackTarget t)\n\t\t{\n\t\t\tMap.attackTargetsCache.UpdateTarget(t);\n\t\t}\n\t\tQuestUtility.SendQuestTargetSignals(questTags, \"ChangedFaction\", this.Named(\"SUBJECT\"), newFaction.Named(\"FACTION\"));\n\t\tif (newFaction != Faction.OfPlayer)\n\t\t{\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"ChangedFactionToNonPlayer\", this.Named(\"SUBJECT\"), newFaction.Named(\"FACTION\"));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tQuestUtility.SendQuestTargetSignals(questTags, \"ChangedFactionToPlayer\", this.Named(\"SUBJECT\"), newFaction.Named(\"FACTION\"));\n\t\t}\n\t\tif (Spawned)\n\t\t{\n\t\t\tMap.events.Notify_ThingFactionChanged(previous, factionInt);\n\t\t}\n\t}\n\n\tpublic virtual AcceptanceReport ClaimableBy(Faction by)\n\t{\n\t\treturn false;\n\t}\n\n\tpublic virtual bool AdoptableBy(Faction by, StringBuilder reason = null)\n\t{\n\t\treturn false;\n\t}\n\n\tpublic bool FactionPreventsClaimingOrAdopting(Faction faction, bool forClaim, out string reason)\n\t{\n\t\treason = null;\n\t\tif (faction == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (faction == Faction.OfInsects)\n\t\t{\n\t\t\tif (HiveUtility.AnyHivePreventsClaiming(this))\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse if (faction == Faction.OfMechanoids)\n\t\t{\n\t\t\tforeach (IAttackTarget item in MapHeld.attackTargetsCache.TargetsHostileToFaction(Faction.OfPlayer))\n\t\t\t{\n\t\t\t\tif (item.Thing == null || item.Thing.Faction != faction)\n\t\t\t\t{\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (item.Thing is Pawn pawn)\n\t\t\t\t{\n\t\t\t\t\tif (GenHostility.IsActiveThreatToPlayer(pawn))\n\t\t\t\t\t{\n\t\t\t\t\t\tif (forClaim)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treason = \"MessageCannotClaimWhenPawnThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), pawn.Named(\"THREAT\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treason = \"MessageCannotAdoptWhilePawnThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), pawn.Named(\"THREAT\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (forClaim)\n\t\t\t\t{\n\t\t\t\t\treason = \"MessageCannotClaimWhenThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), item.Named(\"THREAT\"));\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\treason = \"MessageCannotAdoptWhileThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), item.Named(\"THREAT\"));\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (faction == Faction.OfAncients && Spawned && !Map.IsPlayerHome && GenHostility.AnyHostileActiveThreatToPlayer(Map, countDormantPawnsAsHostile: true, canBeFogged: true))\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (Spawned && faction != Faction.OfPlayer)\n\t\t\t{\n\t\t\t\tList<Pawn> list = Map.mapPawns.SpawnedPawnsInFaction(faction);\n\t\t\t\tfor (int i = 0; i < list.Count; i++)\n\t\t\t\t{\n\t\t\t\t\tif (list[i].RaceProps.ToolUser && GenHostility.IsPotentialThreat(list[i]))\n\t\t\t\t\t{\n\t\t\t\t\t\tif (forClaim)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treason = \"MessageCannotClaimWhenThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), list[i].Named(\"THREAT\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\treason = \"MessageCannotAdoptWhileThreatsAreNear\".Translate(this.Named(\"CLAIMABLE\"), list[i].Named(\"THREAT\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic void SetPositionDirect(IntVec3 newPos)\n\t{\n\t\tpositionInt = newPos;\n\t}\n\n\tpublic void SetStuffDirect(ThingDef newStuff)\n\t{\n\t\tstuffInt = newStuff;\n\t}\n\n\tpublic override string ToString()\n\t{\n\t\tif (def != null)\n\t\t{\n\t\t\treturn ThingID;\n\t\t}\n\t\treturn GetType().ToString();\n\t}\n\n\tpublic bool Equals(Thing other)\n\t{\n\t\tif (other == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (def.category == ThingCategory.Mote)\n\t\t{\n\t\t\treturn this == other;\n\t\t}\n\t\tif (thingIDNumber == other.thingIDNumber)\n\t\t{\n\t\t\treturn def.Equals(other.def);\n\t\t}\n\t\treturn false;\n\t}\n\n\tpublic override int GetHashCode()\n\t{\n\t\tif (thingIDNumber == -1)\n\t\t{\n\t\t\treturn base.GetHashCode();\n\t\t}\n\t\treturn thingIDNumber;\n\t}\n\n\tpublic virtual void Discard(bool silentlyRemoveReferences = false)\n\t{\n\t\tif (mapIndexOrState != -2)\n\t\t{\n\t\t\tLog.Warning(\"Tried to discard \" + this?.ToString() + \" whose state is \" + mapIndexOrState + \".\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmapIndexOrState = -3;\n\t\t}\n\t}\n\n\tpublic virtual void Notify_DefsHotReloaded()\n\t{\n\t\tgraphicInt = null;\n\t}\n\n\tpublic virtual IEnumerable<Thing> ButcherProducts(Pawn butcher, float efficiency)\n\t{\n\t\tif (def.butcherProducts == null)\n\t\t{\n\t\t\tyield break;\n\t\t}\n\t\tfor (int i = 0; i < def.butcherProducts.Count; i++)\n\t\t{\n\t\t\tThingDefCountClass thingDefCountClass = def.butcherProducts[i];\n\t\t\tint num = GenMath.RoundRandom((float)thingDefCountClass.count * efficiency);\n\t\t\tif (num > 0)\n\t\t\t{\n\t\t\t\tThing thing = ThingMaker.MakeThing(thingDefCountClass.thingDef);\n\t\t\t\tthing.stackCount = num;\n\t\t\t\tyield return thing;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic virtual IEnumerable<Thing> SmeltProducts(float efficiency)\n\t{\n\t\tList<ThingDefCountClass> costListAdj = def.CostListAdjusted(Stuff);\n\t\tfor (int i = 0; i < costListAdj.Count; i++)\n\t\t{\n\t\t\tif (!costListAdj[i].thingDef.intricate && costListAdj[i].thingDef.smeltable)\n\t\t\t{\n\t\t\t\tint num = GenMath.RoundRandom((float)costListAdj[i].count * 0.25f);\n\t\t\t\tif (num > 0)\n\t\t\t\t{\n\t\t\t\t\tThing thing = ThingMaker.MakeThing(costListAdj[i].thingDef);\n\t\t\t\t\tthing.stackCount = num;\n\t\t\t\t\tyield return thing;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (def.smeltProducts != null)\n\t\t{\n\t\t\tfor (int i = 0; i < def.smeltProducts.Count; i++)\n\t\t\t{\n\t\t\t\tThingDefCountClass thingDefCountClass = def.smeltProducts[i];\n\t\t\t\tThing thing2 = ThingMaker.MakeThing(thingDefCountClass.thingDef);\n\t\t\t\tthing2.stackCount = thingDefCountClass.count;\n\t\t\t\tyield return thing2;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic float Ingested(Pawn ingester, float nutritionWanted)\n\t{\n\t\tif (Destroyed)\n\t\t{\n\t\t\tLog.Error(ingester?.ToString() + \" ingested destroyed thing \" + this);\n\t\t\treturn 0f;\n\t\t}\n\t\tif (!IngestibleNow)\n\t\t{\n\t\t\tLog.Error(ingester?.ToString() + \" ingested IngestibleNow=false thing \" + this);\n\t\t\treturn 0f;\n\t\t}\n\t\tingester.mindState.lastIngestTick = Find.TickManager.TicksGame;\n\t\tif (ingester.needs.mood != null)\n\t\t{\n\t\t\tList<FoodUtility.ThoughtFromIngesting> list = FoodUtility.ThoughtsFromIngesting(ingester, this, def);\n\t\t\tfor (int i = 0; i < list.Count; i++)\n\t\t\t{\n\t\t\t\tThought_Memory thought_Memory = ThoughtMaker.MakeThought(list[i].thought, list[i].fromPrecept);\n\t\t\t\tif (thought_Memory is Thought_FoodEaten thought_FoodEaten)\n\t\t\t\t{\n\t\t\t\t\tthought_FoodEaten.SetFood(this);\n\t\t\t\t}\n\t\t\t\tingester.needs.mood.thoughts.memories.TryGainMemory(thought_Memory);\n\t\t\t}\n\t\t}\n\t\tingester.needs.drugsDesire?.Notify_IngestedDrug(this);\n\t\tbool flag = FoodUtility.IsHumanlikeCorpseOrHumanlikeMeat(this, def);\n\t\tbool flag2 = FoodUtility.IsHumanlikeCorpseOrHumanlikeMeatOrIngredient(this);\n\t\tif (flag && ingester.IsColonist)\n\t\t{\n\t\t\tTaleRecorder.RecordTale(TaleDefOf.AteRawHumanlikeMeat, ingester);\n\t\t}\n\t\tif (flag2)\n\t\t{\n\t\t\tingester.mindState.lastHumanMeatIngestedTick = Find.TickManager.TicksGame;\n\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteHumanMeat, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\tif (flag)\n\t\t\t{\n\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteHumanMeatDirect, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t}\n\t\t}\n\t\telse if (ModsConfig.IdeologyActive && !FoodUtility.AcceptableCannibalNonHumanlikeMeatFood(def))\n\t\t{\n\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteNonCannibalFood, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t}\n\t\tif (def.ingestible.ateEvent != null)\n\t\t{\n\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(def.ingestible.ateEvent, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t}\n\t\tif (ModsConfig.IdeologyActive)\n\t\t{\n\t\t\tFoodKind foodKind = FoodUtility.GetFoodKind(this);\n\t\t\tif (foodKind != FoodKind.Any && !def.IsProcessedFood)\n\t\t\t{\n\t\t\t\tif (foodKind == FoodKind.Meat)\n\t\t\t\t{\n\t\t\t\t\tif (!flag2)\n\t\t\t\t\t{\n\t\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteMeat, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (!def.IsDrug && def.ingestible.CachedNutrition > 0f)\n\t\t\t\t{\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteNonMeat, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (FoodUtility.IsVeneratedAnimalMeatOrCorpseOrHasIngredients(this, ingester))\n\t\t\t{\n\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteVeneratedAnimalMeat, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t}\n\t\t\tif (def.thingCategories != null && def.thingCategories.Contains(ThingCategoryDefOf.PlantFoodRaw))\n\t\t\t{\n\t\t\t\tif (def.IsFungus)\n\t\t\t\t{\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteFungus, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteNonFungusPlant, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tCompIngredients compIngredients = this.TryGetComp<CompIngredients>();\n\t\tif (compIngredients != null)\n\t\t{\n\t\t\tbool flag3 = false;\n\t\t\tbool flag4 = false;\n\t\t\tbool flag5 = false;\n\t\t\tbool flag6 = false;\n\t\t\tbool flag7 = false;\n\t\t\tfor (int j = 0; j < compIngredients.ingredients.Count; j++)\n\t\t\t{\n\t\t\t\tif (!flag3 && FoodUtility.GetMeatSourceCategory(compIngredients.ingredients[j]) == MeatSourceCategory.Humanlike)\n\t\t\t\t{\n\t\t\t\t\tingester.mindState.lastHumanMeatIngestedTick = Find.TickManager.TicksGame;\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteHumanMeatAsIngredient, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t\tflag3 = true;\n\t\t\t\t}\n\t\t\t\telse if (!flag4 && ingester.Ideo != null && compIngredients.ingredients[j].IsMeat && ingester.Ideo.IsVeneratedAnimal(compIngredients.ingredients[j].ingestible.sourceDef))\n\t\t\t\t{\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteVeneratedAnimalMeat, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t\tflag4 = true;\n\t\t\t\t}\n\t\t\t\tif (!flag5 && FoodUtility.GetMeatSourceCategory(compIngredients.ingredients[j]) == MeatSourceCategory.Insect)\n\t\t\t\t{\n\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteInsectMeatAsIngredient, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t\tflag5 = true;\n\t\t\t\t}\n\t\t\t\tif (ModsConfig.IdeologyActive && !flag6 && compIngredients.ingredients[j].thingCategories.Contains(ThingCategoryDefOf.PlantFoodRaw))\n\t\t\t\t{\n\t\t\t\t\tif (compIngredients.ingredients[j].IsFungus)\n\t\t\t\t\t{\n\t\t\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteFungusAsIngredient, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t\t\t\tflag6 = true;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tflag7 = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (ModsConfig.IdeologyActive && !flag6 && flag7)\n\t\t\t{\n\t\t\t\tFind.HistoryEventsManager.RecordEvent(new HistoryEvent(HistoryEventDefOf.AteNonFungusMealWithPlants, ingester.Named(HistoryEventArgsNames.Doer)), canApplySelfTookThoughts: false);\n\t\t\t}\n\t\t}\n\t\tIngestedCalculateAmounts(ingester, nutritionWanted, out var numTaken, out var nutritionIngested);\n\t\tif (!ingester.Dead && ingester.needs.joy != null && Mathf.Abs(def.ingestible.joy) > 0.0001f && numTaken > 0)\n\t\t{\n\t\t\tingester.needs.joy.GainJoy((float)numTaken * def.ingestible.joy, def.ingestible.joyKind ?? JoyKindDefOf.Gluttonous);\n\t\t}\n\t\tfloat poisonChanceOverride;\n\t\tfloat chance = (FoodUtility.TryGetFoodPoisoningChanceOverrideFromTraits(ingester, this, out poisonChanceOverride) ? poisonChanceOverride : (this.GetStatValue(StatDefOf.FoodPoisonChanceFixedHuman) * FoodUtility.GetFoodPoisonChanceFactor(ingester)));\n\t\tif (ingester.RaceProps.Humanlike && Rand.Chance(chance))\n\t\t{\n\t\t\tFoodUtility.AddFoodPoisoningHediff(ingester, this, FoodPoisonCause.DangerousFoodType);\n\t\t}\n\t\tList<Hediff> hediffs = ingester.health.hediffSet.hediffs;\n\t\tfor (int k = 0; k < hediffs.Count; k++)\n\t\t{\n\t\t\thediffs[k].Notify_IngestedThing(this, numTaken);\n\t\t}\n\t\tingester.genes?.Notify_IngestedThing(this, numTaken);\n\t\tbool flag8 = false;\n\t\tif (numTaken > 0)\n\t\t{\n\t\t\tif (stackCount == 0)\n\t\t\t{\n\t\t\t\tLog.Error(this?.ToString() + \" stack count is 0.\");\n\t\t\t}\n\t\t\tif (numTaken == stackCount)\n\t\t\t{\n\t\t\t\tflag8 = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSplitOff(numTaken);\n\t\t\t}\n\t\t}\n\t\tPrePostIngested(ingester);\n\t\tif (flag8)\n\t\t{\n\t\t\tingester.carryTracker.innerContainer.Remove(this);\n\t\t}\n\t\tif (def.ingestible.outcomeDoers != null)\n\t\t{\n\t\t\tfor (int l = 0; l < def.ingestible.outcomeDoers.Count; l++)\n\t\t\t{\n\t\t\t\tdef.ingestible.outcomeDoers[l].DoIngestionOutcome(ingester, this, numTaken);\n\t\t\t}\n\t\t}\n\t\tif (flag8 && !Destroyed)\n\t\t{\n\t\t\tDestroy();\n\t\t}\n\t\tPostIngested(ingester);\n\t\treturn nutritionIngested;\n\t}\n\n\tprotected virtual void PrePostIngested(Pawn ingester)\n\t{\n\t}\n\n\tprotected virtual void PostIngested(Pawn ingester)\n\t{\n\t}\n\n\tprotected virtual void IngestedCalculateAmounts(Pawn ingester, float nutritionWanted, out int numTaken, out float nutritionIngested)\n\t{\n\t\tfloat num = FoodUtility.NutritionForEater(ingester, this);\n\t\tnumTaken = Mathf.CeilToInt(nutritionWanted / num);\n\t\tnumTaken = Mathf.Min(numTaken, stackCount);\n\t\tif (def.ingestible.maxNumToIngestAtOnce > 0)\n\t\t{\n\t\t\tnumTaken = Mathf.Min(numTaken, def.ingestible.maxNumToIngestAtOnce);\n\t\t}\n\t\tnumTaken = Mathf.Max(numTaken, 1);\n\t\tnutritionIngested = (float)numTaken * num;\n\t}\n\n\tpublic virtual bool PreventPlayerSellingThingsNearby(out string reason)\n\t{\n\t\treason = null;\n\t\treturn false;\n\t}\n\n\tpublic virtual void PreSwapMap()\n\t{\n\t\tbeingTransportedOnGravship = true;\n\t}\n\n\tpublic virtual void PostSwapMap()\n\t{\n\t\tbeingTransportedOnGravship = false;\n\t\tQuestUtility.SendQuestTargetSignals(questTags, \"SwappedMap\", this.Named(\"SUBJECT\"));\n\t}\n\n\tpublic void Notify_LeftBehind()\n\t{\n\t\tQuestUtility.SendQuestTargetSignals(questTags, \"LeftBehind\", this.Named(\"SUBJECT\"));\n\t\tif (!(this is IThingHolder thingHolder) || thingHolder.GetDirectlyHeldThings() == null)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tforeach (Thing item in (IEnumerable<Thing>)thingHolder.GetDirectlyHeldThings())\n\t\t{\n\t\t\titem.Notify_LeftBehind();\n\t\t}\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-25 14:10:31,694"
|
|
},
|
|
"MapPortal": {
|
|
"keywords": [
|
|
"MapPortal"
|
|
],
|
|
"question": "MapPortal class definition",
|
|
"embedding": [
|
|
-0.004828896373510361,
|
|
0.044337302446365356,
|
|
0.01690523698925972,
|
|
-0.03522060811519623,
|
|
-0.003080573631450534,
|
|
0.00954301469027996,
|
|
-0.020119035616517067,
|
|
0.042238496243953705,
|
|
0.028497867286205292,
|
|
0.07752469182014465,
|
|
0.04843653738498688,
|
|
-0.0265138391405344,
|
|
-0.04653449356555939,
|
|
0.0222342386841774,
|
|
-0.00924786925315857,
|
|
0.03735221177339554,
|
|
-0.0023529597092419863,
|
|
-0.09300339967012405,
|
|
-0.06053747236728668,
|
|
0.02067653089761734,
|
|
0.003947561141103506,
|
|
0.03761456161737442,
|
|
0.04168099910020828,
|
|
-0.04633772745728493,
|
|
0.004304194822907448,
|
|
0.0005006188293918967,
|
|
0.01136307418346405,
|
|
0.017741480842232704,
|
|
0.027546845376491547,
|
|
-0.01890566200017929,
|
|
-0.009001915343105793,
|
|
-0.009116694331169128,
|
|
0.03535178676247597,
|
|
-0.03177725523710251,
|
|
0.051748715341091156,
|
|
0.00955941155552864,
|
|
-0.025382449850440025,
|
|
0.018118608742952347,
|
|
0.0207913089543581,
|
|
0.005185529589653015,
|
|
-0.03349893167614937,
|
|
0.002933001145720482,
|
|
-0.017610304057598114,
|
|
0.010912158526480198,
|
|
-0.010469441302120686,
|
|
0.006845719181001186,
|
|
0.015560688450932503,
|
|
-0.029563667252659798,
|
|
-0.061029378324747086,
|
|
-0.015905024483799934,
|
|
-0.012863392941653728,
|
|
0.022283431142568588,
|
|
0.03243312984704971,
|
|
0.013174934312701225,
|
|
0.01875809021294117,
|
|
0.015626275911927223,
|
|
0.028973378241062164,
|
|
-0.0341712050139904,
|
|
0.005070751067250967,
|
|
0.03456473350524902,
|
|
0.01906963251531124,
|
|
-0.005070751067250967,
|
|
-0.0457802340388298,
|
|
-0.00038891471922397614,
|
|
0.016569100320339203,
|
|
-0.010641608387231827,
|
|
-0.00427959905937314,
|
|
0.000527776253875345,
|
|
-0.02100447006523609,
|
|
-0.03574531152844429,
|
|
0.03394164890050888,
|
|
0.036761920899152756,
|
|
-0.021758727729320526,
|
|
0.031301744282245636,
|
|
-0.014814628288149834,
|
|
0.013388094492256641,
|
|
-0.01142866164445877,
|
|
-0.03640118986368179,
|
|
-0.01872529648244381,
|
|
-0.026907365769147873,
|
|
-0.02085689641535282,
|
|
0.022267034277319908,
|
|
-0.01895485259592533,
|
|
-0.013757025822997093,
|
|
-0.0028100241906940937,
|
|
0.05263414978981018,
|
|
0.0419105589389801,
|
|
-0.007776245009154081,
|
|
0.00847721379250288,
|
|
0.02033219486474991,
|
|
0.040926743298769,
|
|
-0.010576020926237106,
|
|
0.012527256272733212,
|
|
-0.016454320400953293,
|
|
0.02789118140935898,
|
|
0.014429300092160702,
|
|
-0.023873932659626007,
|
|
-0.04709198698401451,
|
|
0.01702001504600048,
|
|
0.04017248377203941,
|
|
-0.04013969004154205,
|
|
-0.025644801557064056,
|
|
-0.06634198874235153,
|
|
0.0024185474030673504,
|
|
-0.031137773767113686,
|
|
0.01506058219820261,
|
|
-0.03931984305381775,
|
|
0.030727850273251534,
|
|
-0.011928767897188663,
|
|
-0.015396718867123127,
|
|
0.01890566200017929,
|
|
-0.055651187896728516,
|
|
-0.0064644902013242245,
|
|
0.08021379262208939,
|
|
-0.012806003913283348,
|
|
0.03768014907836914,
|
|
0.032941434532403946,
|
|
0.008854343555867672,
|
|
0.0025415243580937386,
|
|
0.04295996204018593,
|
|
0.023168863728642464,
|
|
0.01407676562666893,
|
|
0.011149914003908634,
|
|
-0.025448037311434746,
|
|
-0.0132569195702672,
|
|
0.04440288990736008,
|
|
-0.017987433820962906,
|
|
-0.0035007449332624674,
|
|
-0.028874997049570084,
|
|
0.004304194822907448,
|
|
-0.01406036876142025,
|
|
-0.007099871523678303,
|
|
0.0032937335781753063,
|
|
0.002031169831752777,
|
|
-0.0279567688703537,
|
|
-0.03564693033695221,
|
|
0.03213798627257347,
|
|
-0.04384539648890495,
|
|
-0.0680144727230072,
|
|
-0.005587254650890827,
|
|
-0.08919931203126907,
|
|
0.009895548224449158,
|
|
-0.008846145123243332,
|
|
0.003756946884095669,
|
|
0.006214437074959278,
|
|
0.006144750397652388,
|
|
-0.01900404319167137,
|
|
-0.021906301379203796,
|
|
-0.008095985278487206,
|
|
-0.004357484634965658,
|
|
-0.0066653527319431305,
|
|
0.006370208226144314,
|
|
-0.02831750176846981,
|
|
0.04699360579252243,
|
|
0.01405217032879591,
|
|
-0.05502810329198837,
|
|
0.009969334118068218,
|
|
-0.04459965601563454,
|
|
-0.004759209230542183,
|
|
-0.05827469378709793,
|
|
-0.029694844037294388,
|
|
0.004078736994415522,
|
|
-0.023775551468133926,
|
|
-0.04305834323167801,
|
|
0.005128140561282635,
|
|
0.003418760374188423,
|
|
0.01854492910206318,
|
|
0.04564905911684036,
|
|
-0.022267034277319908,
|
|
-0.05289650335907936,
|
|
0.01867610588669777,
|
|
-0.01726596988737583,
|
|
-0.014355514198541641,
|
|
-0.010084113106131554,
|
|
0.08336199820041656,
|
|
-0.05210945010185242,
|
|
0.009411838836967945,
|
|
0.06034070998430252,
|
|
0.025726785883307457,
|
|
-0.05981600657105446,
|
|
0.014568673446774483,
|
|
0.009977532550692558,
|
|
0.09254427999258041,
|
|
-0.01705280877649784,
|
|
0.019282791763544083,
|
|
-0.030481895431876183,
|
|
-0.04650169983506203,
|
|
0.04692801833152771,
|
|
-0.006710444111377001,
|
|
0.0012625637464225292,
|
|
0.03561413660645485,
|
|
-0.019676318392157555,
|
|
-0.011281088925898075,
|
|
0.010059517808258533,
|
|
-0.0633249506354332,
|
|
-0.025743182748556137,
|
|
0.0068703144788742065,
|
|
-0.023611580953001976,
|
|
-0.034728702157735825,
|
|
-0.03781132400035858,
|
|
0.012863392941653728,
|
|
0.0170856025069952,
|
|
0.010862966999411583,
|
|
0.012625637464225292,
|
|
0.04361584037542343,
|
|
0.004664927255362272,
|
|
0.01406036876142025,
|
|
-0.02090608887374401,
|
|
0.014945803210139275,
|
|
-0.0074974969029426575,
|
|
0.02082410268485546,
|
|
0.01402757503092289,
|
|
0.00839522946625948,
|
|
-0.017364351078867912,
|
|
-0.031268950551748276,
|
|
-0.02816992811858654,
|
|
-0.012879789806902409,
|
|
-0.025661198422312737,
|
|
0.011764798313379288,
|
|
-0.007349924650043249,
|
|
-0.04374701529741287,
|
|
0.049617115408182144,
|
|
0.02830110490322113,
|
|
0.004146374296396971,
|
|
0.029120950028300285,
|
|
0.051584746688604355,
|
|
0.00612015463411808,
|
|
0.011830386705696583,
|
|
0.003224046668037772,
|
|
0.011887775734066963,
|
|
0.001663263770751655,
|
|
0.008731366135179996,
|
|
-0.006821123417466879,
|
|
0.06411200016736984,
|
|
0.023841138929128647,
|
|
-0.0076983594335615635,
|
|
-0.007727053947746754,
|
|
-0.015257344581186771,
|
|
-0.013470079749822617,
|
|
0.0003492034156806767,
|
|
-0.004751010797917843,
|
|
0.03909028694033623,
|
|
0.0012851095525547862,
|
|
0.004832995589822531,
|
|
0.022070270031690598,
|
|
-0.060996584594249725,
|
|
-0.015281940810382366,
|
|
0.030990201979875565,
|
|
0.0712282732129097,
|
|
-0.047879040241241455,
|
|
0.04905961826443672,
|
|
-0.008714969269931316,
|
|
0.01895485259592533,
|
|
0.011723806150257587,
|
|
0.04843653738498688,
|
|
-0.013174934312701225,
|
|
-0.011699210852384567,
|
|
-0.003918866626918316,
|
|
0.05214224383234978,
|
|
-0.002838718704879284,
|
|
-0.005464277695864439,
|
|
0.014667055569589138,
|
|
-0.01902044005692005,
|
|
0.017479129135608673,
|
|
-0.0227261483669281,
|
|
-0.010018525645136833,
|
|
0.00664075743407011,
|
|
0.04476362466812134,
|
|
-0.018184198066592216,
|
|
-0.06253790110349655,
|
|
-0.013699636794626713,
|
|
0.0419105589389801,
|
|
0.02098807319998741,
|
|
-0.023267246782779694,
|
|
-0.03725383058190346,
|
|
-0.03522060811519623,
|
|
0.012650232762098312,
|
|
-0.006017673760652542,
|
|
0.0048944843001663685,
|
|
-0.030826231464743614,
|
|
-0.012018950656056404,
|
|
-0.003041630843654275,
|
|
-0.012478064745664597,
|
|
0.03643398359417915,
|
|
-0.004927278030663729,
|
|
0.017364351078867912,
|
|
0.02423466555774212,
|
|
0.022168651223182678,
|
|
0.015650872141122818,
|
|
-0.027841990813612938,
|
|
0.036663539707660675,
|
|
-0.010116906836628914,
|
|
0.0170036181807518,
|
|
-0.002180791925638914,
|
|
-0.00925606768578291,
|
|
0.03410561755299568,
|
|
-0.03764735534787178,
|
|
0.04348466172814369,
|
|
-0.01893845573067665,
|
|
0.00477970577776432,
|
|
-0.053749144077301025,
|
|
0.006915405858308077,
|
|
-0.0037630959413945675,
|
|
0.027415670454502106,
|
|
0.04856771230697632,
|
|
-0.015511497855186462,
|
|
-0.006443994119763374,
|
|
-0.1269778460264206,
|
|
0.07699999213218689,
|
|
-0.10133303701877594,
|
|
0.03218717873096466,
|
|
0.0013189282035455108,
|
|
-0.03895910829305649,
|
|
0.028858600184321404,
|
|
0.006427597254514694,
|
|
-0.04154982417821884,
|
|
-0.006218536291271448,
|
|
0.018200594931840897,
|
|
-0.008608389645814896,
|
|
0.024808557704091072,
|
|
-0.0340072363615036,
|
|
0.0008879963424988091,
|
|
0.06594845652580261,
|
|
0.007349924650043249,
|
|
0.04499318078160286,
|
|
-0.01893845573067665,
|
|
0.005345399957150221,
|
|
0.005718430038541555,
|
|
-0.008391129784286022,
|
|
-0.03800808638334274,
|
|
0.0034966457169502974,
|
|
0.019938668236136436,
|
|
-0.013388094492256641,
|
|
0.04063159599900246,
|
|
-0.04722316190600395,
|
|
0.027481257915496826,
|
|
0.026759792119264603,
|
|
0.01895485259592533,
|
|
0.0008726242231205106,
|
|
-0.03225276619195938,
|
|
0.020283004269003868,
|
|
0.05470016598701477,
|
|
0.021758727729320526,
|
|
-0.008665778674185276,
|
|
0.03879513964056969,
|
|
0.05824190005660057,
|
|
0.053322821855545044,
|
|
0.038532789796590805,
|
|
0.0207913089543581,
|
|
0.013847208581864834,
|
|
-0.06388244777917862,
|
|
0.0004988253931514919,
|
|
0.046009790152311325,
|
|
0.04112350568175316,
|
|
0.02033219486474991,
|
|
-0.01898764632642269,
|
|
0.027120525017380714,
|
|
0.004861690104007721,
|
|
-0.055224865674972534,
|
|
-0.00427959905937314,
|
|
-0.005517567507922649,
|
|
0.015191757120192051,
|
|
-0.0025661198887974024,
|
|
0.047682277858257294,
|
|
0.04738713428378105,
|
|
0.015544291585683823,
|
|
-0.04837094992399216,
|
|
0.01410136092454195,
|
|
-0.0676865354180336,
|
|
0.024956129491329193,
|
|
-0.009157686494290829,
|
|
-0.03131813928484917,
|
|
0.012806003913283348,
|
|
0.0316624753177166,
|
|
-0.05417546257376671,
|
|
0.05460178107023239,
|
|
0.007300734054297209,
|
|
0.006538276560604572,
|
|
0.01715118996798992,
|
|
0.030908215790987015,
|
|
-0.011026936583220959,
|
|
-0.0014787983382120728,
|
|
-0.04197614639997482,
|
|
-0.05227341875433922,
|
|
-0.008714969269931316,
|
|
-0.026776188984513283,
|
|
-0.0024021505378186703,
|
|
-0.0068621160462498665,
|
|
0.02443142794072628,
|
|
-0.06237392872571945,
|
|
0.018331769853830338,
|
|
0.00848541222512722,
|
|
0.014806429855525494,
|
|
0.0009694686159491539,
|
|
0.008928129449486732,
|
|
0.0013875903096050024,
|
|
0.0006174469599500299,
|
|
0.002326314803212881,
|
|
0.033138200640678406,
|
|
-0.025070909410715103,
|
|
0.008739564567804337,
|
|
-0.0057389261201024055,
|
|
0.06558772921562195,
|
|
-0.015724657103419304,
|
|
0.03564693033695221,
|
|
0.01142866164445877,
|
|
-0.0013732430525124073,
|
|
0.007362222298979759,
|
|
-0.015240947715938091,
|
|
-0.008243557065725327,
|
|
-0.016421526670455933,
|
|
0.00306417653337121,
|
|
0.04292716830968857,
|
|
0.0016089489217847586,
|
|
-0.047715071588754654,
|
|
0.016036199405789375,
|
|
0.014248933643102646,
|
|
-0.0018712998135015368,
|
|
0.01887286826968193,
|
|
-0.0023017192725092173,
|
|
0.0036052754148840904,
|
|
0.01724957302212715,
|
|
-0.021955491974949837,
|
|
-0.02420187182724476,
|
|
-0.0036483174189925194,
|
|
0.0725400298833847,
|
|
-0.005743025336414576,
|
|
0.005066651850938797,
|
|
0.019479554146528244,
|
|
0.004714117851108313,
|
|
0.03512222692370415,
|
|
0.0024820854887366295,
|
|
-0.008780556730926037,
|
|
0.05273253098130226,
|
|
0.019200807437300682,
|
|
-0.03003917820751667,
|
|
0.027727210894227028,
|
|
-0.0244150310754776,
|
|
-0.02989160642027855,
|
|
-0.010936753824353218,
|
|
-0.06499743461608887,
|
|
-0.007759848143905401,
|
|
-0.010010327212512493,
|
|
-0.021397996693849564,
|
|
-0.04896123707294464,
|
|
-0.07194973528385162,
|
|
0.030727850273251534,
|
|
0.010141502134501934,
|
|
0.04204173386096954,
|
|
0.02466098591685295,
|
|
0.011781195178627968,
|
|
0.011904172599315643,
|
|
0.06168525665998459,
|
|
-0.0028633142355829477,
|
|
0.03361371159553528,
|
|
0.04128747433423996,
|
|
-0.03146571293473244,
|
|
-0.03356451913714409,
|
|
-0.007202352397143841,
|
|
0.027743607759475708,
|
|
0.03912308067083359,
|
|
-0.019463157281279564,
|
|
-0.012978171929717064,
|
|
-0.02607112191617489,
|
|
-0.004746911581605673,
|
|
0.007522092666476965,
|
|
0.011789393611252308,
|
|
-0.009141289629042149,
|
|
-0.07837733626365662,
|
|
-0.05296209082007408,
|
|
-0.03525340184569359,
|
|
0.036663539707660675,
|
|
0.06148849427700043,
|
|
0.0035417373292148113,
|
|
0.02238181233406067,
|
|
-0.05279812216758728,
|
|
-0.036532364785671234,
|
|
0.031301744282245636,
|
|
0.009444632567465305,
|
|
0.04066438972949982,
|
|
-0.026972953230142593,
|
|
0.012469866313040257,
|
|
0.011559836566448212,
|
|
-0.009411838836967945,
|
|
-0.09195399284362793,
|
|
-0.0802793800830841,
|
|
0.012535454705357552,
|
|
-0.05620868131518364,
|
|
0.04115629941225052,
|
|
0.009747975505888462,
|
|
-0.05420825630426407,
|
|
-0.00926426611840725,
|
|
-0.00607506325468421,
|
|
0.023988710716366768,
|
|
-0.044337302446365356,
|
|
0.0013445484219118953,
|
|
0.034761495888233185,
|
|
0.03518781438469887,
|
|
0.023267246782779694,
|
|
-0.008300947025418282,
|
|
0.03397444263100624,
|
|
0.013748827390372753,
|
|
0.005968483164906502,
|
|
-0.018167801201343536,
|
|
-0.05791396275162697,
|
|
0.0045911408960819244,
|
|
-0.03718824312090874,
|
|
0.0009115669527091086,
|
|
-0.05663500353693962,
|
|
-0.004886285867542028,
|
|
0.04095953702926636,
|
|
0.038663964718580246,
|
|
0.034400761127471924,
|
|
-0.009198678657412529,
|
|
-0.014339116401970387,
|
|
0.01038745604455471,
|
|
0.0414186492562294,
|
|
0.03528619557619095,
|
|
-0.014175147749483585,
|
|
-0.025628404691815376,
|
|
-0.029465286061167717,
|
|
-0.0017339754849672318,
|
|
-0.011592631228268147,
|
|
-0.0132569195702672,
|
|
-0.047813452780246735,
|
|
0.049879465252161026,
|
|
0.007149062119424343,
|
|
0.01607719250023365,
|
|
0.0265958234667778,
|
|
0.00043067566002719104,
|
|
-0.019938668236136436,
|
|
0.05240459367632866,
|
|
-0.042238496243953705,
|
|
-0.02270974963903427,
|
|
0.02592354826629162,
|
|
-0.004328790120780468,
|
|
-0.0004760234151035547,
|
|
0.015191757120192051,
|
|
0.03548296168446541,
|
|
0.09851276874542236,
|
|
-0.01667567901313305,
|
|
-0.03587648645043373,
|
|
0.0003909643564838916,
|
|
0.005468376912176609,
|
|
0.027563242241740227,
|
|
-0.019971463829278946,
|
|
0.025907151401042938,
|
|
-0.017807068303227425,
|
|
-0.02034859172999859,
|
|
-0.013912796974182129,
|
|
0.003256840631365776,
|
|
0.0012164473300799727,
|
|
0.016380535438656807,
|
|
-0.04004130885004997,
|
|
0.014806429855525494,
|
|
-0.022037476301193237,
|
|
0.00841162633150816,
|
|
0.057323671877384186,
|
|
0.018069418147206306,
|
|
0.006985093001276255,
|
|
0.01323232427239418,
|
|
-0.022955704480409622,
|
|
-0.031055789440870285,
|
|
0.011740203015506268,
|
|
-0.01888926513493061,
|
|
0.018216991797089577,
|
|
-0.003756946884095669,
|
|
-0.030514689162373543,
|
|
-0.03358091786503792,
|
|
0.011518844403326511,
|
|
-0.055487215518951416,
|
|
0.02254578098654747,
|
|
-0.025300465524196625,
|
|
-0.006796528119593859,
|
|
0.047846246510744095,
|
|
0.06814564764499664,
|
|
-0.047846246510744095,
|
|
0.011732004582881927,
|
|
0.034400761127471924,
|
|
0.004345186986029148,
|
|
-0.009846357628703117,
|
|
0.029694844037294388,
|
|
-0.040238071233034134,
|
|
-0.0457802340388298,
|
|
-0.019381172955036163,
|
|
0.02246379666030407,
|
|
0.01682325266301632,
|
|
-0.016249358654022217,
|
|
-0.006222635507583618,
|
|
-0.0728679671883583,
|
|
0.029366904869675636,
|
|
0.006911306641995907,
|
|
-0.04912520945072174,
|
|
-0.0074933976866304874,
|
|
-0.034794289618730545,
|
|
0.04440288990736008,
|
|
0.010772784240543842,
|
|
-0.014503085985779762,
|
|
0.016733068972826004,
|
|
0.0018405555747449398,
|
|
0.004150473512709141,
|
|
0.0005656941211782396,
|
|
-0.025234878063201904,
|
|
0.005583155434578657,
|
|
-0.02462819218635559,
|
|
0.0037712943740189075,
|
|
0.01395378913730383,
|
|
0.03225276619195938,
|
|
0.025841563940048218,
|
|
-0.01627395488321781,
|
|
-0.042697612196207047,
|
|
0.023185262456536293,
|
|
-0.06020953506231308,
|
|
-0.0020219467114657164,
|
|
0.030678659677505493,
|
|
0.008382931351661682,
|
|
0.010477639734745026,
|
|
0.04099233075976372,
|
|
-0.004035694990307093,
|
|
0.010584219358861446,
|
|
0.03143291920423508,
|
|
-0.015790244564414024,
|
|
0.03340055048465729,
|
|
-0.023218056187033653,
|
|
0.03800808638334274,
|
|
0.03535178676247597,
|
|
0.06788329780101776,
|
|
-0.011674615554511547,
|
|
-0.01222391240298748,
|
|
-0.005800414830446243,
|
|
-0.012043545953929424,
|
|
0.007681962568312883,
|
|
-0.013740628957748413,
|
|
0.04328789934515953,
|
|
0.04905961826443672,
|
|
-0.007198253180831671,
|
|
-0.014757238328456879,
|
|
0.00427549984306097,
|
|
0.017479129135608673,
|
|
-0.033007021993398666,
|
|
-0.005960284732282162,
|
|
-0.02236541546881199,
|
|
0.02828470803797245,
|
|
-0.01706920564174652,
|
|
-0.040238071233034134,
|
|
-0.02284092642366886,
|
|
-0.044107746332883835,
|
|
-0.031301744282245636,
|
|
-0.005017461255192757,
|
|
0.006398902740329504,
|
|
0.030514689162373543,
|
|
0.048239775002002716,
|
|
0.03604045510292053,
|
|
-0.011018738150596619,
|
|
-0.02218504808843136,
|
|
-0.015823038294911385,
|
|
-0.03361371159553528,
|
|
-0.03577810525894165,
|
|
-0.0009868902852758765,
|
|
-0.04391098394989967,
|
|
-0.036565158516168594,
|
|
0.002383704064413905,
|
|
0.01620836742222309,
|
|
0.026808982715010643,
|
|
-0.038434408605098724,
|
|
0.03325297683477402,
|
|
0.015437711030244827,
|
|
-0.019249998033046722,
|
|
-0.010059517808258533,
|
|
0.002838718704879284,
|
|
0.0016468667890876532,
|
|
-0.02846507355570793,
|
|
0.00030206222436390817,
|
|
0.00424680532887578,
|
|
-0.0009412863873876631,
|
|
-0.04194335266947746,
|
|
-0.08395229279994965,
|
|
-0.014839223586022854,
|
|
0.05476575344800949,
|
|
-0.019512349739670753,
|
|
0.04256643354892731,
|
|
0.06503023207187653,
|
|
-0.02789118140935898,
|
|
-0.0281207375228405,
|
|
-0.01687244325876236,
|
|
-0.020102638751268387,
|
|
-0.009870952926576138,
|
|
-0.007304833270609379,
|
|
-0.06548934429883957,
|
|
0.030957406386733055,
|
|
0.011961561627686024,
|
|
-0.026907365769147873,
|
|
0.09483985602855682,
|
|
-0.01869250275194645,
|
|
-0.027169715613126755,
|
|
-0.028842203319072723,
|
|
-0.025562817230820656,
|
|
-0.04377980902791023,
|
|
0.0037487484514713287,
|
|
0.014617864973843098,
|
|
0.01898764632642269,
|
|
-0.04679684340953827,
|
|
-0.002229982754215598,
|
|
-0.019791096448898315,
|
|
0.017823465168476105,
|
|
-0.014544078148901463,
|
|
0.03141652047634125,
|
|
-0.025021718814969063,
|
|
0.008100084029138088,
|
|
0.030744247138500214,
|
|
0.032613497227430344,
|
|
0.02229982800781727,
|
|
0.06470229476690292,
|
|
-0.0024103489704430103,
|
|
0.014453895390033722,
|
|
0.03407282382249832,
|
|
0.007755748927593231,
|
|
-0.0373850055038929,
|
|
-0.032875847071409225,
|
|
0.00018856472161132842,
|
|
0.017364351078867912,
|
|
-0.008169771172106266,
|
|
0.019873080775141716,
|
|
0.014306322671473026,
|
|
0.005271613597869873,
|
|
0.017725083976984024,
|
|
0.02626788429915905,
|
|
-0.012748614884912968,
|
|
0.016495313495397568,
|
|
0.08368994295597076,
|
|
-0.023103276267647743,
|
|
-0.057159703224897385,
|
|
-0.03620442375540733,
|
|
-0.07536029815673828,
|
|
-0.042140115052461624,
|
|
-0.018233388662338257,
|
|
0.009108495898544788,
|
|
-0.027514051645994186,
|
|
-0.025103703141212463,
|
|
-0.01400297973304987,
|
|
-0.013707835227251053,
|
|
-0.018216991797089577,
|
|
0.04309113696217537,
|
|
-0.02434944361448288,
|
|
0.0314985066652298,
|
|
-0.03928704932332039,
|
|
-0.04686243087053299,
|
|
0.1089412122964859,
|
|
0.0191024262458086,
|
|
-0.045616265386343,
|
|
0.04466524347662926,
|
|
0.055388834327459335,
|
|
0.08093525469303131,
|
|
0.009338052943348885,
|
|
0.05424105003476143,
|
|
-0.011469653807580471,
|
|
0.059422481805086136,
|
|
-0.00211930344812572,
|
|
-0.0025374251417815685,
|
|
0.020069845020771027,
|
|
0.037057064473629,
|
|
0.0036134738475084305,
|
|
0.009174083359539509,
|
|
0.000812160549685359,
|
|
-0.0380408801138401,
|
|
0.02610391564667225,
|
|
0.01141226477921009,
|
|
0.019446760416030884,
|
|
-0.04273040592670441,
|
|
0.04538670554757118,
|
|
-0.03905749320983887,
|
|
-0.007977107539772987,
|
|
0.03745059296488762,
|
|
0.0412546806037426,
|
|
0.0184465479105711,
|
|
0.019479554146528244,
|
|
-0.03708985820412636,
|
|
0.0191024262458086,
|
|
0.011633623391389847,
|
|
0.013174934312701225,
|
|
0.004009049851447344,
|
|
0.031104980036616325,
|
|
-0.05069931223988533,
|
|
-0.003211749019101262,
|
|
0.02259497158229351,
|
|
-0.012010752223432064,
|
|
-0.027612432837486267,
|
|
0.02056175284087658,
|
|
-0.005919292569160461,
|
|
0.03715544566512108,
|
|
0.023955916985869408,
|
|
-0.013494675047695637,
|
|
0.047879040241241455,
|
|
0.014125957153737545,
|
|
-0.025415243580937386,
|
|
-0.0070629785768687725,
|
|
0.020086241886019707,
|
|
0.05099445953965187,
|
|
0.010133303701877594,
|
|
0.025612007826566696,
|
|
0.002242280403152108,
|
|
-0.07621294260025024,
|
|
0.021725933998823166,
|
|
-0.03879513964056969,
|
|
0.02082410268485546,
|
|
0.0063620093278586864,
|
|
-0.0023734557908028364,
|
|
-0.013166735880076885,
|
|
-0.023709964007139206,
|
|
-0.04735434055328369,
|
|
0.023054085671901703,
|
|
0.03522060811519623,
|
|
0.0170856025069952,
|
|
-0.011797592043876648,
|
|
-0.03230195492506027,
|
|
-0.01713479310274124,
|
|
-0.04187776520848274,
|
|
-0.003252741415053606,
|
|
-0.010985944420099258,
|
|
0.009157686494290829,
|
|
-0.011330279521644115,
|
|
0.0415826179087162,
|
|
0.013027362525463104,
|
|
0.0016601893585175276,
|
|
-0.008665778674185276,
|
|
0.01021528895944357,
|
|
-0.024037901312112808,
|
|
0.001562832505442202,
|
|
0.03176085650920868,
|
|
-0.018036624416708946,
|
|
0.01854492910206318,
|
|
-0.02033219486474991,
|
|
-0.05584795027971268,
|
|
0.003154359757900238,
|
|
-0.021496377885341644,
|
|
0.04673125594854355,
|
|
-0.015544291585683823,
|
|
0.001519790617749095,
|
|
-0.0038245844189077616,
|
|
0.020135432481765747,
|
|
0.00786642823368311,
|
|
-0.017397144809365273,
|
|
-0.0035950273741036654,
|
|
-0.012822400778532028,
|
|
-0.029547270387411118,
|
|
-0.033072613179683685,
|
|
0.028547057881951332,
|
|
-0.022070270031690598,
|
|
-0.01698722131550312,
|
|
0.0058373077772557735,
|
|
0.04128747433423996,
|
|
-0.04696081206202507,
|
|
-0.030875422060489655,
|
|
0.05778278782963753,
|
|
-0.0038040881045162678,
|
|
0.03558134287595749,
|
|
0.015987008810043335,
|
|
-0.04459965601563454,
|
|
-0.023103276267647743,
|
|
0.00663665821775794,
|
|
0.0064644902013242245,
|
|
-0.038368821144104004,
|
|
0.0017339754849672318,
|
|
-0.057454850524663925,
|
|
-0.03407282382249832,
|
|
0.009354449808597565,
|
|
0.07581941038370132,
|
|
0.002084459876641631,
|
|
-0.007735252380371094,
|
|
-0.026972953230142593,
|
|
0.019577937200665474,
|
|
-0.04518994316458702,
|
|
0.003172806231305003,
|
|
-0.025989137589931488,
|
|
0.03627001494169235,
|
|
0.002125452272593975,
|
|
-0.03303981572389603,
|
|
0.01110072247684002,
|
|
0.04541949927806854,
|
|
-0.019709112122654915,
|
|
0.0368930958211422,
|
|
-0.0095512131229043,
|
|
0.016364138573408127,
|
|
-0.011248295195400715,
|
|
0.016085390001535416,
|
|
0.03505663946270943,
|
|
0.025120100006461143,
|
|
-0.0010401803301647305,
|
|
0.0013804166810587049,
|
|
-0.028760218992829323,
|
|
-0.007747550494968891,
|
|
-8.429047738900408e-05,
|
|
-0.004845293238759041,
|
|
-0.012592843733727932,
|
|
0.010051319375634193,
|
|
-0.014863818883895874,
|
|
0.032875847071409225,
|
|
-0.022988498210906982,
|
|
0.007300734054297209,
|
|
-0.07004769146442413,
|
|
0.027645226567983627,
|
|
-0.0323183536529541,
|
|
-0.00604636874049902,
|
|
-0.002723940182477236,
|
|
-0.008600190281867981,
|
|
-0.06404641270637512,
|
|
-0.03902469947934151,
|
|
-0.010994142852723598,
|
|
-0.03817205876111984,
|
|
-0.027005746960639954,
|
|
-0.006275925785303116,
|
|
0.00476740812882781,
|
|
0.05060093104839325,
|
|
0.011043333448469639,
|
|
-0.020217416808009148,
|
|
-0.04840374365448952,
|
|
-0.02810434065759182,
|
|
0.05096166580915451,
|
|
-0.029580064117908478,
|
|
0.012887988239526749,
|
|
0.008837946690618992,
|
|
-0.058963365852832794,
|
|
0.061258938163518906,
|
|
-0.021070057526230812,
|
|
0.029284920543432236,
|
|
-0.0005218836013227701,
|
|
-0.012018950656056404,
|
|
-0.011772996746003628,
|
|
0.034794289618730545,
|
|
0.02989160642027855,
|
|
0.005476575344800949,
|
|
0.06794888526201248,
|
|
0.0208732932806015,
|
|
-0.015552490018308163,
|
|
0.01037105917930603,
|
|
0.01713479310274124,
|
|
-0.027317289263010025,
|
|
-0.014855620451271534,
|
|
-0.016421526670455933,
|
|
-0.024759367108345032,
|
|
0.006677650380879641,
|
|
0.013076553121209145,
|
|
0.004177118185907602,
|
|
-0.016372336074709892,
|
|
0.0003599638876039535,
|
|
0.03561413660645485,
|
|
0.023332834243774414,
|
|
-0.05630706250667572,
|
|
-0.014962200075387955,
|
|
0.011715607717633247,
|
|
-0.04299275577068329,
|
|
-0.014716246165335178,
|
|
-0.04279599338769913,
|
|
-0.0452883243560791,
|
|
-0.0009136165608651936,
|
|
-0.0021992383990436792,
|
|
0.02239820919930935,
|
|
0.013650445267558098,
|
|
-0.023857535794377327,
|
|
-0.03205600008368492,
|
|
0.042140115052461624,
|
|
0.02610391564667225,
|
|
0.01513436809182167,
|
|
-0.057389263063669205,
|
|
0.042697612196207047,
|
|
-0.04256643354892731,
|
|
0.013724232092499733,
|
|
0.008259953930974007,
|
|
0.000707630068063736,
|
|
0.032908640801906586,
|
|
0.03254790976643562,
|
|
0.029071759432554245,
|
|
0.02843227982521057,
|
|
-0.07162179797887802,
|
|
-0.034892670810222626,
|
|
-0.04489479959011078,
|
|
-0.025677595287561417,
|
|
-0.03522060811519623,
|
|
0.014183346182107925,
|
|
-0.032925039529800415,
|
|
0.017183983698487282,
|
|
0.009600403718650341,
|
|
0.05768440663814545,
|
|
0.0017657446442171931,
|
|
-0.007374519947916269,
|
|
-0.014839223586022854,
|
|
0.04538670554757118,
|
|
0.02067653089761734,
|
|
0.04351745545864105,
|
|
-0.05020740628242493,
|
|
-0.021988285705447197,
|
|
-0.05476575344800949,
|
|
0.0036298707127571106,
|
|
0.008665778674185276,
|
|
0.0026808984111994505,
|
|
-0.02443142794072628,
|
|
-0.03225276619195938,
|
|
-0.04741992801427841,
|
|
0.0017411492299288511,
|
|
0.015199955552816391,
|
|
0.0377129428088665,
|
|
0.025530023500323296,
|
|
-0.021512774750590324,
|
|
-0.017364351078867912,
|
|
0.015495100989937782,
|
|
0.08539522439241409,
|
|
0.026825379580259323,
|
|
-0.03349893167614937,
|
|
-0.04007410258054733,
|
|
-0.10139862447977066,
|
|
0.03627001494169235,
|
|
0.0013988632708787918,
|
|
0.015790244564414024,
|
|
-0.00608736090362072,
|
|
0.02051256224513054,
|
|
-0.009600403718650341,
|
|
-0.051978275179862976,
|
|
-0.004064389504492283,
|
|
0.0007060928619466722,
|
|
-0.03218717873096466,
|
|
-0.04574744030833244,
|
|
0.00665305508300662,
|
|
0.004074637778103352,
|
|
0.03994292765855789
|
|
],
|
|
"result": "--- 结果 1 (相似度: 1.000) ---\n文件路径: C:\\Steam\\steamapps\\common\\RimWorld\\Data\\dll1.6\\RimWorld\\MapPortal.txt\n\npublic class MapPortal : Building, IThingHolder\n{\n\tprivate static readonly Texture2D ViewPocketMapTex = ContentFinder<Texture2D>.Get(\"UI/Commands/ViewCave\");\n\n\tprivate static readonly Texture2D CancelEnterTex = ContentFinder<Texture2D>.Get(\"UI/Designators/Cancel\");\n\n\tprivate static readonly Texture2D DefaultEnterTex = ContentFinder<Texture2D>.Get(\"UI/Commands/EnterCave\");\n\n\tprotected Map pocketMap;\n\n\tpublic PocketMapExit exit;\n\n\tprotected bool beenEntered;\n\n\tpublic List<TransferableOneWay> leftToLoad;\n\n\tpublic PortalContainerProxy containerProxy;\n\n\tpublic bool notifiedCantLoadMore;\n\n\tpublic Map PocketMap\n\t{\n\t\tget\n\t\t{\n\t\t\tMap map = pocketMap;\n\t\t\tif (map != null && map.Parent?.HasMap == false)\n\t\t\t{\n\t\t\t\tpocketMap = null;\n\t\t\t}\n\t\t\treturn pocketMap;\n\t\t}\n\t}\n\n\tpublic bool PocketMapExists => PocketMap != null;\n\n\tpublic virtual bool AutoDraftOnEnter => false;\n\n\tprotected virtual Texture2D EnterTex => DefaultEnterTex;\n\n\tpublic virtual string EnterString => \"EnterPortal\".Translate(Label);\n\n\tpublic virtual string CancelEnterString => \"CommandCancelEnterPortal\".Translate();\n\n\tpublic virtual string EnteringString => \"EnteringPortal\".Translate(Label);\n\n\tpublic bool LoadInProgress\n\t{\n\t\tget\n\t\t{\n\t\t\tif (leftToLoad != null)\n\t\t\t{\n\t\t\t\treturn leftToLoad.Any();\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic bool AnyPawnCanLoadAnythingNow\n\t{\n\t\tget\n\t\t{\n\t\t\tif (!LoadInProgress)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!base.Spawned)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tIReadOnlyList<Pawn> allPawnsSpawned = base.Map.mapPawns.AllPawnsSpawned;\n\t\t\tfor (int i = 0; i < allPawnsSpawned.Count; i++)\n\t\t\t{\n\t\t\t\tif (allPawnsSpawned[i].CurJobDef == JobDefOf.HaulToPortal && ((JobDriver_HaulToPortal)allPawnsSpawned[i].jobs.curDriver).MapPortal == this)\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (allPawnsSpawned[i].CurJobDef == JobDefOf.EnterPortal && ((JobDriver_EnterPortal)allPawnsSpawned[i].jobs.curDriver).MapPortal == this)\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int j = 0; j < allPawnsSpawned.Count; j++)\n\t\t\t{\n\t\t\t\tThing thing = allPawnsSpawned[j].mindState?.duty?.focus.Thing;\n\t\t\t\tif (thing != null && thing == this && allPawnsSpawned[j].CanReach(thing, PathEndMode.Touch, Danger.Deadly))\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int k = 0; k < allPawnsSpawned.Count; k++)\n\t\t\t{\n\t\t\t\tif (allPawnsSpawned[k].IsColonist && EnterPortalUtility.HasJobOnPortal(allPawnsSpawned[k], this))\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic override void ExposeData()\n\t{\n\t\tbase.ExposeData();\n\t\tMap map = pocketMap;\n\t\tif (map != null && map.Parent?.HasMap == false)\n\t\t{\n\t\t\tpocketMap = null;\n\t\t}\n\t\tScribe_References.Look(ref pocketMap, \"pocketMap\");\n\t\tScribe_References.Look(ref exit, \"exit\");\n\t\tScribe_Values.Look(ref beenEntered, \"beenEntered\", defaultValue: false);\n\t\tScribe_Collections.Look(ref leftToLoad, \"leftToLoad\", LookMode.Deep);\n\t\tif (Scribe.mode == LoadSaveMode.PostLoadInit)\n\t\t{\n\t\t\tleftToLoad?.RemoveAll((TransferableOneWay x) => x.AnyThing == null);\n\t\t}\n\t}\n\n\tpublic override void SpawnSetup(Map map, bool respawningAfterLoad)\n\t{\n\t\tbase.SpawnSetup(map, respawningAfterLoad);\n\t\tcontainerProxy = new PortalContainerProxy\n\t\t{\n\t\t\tportal = this\n\t\t};\n\t}\n\n\tprotected override void Tick()\n\t{\n\t\tbase.Tick();\n\t\tif (this.IsHashIntervalTick(60) && base.Spawned && LoadInProgress && !notifiedCantLoadMore && !AnyPawnCanLoadAnythingNow && leftToLoad[0]?.AnyThing != null)\n\t\t{\n\t\t\tnotifiedCantLoadMore = true;\n\t\t\tMessages.Message(\"MessageCantLoadMoreIntoPortal\".Translate(Label, Faction.OfPlayer.def.pawnsPlural, leftToLoad[0].AnyThing), this, MessageTypeDefOf.CautionInput);\n\t\t}\n\t}\n\n\tpublic void GetChildHolders(List<IThingHolder> outChildren)\n\t{\n\t}\n\n\tpublic ThingOwner GetDirectlyHeldThings()\n\t{\n\t\treturn containerProxy;\n\t}\n\n\tpublic void Notify_ThingAdded(Thing t)\n\t{\n\t\tSubtractFromToLoadList(t, t.stackCount);\n\t}\n\n\tpublic void AddToTheToLoadList(TransferableOneWay t, int count)\n\t{\n\t\tif (!t.HasAnyThing || count <= 0)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tif (leftToLoad == null)\n\t\t{\n\t\t\tleftToLoad = new List<TransferableOneWay>();\n\t\t}\n\t\tTransferableOneWay transferableOneWay = TransferableUtility.TransferableMatching(t.AnyThing, leftToLoad, TransferAsOneMode.PodsOrCaravanPacking);\n\t\tif (transferableOneWay != null)\n\t\t{\n\t\t\tfor (int i = 0; i < t.things.Count; i++)\n\t\t\t{\n\t\t\t\tif (!transferableOneWay.things.Contains(t.things[i]))\n\t\t\t\t{\n\t\t\t\t\ttransferableOneWay.things.Add(t.things[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (transferableOneWay.CanAdjustBy(count).Accepted)\n\t\t\t{\n\t\t\t\ttransferableOneWay.AdjustBy(count);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tTransferableOneWay transferableOneWay2 = new TransferableOneWay();\n\t\t\tleftToLoad.Add(transferableOneWay2);\n\t\t\ttransferableOneWay2.things.AddRange(t.things);\n\t\t\ttransferableOneWay2.AdjustTo(count);\n\t\t}\n\t}\n\n\tpublic int SubtractFromToLoadList(Thing t, int count)\n\t{\n\t\tif (leftToLoad == null)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t\tTransferableOneWay transferableOneWay = TransferableUtility.TransferableMatchingDesperate(t, leftToLoad, TransferAsOneMode.PodsOrCaravanPacking);\n\t\tif (transferableOneWay == null)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t\tif (transferableOneWay.CountToTransfer <= 0)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t\tint num = Mathf.Min(count, transferableOneWay.CountToTransfer);\n\t\ttransferableOneWay.AdjustBy(-num);\n\t\ttransferableOneWay.things.Remove(t);\n\t\tif (transferableOneWay.CountToTransfer <= 0)\n\t\t{\n\t\t\tleftToLoad.Remove(transferableOneWay);\n\t\t}\n\t\treturn num;\n\t}\n\n\tpublic void CancelLoad()\n\t{\n\t\tLord lord = base.Map.lordManager.lords.FirstOrDefault((Lord l) => l.LordJob is LordJob_LoadAndEnterPortal lordJob_LoadAndEnterPortal && lordJob_LoadAndEnterPortal.portal == this);\n\t\tif (lord != null)\n\t\t{\n\t\t\tbase.Map.lordManager.RemoveLord(lord);\n\t\t}\n\t\tleftToLoad.Clear();\n\t}\n\n\tpublic virtual bool IsEnterable(out string reason)\n\t{\n\t\treason = \"\";\n\t\treturn true;\n\t}\n\n\tpublic virtual Map GetOtherMap()\n\t{\n\t\tif (PocketMap == null)\n\t\t{\n\t\t\tGeneratePocketMap();\n\t\t}\n\t\treturn PocketMap;\n\t}\n\n\tpublic virtual IntVec3 GetDestinationLocation()\n\t{\n\t\treturn exit?.Position ?? IntVec3.Invalid;\n\t}\n\n\tpublic virtual void OnEntered(Pawn pawn)\n\t{\n\t\tNotify_ThingAdded(pawn);\n\t\tif (!beenEntered)\n\t\t{\n\t\t\tbeenEntered = true;\n\t\t\tif (!def.portal.enteredLetterLabel.NullOrEmpty())\n\t\t\t{\n\t\t\t\tFind.LetterStack.ReceiveLetter(def.portal.enteredLetterLabel, def.portal.enteredLetterText.Formatted(pawn.Named(\"PAWN\")), def.portal.enteredLetterDef, exit);\n\t\t\t}\n\t\t}\n\t\tif (Find.CurrentMap == base.Map)\n\t\t{\n\t\t\tdef.portal.traverseSound?.PlayOneShot(this);\n\t\t}\n\t\telse if (Find.CurrentMap == exit.Map)\n\t\t{\n\t\t\tdef.portal.traverseSound?.PlayOneShot(exit);\n\t\t}\n\t}\n\n\tpublic override IEnumerable<Gizmo> GetGizmos()\n\t{\n\t\tforeach (Gizmo gizmo in base.GetGizmos())\n\t\t{\n\t\t\tyield return gizmo;\n\t\t}\n\t\tCommand_Action command_Action = new Command_Action();\n\t\tcommand_Action.action = delegate\n\t\t{\n\t\t\tDialog_EnterPortal window = new Dialog_EnterPortal(this);\n\t\t\tFind.WindowStack.Add(window);\n\t\t};\n\t\tcommand_Action.icon = EnterTex;\n\t\tcommand_Action.defaultLabel = EnterString + \"...\";\n\t\tcommand_Action.defaultDesc = \"CommandEnterPortalDesc\".Translate(Label);\n\t\tcommand_Action.Disabled = !IsEnterable(out var reason);\n\t\tcommand_Action.disabledReason = reason;\n\t\tyield return command_Action;\n\t\tif (LoadInProgress)\n\t\t{\n\t\t\tCommand_Action command_Action2 = new Command_Action();\n\t\t\tcommand_Action2.action = CancelLoad;\n\t\t\tcommand_Action2.icon = CancelEnterTex;\n\t\t\tcommand_Action2.defaultLabel = CancelEnterString;\n\t\t\tcommand_Action2.defaultDesc = \"CommandCancelEnterPortalDesc\".Translate();\n\t\t\tyield return command_Action2;\n\t\t}\n\t\tif (pocketMap != null)\n\t\t{\n\t\t\tyield return new Command_Action\n\t\t\t{\n\t\t\t\tdefaultLabel = \"CommandViewPocketMapLabel\".Translate(def.portal.pocketMapGenerator.label),\n\t\t\t\tdefaultDesc = \"CommandViewPocketMapDesc\".Translate(def.portal.pocketMapGenerator.label),\n\t\t\t\ticon = ViewPocketMapTex,\n\t\t\t\taction = delegate\n\t\t\t\t{\n\t\t\t\t\tCameraJumper.TryJumpAndSelect(exit);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\tprivate void GeneratePocketMap()\n\t{\n\t\tPocketMapUtility.currentlyGeneratingPortal = this;\n\t\tpocketMap = GeneratePocketMapInt();\n\t\tPocketMapUtility.currentlyGeneratingPortal = null;\n\t}\n\n\tprotected virtual Map GeneratePocketMapInt()\n\t{\n\t\treturn PocketMapUtility.GeneratePocketMap(new IntVec3(def.portal.pocketMapSize, 1, def.portal.pocketMapSize), def.portal.pocketMapGenerator, GetExtraGenSteps(), base.Map);\n\t}\n\n\tprotected virtual IEnumerable<GenStepWithParams> GetExtraGenSteps()\n\t{\n\t\treturn Enumerable.Empty<GenStepWithParams>();\n\t}\n}\n\n",
|
|
"timestamp": "2025-08-25 14:32:36,132"
|
|
}
|
|
} |